]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_controls_wrap.cpp
added a test to check how exception handling works with Win32 SEH; corrected copyright
[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 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048 }
1049
1050 SWIGRUNTIMEINLINE void
1051 SWIG_Python_NullRef(const char *type)
1052 {
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058 }
1059
1060 SWIGRUNTIME int
1061 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062 {
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083 }
1084
1085 SWIGRUNTIME int
1086 SWIG_Python_ArgFail(int argnum)
1087 {
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096 }
1097
1098
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103 /* Convert a pointer value */
1104 SWIGRUNTIME int
1105 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136 #else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154 #endif
1155
1156 type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171 type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194 }
1195
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1197 SWIGRUNTIME void *
1198 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208 }
1209
1210 /* Convert a packed value value */
1211 SWIGRUNTIME int
1212 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218 #else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223 #endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231 type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241 }
1242
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject *
1245 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253 #else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259 #endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275 }
1276
1277 SWIGRUNTIME PyObject *
1278 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286 #else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292 #endif
1293 return robj;
1294 }
1295
1296 /* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1302 #endif
1303
1304 SWIGRUNTIME swig_type_info **
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311 #else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319 #endif
1320 return (swig_type_info **) type_pointer;
1321 }
1322
1323 /*
1324 Search for a swig_type_info structure
1325 */
1326 SWIGRUNTIMEINLINE swig_type_info *
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330 }
1331
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334 #ifdef __cplusplus
1335 }
1336 #endif
1337
1338
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1340
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
1419 #define SWIGTYPE_p_unsigned_long swig_types[78]
1420 #define SWIGTYPE_p_wxWindow swig_types[79]
1421 #define SWIGTYPE_p_wxString swig_types[80]
1422 #define SWIGTYPE_p_wxBitmap swig_types[81]
1423 #define SWIGTYPE_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_char swig_types[84]
1426 #define SWIGTYPE_p_wxMouseEvent swig_types[85]
1427 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxTreeEvent swig_types[87]
1429 #define SWIGTYPE_p_wxCommandEvent swig_types[88]
1430 #define SWIGTYPE_p_wxStaticText swig_types[89]
1431 #define SWIGTYPE_p_wxControlWithItems swig_types[90]
1432 #define SWIGTYPE_p_wxToolBarToolBase swig_types[91]
1433 #define SWIGTYPE_p_wxColour swig_types[92]
1434 #define SWIGTYPE_p_wxToolBar swig_types[93]
1435 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[94]
1436 #define SWIGTYPE_p_wxValidator swig_types[95]
1437 static swig_type_info *swig_types[97];
1438
1439 /* -------- TYPES TABLE (END) -------- */
1440
1441
1442 /*-----------------------------------------------
1443 @(target):= _controls_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_controls_
1446
1447 #define SWIG_name "_controls_"
1448
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1451
1452 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1453 static const wxString wxPyEmptyString(wxEmptyString);
1454 static const wxString wxPyControlNameStr(wxControlNameStr);
1455
1456 const wxArrayString wxPyEmptyStringArray;
1457
1458 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1459
1460 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1461 #define SWIG_From_int PyInt_FromLong
1462 /*@@*/
1463
1464
1465 #include <limits.h>
1466
1467
1468 SWIGINTERN int
1469 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1470 const char *errmsg)
1471 {
1472 if (value < min_value) {
1473 if (errmsg) {
1474 PyErr_Format(PyExc_OverflowError,
1475 "value %ld is less than '%s' minimum %ld",
1476 value, errmsg, min_value);
1477 }
1478 return 0;
1479 } else if (value > max_value) {
1480 if (errmsg) {
1481 PyErr_Format(PyExc_OverflowError,
1482 "value %ld is greater than '%s' maximum %ld",
1483 value, errmsg, max_value);
1484 }
1485 return 0;
1486 }
1487 return 1;
1488 }
1489
1490
1491 SWIGINTERN int
1492 SWIG_AsVal_long(PyObject* obj, long* val)
1493 {
1494 if (PyNumber_Check(obj)) {
1495 if (val) *val = PyInt_AsLong(obj);
1496 return 1;
1497 }
1498 else {
1499 SWIG_type_error("number", obj);
1500 }
1501 return 0;
1502 }
1503
1504
1505 #if INT_MAX != LONG_MAX
1506 SWIGINTERN int
1507 SWIG_AsVal_int(PyObject *obj, int *val)
1508 {
1509 const char* errmsg = val ? "int" : (char*)0;
1510 long v;
1511 if (SWIG_AsVal_long(obj, &v)) {
1512 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1513 if (val) *val = (int)(v);
1514 return 1;
1515 } else {
1516 return 0;
1517 }
1518 } else {
1519 PyErr_Clear();
1520 }
1521 if (val) {
1522 SWIG_type_error(errmsg, obj);
1523 }
1524 return 0;
1525 }
1526 #else
1527 SWIGINTERNSHORT int
1528 SWIG_AsVal_int(PyObject *obj, int *val)
1529 {
1530 return SWIG_AsVal_long(obj,(long*)val);
1531 }
1532 #endif
1533
1534
1535 SWIGINTERNSHORT int
1536 SWIG_As_int(PyObject* obj)
1537 {
1538 int v;
1539 if (!SWIG_AsVal_int(obj, &v)) {
1540 /*
1541 this is needed to make valgrind/purify happier.
1542 */
1543 memset((void*)&v, 0, sizeof(int));
1544 }
1545 return v;
1546 }
1547
1548
1549 SWIGINTERNSHORT long
1550 SWIG_As_long(PyObject* obj)
1551 {
1552 long v;
1553 if (!SWIG_AsVal_long(obj, &v)) {
1554 /*
1555 this is needed to make valgrind/purify happier.
1556 */
1557 memset((void*)&v, 0, sizeof(long));
1558 }
1559 return v;
1560 }
1561
1562
1563 SWIGINTERNSHORT int
1564 SWIG_Check_int(PyObject* obj)
1565 {
1566 return SWIG_AsVal_int(obj, (int*)0);
1567 }
1568
1569
1570 SWIGINTERNSHORT int
1571 SWIG_Check_long(PyObject* obj)
1572 {
1573 return SWIG_AsVal_long(obj, (long*)0);
1574 }
1575
1576 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1577
1578 SWIGINTERN int
1579 SWIG_AsVal_bool(PyObject *obj, bool *val)
1580 {
1581 if (obj == Py_True) {
1582 if (val) *val = true;
1583 return 1;
1584 }
1585 if (obj == Py_False) {
1586 if (val) *val = false;
1587 return 1;
1588 }
1589 int res = 0;
1590 if (SWIG_AsVal_int(obj, &res)) {
1591 if (val) *val = res ? true : false;
1592 return 1;
1593 } else {
1594 PyErr_Clear();
1595 }
1596 if (val) {
1597 SWIG_type_error("bool", obj);
1598 }
1599 return 0;
1600 }
1601
1602
1603 SWIGINTERNSHORT bool
1604 SWIG_As_bool(PyObject* obj)
1605 {
1606 bool v;
1607 if (!SWIG_AsVal_bool(obj, &v)) {
1608 /*
1609 this is needed to make valgrind/purify happier.
1610 */
1611 memset((void*)&v, 0, sizeof(bool));
1612 }
1613 return v;
1614 }
1615
1616
1617 SWIGINTERNSHORT int
1618 SWIG_Check_bool(PyObject* obj)
1619 {
1620 return SWIG_AsVal_bool(obj, (bool*)0);
1621 }
1622
1623 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1624 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1625
1626 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1627 #define SWIG_From_long PyInt_FromLong
1628 /*@@*/
1629
1630 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1631 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1632 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1633 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1634
1635 #include <wx/checklst.h>
1636
1637
1638 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1639 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1640 if (clientData) {
1641 wxPyClientData* data = new wxPyClientData(clientData);
1642 self->Insert(item, pos, data);
1643 } else
1644 self->Insert(item, pos);
1645 }
1646 static PyObject *wxListBox_GetSelections(wxListBox *self){
1647 wxArrayInt lst;
1648 self->GetSelections(lst);
1649 PyObject *tup = PyTuple_New(lst.GetCount());
1650 for(size_t i=0; i<lst.GetCount(); i++) {
1651 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1652 }
1653 return tup;
1654 }
1655 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1656 #ifdef __WXMSW__
1657 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1658 self->GetItem(item)->SetTextColour(c);
1659 #endif
1660 }
1661 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1662 #ifdef __WXMSW__
1663 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1664 self->GetItem(item)->SetBackgroundColour(c);
1665 #endif
1666 }
1667 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1668 #ifdef __WXMSW__
1669 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1670 self->GetItem(item)->SetFont(f);
1671 #endif
1672 }
1673 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1674
1675 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1676 PyObject* o2;
1677 PyObject* o3;
1678
1679 if (!target) {
1680 target = o;
1681 } else if (target == Py_None) {
1682 Py_DECREF(Py_None);
1683 target = o;
1684 } else {
1685 if (!PyTuple_Check(target)) {
1686 o2 = target;
1687 target = PyTuple_New(1);
1688 PyTuple_SetItem(target, 0, o2);
1689 }
1690 o3 = PyTuple_New(1);
1691 PyTuple_SetItem(o3, 0, o);
1692
1693 o2 = target;
1694 target = PySequence_Concat(o2, o3);
1695 Py_DECREF(o2);
1696 Py_DECREF(o3);
1697 }
1698 return target;
1699 }
1700
1701
1702
1703 SWIGINTERN int
1704 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1705 {
1706 long v = 0;
1707 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1708 SWIG_type_error("unsigned number", obj);
1709 }
1710 else if (val)
1711 *val = (unsigned long)v;
1712 return 1;
1713 }
1714
1715
1716 SWIGINTERNSHORT unsigned long
1717 SWIG_As_unsigned_SS_long(PyObject* obj)
1718 {
1719 unsigned long v;
1720 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1721 /*
1722 this is needed to make valgrind/purify happier.
1723 */
1724 memset((void*)&v, 0, sizeof(unsigned long));
1725 }
1726 return v;
1727 }
1728
1729
1730 SWIGINTERNSHORT int
1731 SWIG_Check_unsigned_SS_long(PyObject* obj)
1732 {
1733 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1734 }
1735
1736 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1737 self->AppendText(text);
1738 }
1739 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
1740 return self->GetValue().Mid(from, to - from);
1741 }
1742 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1743 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1744 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1745 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1746 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1747
1748 #include <wx/slider.h>
1749
1750
1751 static const wxString wxPySliderNameStr(wxSliderNameStr);
1752 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1753
1754 #if !wxUSE_TOGGLEBTN
1755 // implement dummy items for platforms that don't have this class
1756
1757 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1758
1759 class wxToggleButton : public wxControl
1760 {
1761 public:
1762 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1763 const wxPoint&, const wxSize&, long,
1764 const wxValidator&, const wxString&)
1765 { wxPyRaiseNotImplemented(); }
1766
1767 wxToggleButton()
1768 { wxPyRaiseNotImplemented(); }
1769 };
1770 #endif
1771
1772 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
1773
1774 SWIGINTERNSHORT PyObject*
1775 SWIG_From_unsigned_SS_long(unsigned long value)
1776 {
1777 return (value > LONG_MAX) ?
1778 PyLong_FromUnsignedLong(value)
1779 : PyInt_FromLong((long)(value));
1780 }
1781
1782 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1783 static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
1784 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1785 if (udata) {
1786 Py_INCREF(udata->m_obj);
1787 return udata->m_obj;
1788 } else {
1789 Py_INCREF(Py_None);
1790 return Py_None;
1791 }
1792 }
1793 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
1794 self->SetClientData(new wxPyUserData(clientData));
1795 }
1796 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){
1797 wxPyUserData* udata = NULL;
1798 if (clientData && clientData != Py_None)
1799 udata = new wxPyUserData(clientData);
1800 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1801 shortHelp, longHelp, udata);
1802 }
1803 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){
1804 wxPyUserData* udata = NULL;
1805 if (clientData && clientData != Py_None)
1806 udata = new wxPyUserData(clientData);
1807 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1808 shortHelp, longHelp, udata);
1809 }
1810 static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
1811 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1812 if (udata) {
1813 Py_INCREF(udata->m_obj);
1814 return udata->m_obj;
1815 } else {
1816 Py_INCREF(Py_None);
1817 return Py_None;
1818 }
1819 }
1820 static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
1821 self->SetToolClientData(id, new wxPyUserData(clientData));
1822 }
1823
1824 #include <wx/listctrl.h>
1825
1826 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
1827 static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
1828 // Python aware sorting function for wxPyListCtrl
1829 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1830 int retval = 0;
1831 PyObject* func = (PyObject*)funcPtr;
1832 bool blocked = wxPyBeginBlockThreads();
1833
1834 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1835 PyObject* result = PyEval_CallObject(func, args);
1836 Py_DECREF(args);
1837 if (result) {
1838 retval = PyInt_AsLong(result);
1839 Py_DECREF(result);
1840 }
1841
1842 wxPyEndBlockThreads(blocked);
1843 return retval;
1844 }
1845
1846 // C++ Version of a Python aware class
1847 class wxPyListCtrl : public wxListCtrl {
1848 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1849 public:
1850 wxPyListCtrl() : wxListCtrl() {}
1851 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1852 const wxPoint& pos,
1853 const wxSize& size,
1854 long style,
1855 const wxValidator& validator,
1856 const wxString& name) :
1857 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1858
1859 bool Create(wxWindow* parent, wxWindowID id,
1860 const wxPoint& pos,
1861 const wxSize& size,
1862 long style,
1863 const wxValidator& validator,
1864 const wxString& name) {
1865 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1866 }
1867
1868 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
1869 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1870
1871 // use the virtual version to avoid a confusing assert in the base class
1872 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1873
1874 PYPRIVATE;
1875 };
1876
1877 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1878
1879 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
1880 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
1881 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1882
1883
1884 static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
1885 wxListItem item;
1886 item.SetMask( wxLIST_MASK_STATE |
1887 wxLIST_MASK_TEXT |
1888 wxLIST_MASK_IMAGE |
1889 wxLIST_MASK_DATA |
1890 wxLIST_SET_ITEM |
1891 wxLIST_MASK_WIDTH |
1892 wxLIST_MASK_FORMAT
1893 );
1894 if (self->GetColumn(col, item))
1895 return new wxListItem(item);
1896 else
1897 return NULL;
1898 }
1899 static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
1900 wxListItem* info = new wxListItem;
1901 info->m_itemId = itemId;
1902 info->m_col = col;
1903 info->m_mask = 0xFFFF;
1904 self->GetItem(*info);
1905 return info;
1906 }
1907 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
1908 wxPoint pos;
1909 self->GetItemPosition(item, pos);
1910 return pos;
1911 }
1912 static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
1913 wxRect rect;
1914 self->GetItemRect(item, rect, code);
1915 return rect;
1916 }
1917
1918 static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
1919 if (!PyCallable_Check(func))
1920 return false;
1921 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1922 }
1923 static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
1924
1925
1926
1927 return (wxWindow*)self->m_mainWin;
1928
1929 }
1930
1931 #include <wx/treectrl.h>
1932 #include "wx/wxPython/pytree.h"
1933
1934 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1935 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1936 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1937 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
1938 // C++ version of Python aware wxTreeCtrl
1939 class wxPyTreeCtrl : public wxTreeCtrl {
1940 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1941 public:
1942 wxPyTreeCtrl() : wxTreeCtrl() {}
1943 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1944 const wxPoint& pos,
1945 const wxSize& size,
1946 long style,
1947 const wxValidator& validator,
1948 const wxString& name) :
1949 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1950
1951 bool Create(wxWindow *parent, wxWindowID id,
1952 const wxPoint& pos,
1953 const wxSize& size,
1954 long style,
1955 const wxValidator& validator,
1956 const wxString& name) {
1957 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1958 }
1959
1960
1961 int OnCompareItems(const wxTreeItemId& item1,
1962 const wxTreeItemId& item2) {
1963 int rval = 0;
1964 bool found;
1965 bool blocked = wxPyBeginBlockThreads();
1966 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1967 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1968 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
1969 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1970 Py_DECREF(o1);
1971 Py_DECREF(o2);
1972 }
1973 wxPyEndBlockThreads(blocked);
1974 if (! found)
1975 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1976 return rval;
1977 }
1978 PYPRIVATE;
1979 };
1980
1981 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1982
1983
1984
1985 #if UINT_MAX < LONG_MAX
1986 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1987 #define SWIG_From_unsigned_SS_int SWIG_From_long
1988 /*@@*/
1989 #else
1990 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1991 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1992 /*@@*/
1993 #endif
1994
1995
1996 SWIGINTERNSHORT int
1997 SWIG_CheckUnsignedLongInRange(unsigned long value,
1998 unsigned long max_value,
1999 const char *errmsg)
2000 {
2001 if (value > max_value) {
2002 if (errmsg) {
2003 PyErr_Format(PyExc_OverflowError,
2004 "value %lu is greater than '%s' minimum %lu",
2005 value, errmsg, max_value);
2006 }
2007 return 0;
2008 }
2009 return 1;
2010 }
2011
2012
2013 #if UINT_MAX != ULONG_MAX
2014 SWIGINTERN int
2015 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2016 {
2017 const char* errmsg = val ? "unsigned int" : (char*)0;
2018 unsigned long v;
2019 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2020 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2021 if (val) *val = (unsigned int)(v);
2022 return 1;
2023 }
2024 } else {
2025 PyErr_Clear();
2026 }
2027 if (val) {
2028 SWIG_type_error(errmsg, obj);
2029 }
2030 return 0;
2031 }
2032 #else
2033 SWIGINTERNSHORT unsigned int
2034 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2035 {
2036 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2037 }
2038 #endif
2039
2040
2041 SWIGINTERNSHORT unsigned int
2042 SWIG_As_unsigned_SS_int(PyObject* obj)
2043 {
2044 unsigned int v;
2045 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2046 /*
2047 this is needed to make valgrind/purify happier.
2048 */
2049 memset((void*)&v, 0, sizeof(unsigned int));
2050 }
2051 return v;
2052 }
2053
2054
2055 SWIGINTERNSHORT int
2056 SWIG_Check_unsigned_SS_int(PyObject* obj)
2057 {
2058 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2059 }
2060
2061 static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2062 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2063 if (data == NULL) {
2064 data = new wxPyTreeItemData();
2065 data->SetId(item); // set the id
2066 self->SetItemData(item, data);
2067 }
2068 return data;
2069 }
2070 static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2071 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2072 if (data == NULL) {
2073 data = new wxPyTreeItemData();
2074 data->SetId(item); // set the id
2075 self->SetItemData(item, data);
2076 }
2077 return data->GetData();
2078 }
2079 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2080 data->SetId(item); // set the id
2081 self->SetItemData(item, data);
2082 }
2083 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
2084 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2085 if (data == NULL) {
2086 data = new wxPyTreeItemData(obj);
2087 data->SetId(item); // set the id
2088 self->SetItemData(item, data);
2089 } else
2090 data->SetData(obj);
2091 }
2092 static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2093 bool blocked = wxPyBeginBlockThreads();
2094 PyObject* rval = PyList_New(0);
2095 wxArrayTreeItemIds array;
2096 size_t num, x;
2097 num = self->GetSelections(array);
2098 for (x=0; x < num; x++) {
2099 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2100 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2101 PyList_Append(rval, item);
2102 Py_DECREF(item);
2103 }
2104 wxPyEndBlockThreads(blocked);
2105 return rval;
2106 }
2107 static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2108 void* cookie = 0;
2109 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2110 bool blocked = wxPyBeginBlockThreads();
2111 PyObject* tup = PyTuple_New(2);
2112 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2113 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2114 wxPyEndBlockThreads(blocked);
2115 return tup;
2116 }
2117 static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2118 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2119 bool blocked = wxPyBeginBlockThreads();
2120 PyObject* tup = PyTuple_New(2);
2121 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2122 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2123 wxPyEndBlockThreads(blocked);
2124 return tup;
2125 }
2126 static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2127 wxRect rect;
2128 if (self->GetBoundingRect(item, rect, textOnly)) {
2129 bool blocked = wxPyBeginBlockThreads();
2130 wxRect* r = new wxRect(rect);
2131 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2132 wxPyEndBlockThreads(blocked);
2133 return val;
2134 }
2135 else
2136 RETURN_NONE();
2137 }
2138 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2139
2140 SWIGINTERNSHORT PyObject*
2141 SWIG_From_bool(bool value)
2142 {
2143 PyObject *obj = value ? Py_True : Py_False;
2144 Py_INCREF(obj);
2145 return obj;
2146 }
2147
2148
2149 // C++ version of Python aware wxControl
2150 class wxPyControl : public wxControl
2151 {
2152 DECLARE_DYNAMIC_CLASS(wxPyControl)
2153 public:
2154 wxPyControl() : wxControl() {}
2155 wxPyControl(wxWindow* parent, const wxWindowID id,
2156 const wxPoint& pos = wxDefaultPosition,
2157 const wxSize& size = wxDefaultSize,
2158 long style = 0,
2159 const wxValidator& validator=wxDefaultValidator,
2160 const wxString& name = wxPyControlNameStr)
2161 : wxControl(parent, id, pos, size, style, validator, name) {}
2162
2163 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2164
2165 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2166 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2167 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2168 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2169
2170 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2171 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2172 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2173
2174 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2175 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2176
2177 DEC_PYCALLBACK__(InitDialog);
2178 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2179 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2180 DEC_PYCALLBACK_BOOL_(Validate);
2181
2182 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2183 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2184 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2185
2186 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2187 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2188
2189 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2190 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2191 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2192
2193 PYPRIVATE;
2194 };
2195
2196 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2197
2198 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2199 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2200 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2201 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2202
2203 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2204 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2205 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2206
2207 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2208 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2209
2210 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2211 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2212 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2213 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2214
2215 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2216 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2217 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2218
2219 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2220 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2221
2222 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2223 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
2224 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2225
2226
2227
2228 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2229
2230 #include <wx/generic/dragimgg.h>
2231
2232 #ifdef __cplusplus
2233 extern "C" {
2234 #endif
2235 static int _wrap_ButtonNameStr_set(PyObject *) {
2236 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2237 return 1;
2238 }
2239
2240
2241 static PyObject *_wrap_ButtonNameStr_get(void) {
2242 PyObject *pyobj;
2243
2244 {
2245 #if wxUSE_UNICODE
2246 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2247 #else
2248 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2249 #endif
2250 }
2251 return pyobj;
2252 }
2253
2254
2255 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2256 PyObject *resultobj;
2257 wxWindow *arg1 = (wxWindow *) 0 ;
2258 int arg2 = (int) -1 ;
2259 wxString const &arg3_defvalue = wxPyEmptyString ;
2260 wxString *arg3 = (wxString *) &arg3_defvalue ;
2261 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2262 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2263 wxSize const &arg5_defvalue = wxDefaultSize ;
2264 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2265 long arg6 = (long) 0 ;
2266 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2267 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2268 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2269 wxString *arg8 = (wxString *) &arg8_defvalue ;
2270 wxButton *result;
2271 bool temp3 = false ;
2272 wxPoint temp4 ;
2273 wxSize temp5 ;
2274 bool temp8 = false ;
2275 PyObject * obj0 = 0 ;
2276 PyObject * obj1 = 0 ;
2277 PyObject * obj2 = 0 ;
2278 PyObject * obj3 = 0 ;
2279 PyObject * obj4 = 0 ;
2280 PyObject * obj5 = 0 ;
2281 PyObject * obj6 = 0 ;
2282 PyObject * obj7 = 0 ;
2283 char *kwnames[] = {
2284 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2285 };
2286
2287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2289 if (SWIG_arg_fail(1)) SWIG_fail;
2290 if (obj1) {
2291 {
2292 arg2 = (int)(SWIG_As_int(obj1));
2293 if (SWIG_arg_fail(2)) SWIG_fail;
2294 }
2295 }
2296 if (obj2) {
2297 {
2298 arg3 = wxString_in_helper(obj2);
2299 if (arg3 == NULL) SWIG_fail;
2300 temp3 = true;
2301 }
2302 }
2303 if (obj3) {
2304 {
2305 arg4 = &temp4;
2306 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2307 }
2308 }
2309 if (obj4) {
2310 {
2311 arg5 = &temp5;
2312 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2313 }
2314 }
2315 if (obj5) {
2316 {
2317 arg6 = (long)(SWIG_As_long(obj5));
2318 if (SWIG_arg_fail(6)) SWIG_fail;
2319 }
2320 }
2321 if (obj6) {
2322 {
2323 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2324 if (SWIG_arg_fail(7)) SWIG_fail;
2325 if (arg7 == NULL) {
2326 SWIG_null_ref("wxValidator");
2327 }
2328 if (SWIG_arg_fail(7)) SWIG_fail;
2329 }
2330 }
2331 if (obj7) {
2332 {
2333 arg8 = wxString_in_helper(obj7);
2334 if (arg8 == NULL) SWIG_fail;
2335 temp8 = true;
2336 }
2337 }
2338 {
2339 if (!wxPyCheckForApp()) SWIG_fail;
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2347 {
2348 if (temp3)
2349 delete arg3;
2350 }
2351 {
2352 if (temp8)
2353 delete arg8;
2354 }
2355 return resultobj;
2356 fail:
2357 {
2358 if (temp3)
2359 delete arg3;
2360 }
2361 {
2362 if (temp8)
2363 delete arg8;
2364 }
2365 return NULL;
2366 }
2367
2368
2369 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2370 PyObject *resultobj;
2371 wxButton *result;
2372 char *kwnames[] = {
2373 NULL
2374 };
2375
2376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2377 {
2378 if (!wxPyCheckForApp()) SWIG_fail;
2379 PyThreadState* __tstate = wxPyBeginAllowThreads();
2380 result = (wxButton *)new wxButton();
2381
2382 wxPyEndAllowThreads(__tstate);
2383 if (PyErr_Occurred()) SWIG_fail;
2384 }
2385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2386 return resultobj;
2387 fail:
2388 return NULL;
2389 }
2390
2391
2392 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2393 PyObject *resultobj;
2394 wxButton *arg1 = (wxButton *) 0 ;
2395 wxWindow *arg2 = (wxWindow *) 0 ;
2396 int arg3 = (int) -1 ;
2397 wxString const &arg4_defvalue = wxPyEmptyString ;
2398 wxString *arg4 = (wxString *) &arg4_defvalue ;
2399 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2400 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2401 wxSize const &arg6_defvalue = wxDefaultSize ;
2402 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2403 long arg7 = (long) 0 ;
2404 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2405 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2406 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2407 wxString *arg9 = (wxString *) &arg9_defvalue ;
2408 bool result;
2409 bool temp4 = false ;
2410 wxPoint temp5 ;
2411 wxSize temp6 ;
2412 bool temp9 = false ;
2413 PyObject * obj0 = 0 ;
2414 PyObject * obj1 = 0 ;
2415 PyObject * obj2 = 0 ;
2416 PyObject * obj3 = 0 ;
2417 PyObject * obj4 = 0 ;
2418 PyObject * obj5 = 0 ;
2419 PyObject * obj6 = 0 ;
2420 PyObject * obj7 = 0 ;
2421 PyObject * obj8 = 0 ;
2422 char *kwnames[] = {
2423 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2424 };
2425
2426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2428 if (SWIG_arg_fail(1)) SWIG_fail;
2429 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2430 if (SWIG_arg_fail(2)) SWIG_fail;
2431 if (obj2) {
2432 {
2433 arg3 = (int)(SWIG_As_int(obj2));
2434 if (SWIG_arg_fail(3)) SWIG_fail;
2435 }
2436 }
2437 if (obj3) {
2438 {
2439 arg4 = wxString_in_helper(obj3);
2440 if (arg4 == NULL) SWIG_fail;
2441 temp4 = true;
2442 }
2443 }
2444 if (obj4) {
2445 {
2446 arg5 = &temp5;
2447 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2448 }
2449 }
2450 if (obj5) {
2451 {
2452 arg6 = &temp6;
2453 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2454 }
2455 }
2456 if (obj6) {
2457 {
2458 arg7 = (long)(SWIG_As_long(obj6));
2459 if (SWIG_arg_fail(7)) SWIG_fail;
2460 }
2461 }
2462 if (obj7) {
2463 {
2464 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2465 if (SWIG_arg_fail(8)) SWIG_fail;
2466 if (arg8 == NULL) {
2467 SWIG_null_ref("wxValidator");
2468 }
2469 if (SWIG_arg_fail(8)) SWIG_fail;
2470 }
2471 }
2472 if (obj8) {
2473 {
2474 arg9 = wxString_in_helper(obj8);
2475 if (arg9 == NULL) SWIG_fail;
2476 temp9 = true;
2477 }
2478 }
2479 {
2480 PyThreadState* __tstate = wxPyBeginAllowThreads();
2481 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2482
2483 wxPyEndAllowThreads(__tstate);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 {
2487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2488 }
2489 {
2490 if (temp4)
2491 delete arg4;
2492 }
2493 {
2494 if (temp9)
2495 delete arg9;
2496 }
2497 return resultobj;
2498 fail:
2499 {
2500 if (temp4)
2501 delete arg4;
2502 }
2503 {
2504 if (temp9)
2505 delete arg9;
2506 }
2507 return NULL;
2508 }
2509
2510
2511 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2512 PyObject *resultobj;
2513 wxButton *arg1 = (wxButton *) 0 ;
2514 PyObject * obj0 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "self", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2521 if (SWIG_arg_fail(1)) SWIG_fail;
2522 {
2523 PyThreadState* __tstate = wxPyBeginAllowThreads();
2524 (arg1)->SetDefault();
2525
2526 wxPyEndAllowThreads(__tstate);
2527 if (PyErr_Occurred()) SWIG_fail;
2528 }
2529 Py_INCREF(Py_None); resultobj = Py_None;
2530 return resultobj;
2531 fail:
2532 return NULL;
2533 }
2534
2535
2536 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2537 PyObject *resultobj;
2538 wxSize result;
2539 char *kwnames[] = {
2540 NULL
2541 };
2542
2543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2544 {
2545 PyThreadState* __tstate = wxPyBeginAllowThreads();
2546 result = wxButton::GetDefaultSize();
2547
2548 wxPyEndAllowThreads(__tstate);
2549 if (PyErr_Occurred()) SWIG_fail;
2550 }
2551 {
2552 wxSize * resultptr;
2553 resultptr = new wxSize((wxSize &)(result));
2554 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2555 }
2556 return resultobj;
2557 fail:
2558 return NULL;
2559 }
2560
2561
2562 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2563 PyObject *resultobj;
2564 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2565 wxVisualAttributes result;
2566 PyObject * obj0 = 0 ;
2567 char *kwnames[] = {
2568 (char *) "variant", NULL
2569 };
2570
2571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2572 if (obj0) {
2573 {
2574 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2575 if (SWIG_arg_fail(1)) SWIG_fail;
2576 }
2577 }
2578 {
2579 if (!wxPyCheckForApp()) SWIG_fail;
2580 PyThreadState* __tstate = wxPyBeginAllowThreads();
2581 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2582
2583 wxPyEndAllowThreads(__tstate);
2584 if (PyErr_Occurred()) SWIG_fail;
2585 }
2586 {
2587 wxVisualAttributes * resultptr;
2588 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2590 }
2591 return resultobj;
2592 fail:
2593 return NULL;
2594 }
2595
2596
2597 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2598 PyObject *obj;
2599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2600 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2601 Py_INCREF(obj);
2602 return Py_BuildValue((char *)"");
2603 }
2604 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2605 PyObject *resultobj;
2606 wxWindow *arg1 = (wxWindow *) 0 ;
2607 int arg2 = (int) -1 ;
2608 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2609 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2610 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2611 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2612 wxSize const &arg5_defvalue = wxDefaultSize ;
2613 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2614 long arg6 = (long) wxBU_AUTODRAW ;
2615 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2616 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2617 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2618 wxString *arg8 = (wxString *) &arg8_defvalue ;
2619 wxBitmapButton *result;
2620 wxPoint temp4 ;
2621 wxSize temp5 ;
2622 bool temp8 = false ;
2623 PyObject * obj0 = 0 ;
2624 PyObject * obj1 = 0 ;
2625 PyObject * obj2 = 0 ;
2626 PyObject * obj3 = 0 ;
2627 PyObject * obj4 = 0 ;
2628 PyObject * obj5 = 0 ;
2629 PyObject * obj6 = 0 ;
2630 PyObject * obj7 = 0 ;
2631 char *kwnames[] = {
2632 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2633 };
2634
2635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2637 if (SWIG_arg_fail(1)) SWIG_fail;
2638 if (obj1) {
2639 {
2640 arg2 = (int)(SWIG_As_int(obj1));
2641 if (SWIG_arg_fail(2)) SWIG_fail;
2642 }
2643 }
2644 if (obj2) {
2645 {
2646 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2647 if (SWIG_arg_fail(3)) SWIG_fail;
2648 if (arg3 == NULL) {
2649 SWIG_null_ref("wxBitmap");
2650 }
2651 if (SWIG_arg_fail(3)) SWIG_fail;
2652 }
2653 }
2654 if (obj3) {
2655 {
2656 arg4 = &temp4;
2657 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2658 }
2659 }
2660 if (obj4) {
2661 {
2662 arg5 = &temp5;
2663 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2664 }
2665 }
2666 if (obj5) {
2667 {
2668 arg6 = (long)(SWIG_As_long(obj5));
2669 if (SWIG_arg_fail(6)) SWIG_fail;
2670 }
2671 }
2672 if (obj6) {
2673 {
2674 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2675 if (SWIG_arg_fail(7)) SWIG_fail;
2676 if (arg7 == NULL) {
2677 SWIG_null_ref("wxValidator");
2678 }
2679 if (SWIG_arg_fail(7)) SWIG_fail;
2680 }
2681 }
2682 if (obj7) {
2683 {
2684 arg8 = wxString_in_helper(obj7);
2685 if (arg8 == NULL) SWIG_fail;
2686 temp8 = true;
2687 }
2688 }
2689 {
2690 if (!wxPyCheckForApp()) SWIG_fail;
2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
2692 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2693
2694 wxPyEndAllowThreads(__tstate);
2695 if (PyErr_Occurred()) SWIG_fail;
2696 }
2697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2698 {
2699 if (temp8)
2700 delete arg8;
2701 }
2702 return resultobj;
2703 fail:
2704 {
2705 if (temp8)
2706 delete arg8;
2707 }
2708 return NULL;
2709 }
2710
2711
2712 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2713 PyObject *resultobj;
2714 wxBitmapButton *result;
2715 char *kwnames[] = {
2716 NULL
2717 };
2718
2719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2720 {
2721 if (!wxPyCheckForApp()) SWIG_fail;
2722 PyThreadState* __tstate = wxPyBeginAllowThreads();
2723 result = (wxBitmapButton *)new wxBitmapButton();
2724
2725 wxPyEndAllowThreads(__tstate);
2726 if (PyErr_Occurred()) SWIG_fail;
2727 }
2728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2729 return resultobj;
2730 fail:
2731 return NULL;
2732 }
2733
2734
2735 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2736 PyObject *resultobj;
2737 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2738 wxWindow *arg2 = (wxWindow *) 0 ;
2739 int arg3 = (int) -1 ;
2740 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2741 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2742 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2743 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2744 wxSize const &arg6_defvalue = wxDefaultSize ;
2745 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2746 long arg7 = (long) wxBU_AUTODRAW ;
2747 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2748 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2749 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2750 wxString *arg9 = (wxString *) &arg9_defvalue ;
2751 bool result;
2752 wxPoint temp5 ;
2753 wxSize temp6 ;
2754 bool temp9 = false ;
2755 PyObject * obj0 = 0 ;
2756 PyObject * obj1 = 0 ;
2757 PyObject * obj2 = 0 ;
2758 PyObject * obj3 = 0 ;
2759 PyObject * obj4 = 0 ;
2760 PyObject * obj5 = 0 ;
2761 PyObject * obj6 = 0 ;
2762 PyObject * obj7 = 0 ;
2763 PyObject * obj8 = 0 ;
2764 char *kwnames[] = {
2765 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2770 if (SWIG_arg_fail(1)) SWIG_fail;
2771 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2772 if (SWIG_arg_fail(2)) SWIG_fail;
2773 if (obj2) {
2774 {
2775 arg3 = (int)(SWIG_As_int(obj2));
2776 if (SWIG_arg_fail(3)) SWIG_fail;
2777 }
2778 }
2779 if (obj3) {
2780 {
2781 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2782 if (SWIG_arg_fail(4)) SWIG_fail;
2783 if (arg4 == NULL) {
2784 SWIG_null_ref("wxBitmap");
2785 }
2786 if (SWIG_arg_fail(4)) SWIG_fail;
2787 }
2788 }
2789 if (obj4) {
2790 {
2791 arg5 = &temp5;
2792 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2793 }
2794 }
2795 if (obj5) {
2796 {
2797 arg6 = &temp6;
2798 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2799 }
2800 }
2801 if (obj6) {
2802 {
2803 arg7 = (long)(SWIG_As_long(obj6));
2804 if (SWIG_arg_fail(7)) SWIG_fail;
2805 }
2806 }
2807 if (obj7) {
2808 {
2809 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2810 if (SWIG_arg_fail(8)) SWIG_fail;
2811 if (arg8 == NULL) {
2812 SWIG_null_ref("wxValidator");
2813 }
2814 if (SWIG_arg_fail(8)) SWIG_fail;
2815 }
2816 }
2817 if (obj8) {
2818 {
2819 arg9 = wxString_in_helper(obj8);
2820 if (arg9 == NULL) SWIG_fail;
2821 temp9 = true;
2822 }
2823 }
2824 {
2825 PyThreadState* __tstate = wxPyBeginAllowThreads();
2826 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2827
2828 wxPyEndAllowThreads(__tstate);
2829 if (PyErr_Occurred()) SWIG_fail;
2830 }
2831 {
2832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2833 }
2834 {
2835 if (temp9)
2836 delete arg9;
2837 }
2838 return resultobj;
2839 fail:
2840 {
2841 if (temp9)
2842 delete arg9;
2843 }
2844 return NULL;
2845 }
2846
2847
2848 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2849 PyObject *resultobj;
2850 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2851 wxBitmap result;
2852 PyObject * obj0 = 0 ;
2853 char *kwnames[] = {
2854 (char *) "self", NULL
2855 };
2856
2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
2858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2859 if (SWIG_arg_fail(1)) SWIG_fail;
2860 {
2861 PyThreadState* __tstate = wxPyBeginAllowThreads();
2862 result = (arg1)->GetBitmapLabel();
2863
2864 wxPyEndAllowThreads(__tstate);
2865 if (PyErr_Occurred()) SWIG_fail;
2866 }
2867 {
2868 wxBitmap * resultptr;
2869 resultptr = new wxBitmap((wxBitmap &)(result));
2870 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2871 }
2872 return resultobj;
2873 fail:
2874 return NULL;
2875 }
2876
2877
2878 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(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_GetBitmapDisabled",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)->GetBitmapDisabled();
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_GetBitmapFocus(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_GetBitmapFocus",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)->GetBitmapFocus();
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_GetBitmapSelected(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_GetBitmapSelected",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)->GetBitmapSelected();
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_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2969 PyObject *resultobj;
2970 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2971 wxBitmap *arg2 = 0 ;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 char *kwnames[] = {
2975 (char *) "self",(char *) "bitmap", NULL
2976 };
2977
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
2979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2980 if (SWIG_arg_fail(1)) SWIG_fail;
2981 {
2982 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2983 if (SWIG_arg_fail(2)) SWIG_fail;
2984 if (arg2 == NULL) {
2985 SWIG_null_ref("wxBitmap");
2986 }
2987 if (SWIG_arg_fail(2)) SWIG_fail;
2988 }
2989 {
2990 PyThreadState* __tstate = wxPyBeginAllowThreads();
2991 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
2992
2993 wxPyEndAllowThreads(__tstate);
2994 if (PyErr_Occurred()) SWIG_fail;
2995 }
2996 Py_INCREF(Py_None); resultobj = Py_None;
2997 return resultobj;
2998 fail:
2999 return NULL;
3000 }
3001
3002
3003 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3004 PyObject *resultobj;
3005 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3006 wxBitmap *arg2 = 0 ;
3007 PyObject * obj0 = 0 ;
3008 PyObject * obj1 = 0 ;
3009 char *kwnames[] = {
3010 (char *) "self",(char *) "bitmap", NULL
3011 };
3012
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3015 if (SWIG_arg_fail(1)) SWIG_fail;
3016 {
3017 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3018 if (SWIG_arg_fail(2)) SWIG_fail;
3019 if (arg2 == NULL) {
3020 SWIG_null_ref("wxBitmap");
3021 }
3022 if (SWIG_arg_fail(2)) SWIG_fail;
3023 }
3024 {
3025 PyThreadState* __tstate = wxPyBeginAllowThreads();
3026 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3027
3028 wxPyEndAllowThreads(__tstate);
3029 if (PyErr_Occurred()) SWIG_fail;
3030 }
3031 Py_INCREF(Py_None); resultobj = Py_None;
3032 return resultobj;
3033 fail:
3034 return NULL;
3035 }
3036
3037
3038 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3039 PyObject *resultobj;
3040 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3041 wxBitmap *arg2 = 0 ;
3042 PyObject * obj0 = 0 ;
3043 PyObject * obj1 = 0 ;
3044 char *kwnames[] = {
3045 (char *) "self",(char *) "bitmap", NULL
3046 };
3047
3048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3050 if (SWIG_arg_fail(1)) SWIG_fail;
3051 {
3052 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3053 if (SWIG_arg_fail(2)) SWIG_fail;
3054 if (arg2 == NULL) {
3055 SWIG_null_ref("wxBitmap");
3056 }
3057 if (SWIG_arg_fail(2)) SWIG_fail;
3058 }
3059 {
3060 PyThreadState* __tstate = wxPyBeginAllowThreads();
3061 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3062
3063 wxPyEndAllowThreads(__tstate);
3064 if (PyErr_Occurred()) SWIG_fail;
3065 }
3066 Py_INCREF(Py_None); resultobj = Py_None;
3067 return resultobj;
3068 fail:
3069 return NULL;
3070 }
3071
3072
3073 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3074 PyObject *resultobj;
3075 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3076 wxBitmap *arg2 = 0 ;
3077 PyObject * obj0 = 0 ;
3078 PyObject * obj1 = 0 ;
3079 char *kwnames[] = {
3080 (char *) "self",(char *) "bitmap", NULL
3081 };
3082
3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3085 if (SWIG_arg_fail(1)) SWIG_fail;
3086 {
3087 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3088 if (SWIG_arg_fail(2)) SWIG_fail;
3089 if (arg2 == NULL) {
3090 SWIG_null_ref("wxBitmap");
3091 }
3092 if (SWIG_arg_fail(2)) SWIG_fail;
3093 }
3094 {
3095 PyThreadState* __tstate = wxPyBeginAllowThreads();
3096 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3097
3098 wxPyEndAllowThreads(__tstate);
3099 if (PyErr_Occurred()) SWIG_fail;
3100 }
3101 Py_INCREF(Py_None); resultobj = Py_None;
3102 return resultobj;
3103 fail:
3104 return NULL;
3105 }
3106
3107
3108 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3109 PyObject *resultobj;
3110 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3111 int arg2 ;
3112 int arg3 ;
3113 PyObject * obj0 = 0 ;
3114 PyObject * obj1 = 0 ;
3115 PyObject * obj2 = 0 ;
3116 char *kwnames[] = {
3117 (char *) "self",(char *) "x",(char *) "y", NULL
3118 };
3119
3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3122 if (SWIG_arg_fail(1)) SWIG_fail;
3123 {
3124 arg2 = (int)(SWIG_As_int(obj1));
3125 if (SWIG_arg_fail(2)) SWIG_fail;
3126 }
3127 {
3128 arg3 = (int)(SWIG_As_int(obj2));
3129 if (SWIG_arg_fail(3)) SWIG_fail;
3130 }
3131 {
3132 PyThreadState* __tstate = wxPyBeginAllowThreads();
3133 (arg1)->SetMargins(arg2,arg3);
3134
3135 wxPyEndAllowThreads(__tstate);
3136 if (PyErr_Occurred()) SWIG_fail;
3137 }
3138 Py_INCREF(Py_None); resultobj = Py_None;
3139 return resultobj;
3140 fail:
3141 return NULL;
3142 }
3143
3144
3145 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3146 PyObject *resultobj;
3147 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3148 int result;
3149 PyObject * obj0 = 0 ;
3150 char *kwnames[] = {
3151 (char *) "self", NULL
3152 };
3153
3154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3156 if (SWIG_arg_fail(1)) SWIG_fail;
3157 {
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 {
3165 resultobj = SWIG_From_int((int)(result));
3166 }
3167 return resultobj;
3168 fail:
3169 return NULL;
3170 }
3171
3172
3173 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3174 PyObject *resultobj;
3175 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3176 int result;
3177 PyObject * obj0 = 0 ;
3178 char *kwnames[] = {
3179 (char *) "self", NULL
3180 };
3181
3182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3184 if (SWIG_arg_fail(1)) SWIG_fail;
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 {
3193 resultobj = SWIG_From_int((int)(result));
3194 }
3195 return resultobj;
3196 fail:
3197 return NULL;
3198 }
3199
3200
3201 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3202 PyObject *obj;
3203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3204 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3205 Py_INCREF(obj);
3206 return Py_BuildValue((char *)"");
3207 }
3208 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3209 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3210 return 1;
3211 }
3212
3213
3214 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3215 PyObject *pyobj;
3216
3217 {
3218 #if wxUSE_UNICODE
3219 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3220 #else
3221 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3222 #endif
3223 }
3224 return pyobj;
3225 }
3226
3227
3228 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3229 PyObject *resultobj;
3230 wxWindow *arg1 = (wxWindow *) 0 ;
3231 int arg2 = (int) -1 ;
3232 wxString const &arg3_defvalue = wxPyEmptyString ;
3233 wxString *arg3 = (wxString *) &arg3_defvalue ;
3234 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3235 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3236 wxSize const &arg5_defvalue = wxDefaultSize ;
3237 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3238 long arg6 = (long) 0 ;
3239 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3240 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3241 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3242 wxString *arg8 = (wxString *) &arg8_defvalue ;
3243 wxCheckBox *result;
3244 bool temp3 = false ;
3245 wxPoint temp4 ;
3246 wxSize temp5 ;
3247 bool temp8 = false ;
3248 PyObject * obj0 = 0 ;
3249 PyObject * obj1 = 0 ;
3250 PyObject * obj2 = 0 ;
3251 PyObject * obj3 = 0 ;
3252 PyObject * obj4 = 0 ;
3253 PyObject * obj5 = 0 ;
3254 PyObject * obj6 = 0 ;
3255 PyObject * obj7 = 0 ;
3256 char *kwnames[] = {
3257 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3258 };
3259
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3262 if (SWIG_arg_fail(1)) SWIG_fail;
3263 if (obj1) {
3264 {
3265 arg2 = (int)(SWIG_As_int(obj1));
3266 if (SWIG_arg_fail(2)) SWIG_fail;
3267 }
3268 }
3269 if (obj2) {
3270 {
3271 arg3 = wxString_in_helper(obj2);
3272 if (arg3 == NULL) SWIG_fail;
3273 temp3 = true;
3274 }
3275 }
3276 if (obj3) {
3277 {
3278 arg4 = &temp4;
3279 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3280 }
3281 }
3282 if (obj4) {
3283 {
3284 arg5 = &temp5;
3285 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3286 }
3287 }
3288 if (obj5) {
3289 {
3290 arg6 = (long)(SWIG_As_long(obj5));
3291 if (SWIG_arg_fail(6)) SWIG_fail;
3292 }
3293 }
3294 if (obj6) {
3295 {
3296 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3297 if (SWIG_arg_fail(7)) SWIG_fail;
3298 if (arg7 == NULL) {
3299 SWIG_null_ref("wxValidator");
3300 }
3301 if (SWIG_arg_fail(7)) SWIG_fail;
3302 }
3303 }
3304 if (obj7) {
3305 {
3306 arg8 = wxString_in_helper(obj7);
3307 if (arg8 == NULL) SWIG_fail;
3308 temp8 = true;
3309 }
3310 }
3311 {
3312 if (!wxPyCheckForApp()) SWIG_fail;
3313 PyThreadState* __tstate = wxPyBeginAllowThreads();
3314 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3315
3316 wxPyEndAllowThreads(__tstate);
3317 if (PyErr_Occurred()) SWIG_fail;
3318 }
3319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3320 {
3321 if (temp3)
3322 delete arg3;
3323 }
3324 {
3325 if (temp8)
3326 delete arg8;
3327 }
3328 return resultobj;
3329 fail:
3330 {
3331 if (temp3)
3332 delete arg3;
3333 }
3334 {
3335 if (temp8)
3336 delete arg8;
3337 }
3338 return NULL;
3339 }
3340
3341
3342 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3343 PyObject *resultobj;
3344 wxCheckBox *result;
3345 char *kwnames[] = {
3346 NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3350 {
3351 if (!wxPyCheckForApp()) SWIG_fail;
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 result = (wxCheckBox *)new wxCheckBox();
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3359 return resultobj;
3360 fail:
3361 return NULL;
3362 }
3363
3364
3365 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3366 PyObject *resultobj;
3367 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3368 wxWindow *arg2 = (wxWindow *) 0 ;
3369 int arg3 = (int) -1 ;
3370 wxString const &arg4_defvalue = wxPyEmptyString ;
3371 wxString *arg4 = (wxString *) &arg4_defvalue ;
3372 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3373 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3374 wxSize const &arg6_defvalue = wxDefaultSize ;
3375 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3376 long arg7 = (long) 0 ;
3377 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3378 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3379 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3380 wxString *arg9 = (wxString *) &arg9_defvalue ;
3381 bool result;
3382 bool temp4 = false ;
3383 wxPoint temp5 ;
3384 wxSize temp6 ;
3385 bool temp9 = false ;
3386 PyObject * obj0 = 0 ;
3387 PyObject * obj1 = 0 ;
3388 PyObject * obj2 = 0 ;
3389 PyObject * obj3 = 0 ;
3390 PyObject * obj4 = 0 ;
3391 PyObject * obj5 = 0 ;
3392 PyObject * obj6 = 0 ;
3393 PyObject * obj7 = 0 ;
3394 PyObject * obj8 = 0 ;
3395 char *kwnames[] = {
3396 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3397 };
3398
3399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3401 if (SWIG_arg_fail(1)) SWIG_fail;
3402 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3403 if (SWIG_arg_fail(2)) SWIG_fail;
3404 if (obj2) {
3405 {
3406 arg3 = (int)(SWIG_As_int(obj2));
3407 if (SWIG_arg_fail(3)) SWIG_fail;
3408 }
3409 }
3410 if (obj3) {
3411 {
3412 arg4 = wxString_in_helper(obj3);
3413 if (arg4 == NULL) SWIG_fail;
3414 temp4 = true;
3415 }
3416 }
3417 if (obj4) {
3418 {
3419 arg5 = &temp5;
3420 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3421 }
3422 }
3423 if (obj5) {
3424 {
3425 arg6 = &temp6;
3426 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3427 }
3428 }
3429 if (obj6) {
3430 {
3431 arg7 = (long)(SWIG_As_long(obj6));
3432 if (SWIG_arg_fail(7)) SWIG_fail;
3433 }
3434 }
3435 if (obj7) {
3436 {
3437 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3438 if (SWIG_arg_fail(8)) SWIG_fail;
3439 if (arg8 == NULL) {
3440 SWIG_null_ref("wxValidator");
3441 }
3442 if (SWIG_arg_fail(8)) SWIG_fail;
3443 }
3444 }
3445 if (obj8) {
3446 {
3447 arg9 = wxString_in_helper(obj8);
3448 if (arg9 == NULL) SWIG_fail;
3449 temp9 = true;
3450 }
3451 }
3452 {
3453 PyThreadState* __tstate = wxPyBeginAllowThreads();
3454 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3455
3456 wxPyEndAllowThreads(__tstate);
3457 if (PyErr_Occurred()) SWIG_fail;
3458 }
3459 {
3460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3461 }
3462 {
3463 if (temp4)
3464 delete arg4;
3465 }
3466 {
3467 if (temp9)
3468 delete arg9;
3469 }
3470 return resultobj;
3471 fail:
3472 {
3473 if (temp4)
3474 delete arg4;
3475 }
3476 {
3477 if (temp9)
3478 delete arg9;
3479 }
3480 return NULL;
3481 }
3482
3483
3484 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3485 PyObject *resultobj;
3486 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3487 bool result;
3488 PyObject * obj0 = 0 ;
3489 char *kwnames[] = {
3490 (char *) "self", NULL
3491 };
3492
3493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3495 if (SWIG_arg_fail(1)) SWIG_fail;
3496 {
3497 PyThreadState* __tstate = wxPyBeginAllowThreads();
3498 result = (bool)(arg1)->GetValue();
3499
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 {
3504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3505 }
3506 return resultobj;
3507 fail:
3508 return NULL;
3509 }
3510
3511
3512 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3513 PyObject *resultobj;
3514 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3515 bool result;
3516 PyObject * obj0 = 0 ;
3517 char *kwnames[] = {
3518 (char *) "self", NULL
3519 };
3520
3521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3523 if (SWIG_arg_fail(1)) SWIG_fail;
3524 {
3525 PyThreadState* __tstate = wxPyBeginAllowThreads();
3526 result = (bool)(arg1)->IsChecked();
3527
3528 wxPyEndAllowThreads(__tstate);
3529 if (PyErr_Occurred()) SWIG_fail;
3530 }
3531 {
3532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3533 }
3534 return resultobj;
3535 fail:
3536 return NULL;
3537 }
3538
3539
3540 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3541 PyObject *resultobj;
3542 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3543 bool arg2 ;
3544 PyObject * obj0 = 0 ;
3545 PyObject * obj1 = 0 ;
3546 char *kwnames[] = {
3547 (char *) "self",(char *) "state", NULL
3548 };
3549
3550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3552 if (SWIG_arg_fail(1)) SWIG_fail;
3553 {
3554 arg2 = (bool const)(SWIG_As_bool(obj1));
3555 if (SWIG_arg_fail(2)) SWIG_fail;
3556 }
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 (arg1)->SetValue(arg2);
3560
3561 wxPyEndAllowThreads(__tstate);
3562 if (PyErr_Occurred()) SWIG_fail;
3563 }
3564 Py_INCREF(Py_None); resultobj = Py_None;
3565 return resultobj;
3566 fail:
3567 return NULL;
3568 }
3569
3570
3571 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3572 PyObject *resultobj;
3573 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3574 wxCheckBoxState result;
3575 PyObject * obj0 = 0 ;
3576 char *kwnames[] = {
3577 (char *) "self", NULL
3578 };
3579
3580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3586
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 resultobj = SWIG_From_int((result));
3591 return resultobj;
3592 fail:
3593 return NULL;
3594 }
3595
3596
3597 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj;
3599 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3600 wxCheckBoxState arg2 ;
3601 PyObject * obj0 = 0 ;
3602 PyObject * obj1 = 0 ;
3603 char *kwnames[] = {
3604 (char *) "self",(char *) "state", NULL
3605 };
3606
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3609 if (SWIG_arg_fail(1)) SWIG_fail;
3610 {
3611 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3612 if (SWIG_arg_fail(2)) SWIG_fail;
3613 }
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 Py_INCREF(Py_None); resultobj = Py_None;
3622 return resultobj;
3623 fail:
3624 return NULL;
3625 }
3626
3627
3628 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj;
3630 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3631 bool result;
3632 PyObject * obj0 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 {
3648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3649 }
3650 return resultobj;
3651 fail:
3652 return NULL;
3653 }
3654
3655
3656 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj;
3658 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3659 bool result;
3660 PyObject * obj0 = 0 ;
3661 char *kwnames[] = {
3662 (char *) "self", NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3667 if (SWIG_arg_fail(1)) SWIG_fail;
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 {
3676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3677 }
3678 return resultobj;
3679 fail:
3680 return NULL;
3681 }
3682
3683
3684 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3685 PyObject *resultobj;
3686 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3687 wxVisualAttributes result;
3688 PyObject * obj0 = 0 ;
3689 char *kwnames[] = {
3690 (char *) "variant", NULL
3691 };
3692
3693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3694 if (obj0) {
3695 {
3696 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3697 if (SWIG_arg_fail(1)) SWIG_fail;
3698 }
3699 }
3700 {
3701 if (!wxPyCheckForApp()) SWIG_fail;
3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
3703 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3704
3705 wxPyEndAllowThreads(__tstate);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 {
3709 wxVisualAttributes * resultptr;
3710 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3712 }
3713 return resultobj;
3714 fail:
3715 return NULL;
3716 }
3717
3718
3719 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3720 PyObject *obj;
3721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3722 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3723 Py_INCREF(obj);
3724 return Py_BuildValue((char *)"");
3725 }
3726 static int _wrap_ChoiceNameStr_set(PyObject *) {
3727 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3728 return 1;
3729 }
3730
3731
3732 static PyObject *_wrap_ChoiceNameStr_get(void) {
3733 PyObject *pyobj;
3734
3735 {
3736 #if wxUSE_UNICODE
3737 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3738 #else
3739 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3740 #endif
3741 }
3742 return pyobj;
3743 }
3744
3745
3746 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3747 PyObject *resultobj;
3748 wxWindow *arg1 = (wxWindow *) 0 ;
3749 int arg2 = (int) -1 ;
3750 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3751 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3752 wxSize const &arg4_defvalue = wxDefaultSize ;
3753 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3754 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3755 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3756 long arg6 = (long) 0 ;
3757 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3758 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3759 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3760 wxString *arg8 = (wxString *) &arg8_defvalue ;
3761 wxChoice *result;
3762 wxPoint temp3 ;
3763 wxSize temp4 ;
3764 bool temp5 = false ;
3765 bool temp8 = false ;
3766 PyObject * obj0 = 0 ;
3767 PyObject * obj1 = 0 ;
3768 PyObject * obj2 = 0 ;
3769 PyObject * obj3 = 0 ;
3770 PyObject * obj4 = 0 ;
3771 PyObject * obj5 = 0 ;
3772 PyObject * obj6 = 0 ;
3773 PyObject * obj7 = 0 ;
3774 char *kwnames[] = {
3775 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3776 };
3777
3778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3780 if (SWIG_arg_fail(1)) SWIG_fail;
3781 if (obj1) {
3782 {
3783 arg2 = (int)(SWIG_As_int(obj1));
3784 if (SWIG_arg_fail(2)) SWIG_fail;
3785 }
3786 }
3787 if (obj2) {
3788 {
3789 arg3 = &temp3;
3790 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3791 }
3792 }
3793 if (obj3) {
3794 {
3795 arg4 = &temp4;
3796 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3797 }
3798 }
3799 if (obj4) {
3800 {
3801 if (! PySequence_Check(obj4)) {
3802 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3803 SWIG_fail;
3804 }
3805 arg5 = new wxArrayString;
3806 temp5 = true;
3807 int i, len=PySequence_Length(obj4);
3808 for (i=0; i<len; i++) {
3809 PyObject* item = PySequence_GetItem(obj4, i);
3810 #if wxUSE_UNICODE
3811 PyObject* str = PyObject_Unicode(item);
3812 #else
3813 PyObject* str = PyObject_Str(item);
3814 #endif
3815 if (PyErr_Occurred()) SWIG_fail;
3816 arg5->Add(Py2wxString(str));
3817 Py_DECREF(item);
3818 Py_DECREF(str);
3819 }
3820 }
3821 }
3822 if (obj5) {
3823 {
3824 arg6 = (long)(SWIG_As_long(obj5));
3825 if (SWIG_arg_fail(6)) SWIG_fail;
3826 }
3827 }
3828 if (obj6) {
3829 {
3830 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3831 if (SWIG_arg_fail(7)) SWIG_fail;
3832 if (arg7 == NULL) {
3833 SWIG_null_ref("wxValidator");
3834 }
3835 if (SWIG_arg_fail(7)) SWIG_fail;
3836 }
3837 }
3838 if (obj7) {
3839 {
3840 arg8 = wxString_in_helper(obj7);
3841 if (arg8 == NULL) SWIG_fail;
3842 temp8 = true;
3843 }
3844 }
3845 {
3846 if (!wxPyCheckForApp()) SWIG_fail;
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3849
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
3853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3854 {
3855 if (temp5) delete arg5;
3856 }
3857 {
3858 if (temp8)
3859 delete arg8;
3860 }
3861 return resultobj;
3862 fail:
3863 {
3864 if (temp5) delete arg5;
3865 }
3866 {
3867 if (temp8)
3868 delete arg8;
3869 }
3870 return NULL;
3871 }
3872
3873
3874 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3875 PyObject *resultobj;
3876 wxChoice *result;
3877 char *kwnames[] = {
3878 NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3882 {
3883 if (!wxPyCheckForApp()) SWIG_fail;
3884 PyThreadState* __tstate = wxPyBeginAllowThreads();
3885 result = (wxChoice *)new wxChoice();
3886
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3891 return resultobj;
3892 fail:
3893 return NULL;
3894 }
3895
3896
3897 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3898 PyObject *resultobj;
3899 wxChoice *arg1 = (wxChoice *) 0 ;
3900 wxWindow *arg2 = (wxWindow *) 0 ;
3901 int arg3 = (int) -1 ;
3902 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3903 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3904 wxSize const &arg5_defvalue = wxDefaultSize ;
3905 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3906 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3907 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3908 long arg7 = (long) 0 ;
3909 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3910 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3911 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3912 wxString *arg9 = (wxString *) &arg9_defvalue ;
3913 bool result;
3914 wxPoint temp4 ;
3915 wxSize temp5 ;
3916 bool temp6 = false ;
3917 bool temp9 = false ;
3918 PyObject * obj0 = 0 ;
3919 PyObject * obj1 = 0 ;
3920 PyObject * obj2 = 0 ;
3921 PyObject * obj3 = 0 ;
3922 PyObject * obj4 = 0 ;
3923 PyObject * obj5 = 0 ;
3924 PyObject * obj6 = 0 ;
3925 PyObject * obj7 = 0 ;
3926 PyObject * obj8 = 0 ;
3927 char *kwnames[] = {
3928 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3929 };
3930
3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3933 if (SWIG_arg_fail(1)) SWIG_fail;
3934 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3935 if (SWIG_arg_fail(2)) SWIG_fail;
3936 if (obj2) {
3937 {
3938 arg3 = (int)(SWIG_As_int(obj2));
3939 if (SWIG_arg_fail(3)) SWIG_fail;
3940 }
3941 }
3942 if (obj3) {
3943 {
3944 arg4 = &temp4;
3945 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3946 }
3947 }
3948 if (obj4) {
3949 {
3950 arg5 = &temp5;
3951 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3952 }
3953 }
3954 if (obj5) {
3955 {
3956 if (! PySequence_Check(obj5)) {
3957 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3958 SWIG_fail;
3959 }
3960 arg6 = new wxArrayString;
3961 temp6 = true;
3962 int i, len=PySequence_Length(obj5);
3963 for (i=0; i<len; i++) {
3964 PyObject* item = PySequence_GetItem(obj5, i);
3965 #if wxUSE_UNICODE
3966 PyObject* str = PyObject_Unicode(item);
3967 #else
3968 PyObject* str = PyObject_Str(item);
3969 #endif
3970 if (PyErr_Occurred()) SWIG_fail;
3971 arg6->Add(Py2wxString(str));
3972 Py_DECREF(item);
3973 Py_DECREF(str);
3974 }
3975 }
3976 }
3977 if (obj6) {
3978 {
3979 arg7 = (long)(SWIG_As_long(obj6));
3980 if (SWIG_arg_fail(7)) SWIG_fail;
3981 }
3982 }
3983 if (obj7) {
3984 {
3985 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3986 if (SWIG_arg_fail(8)) SWIG_fail;
3987 if (arg8 == NULL) {
3988 SWIG_null_ref("wxValidator");
3989 }
3990 if (SWIG_arg_fail(8)) SWIG_fail;
3991 }
3992 }
3993 if (obj8) {
3994 {
3995 arg9 = wxString_in_helper(obj8);
3996 if (arg9 == NULL) SWIG_fail;
3997 temp9 = true;
3998 }
3999 }
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 {
4008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4009 }
4010 {
4011 if (temp6) delete arg6;
4012 }
4013 {
4014 if (temp9)
4015 delete arg9;
4016 }
4017 return resultobj;
4018 fail:
4019 {
4020 if (temp6) delete arg6;
4021 }
4022 {
4023 if (temp9)
4024 delete arg9;
4025 }
4026 return NULL;
4027 }
4028
4029
4030 static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4031 PyObject *resultobj;
4032 wxChoice *arg1 = (wxChoice *) 0 ;
4033 int arg2 ;
4034 PyObject * obj0 = 0 ;
4035 PyObject * obj1 = 0 ;
4036 char *kwnames[] = {
4037 (char *) "self",(char *) "n", NULL
4038 };
4039
4040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4042 if (SWIG_arg_fail(1)) SWIG_fail;
4043 {
4044 arg2 = (int const)(SWIG_As_int(obj1));
4045 if (SWIG_arg_fail(2)) SWIG_fail;
4046 }
4047 {
4048 PyThreadState* __tstate = wxPyBeginAllowThreads();
4049 (arg1)->SetSelection(arg2);
4050
4051 wxPyEndAllowThreads(__tstate);
4052 if (PyErr_Occurred()) SWIG_fail;
4053 }
4054 Py_INCREF(Py_None); resultobj = Py_None;
4055 return resultobj;
4056 fail:
4057 return NULL;
4058 }
4059
4060
4061 static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4062 PyObject *resultobj;
4063 wxChoice *arg1 = (wxChoice *) 0 ;
4064 wxString *arg2 = 0 ;
4065 bool result;
4066 bool temp2 = false ;
4067 PyObject * obj0 = 0 ;
4068 PyObject * obj1 = 0 ;
4069 char *kwnames[] = {
4070 (char *) "self",(char *) "string", NULL
4071 };
4072
4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4075 if (SWIG_arg_fail(1)) SWIG_fail;
4076 {
4077 arg2 = wxString_in_helper(obj1);
4078 if (arg2 == NULL) SWIG_fail;
4079 temp2 = true;
4080 }
4081 {
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
4083 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4084
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 {
4089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4090 }
4091 {
4092 if (temp2)
4093 delete arg2;
4094 }
4095 return resultobj;
4096 fail:
4097 {
4098 if (temp2)
4099 delete arg2;
4100 }
4101 return NULL;
4102 }
4103
4104
4105 static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4106 PyObject *resultobj;
4107 wxChoice *arg1 = (wxChoice *) 0 ;
4108 int arg2 ;
4109 wxString *arg3 = 0 ;
4110 bool temp3 = false ;
4111 PyObject * obj0 = 0 ;
4112 PyObject * obj1 = 0 ;
4113 PyObject * obj2 = 0 ;
4114 char *kwnames[] = {
4115 (char *) "self",(char *) "n",(char *) "string", NULL
4116 };
4117
4118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4120 if (SWIG_arg_fail(1)) SWIG_fail;
4121 {
4122 arg2 = (int)(SWIG_As_int(obj1));
4123 if (SWIG_arg_fail(2)) SWIG_fail;
4124 }
4125 {
4126 arg3 = wxString_in_helper(obj2);
4127 if (arg3 == NULL) SWIG_fail;
4128 temp3 = true;
4129 }
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 (arg1)->SetString(arg2,(wxString const &)*arg3);
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 Py_INCREF(Py_None); resultobj = Py_None;
4138 {
4139 if (temp3)
4140 delete arg3;
4141 }
4142 return resultobj;
4143 fail:
4144 {
4145 if (temp3)
4146 delete arg3;
4147 }
4148 return NULL;
4149 }
4150
4151
4152 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4153 PyObject *resultobj;
4154 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4155 wxVisualAttributes result;
4156 PyObject * obj0 = 0 ;
4157 char *kwnames[] = {
4158 (char *) "variant", NULL
4159 };
4160
4161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4162 if (obj0) {
4163 {
4164 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4165 if (SWIG_arg_fail(1)) SWIG_fail;
4166 }
4167 }
4168 {
4169 if (!wxPyCheckForApp()) SWIG_fail;
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4172
4173 wxPyEndAllowThreads(__tstate);
4174 if (PyErr_Occurred()) SWIG_fail;
4175 }
4176 {
4177 wxVisualAttributes * resultptr;
4178 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4179 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4180 }
4181 return resultobj;
4182 fail:
4183 return NULL;
4184 }
4185
4186
4187 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4188 PyObject *obj;
4189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4190 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4191 Py_INCREF(obj);
4192 return Py_BuildValue((char *)"");
4193 }
4194 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4195 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4196 return 1;
4197 }
4198
4199
4200 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4201 PyObject *pyobj;
4202
4203 {
4204 #if wxUSE_UNICODE
4205 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4206 #else
4207 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4208 #endif
4209 }
4210 return pyobj;
4211 }
4212
4213
4214 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4215 PyObject *resultobj;
4216 wxWindow *arg1 = (wxWindow *) 0 ;
4217 int arg2 = (int) -1 ;
4218 wxString const &arg3_defvalue = wxPyEmptyString ;
4219 wxString *arg3 = (wxString *) &arg3_defvalue ;
4220 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4221 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4222 wxSize const &arg5_defvalue = wxDefaultSize ;
4223 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4224 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4225 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4226 long arg7 = (long) 0 ;
4227 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4228 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4229 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4230 wxString *arg9 = (wxString *) &arg9_defvalue ;
4231 wxComboBox *result;
4232 bool temp3 = false ;
4233 wxPoint temp4 ;
4234 wxSize temp5 ;
4235 bool temp6 = false ;
4236 bool temp9 = false ;
4237 PyObject * obj0 = 0 ;
4238 PyObject * obj1 = 0 ;
4239 PyObject * obj2 = 0 ;
4240 PyObject * obj3 = 0 ;
4241 PyObject * obj4 = 0 ;
4242 PyObject * obj5 = 0 ;
4243 PyObject * obj6 = 0 ;
4244 PyObject * obj7 = 0 ;
4245 PyObject * obj8 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4252 if (SWIG_arg_fail(1)) SWIG_fail;
4253 if (obj1) {
4254 {
4255 arg2 = (int)(SWIG_As_int(obj1));
4256 if (SWIG_arg_fail(2)) SWIG_fail;
4257 }
4258 }
4259 if (obj2) {
4260 {
4261 arg3 = wxString_in_helper(obj2);
4262 if (arg3 == NULL) SWIG_fail;
4263 temp3 = true;
4264 }
4265 }
4266 if (obj3) {
4267 {
4268 arg4 = &temp4;
4269 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4270 }
4271 }
4272 if (obj4) {
4273 {
4274 arg5 = &temp5;
4275 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4276 }
4277 }
4278 if (obj5) {
4279 {
4280 if (! PySequence_Check(obj5)) {
4281 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4282 SWIG_fail;
4283 }
4284 arg6 = new wxArrayString;
4285 temp6 = true;
4286 int i, len=PySequence_Length(obj5);
4287 for (i=0; i<len; i++) {
4288 PyObject* item = PySequence_GetItem(obj5, i);
4289 #if wxUSE_UNICODE
4290 PyObject* str = PyObject_Unicode(item);
4291 #else
4292 PyObject* str = PyObject_Str(item);
4293 #endif
4294 if (PyErr_Occurred()) SWIG_fail;
4295 arg6->Add(Py2wxString(str));
4296 Py_DECREF(item);
4297 Py_DECREF(str);
4298 }
4299 }
4300 }
4301 if (obj6) {
4302 {
4303 arg7 = (long)(SWIG_As_long(obj6));
4304 if (SWIG_arg_fail(7)) SWIG_fail;
4305 }
4306 }
4307 if (obj7) {
4308 {
4309 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4310 if (SWIG_arg_fail(8)) SWIG_fail;
4311 if (arg8 == NULL) {
4312 SWIG_null_ref("wxValidator");
4313 }
4314 if (SWIG_arg_fail(8)) SWIG_fail;
4315 }
4316 }
4317 if (obj8) {
4318 {
4319 arg9 = wxString_in_helper(obj8);
4320 if (arg9 == NULL) SWIG_fail;
4321 temp9 = true;
4322 }
4323 }
4324 {
4325 if (!wxPyCheckForApp()) SWIG_fail;
4326 PyThreadState* __tstate = wxPyBeginAllowThreads();
4327 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);
4328
4329 wxPyEndAllowThreads(__tstate);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 }
4332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4333 {
4334 if (temp3)
4335 delete arg3;
4336 }
4337 {
4338 if (temp6) delete arg6;
4339 }
4340 {
4341 if (temp9)
4342 delete arg9;
4343 }
4344 return resultobj;
4345 fail:
4346 {
4347 if (temp3)
4348 delete arg3;
4349 }
4350 {
4351 if (temp6) delete arg6;
4352 }
4353 {
4354 if (temp9)
4355 delete arg9;
4356 }
4357 return NULL;
4358 }
4359
4360
4361 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj;
4363 wxComboBox *result;
4364 char *kwnames[] = {
4365 NULL
4366 };
4367
4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4369 {
4370 if (!wxPyCheckForApp()) SWIG_fail;
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 result = (wxComboBox *)new wxComboBox();
4373
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4378 return resultobj;
4379 fail:
4380 return NULL;
4381 }
4382
4383
4384 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4385 PyObject *resultobj;
4386 wxComboBox *arg1 = (wxComboBox *) 0 ;
4387 wxWindow *arg2 = (wxWindow *) 0 ;
4388 int arg3 = (int) -1 ;
4389 wxString const &arg4_defvalue = wxPyEmptyString ;
4390 wxString *arg4 = (wxString *) &arg4_defvalue ;
4391 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4392 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4393 wxSize const &arg6_defvalue = wxDefaultSize ;
4394 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4395 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4396 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4397 long arg8 = (long) 0 ;
4398 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4399 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4400 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4401 wxString *arg10 = (wxString *) &arg10_defvalue ;
4402 bool result;
4403 bool temp4 = false ;
4404 wxPoint temp5 ;
4405 wxSize temp6 ;
4406 bool temp7 = false ;
4407 bool temp10 = false ;
4408 PyObject * obj0 = 0 ;
4409 PyObject * obj1 = 0 ;
4410 PyObject * obj2 = 0 ;
4411 PyObject * obj3 = 0 ;
4412 PyObject * obj4 = 0 ;
4413 PyObject * obj5 = 0 ;
4414 PyObject * obj6 = 0 ;
4415 PyObject * obj7 = 0 ;
4416 PyObject * obj8 = 0 ;
4417 PyObject * obj9 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4424 if (SWIG_arg_fail(1)) SWIG_fail;
4425 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4426 if (SWIG_arg_fail(2)) SWIG_fail;
4427 if (obj2) {
4428 {
4429 arg3 = (int)(SWIG_As_int(obj2));
4430 if (SWIG_arg_fail(3)) SWIG_fail;
4431 }
4432 }
4433 if (obj3) {
4434 {
4435 arg4 = wxString_in_helper(obj3);
4436 if (arg4 == NULL) SWIG_fail;
4437 temp4 = true;
4438 }
4439 }
4440 if (obj4) {
4441 {
4442 arg5 = &temp5;
4443 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4444 }
4445 }
4446 if (obj5) {
4447 {
4448 arg6 = &temp6;
4449 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4450 }
4451 }
4452 if (obj6) {
4453 {
4454 if (! PySequence_Check(obj6)) {
4455 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4456 SWIG_fail;
4457 }
4458 arg7 = new wxArrayString;
4459 temp7 = true;
4460 int i, len=PySequence_Length(obj6);
4461 for (i=0; i<len; i++) {
4462 PyObject* item = PySequence_GetItem(obj6, i);
4463 #if wxUSE_UNICODE
4464 PyObject* str = PyObject_Unicode(item);
4465 #else
4466 PyObject* str = PyObject_Str(item);
4467 #endif
4468 if (PyErr_Occurred()) SWIG_fail;
4469 arg7->Add(Py2wxString(str));
4470 Py_DECREF(item);
4471 Py_DECREF(str);
4472 }
4473 }
4474 }
4475 if (obj7) {
4476 {
4477 arg8 = (long)(SWIG_As_long(obj7));
4478 if (SWIG_arg_fail(8)) SWIG_fail;
4479 }
4480 }
4481 if (obj8) {
4482 {
4483 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4484 if (SWIG_arg_fail(9)) SWIG_fail;
4485 if (arg9 == NULL) {
4486 SWIG_null_ref("wxValidator");
4487 }
4488 if (SWIG_arg_fail(9)) SWIG_fail;
4489 }
4490 }
4491 if (obj9) {
4492 {
4493 arg10 = wxString_in_helper(obj9);
4494 if (arg10 == NULL) SWIG_fail;
4495 temp10 = true;
4496 }
4497 }
4498 {
4499 PyThreadState* __tstate = wxPyBeginAllowThreads();
4500 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);
4501
4502 wxPyEndAllowThreads(__tstate);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 }
4505 {
4506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4507 }
4508 {
4509 if (temp4)
4510 delete arg4;
4511 }
4512 {
4513 if (temp7) delete arg7;
4514 }
4515 {
4516 if (temp10)
4517 delete arg10;
4518 }
4519 return resultobj;
4520 fail:
4521 {
4522 if (temp4)
4523 delete arg4;
4524 }
4525 {
4526 if (temp7) delete arg7;
4527 }
4528 {
4529 if (temp10)
4530 delete arg10;
4531 }
4532 return NULL;
4533 }
4534
4535
4536 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4537 PyObject *resultobj;
4538 wxComboBox *arg1 = (wxComboBox *) 0 ;
4539 wxString result;
4540 PyObject * obj0 = 0 ;
4541 char *kwnames[] = {
4542 (char *) "self", NULL
4543 };
4544
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4547 if (SWIG_arg_fail(1)) SWIG_fail;
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 result = ((wxComboBox const *)arg1)->GetValue();
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 {
4556 #if wxUSE_UNICODE
4557 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4558 #else
4559 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4560 #endif
4561 }
4562 return resultobj;
4563 fail:
4564 return NULL;
4565 }
4566
4567
4568 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4569 PyObject *resultobj;
4570 wxComboBox *arg1 = (wxComboBox *) 0 ;
4571 wxString *arg2 = 0 ;
4572 bool temp2 = false ;
4573 PyObject * obj0 = 0 ;
4574 PyObject * obj1 = 0 ;
4575 char *kwnames[] = {
4576 (char *) "self",(char *) "value", NULL
4577 };
4578
4579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4581 if (SWIG_arg_fail(1)) SWIG_fail;
4582 {
4583 arg2 = wxString_in_helper(obj1);
4584 if (arg2 == NULL) SWIG_fail;
4585 temp2 = true;
4586 }
4587 {
4588 PyThreadState* __tstate = wxPyBeginAllowThreads();
4589 (arg1)->SetValue((wxString const &)*arg2);
4590
4591 wxPyEndAllowThreads(__tstate);
4592 if (PyErr_Occurred()) SWIG_fail;
4593 }
4594 Py_INCREF(Py_None); resultobj = Py_None;
4595 {
4596 if (temp2)
4597 delete arg2;
4598 }
4599 return resultobj;
4600 fail:
4601 {
4602 if (temp2)
4603 delete arg2;
4604 }
4605 return NULL;
4606 }
4607
4608
4609 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4610 PyObject *resultobj;
4611 wxComboBox *arg1 = (wxComboBox *) 0 ;
4612 PyObject * obj0 = 0 ;
4613 char *kwnames[] = {
4614 (char *) "self", NULL
4615 };
4616
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail;
4620 {
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 (arg1)->Copy();
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 Py_INCREF(Py_None); resultobj = Py_None;
4628 return resultobj;
4629 fail:
4630 return NULL;
4631 }
4632
4633
4634 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4635 PyObject *resultobj;
4636 wxComboBox *arg1 = (wxComboBox *) 0 ;
4637 PyObject * obj0 = 0 ;
4638 char *kwnames[] = {
4639 (char *) "self", NULL
4640 };
4641
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4644 if (SWIG_arg_fail(1)) SWIG_fail;
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 (arg1)->Cut();
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 Py_INCREF(Py_None); resultobj = Py_None;
4653 return resultobj;
4654 fail:
4655 return NULL;
4656 }
4657
4658
4659 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4660 PyObject *resultobj;
4661 wxComboBox *arg1 = (wxComboBox *) 0 ;
4662 PyObject * obj0 = 0 ;
4663 char *kwnames[] = {
4664 (char *) "self", NULL
4665 };
4666
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4669 if (SWIG_arg_fail(1)) SWIG_fail;
4670 {
4671 PyThreadState* __tstate = wxPyBeginAllowThreads();
4672 (arg1)->Paste();
4673
4674 wxPyEndAllowThreads(__tstate);
4675 if (PyErr_Occurred()) SWIG_fail;
4676 }
4677 Py_INCREF(Py_None); resultobj = Py_None;
4678 return resultobj;
4679 fail:
4680 return NULL;
4681 }
4682
4683
4684 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4685 PyObject *resultobj;
4686 wxComboBox *arg1 = (wxComboBox *) 0 ;
4687 long arg2 ;
4688 PyObject * obj0 = 0 ;
4689 PyObject * obj1 = 0 ;
4690 char *kwnames[] = {
4691 (char *) "self",(char *) "pos", NULL
4692 };
4693
4694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4696 if (SWIG_arg_fail(1)) SWIG_fail;
4697 {
4698 arg2 = (long)(SWIG_As_long(obj1));
4699 if (SWIG_arg_fail(2)) SWIG_fail;
4700 }
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 (arg1)->SetInsertionPoint(arg2);
4704
4705 wxPyEndAllowThreads(__tstate);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
4708 Py_INCREF(Py_None); resultobj = Py_None;
4709 return resultobj;
4710 fail:
4711 return NULL;
4712 }
4713
4714
4715 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4716 PyObject *resultobj;
4717 wxComboBox *arg1 = (wxComboBox *) 0 ;
4718 long result;
4719 PyObject * obj0 = 0 ;
4720 char *kwnames[] = {
4721 (char *) "self", NULL
4722 };
4723
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4726 if (SWIG_arg_fail(1)) SWIG_fail;
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 {
4735 resultobj = SWIG_From_long((long)(result));
4736 }
4737 return resultobj;
4738 fail:
4739 return NULL;
4740 }
4741
4742
4743 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4744 PyObject *resultobj;
4745 wxComboBox *arg1 = (wxComboBox *) 0 ;
4746 long result;
4747 PyObject * obj0 = 0 ;
4748 char *kwnames[] = {
4749 (char *) "self", NULL
4750 };
4751
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4754 if (SWIG_arg_fail(1)) SWIG_fail;
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 {
4763 resultobj = SWIG_From_long((long)(result));
4764 }
4765 return resultobj;
4766 fail:
4767 return NULL;
4768 }
4769
4770
4771 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj;
4773 wxComboBox *arg1 = (wxComboBox *) 0 ;
4774 long arg2 ;
4775 long arg3 ;
4776 wxString *arg4 = 0 ;
4777 bool temp4 = false ;
4778 PyObject * obj0 = 0 ;
4779 PyObject * obj1 = 0 ;
4780 PyObject * obj2 = 0 ;
4781 PyObject * obj3 = 0 ;
4782 char *kwnames[] = {
4783 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4784 };
4785
4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4788 if (SWIG_arg_fail(1)) SWIG_fail;
4789 {
4790 arg2 = (long)(SWIG_As_long(obj1));
4791 if (SWIG_arg_fail(2)) SWIG_fail;
4792 }
4793 {
4794 arg3 = (long)(SWIG_As_long(obj2));
4795 if (SWIG_arg_fail(3)) SWIG_fail;
4796 }
4797 {
4798 arg4 = wxString_in_helper(obj3);
4799 if (arg4 == NULL) SWIG_fail;
4800 temp4 = true;
4801 }
4802 {
4803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4804 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4805
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 Py_INCREF(Py_None); resultobj = Py_None;
4810 {
4811 if (temp4)
4812 delete arg4;
4813 }
4814 return resultobj;
4815 fail:
4816 {
4817 if (temp4)
4818 delete arg4;
4819 }
4820 return NULL;
4821 }
4822
4823
4824 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 wxComboBox *arg1 = (wxComboBox *) 0 ;
4827 int arg2 ;
4828 PyObject * obj0 = 0 ;
4829 PyObject * obj1 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "self",(char *) "n", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4836 if (SWIG_arg_fail(1)) SWIG_fail;
4837 {
4838 arg2 = (int)(SWIG_As_int(obj1));
4839 if (SWIG_arg_fail(2)) SWIG_fail;
4840 }
4841 {
4842 PyThreadState* __tstate = wxPyBeginAllowThreads();
4843 (arg1)->SetSelection(arg2);
4844
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 Py_INCREF(Py_None); resultobj = Py_None;
4849 return resultobj;
4850 fail:
4851 return NULL;
4852 }
4853
4854
4855 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4856 PyObject *resultobj;
4857 wxComboBox *arg1 = (wxComboBox *) 0 ;
4858 long arg2 ;
4859 long arg3 ;
4860 PyObject * obj0 = 0 ;
4861 PyObject * obj1 = 0 ;
4862 PyObject * obj2 = 0 ;
4863 char *kwnames[] = {
4864 (char *) "self",(char *) "from",(char *) "to", NULL
4865 };
4866
4867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4869 if (SWIG_arg_fail(1)) SWIG_fail;
4870 {
4871 arg2 = (long)(SWIG_As_long(obj1));
4872 if (SWIG_arg_fail(2)) SWIG_fail;
4873 }
4874 {
4875 arg3 = (long)(SWIG_As_long(obj2));
4876 if (SWIG_arg_fail(3)) SWIG_fail;
4877 }
4878 {
4879 PyThreadState* __tstate = wxPyBeginAllowThreads();
4880 (arg1)->SetSelection(arg2,arg3);
4881
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) SWIG_fail;
4884 }
4885 Py_INCREF(Py_None); resultobj = Py_None;
4886 return resultobj;
4887 fail:
4888 return NULL;
4889 }
4890
4891
4892 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4893 PyObject *resultobj;
4894 wxComboBox *arg1 = (wxComboBox *) 0 ;
4895 wxString *arg2 = 0 ;
4896 bool result;
4897 bool temp2 = false ;
4898 PyObject * obj0 = 0 ;
4899 PyObject * obj1 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self",(char *) "string", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4906 if (SWIG_arg_fail(1)) SWIG_fail;
4907 {
4908 arg2 = wxString_in_helper(obj1);
4909 if (arg2 == NULL) SWIG_fail;
4910 temp2 = true;
4911 }
4912 {
4913 PyThreadState* __tstate = wxPyBeginAllowThreads();
4914 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4915
4916 wxPyEndAllowThreads(__tstate);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 }
4919 {
4920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4921 }
4922 {
4923 if (temp2)
4924 delete arg2;
4925 }
4926 return resultobj;
4927 fail:
4928 {
4929 if (temp2)
4930 delete arg2;
4931 }
4932 return NULL;
4933 }
4934
4935
4936 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4937 PyObject *resultobj;
4938 wxComboBox *arg1 = (wxComboBox *) 0 ;
4939 int arg2 ;
4940 wxString *arg3 = 0 ;
4941 bool temp3 = false ;
4942 PyObject * obj0 = 0 ;
4943 PyObject * obj1 = 0 ;
4944 PyObject * obj2 = 0 ;
4945 char *kwnames[] = {
4946 (char *) "self",(char *) "n",(char *) "string", NULL
4947 };
4948
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4951 if (SWIG_arg_fail(1)) SWIG_fail;
4952 {
4953 arg2 = (int)(SWIG_As_int(obj1));
4954 if (SWIG_arg_fail(2)) SWIG_fail;
4955 }
4956 {
4957 arg3 = wxString_in_helper(obj2);
4958 if (arg3 == NULL) SWIG_fail;
4959 temp3 = true;
4960 }
4961 {
4962 PyThreadState* __tstate = wxPyBeginAllowThreads();
4963 (arg1)->SetString(arg2,(wxString const &)*arg3);
4964
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 Py_INCREF(Py_None); resultobj = Py_None;
4969 {
4970 if (temp3)
4971 delete arg3;
4972 }
4973 return resultobj;
4974 fail:
4975 {
4976 if (temp3)
4977 delete arg3;
4978 }
4979 return NULL;
4980 }
4981
4982
4983 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4984 PyObject *resultobj;
4985 wxComboBox *arg1 = (wxComboBox *) 0 ;
4986 bool arg2 ;
4987 PyObject * obj0 = 0 ;
4988 PyObject * obj1 = 0 ;
4989 char *kwnames[] = {
4990 (char *) "self",(char *) "editable", NULL
4991 };
4992
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
4994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4995 if (SWIG_arg_fail(1)) SWIG_fail;
4996 {
4997 arg2 = (bool)(SWIG_As_bool(obj1));
4998 if (SWIG_arg_fail(2)) SWIG_fail;
4999 }
5000 {
5001 PyThreadState* __tstate = wxPyBeginAllowThreads();
5002 (arg1)->SetEditable(arg2);
5003
5004 wxPyEndAllowThreads(__tstate);
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
5007 Py_INCREF(Py_None); resultobj = Py_None;
5008 return resultobj;
5009 fail:
5010 return NULL;
5011 }
5012
5013
5014 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
5015 PyObject *resultobj;
5016 wxComboBox *arg1 = (wxComboBox *) 0 ;
5017 PyObject * obj0 = 0 ;
5018 char *kwnames[] = {
5019 (char *) "self", NULL
5020 };
5021
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
5023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5024 if (SWIG_arg_fail(1)) SWIG_fail;
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 (arg1)->SetInsertionPointEnd();
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 Py_INCREF(Py_None); resultobj = Py_None;
5033 return resultobj;
5034 fail:
5035 return NULL;
5036 }
5037
5038
5039 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxComboBox *arg1 = (wxComboBox *) 0 ;
5042 long arg2 ;
5043 long arg3 ;
5044 PyObject * obj0 = 0 ;
5045 PyObject * obj1 = 0 ;
5046 PyObject * obj2 = 0 ;
5047 char *kwnames[] = {
5048 (char *) "self",(char *) "from",(char *) "to", NULL
5049 };
5050
5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
5052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5053 if (SWIG_arg_fail(1)) SWIG_fail;
5054 {
5055 arg2 = (long)(SWIG_As_long(obj1));
5056 if (SWIG_arg_fail(2)) SWIG_fail;
5057 }
5058 {
5059 arg3 = (long)(SWIG_As_long(obj2));
5060 if (SWIG_arg_fail(3)) SWIG_fail;
5061 }
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 (arg1)->Remove(arg2,arg3);
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 Py_INCREF(Py_None); resultobj = Py_None;
5070 return resultobj;
5071 fail:
5072 return NULL;
5073 }
5074
5075
5076 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxComboBox *arg1 = (wxComboBox *) 0 ;
5079 bool result;
5080 PyObject * obj0 = 0 ;
5081 char *kwnames[] = {
5082 (char *) "self", NULL
5083 };
5084
5085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5087 if (SWIG_arg_fail(1)) SWIG_fail;
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5091
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 {
5096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5097 }
5098 return resultobj;
5099 fail:
5100 return NULL;
5101 }
5102
5103
5104 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5105 PyObject *resultobj;
5106 wxComboBox *arg1 = (wxComboBox *) 0 ;
5107 PyObject * obj0 = 0 ;
5108 char *kwnames[] = {
5109 (char *) "self", NULL
5110 };
5111
5112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5114 if (SWIG_arg_fail(1)) SWIG_fail;
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 (arg1)->Undo();
5118
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 Py_INCREF(Py_None); resultobj = Py_None;
5123 return resultobj;
5124 fail:
5125 return NULL;
5126 }
5127
5128
5129 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5130 PyObject *resultobj;
5131 wxComboBox *arg1 = (wxComboBox *) 0 ;
5132 PyObject * obj0 = 0 ;
5133 char *kwnames[] = {
5134 (char *) "self", NULL
5135 };
5136
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5139 if (SWIG_arg_fail(1)) SWIG_fail;
5140 {
5141 PyThreadState* __tstate = wxPyBeginAllowThreads();
5142 (arg1)->Redo();
5143
5144 wxPyEndAllowThreads(__tstate);
5145 if (PyErr_Occurred()) SWIG_fail;
5146 }
5147 Py_INCREF(Py_None); resultobj = Py_None;
5148 return resultobj;
5149 fail:
5150 return NULL;
5151 }
5152
5153
5154 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5155 PyObject *resultobj;
5156 wxComboBox *arg1 = (wxComboBox *) 0 ;
5157 PyObject * obj0 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5164 if (SWIG_arg_fail(1)) SWIG_fail;
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 (arg1)->SelectAll();
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 Py_INCREF(Py_None); resultobj = Py_None;
5173 return resultobj;
5174 fail:
5175 return NULL;
5176 }
5177
5178
5179 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5180 PyObject *resultobj;
5181 wxComboBox *arg1 = (wxComboBox *) 0 ;
5182 bool result;
5183 PyObject * obj0 = 0 ;
5184 char *kwnames[] = {
5185 (char *) "self", NULL
5186 };
5187
5188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail;
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 {
5199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5200 }
5201 return resultobj;
5202 fail:
5203 return NULL;
5204 }
5205
5206
5207 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 wxComboBox *arg1 = (wxComboBox *) 0 ;
5210 bool result;
5211 PyObject * obj0 = 0 ;
5212 char *kwnames[] = {
5213 (char *) "self", NULL
5214 };
5215
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5218 if (SWIG_arg_fail(1)) SWIG_fail;
5219 {
5220 PyThreadState* __tstate = wxPyBeginAllowThreads();
5221 result = (bool)((wxComboBox const *)arg1)->CanCut();
5222
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
5226 {
5227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5228 }
5229 return resultobj;
5230 fail:
5231 return NULL;
5232 }
5233
5234
5235 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj;
5237 wxComboBox *arg1 = (wxComboBox *) 0 ;
5238 bool result;
5239 PyObject * obj0 = 0 ;
5240 char *kwnames[] = {
5241 (char *) "self", NULL
5242 };
5243
5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5246 if (SWIG_arg_fail(1)) SWIG_fail;
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5250
5251 wxPyEndAllowThreads(__tstate);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
5254 {
5255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5256 }
5257 return resultobj;
5258 fail:
5259 return NULL;
5260 }
5261
5262
5263 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5264 PyObject *resultobj;
5265 wxComboBox *arg1 = (wxComboBox *) 0 ;
5266 bool result;
5267 PyObject * obj0 = 0 ;
5268 char *kwnames[] = {
5269 (char *) "self", NULL
5270 };
5271
5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5274 if (SWIG_arg_fail(1)) SWIG_fail;
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
5282 {
5283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5284 }
5285 return resultobj;
5286 fail:
5287 return NULL;
5288 }
5289
5290
5291 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5292 PyObject *resultobj;
5293 wxComboBox *arg1 = (wxComboBox *) 0 ;
5294 bool result;
5295 PyObject * obj0 = 0 ;
5296 char *kwnames[] = {
5297 (char *) "self", NULL
5298 };
5299
5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5302 if (SWIG_arg_fail(1)) SWIG_fail;
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5306
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) SWIG_fail;
5309 }
5310 {
5311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5312 }
5313 return resultobj;
5314 fail:
5315 return NULL;
5316 }
5317
5318
5319 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5320 PyObject *resultobj;
5321 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5322 wxVisualAttributes result;
5323 PyObject * obj0 = 0 ;
5324 char *kwnames[] = {
5325 (char *) "variant", NULL
5326 };
5327
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5329 if (obj0) {
5330 {
5331 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5332 if (SWIG_arg_fail(1)) SWIG_fail;
5333 }
5334 }
5335 {
5336 if (!wxPyCheckForApp()) SWIG_fail;
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5339
5340 wxPyEndAllowThreads(__tstate);
5341 if (PyErr_Occurred()) SWIG_fail;
5342 }
5343 {
5344 wxVisualAttributes * resultptr;
5345 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5346 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5347 }
5348 return resultobj;
5349 fail:
5350 return NULL;
5351 }
5352
5353
5354 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5355 PyObject *obj;
5356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5357 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5358 Py_INCREF(obj);
5359 return Py_BuildValue((char *)"");
5360 }
5361 static int _wrap_GaugeNameStr_set(PyObject *) {
5362 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5363 return 1;
5364 }
5365
5366
5367 static PyObject *_wrap_GaugeNameStr_get(void) {
5368 PyObject *pyobj;
5369
5370 {
5371 #if wxUSE_UNICODE
5372 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5373 #else
5374 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5375 #endif
5376 }
5377 return pyobj;
5378 }
5379
5380
5381 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5382 PyObject *resultobj;
5383 wxWindow *arg1 = (wxWindow *) 0 ;
5384 int arg2 = (int) -1 ;
5385 int arg3 = (int) 100 ;
5386 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5387 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5388 wxSize const &arg5_defvalue = wxDefaultSize ;
5389 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5390 long arg6 = (long) wxGA_HORIZONTAL ;
5391 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5392 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5393 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5394 wxString *arg8 = (wxString *) &arg8_defvalue ;
5395 wxGauge *result;
5396 wxPoint temp4 ;
5397 wxSize temp5 ;
5398 bool temp8 = false ;
5399 PyObject * obj0 = 0 ;
5400 PyObject * obj1 = 0 ;
5401 PyObject * obj2 = 0 ;
5402 PyObject * obj3 = 0 ;
5403 PyObject * obj4 = 0 ;
5404 PyObject * obj5 = 0 ;
5405 PyObject * obj6 = 0 ;
5406 PyObject * obj7 = 0 ;
5407 char *kwnames[] = {
5408 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5409 };
5410
5411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5413 if (SWIG_arg_fail(1)) SWIG_fail;
5414 if (obj1) {
5415 {
5416 arg2 = (int)(SWIG_As_int(obj1));
5417 if (SWIG_arg_fail(2)) SWIG_fail;
5418 }
5419 }
5420 if (obj2) {
5421 {
5422 arg3 = (int)(SWIG_As_int(obj2));
5423 if (SWIG_arg_fail(3)) SWIG_fail;
5424 }
5425 }
5426 if (obj3) {
5427 {
5428 arg4 = &temp4;
5429 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5430 }
5431 }
5432 if (obj4) {
5433 {
5434 arg5 = &temp5;
5435 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5436 }
5437 }
5438 if (obj5) {
5439 {
5440 arg6 = (long)(SWIG_As_long(obj5));
5441 if (SWIG_arg_fail(6)) SWIG_fail;
5442 }
5443 }
5444 if (obj6) {
5445 {
5446 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5447 if (SWIG_arg_fail(7)) SWIG_fail;
5448 if (arg7 == NULL) {
5449 SWIG_null_ref("wxValidator");
5450 }
5451 if (SWIG_arg_fail(7)) SWIG_fail;
5452 }
5453 }
5454 if (obj7) {
5455 {
5456 arg8 = wxString_in_helper(obj7);
5457 if (arg8 == NULL) SWIG_fail;
5458 temp8 = true;
5459 }
5460 }
5461 {
5462 if (!wxPyCheckForApp()) SWIG_fail;
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5465
5466 wxPyEndAllowThreads(__tstate);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5470 {
5471 if (temp8)
5472 delete arg8;
5473 }
5474 return resultobj;
5475 fail:
5476 {
5477 if (temp8)
5478 delete arg8;
5479 }
5480 return NULL;
5481 }
5482
5483
5484 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5485 PyObject *resultobj;
5486 wxGauge *result;
5487 char *kwnames[] = {
5488 NULL
5489 };
5490
5491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5492 {
5493 if (!wxPyCheckForApp()) SWIG_fail;
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (wxGauge *)new wxGauge();
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5501 return resultobj;
5502 fail:
5503 return NULL;
5504 }
5505
5506
5507 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5508 PyObject *resultobj;
5509 wxGauge *arg1 = (wxGauge *) 0 ;
5510 wxWindow *arg2 = (wxWindow *) 0 ;
5511 int arg3 = (int) -1 ;
5512 int arg4 = (int) 100 ;
5513 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5514 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5515 wxSize const &arg6_defvalue = wxDefaultSize ;
5516 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5517 long arg7 = (long) wxGA_HORIZONTAL ;
5518 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5519 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5520 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5521 wxString *arg9 = (wxString *) &arg9_defvalue ;
5522 bool result;
5523 wxPoint temp5 ;
5524 wxSize temp6 ;
5525 bool temp9 = false ;
5526 PyObject * obj0 = 0 ;
5527 PyObject * obj1 = 0 ;
5528 PyObject * obj2 = 0 ;
5529 PyObject * obj3 = 0 ;
5530 PyObject * obj4 = 0 ;
5531 PyObject * obj5 = 0 ;
5532 PyObject * obj6 = 0 ;
5533 PyObject * obj7 = 0 ;
5534 PyObject * obj8 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5541 if (SWIG_arg_fail(1)) SWIG_fail;
5542 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5543 if (SWIG_arg_fail(2)) SWIG_fail;
5544 if (obj2) {
5545 {
5546 arg3 = (int)(SWIG_As_int(obj2));
5547 if (SWIG_arg_fail(3)) SWIG_fail;
5548 }
5549 }
5550 if (obj3) {
5551 {
5552 arg4 = (int)(SWIG_As_int(obj3));
5553 if (SWIG_arg_fail(4)) SWIG_fail;
5554 }
5555 }
5556 if (obj4) {
5557 {
5558 arg5 = &temp5;
5559 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5560 }
5561 }
5562 if (obj5) {
5563 {
5564 arg6 = &temp6;
5565 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5566 }
5567 }
5568 if (obj6) {
5569 {
5570 arg7 = (long)(SWIG_As_long(obj6));
5571 if (SWIG_arg_fail(7)) SWIG_fail;
5572 }
5573 }
5574 if (obj7) {
5575 {
5576 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5577 if (SWIG_arg_fail(8)) SWIG_fail;
5578 if (arg8 == NULL) {
5579 SWIG_null_ref("wxValidator");
5580 }
5581 if (SWIG_arg_fail(8)) SWIG_fail;
5582 }
5583 }
5584 if (obj8) {
5585 {
5586 arg9 = wxString_in_helper(obj8);
5587 if (arg9 == NULL) SWIG_fail;
5588 temp9 = true;
5589 }
5590 }
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 {
5599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5600 }
5601 {
5602 if (temp9)
5603 delete arg9;
5604 }
5605 return resultobj;
5606 fail:
5607 {
5608 if (temp9)
5609 delete arg9;
5610 }
5611 return NULL;
5612 }
5613
5614
5615 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj;
5617 wxGauge *arg1 = (wxGauge *) 0 ;
5618 int arg2 ;
5619 PyObject * obj0 = 0 ;
5620 PyObject * obj1 = 0 ;
5621 char *kwnames[] = {
5622 (char *) "self",(char *) "range", NULL
5623 };
5624
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5627 if (SWIG_arg_fail(1)) SWIG_fail;
5628 {
5629 arg2 = (int)(SWIG_As_int(obj1));
5630 if (SWIG_arg_fail(2)) SWIG_fail;
5631 }
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 (arg1)->SetRange(arg2);
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 Py_INCREF(Py_None); resultobj = Py_None;
5640 return resultobj;
5641 fail:
5642 return NULL;
5643 }
5644
5645
5646 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5647 PyObject *resultobj;
5648 wxGauge *arg1 = (wxGauge *) 0 ;
5649 int result;
5650 PyObject * obj0 = 0 ;
5651 char *kwnames[] = {
5652 (char *) "self", NULL
5653 };
5654
5655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5657 if (SWIG_arg_fail(1)) SWIG_fail;
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 result = (int)((wxGauge const *)arg1)->GetRange();
5661
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 {
5666 resultobj = SWIG_From_int((int)(result));
5667 }
5668 return resultobj;
5669 fail:
5670 return NULL;
5671 }
5672
5673
5674 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5675 PyObject *resultobj;
5676 wxGauge *arg1 = (wxGauge *) 0 ;
5677 int arg2 ;
5678 PyObject * obj0 = 0 ;
5679 PyObject * obj1 = 0 ;
5680 char *kwnames[] = {
5681 (char *) "self",(char *) "pos", NULL
5682 };
5683
5684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5686 if (SWIG_arg_fail(1)) SWIG_fail;
5687 {
5688 arg2 = (int)(SWIG_As_int(obj1));
5689 if (SWIG_arg_fail(2)) SWIG_fail;
5690 }
5691 {
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 (arg1)->SetValue(arg2);
5694
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 }
5698 Py_INCREF(Py_None); resultobj = Py_None;
5699 return resultobj;
5700 fail:
5701 return NULL;
5702 }
5703
5704
5705 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5706 PyObject *resultobj;
5707 wxGauge *arg1 = (wxGauge *) 0 ;
5708 int result;
5709 PyObject * obj0 = 0 ;
5710 char *kwnames[] = {
5711 (char *) "self", NULL
5712 };
5713
5714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5716 if (SWIG_arg_fail(1)) SWIG_fail;
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 result = (int)((wxGauge const *)arg1)->GetValue();
5720
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 {
5725 resultobj = SWIG_From_int((int)(result));
5726 }
5727 return resultobj;
5728 fail:
5729 return NULL;
5730 }
5731
5732
5733 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj;
5735 wxGauge *arg1 = (wxGauge *) 0 ;
5736 bool result;
5737 PyObject * obj0 = 0 ;
5738 char *kwnames[] = {
5739 (char *) "self", NULL
5740 };
5741
5742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5744 if (SWIG_arg_fail(1)) SWIG_fail;
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 result = (bool)((wxGauge const *)arg1)->IsVertical();
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 {
5753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5754 }
5755 return resultobj;
5756 fail:
5757 return NULL;
5758 }
5759
5760
5761 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5762 PyObject *resultobj;
5763 wxGauge *arg1 = (wxGauge *) 0 ;
5764 int arg2 ;
5765 PyObject * obj0 = 0 ;
5766 PyObject * obj1 = 0 ;
5767 char *kwnames[] = {
5768 (char *) "self",(char *) "w", NULL
5769 };
5770
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5773 if (SWIG_arg_fail(1)) SWIG_fail;
5774 {
5775 arg2 = (int)(SWIG_As_int(obj1));
5776 if (SWIG_arg_fail(2)) SWIG_fail;
5777 }
5778 {
5779 PyThreadState* __tstate = wxPyBeginAllowThreads();
5780 (arg1)->SetShadowWidth(arg2);
5781
5782 wxPyEndAllowThreads(__tstate);
5783 if (PyErr_Occurred()) SWIG_fail;
5784 }
5785 Py_INCREF(Py_None); resultobj = Py_None;
5786 return resultobj;
5787 fail:
5788 return NULL;
5789 }
5790
5791
5792 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5793 PyObject *resultobj;
5794 wxGauge *arg1 = (wxGauge *) 0 ;
5795 int result;
5796 PyObject * obj0 = 0 ;
5797 char *kwnames[] = {
5798 (char *) "self", NULL
5799 };
5800
5801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5803 if (SWIG_arg_fail(1)) SWIG_fail;
5804 {
5805 PyThreadState* __tstate = wxPyBeginAllowThreads();
5806 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5807
5808 wxPyEndAllowThreads(__tstate);
5809 if (PyErr_Occurred()) SWIG_fail;
5810 }
5811 {
5812 resultobj = SWIG_From_int((int)(result));
5813 }
5814 return resultobj;
5815 fail:
5816 return NULL;
5817 }
5818
5819
5820 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5821 PyObject *resultobj;
5822 wxGauge *arg1 = (wxGauge *) 0 ;
5823 int arg2 ;
5824 PyObject * obj0 = 0 ;
5825 PyObject * obj1 = 0 ;
5826 char *kwnames[] = {
5827 (char *) "self",(char *) "w", NULL
5828 };
5829
5830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5832 if (SWIG_arg_fail(1)) SWIG_fail;
5833 {
5834 arg2 = (int)(SWIG_As_int(obj1));
5835 if (SWIG_arg_fail(2)) SWIG_fail;
5836 }
5837 {
5838 PyThreadState* __tstate = wxPyBeginAllowThreads();
5839 (arg1)->SetBezelFace(arg2);
5840
5841 wxPyEndAllowThreads(__tstate);
5842 if (PyErr_Occurred()) SWIG_fail;
5843 }
5844 Py_INCREF(Py_None); resultobj = Py_None;
5845 return resultobj;
5846 fail:
5847 return NULL;
5848 }
5849
5850
5851 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5852 PyObject *resultobj;
5853 wxGauge *arg1 = (wxGauge *) 0 ;
5854 int result;
5855 PyObject * obj0 = 0 ;
5856 char *kwnames[] = {
5857 (char *) "self", NULL
5858 };
5859
5860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5862 if (SWIG_arg_fail(1)) SWIG_fail;
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5866
5867 wxPyEndAllowThreads(__tstate);
5868 if (PyErr_Occurred()) SWIG_fail;
5869 }
5870 {
5871 resultobj = SWIG_From_int((int)(result));
5872 }
5873 return resultobj;
5874 fail:
5875 return NULL;
5876 }
5877
5878
5879 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5880 PyObject *resultobj;
5881 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5882 wxVisualAttributes result;
5883 PyObject * obj0 = 0 ;
5884 char *kwnames[] = {
5885 (char *) "variant", NULL
5886 };
5887
5888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5889 if (obj0) {
5890 {
5891 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5892 if (SWIG_arg_fail(1)) SWIG_fail;
5893 }
5894 }
5895 {
5896 if (!wxPyCheckForApp()) SWIG_fail;
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 {
5904 wxVisualAttributes * resultptr;
5905 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5907 }
5908 return resultobj;
5909 fail:
5910 return NULL;
5911 }
5912
5913
5914 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
5915 PyObject *obj;
5916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5917 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5918 Py_INCREF(obj);
5919 return Py_BuildValue((char *)"");
5920 }
5921 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
5922 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5923 return 1;
5924 }
5925
5926
5927 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
5928 PyObject *pyobj;
5929
5930 {
5931 #if wxUSE_UNICODE
5932 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5933 #else
5934 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5935 #endif
5936 }
5937 return pyobj;
5938 }
5939
5940
5941 static int _wrap_StaticBoxNameStr_set(PyObject *) {
5942 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5943 return 1;
5944 }
5945
5946
5947 static PyObject *_wrap_StaticBoxNameStr_get(void) {
5948 PyObject *pyobj;
5949
5950 {
5951 #if wxUSE_UNICODE
5952 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5953 #else
5954 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5955 #endif
5956 }
5957 return pyobj;
5958 }
5959
5960
5961 static int _wrap_StaticTextNameStr_set(PyObject *) {
5962 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5963 return 1;
5964 }
5965
5966
5967 static PyObject *_wrap_StaticTextNameStr_get(void) {
5968 PyObject *pyobj;
5969
5970 {
5971 #if wxUSE_UNICODE
5972 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5973 #else
5974 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5975 #endif
5976 }
5977 return pyobj;
5978 }
5979
5980
5981 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5982 PyObject *resultobj;
5983 wxWindow *arg1 = (wxWindow *) 0 ;
5984 int arg2 = (int) -1 ;
5985 wxString const &arg3_defvalue = wxPyEmptyString ;
5986 wxString *arg3 = (wxString *) &arg3_defvalue ;
5987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5989 wxSize const &arg5_defvalue = wxDefaultSize ;
5990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5991 long arg6 = (long) 0 ;
5992 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5993 wxString *arg7 = (wxString *) &arg7_defvalue ;
5994 wxStaticBox *result;
5995 bool temp3 = false ;
5996 wxPoint temp4 ;
5997 wxSize temp5 ;
5998 bool temp7 = false ;
5999 PyObject * obj0 = 0 ;
6000 PyObject * obj1 = 0 ;
6001 PyObject * obj2 = 0 ;
6002 PyObject * obj3 = 0 ;
6003 PyObject * obj4 = 0 ;
6004 PyObject * obj5 = 0 ;
6005 PyObject * obj6 = 0 ;
6006 char *kwnames[] = {
6007 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6008 };
6009
6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6012 if (SWIG_arg_fail(1)) SWIG_fail;
6013 if (obj1) {
6014 {
6015 arg2 = (int)(SWIG_As_int(obj1));
6016 if (SWIG_arg_fail(2)) SWIG_fail;
6017 }
6018 }
6019 if (obj2) {
6020 {
6021 arg3 = wxString_in_helper(obj2);
6022 if (arg3 == NULL) SWIG_fail;
6023 temp3 = true;
6024 }
6025 }
6026 if (obj3) {
6027 {
6028 arg4 = &temp4;
6029 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6030 }
6031 }
6032 if (obj4) {
6033 {
6034 arg5 = &temp5;
6035 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6036 }
6037 }
6038 if (obj5) {
6039 {
6040 arg6 = (long)(SWIG_As_long(obj5));
6041 if (SWIG_arg_fail(6)) SWIG_fail;
6042 }
6043 }
6044 if (obj6) {
6045 {
6046 arg7 = wxString_in_helper(obj6);
6047 if (arg7 == NULL) SWIG_fail;
6048 temp7 = true;
6049 }
6050 }
6051 {
6052 if (!wxPyCheckForApp()) SWIG_fail;
6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6054 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6055
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6060 {
6061 if (temp3)
6062 delete arg3;
6063 }
6064 {
6065 if (temp7)
6066 delete arg7;
6067 }
6068 return resultobj;
6069 fail:
6070 {
6071 if (temp3)
6072 delete arg3;
6073 }
6074 {
6075 if (temp7)
6076 delete arg7;
6077 }
6078 return NULL;
6079 }
6080
6081
6082 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6083 PyObject *resultobj;
6084 wxStaticBox *result;
6085 char *kwnames[] = {
6086 NULL
6087 };
6088
6089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6090 {
6091 if (!wxPyCheckForApp()) SWIG_fail;
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = (wxStaticBox *)new wxStaticBox();
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6108 wxWindow *arg2 = (wxWindow *) 0 ;
6109 int arg3 = (int) -1 ;
6110 wxString const &arg4_defvalue = wxPyEmptyString ;
6111 wxString *arg4 = (wxString *) &arg4_defvalue ;
6112 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6113 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6114 wxSize const &arg6_defvalue = wxDefaultSize ;
6115 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6116 long arg7 = (long) 0 ;
6117 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6118 wxString *arg8 = (wxString *) &arg8_defvalue ;
6119 bool result;
6120 bool temp4 = false ;
6121 wxPoint temp5 ;
6122 wxSize temp6 ;
6123 bool temp8 = false ;
6124 PyObject * obj0 = 0 ;
6125 PyObject * obj1 = 0 ;
6126 PyObject * obj2 = 0 ;
6127 PyObject * obj3 = 0 ;
6128 PyObject * obj4 = 0 ;
6129 PyObject * obj5 = 0 ;
6130 PyObject * obj6 = 0 ;
6131 PyObject * obj7 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6138 if (SWIG_arg_fail(1)) SWIG_fail;
6139 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6140 if (SWIG_arg_fail(2)) SWIG_fail;
6141 if (obj2) {
6142 {
6143 arg3 = (int)(SWIG_As_int(obj2));
6144 if (SWIG_arg_fail(3)) SWIG_fail;
6145 }
6146 }
6147 if (obj3) {
6148 {
6149 arg4 = wxString_in_helper(obj3);
6150 if (arg4 == NULL) SWIG_fail;
6151 temp4 = true;
6152 }
6153 }
6154 if (obj4) {
6155 {
6156 arg5 = &temp5;
6157 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6158 }
6159 }
6160 if (obj5) {
6161 {
6162 arg6 = &temp6;
6163 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6164 }
6165 }
6166 if (obj6) {
6167 {
6168 arg7 = (long)(SWIG_As_long(obj6));
6169 if (SWIG_arg_fail(7)) SWIG_fail;
6170 }
6171 }
6172 if (obj7) {
6173 {
6174 arg8 = wxString_in_helper(obj7);
6175 if (arg8 == NULL) SWIG_fail;
6176 temp8 = true;
6177 }
6178 }
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 {
6187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6188 }
6189 {
6190 if (temp4)
6191 delete arg4;
6192 }
6193 {
6194 if (temp8)
6195 delete arg8;
6196 }
6197 return resultobj;
6198 fail:
6199 {
6200 if (temp4)
6201 delete arg4;
6202 }
6203 {
6204 if (temp8)
6205 delete arg8;
6206 }
6207 return NULL;
6208 }
6209
6210
6211 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6212 PyObject *resultobj;
6213 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6214 wxVisualAttributes result;
6215 PyObject * obj0 = 0 ;
6216 char *kwnames[] = {
6217 (char *) "variant", NULL
6218 };
6219
6220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6221 if (obj0) {
6222 {
6223 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6224 if (SWIG_arg_fail(1)) SWIG_fail;
6225 }
6226 }
6227 {
6228 if (!wxPyCheckForApp()) SWIG_fail;
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 {
6236 wxVisualAttributes * resultptr;
6237 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6239 }
6240 return resultobj;
6241 fail:
6242 return NULL;
6243 }
6244
6245
6246 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6247 PyObject *obj;
6248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6249 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6250 Py_INCREF(obj);
6251 return Py_BuildValue((char *)"");
6252 }
6253 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6254 PyObject *resultobj;
6255 wxWindow *arg1 = (wxWindow *) 0 ;
6256 int arg2 = (int) -1 ;
6257 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6258 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6259 wxSize const &arg4_defvalue = wxDefaultSize ;
6260 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6261 long arg5 = (long) wxLI_HORIZONTAL ;
6262 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6263 wxString *arg6 = (wxString *) &arg6_defvalue ;
6264 wxStaticLine *result;
6265 wxPoint temp3 ;
6266 wxSize temp4 ;
6267 bool temp6 = false ;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 PyObject * obj2 = 0 ;
6271 PyObject * obj3 = 0 ;
6272 PyObject * obj4 = 0 ;
6273 PyObject * obj5 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6280 if (SWIG_arg_fail(1)) SWIG_fail;
6281 if (obj1) {
6282 {
6283 arg2 = (int)(SWIG_As_int(obj1));
6284 if (SWIG_arg_fail(2)) SWIG_fail;
6285 }
6286 }
6287 if (obj2) {
6288 {
6289 arg3 = &temp3;
6290 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6291 }
6292 }
6293 if (obj3) {
6294 {
6295 arg4 = &temp4;
6296 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6297 }
6298 }
6299 if (obj4) {
6300 {
6301 arg5 = (long)(SWIG_As_long(obj4));
6302 if (SWIG_arg_fail(5)) SWIG_fail;
6303 }
6304 }
6305 if (obj5) {
6306 {
6307 arg6 = wxString_in_helper(obj5);
6308 if (arg6 == NULL) SWIG_fail;
6309 temp6 = true;
6310 }
6311 }
6312 {
6313 if (!wxPyCheckForApp()) SWIG_fail;
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6321 {
6322 if (temp6)
6323 delete arg6;
6324 }
6325 return resultobj;
6326 fail:
6327 {
6328 if (temp6)
6329 delete arg6;
6330 }
6331 return NULL;
6332 }
6333
6334
6335 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6336 PyObject *resultobj;
6337 wxStaticLine *result;
6338 char *kwnames[] = {
6339 NULL
6340 };
6341
6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6343 {
6344 if (!wxPyCheckForApp()) SWIG_fail;
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 result = (wxStaticLine *)new wxStaticLine();
6347
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6352 return resultobj;
6353 fail:
6354 return NULL;
6355 }
6356
6357
6358 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6359 PyObject *resultobj;
6360 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6361 wxWindow *arg2 = (wxWindow *) 0 ;
6362 int arg3 = (int) -1 ;
6363 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6364 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6365 wxSize const &arg5_defvalue = wxDefaultSize ;
6366 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6367 long arg6 = (long) wxLI_HORIZONTAL ;
6368 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6369 wxString *arg7 = (wxString *) &arg7_defvalue ;
6370 bool result;
6371 wxPoint temp4 ;
6372 wxSize temp5 ;
6373 bool temp7 = false ;
6374 PyObject * obj0 = 0 ;
6375 PyObject * obj1 = 0 ;
6376 PyObject * obj2 = 0 ;
6377 PyObject * obj3 = 0 ;
6378 PyObject * obj4 = 0 ;
6379 PyObject * obj5 = 0 ;
6380 PyObject * obj6 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6383 };
6384
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail;
6388 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6389 if (SWIG_arg_fail(2)) SWIG_fail;
6390 if (obj2) {
6391 {
6392 arg3 = (int)(SWIG_As_int(obj2));
6393 if (SWIG_arg_fail(3)) SWIG_fail;
6394 }
6395 }
6396 if (obj3) {
6397 {
6398 arg4 = &temp4;
6399 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6400 }
6401 }
6402 if (obj4) {
6403 {
6404 arg5 = &temp5;
6405 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6406 }
6407 }
6408 if (obj5) {
6409 {
6410 arg6 = (long)(SWIG_As_long(obj5));
6411 if (SWIG_arg_fail(6)) SWIG_fail;
6412 }
6413 }
6414 if (obj6) {
6415 {
6416 arg7 = wxString_in_helper(obj6);
6417 if (arg7 == NULL) SWIG_fail;
6418 temp7 = true;
6419 }
6420 }
6421 {
6422 PyThreadState* __tstate = wxPyBeginAllowThreads();
6423 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6424
6425 wxPyEndAllowThreads(__tstate);
6426 if (PyErr_Occurred()) SWIG_fail;
6427 }
6428 {
6429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6430 }
6431 {
6432 if (temp7)
6433 delete arg7;
6434 }
6435 return resultobj;
6436 fail:
6437 {
6438 if (temp7)
6439 delete arg7;
6440 }
6441 return NULL;
6442 }
6443
6444
6445 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6446 PyObject *resultobj;
6447 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6448 bool result;
6449 PyObject * obj0 = 0 ;
6450 char *kwnames[] = {
6451 (char *) "self", NULL
6452 };
6453
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6456 if (SWIG_arg_fail(1)) SWIG_fail;
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 {
6465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6466 }
6467 return resultobj;
6468 fail:
6469 return NULL;
6470 }
6471
6472
6473 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj;
6475 int result;
6476 char *kwnames[] = {
6477 NULL
6478 };
6479
6480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 result = (int)wxStaticLine::GetDefaultSize();
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 {
6489 resultobj = SWIG_From_int((int)(result));
6490 }
6491 return resultobj;
6492 fail:
6493 return NULL;
6494 }
6495
6496
6497 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6498 PyObject *resultobj;
6499 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6500 wxVisualAttributes result;
6501 PyObject * obj0 = 0 ;
6502 char *kwnames[] = {
6503 (char *) "variant", NULL
6504 };
6505
6506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6507 if (obj0) {
6508 {
6509 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6510 if (SWIG_arg_fail(1)) SWIG_fail;
6511 }
6512 }
6513 {
6514 if (!wxPyCheckForApp()) SWIG_fail;
6515 PyThreadState* __tstate = wxPyBeginAllowThreads();
6516 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6517
6518 wxPyEndAllowThreads(__tstate);
6519 if (PyErr_Occurred()) SWIG_fail;
6520 }
6521 {
6522 wxVisualAttributes * resultptr;
6523 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6525 }
6526 return resultobj;
6527 fail:
6528 return NULL;
6529 }
6530
6531
6532 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6533 PyObject *obj;
6534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6535 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6536 Py_INCREF(obj);
6537 return Py_BuildValue((char *)"");
6538 }
6539 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6540 PyObject *resultobj;
6541 wxWindow *arg1 = (wxWindow *) 0 ;
6542 int arg2 = (int) -1 ;
6543 wxString const &arg3_defvalue = wxPyEmptyString ;
6544 wxString *arg3 = (wxString *) &arg3_defvalue ;
6545 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6546 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6547 wxSize const &arg5_defvalue = wxDefaultSize ;
6548 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6549 long arg6 = (long) 0 ;
6550 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6551 wxString *arg7 = (wxString *) &arg7_defvalue ;
6552 wxStaticText *result;
6553 bool temp3 = false ;
6554 wxPoint temp4 ;
6555 wxSize temp5 ;
6556 bool temp7 = false ;
6557 PyObject * obj0 = 0 ;
6558 PyObject * obj1 = 0 ;
6559 PyObject * obj2 = 0 ;
6560 PyObject * obj3 = 0 ;
6561 PyObject * obj4 = 0 ;
6562 PyObject * obj5 = 0 ;
6563 PyObject * obj6 = 0 ;
6564 char *kwnames[] = {
6565 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6566 };
6567
6568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6570 if (SWIG_arg_fail(1)) SWIG_fail;
6571 if (obj1) {
6572 {
6573 arg2 = (int)(SWIG_As_int(obj1));
6574 if (SWIG_arg_fail(2)) SWIG_fail;
6575 }
6576 }
6577 if (obj2) {
6578 {
6579 arg3 = wxString_in_helper(obj2);
6580 if (arg3 == NULL) SWIG_fail;
6581 temp3 = true;
6582 }
6583 }
6584 if (obj3) {
6585 {
6586 arg4 = &temp4;
6587 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6588 }
6589 }
6590 if (obj4) {
6591 {
6592 arg5 = &temp5;
6593 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6594 }
6595 }
6596 if (obj5) {
6597 {
6598 arg6 = (long)(SWIG_As_long(obj5));
6599 if (SWIG_arg_fail(6)) SWIG_fail;
6600 }
6601 }
6602 if (obj6) {
6603 {
6604 arg7 = wxString_in_helper(obj6);
6605 if (arg7 == NULL) SWIG_fail;
6606 temp7 = true;
6607 }
6608 }
6609 {
6610 if (!wxPyCheckForApp()) SWIG_fail;
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6613
6614 wxPyEndAllowThreads(__tstate);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
6617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6618 {
6619 if (temp3)
6620 delete arg3;
6621 }
6622 {
6623 if (temp7)
6624 delete arg7;
6625 }
6626 return resultobj;
6627 fail:
6628 {
6629 if (temp3)
6630 delete arg3;
6631 }
6632 {
6633 if (temp7)
6634 delete arg7;
6635 }
6636 return NULL;
6637 }
6638
6639
6640 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6641 PyObject *resultobj;
6642 wxStaticText *result;
6643 char *kwnames[] = {
6644 NULL
6645 };
6646
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6648 {
6649 if (!wxPyCheckForApp()) SWIG_fail;
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 result = (wxStaticText *)new wxStaticText();
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6657 return resultobj;
6658 fail:
6659 return NULL;
6660 }
6661
6662
6663 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6664 PyObject *resultobj;
6665 wxStaticText *arg1 = (wxStaticText *) 0 ;
6666 wxWindow *arg2 = (wxWindow *) 0 ;
6667 int arg3 = (int) -1 ;
6668 wxString const &arg4_defvalue = wxPyEmptyString ;
6669 wxString *arg4 = (wxString *) &arg4_defvalue ;
6670 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6671 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6672 wxSize const &arg6_defvalue = wxDefaultSize ;
6673 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6674 long arg7 = (long) 0 ;
6675 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6676 wxString *arg8 = (wxString *) &arg8_defvalue ;
6677 bool result;
6678 bool temp4 = false ;
6679 wxPoint temp5 ;
6680 wxSize temp6 ;
6681 bool temp8 = false ;
6682 PyObject * obj0 = 0 ;
6683 PyObject * obj1 = 0 ;
6684 PyObject * obj2 = 0 ;
6685 PyObject * obj3 = 0 ;
6686 PyObject * obj4 = 0 ;
6687 PyObject * obj5 = 0 ;
6688 PyObject * obj6 = 0 ;
6689 PyObject * obj7 = 0 ;
6690 char *kwnames[] = {
6691 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6692 };
6693
6694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6696 if (SWIG_arg_fail(1)) SWIG_fail;
6697 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6698 if (SWIG_arg_fail(2)) SWIG_fail;
6699 if (obj2) {
6700 {
6701 arg3 = (int)(SWIG_As_int(obj2));
6702 if (SWIG_arg_fail(3)) SWIG_fail;
6703 }
6704 }
6705 if (obj3) {
6706 {
6707 arg4 = wxString_in_helper(obj3);
6708 if (arg4 == NULL) SWIG_fail;
6709 temp4 = true;
6710 }
6711 }
6712 if (obj4) {
6713 {
6714 arg5 = &temp5;
6715 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6716 }
6717 }
6718 if (obj5) {
6719 {
6720 arg6 = &temp6;
6721 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6722 }
6723 }
6724 if (obj6) {
6725 {
6726 arg7 = (long)(SWIG_As_long(obj6));
6727 if (SWIG_arg_fail(7)) SWIG_fail;
6728 }
6729 }
6730 if (obj7) {
6731 {
6732 arg8 = wxString_in_helper(obj7);
6733 if (arg8 == NULL) SWIG_fail;
6734 temp8 = true;
6735 }
6736 }
6737 {
6738 PyThreadState* __tstate = wxPyBeginAllowThreads();
6739 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6740
6741 wxPyEndAllowThreads(__tstate);
6742 if (PyErr_Occurred()) SWIG_fail;
6743 }
6744 {
6745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6746 }
6747 {
6748 if (temp4)
6749 delete arg4;
6750 }
6751 {
6752 if (temp8)
6753 delete arg8;
6754 }
6755 return resultobj;
6756 fail:
6757 {
6758 if (temp4)
6759 delete arg4;
6760 }
6761 {
6762 if (temp8)
6763 delete arg8;
6764 }
6765 return NULL;
6766 }
6767
6768
6769 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6770 PyObject *resultobj;
6771 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6772 wxVisualAttributes result;
6773 PyObject * obj0 = 0 ;
6774 char *kwnames[] = {
6775 (char *) "variant", NULL
6776 };
6777
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6779 if (obj0) {
6780 {
6781 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6782 if (SWIG_arg_fail(1)) SWIG_fail;
6783 }
6784 }
6785 {
6786 if (!wxPyCheckForApp()) SWIG_fail;
6787 PyThreadState* __tstate = wxPyBeginAllowThreads();
6788 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6789
6790 wxPyEndAllowThreads(__tstate);
6791 if (PyErr_Occurred()) SWIG_fail;
6792 }
6793 {
6794 wxVisualAttributes * resultptr;
6795 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6796 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6797 }
6798 return resultobj;
6799 fail:
6800 return NULL;
6801 }
6802
6803
6804 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6805 PyObject *obj;
6806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6807 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6808 Py_INCREF(obj);
6809 return Py_BuildValue((char *)"");
6810 }
6811 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6812 PyObject *resultobj;
6813 wxWindow *arg1 = (wxWindow *) 0 ;
6814 int arg2 = (int) -1 ;
6815 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6816 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6817 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6818 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6819 wxSize const &arg5_defvalue = wxDefaultSize ;
6820 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6821 long arg6 = (long) 0 ;
6822 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6823 wxString *arg7 = (wxString *) &arg7_defvalue ;
6824 wxStaticBitmap *result;
6825 wxPoint temp4 ;
6826 wxSize temp5 ;
6827 bool temp7 = false ;
6828 PyObject * obj0 = 0 ;
6829 PyObject * obj1 = 0 ;
6830 PyObject * obj2 = 0 ;
6831 PyObject * obj3 = 0 ;
6832 PyObject * obj4 = 0 ;
6833 PyObject * obj5 = 0 ;
6834 PyObject * obj6 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6841 if (SWIG_arg_fail(1)) SWIG_fail;
6842 if (obj1) {
6843 {
6844 arg2 = (int)(SWIG_As_int(obj1));
6845 if (SWIG_arg_fail(2)) SWIG_fail;
6846 }
6847 }
6848 if (obj2) {
6849 {
6850 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6851 if (SWIG_arg_fail(3)) SWIG_fail;
6852 if (arg3 == NULL) {
6853 SWIG_null_ref("wxBitmap");
6854 }
6855 if (SWIG_arg_fail(3)) SWIG_fail;
6856 }
6857 }
6858 if (obj3) {
6859 {
6860 arg4 = &temp4;
6861 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6862 }
6863 }
6864 if (obj4) {
6865 {
6866 arg5 = &temp5;
6867 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6868 }
6869 }
6870 if (obj5) {
6871 {
6872 arg6 = (long)(SWIG_As_long(obj5));
6873 if (SWIG_arg_fail(6)) SWIG_fail;
6874 }
6875 }
6876 if (obj6) {
6877 {
6878 arg7 = wxString_in_helper(obj6);
6879 if (arg7 == NULL) SWIG_fail;
6880 temp7 = true;
6881 }
6882 }
6883 {
6884 if (!wxPyCheckForApp()) SWIG_fail;
6885 PyThreadState* __tstate = wxPyBeginAllowThreads();
6886 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6887
6888 wxPyEndAllowThreads(__tstate);
6889 if (PyErr_Occurred()) SWIG_fail;
6890 }
6891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6892 {
6893 if (temp7)
6894 delete arg7;
6895 }
6896 return resultobj;
6897 fail:
6898 {
6899 if (temp7)
6900 delete arg7;
6901 }
6902 return NULL;
6903 }
6904
6905
6906 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6907 PyObject *resultobj;
6908 wxStaticBitmap *result;
6909 char *kwnames[] = {
6910 NULL
6911 };
6912
6913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6914 {
6915 if (!wxPyCheckForApp()) SWIG_fail;
6916 PyThreadState* __tstate = wxPyBeginAllowThreads();
6917 result = (wxStaticBitmap *)new wxStaticBitmap();
6918
6919 wxPyEndAllowThreads(__tstate);
6920 if (PyErr_Occurred()) SWIG_fail;
6921 }
6922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6923 return resultobj;
6924 fail:
6925 return NULL;
6926 }
6927
6928
6929 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6930 PyObject *resultobj;
6931 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6932 wxWindow *arg2 = (wxWindow *) 0 ;
6933 int arg3 = (int) -1 ;
6934 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6935 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
6936 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6937 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6938 wxSize const &arg6_defvalue = wxDefaultSize ;
6939 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6940 long arg7 = (long) 0 ;
6941 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6942 wxString *arg8 = (wxString *) &arg8_defvalue ;
6943 bool result;
6944 wxPoint temp5 ;
6945 wxSize temp6 ;
6946 bool temp8 = false ;
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj1 = 0 ;
6949 PyObject * obj2 = 0 ;
6950 PyObject * obj3 = 0 ;
6951 PyObject * obj4 = 0 ;
6952 PyObject * obj5 = 0 ;
6953 PyObject * obj6 = 0 ;
6954 PyObject * obj7 = 0 ;
6955 char *kwnames[] = {
6956 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6957 };
6958
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6961 if (SWIG_arg_fail(1)) SWIG_fail;
6962 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6963 if (SWIG_arg_fail(2)) SWIG_fail;
6964 if (obj2) {
6965 {
6966 arg3 = (int)(SWIG_As_int(obj2));
6967 if (SWIG_arg_fail(3)) SWIG_fail;
6968 }
6969 }
6970 if (obj3) {
6971 {
6972 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6973 if (SWIG_arg_fail(4)) SWIG_fail;
6974 if (arg4 == NULL) {
6975 SWIG_null_ref("wxBitmap");
6976 }
6977 if (SWIG_arg_fail(4)) SWIG_fail;
6978 }
6979 }
6980 if (obj4) {
6981 {
6982 arg5 = &temp5;
6983 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6984 }
6985 }
6986 if (obj5) {
6987 {
6988 arg6 = &temp6;
6989 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6990 }
6991 }
6992 if (obj6) {
6993 {
6994 arg7 = (long)(SWIG_As_long(obj6));
6995 if (SWIG_arg_fail(7)) SWIG_fail;
6996 }
6997 }
6998 if (obj7) {
6999 {
7000 arg8 = wxString_in_helper(obj7);
7001 if (arg8 == NULL) SWIG_fail;
7002 temp8 = true;
7003 }
7004 }
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7008
7009 wxPyEndAllowThreads(__tstate);
7010 if (PyErr_Occurred()) SWIG_fail;
7011 }
7012 {
7013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7014 }
7015 {
7016 if (temp8)
7017 delete arg8;
7018 }
7019 return resultobj;
7020 fail:
7021 {
7022 if (temp8)
7023 delete arg8;
7024 }
7025 return NULL;
7026 }
7027
7028
7029 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7030 PyObject *resultobj;
7031 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7032 wxBitmap result;
7033 PyObject * obj0 = 0 ;
7034 char *kwnames[] = {
7035 (char *) "self", NULL
7036 };
7037
7038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
7039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7040 if (SWIG_arg_fail(1)) SWIG_fail;
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 result = (arg1)->GetBitmap();
7044
7045 wxPyEndAllowThreads(__tstate);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
7048 {
7049 wxBitmap * resultptr;
7050 resultptr = new wxBitmap((wxBitmap &)(result));
7051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7052 }
7053 return resultobj;
7054 fail:
7055 return NULL;
7056 }
7057
7058
7059 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7060 PyObject *resultobj;
7061 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7062 wxBitmap *arg2 = 0 ;
7063 PyObject * obj0 = 0 ;
7064 PyObject * obj1 = 0 ;
7065 char *kwnames[] = {
7066 (char *) "self",(char *) "bitmap", NULL
7067 };
7068
7069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
7070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7071 if (SWIG_arg_fail(1)) SWIG_fail;
7072 {
7073 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7074 if (SWIG_arg_fail(2)) SWIG_fail;
7075 if (arg2 == NULL) {
7076 SWIG_null_ref("wxBitmap");
7077 }
7078 if (SWIG_arg_fail(2)) SWIG_fail;
7079 }
7080 {
7081 PyThreadState* __tstate = wxPyBeginAllowThreads();
7082 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7083
7084 wxPyEndAllowThreads(__tstate);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 }
7087 Py_INCREF(Py_None); resultobj = Py_None;
7088 return resultobj;
7089 fail:
7090 return NULL;
7091 }
7092
7093
7094 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7095 PyObject *resultobj;
7096 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7097 wxIcon *arg2 = 0 ;
7098 PyObject * obj0 = 0 ;
7099 PyObject * obj1 = 0 ;
7100 char *kwnames[] = {
7101 (char *) "self",(char *) "icon", NULL
7102 };
7103
7104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7106 if (SWIG_arg_fail(1)) SWIG_fail;
7107 {
7108 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7109 if (SWIG_arg_fail(2)) SWIG_fail;
7110 if (arg2 == NULL) {
7111 SWIG_null_ref("wxIcon");
7112 }
7113 if (SWIG_arg_fail(2)) SWIG_fail;
7114 }
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 (arg1)->SetIcon((wxIcon const &)*arg2);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 Py_INCREF(Py_None); resultobj = Py_None;
7123 return resultobj;
7124 fail:
7125 return NULL;
7126 }
7127
7128
7129 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7132 wxVisualAttributes result;
7133 PyObject * obj0 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "variant", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7139 if (obj0) {
7140 {
7141 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7142 if (SWIG_arg_fail(1)) SWIG_fail;
7143 }
7144 }
7145 {
7146 if (!wxPyCheckForApp()) SWIG_fail;
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 {
7154 wxVisualAttributes * resultptr;
7155 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7157 }
7158 return resultobj;
7159 fail:
7160 return NULL;
7161 }
7162
7163
7164 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7165 PyObject *obj;
7166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7167 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7168 Py_INCREF(obj);
7169 return Py_BuildValue((char *)"");
7170 }
7171 static int _wrap_ListBoxNameStr_set(PyObject *) {
7172 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7173 return 1;
7174 }
7175
7176
7177 static PyObject *_wrap_ListBoxNameStr_get(void) {
7178 PyObject *pyobj;
7179
7180 {
7181 #if wxUSE_UNICODE
7182 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7183 #else
7184 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7185 #endif
7186 }
7187 return pyobj;
7188 }
7189
7190
7191 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7192 PyObject *resultobj;
7193 wxWindow *arg1 = (wxWindow *) 0 ;
7194 int arg2 = (int) -1 ;
7195 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7196 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7197 wxSize const &arg4_defvalue = wxDefaultSize ;
7198 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7199 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7200 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7201 long arg6 = (long) 0 ;
7202 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7203 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7204 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7205 wxString *arg8 = (wxString *) &arg8_defvalue ;
7206 wxListBox *result;
7207 wxPoint temp3 ;
7208 wxSize temp4 ;
7209 bool temp5 = false ;
7210 bool temp8 = false ;
7211 PyObject * obj0 = 0 ;
7212 PyObject * obj1 = 0 ;
7213 PyObject * obj2 = 0 ;
7214 PyObject * obj3 = 0 ;
7215 PyObject * obj4 = 0 ;
7216 PyObject * obj5 = 0 ;
7217 PyObject * obj6 = 0 ;
7218 PyObject * obj7 = 0 ;
7219 char *kwnames[] = {
7220 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7221 };
7222
7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7225 if (SWIG_arg_fail(1)) SWIG_fail;
7226 if (obj1) {
7227 {
7228 arg2 = (int)(SWIG_As_int(obj1));
7229 if (SWIG_arg_fail(2)) SWIG_fail;
7230 }
7231 }
7232 if (obj2) {
7233 {
7234 arg3 = &temp3;
7235 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7236 }
7237 }
7238 if (obj3) {
7239 {
7240 arg4 = &temp4;
7241 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7242 }
7243 }
7244 if (obj4) {
7245 {
7246 if (! PySequence_Check(obj4)) {
7247 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7248 SWIG_fail;
7249 }
7250 arg5 = new wxArrayString;
7251 temp5 = true;
7252 int i, len=PySequence_Length(obj4);
7253 for (i=0; i<len; i++) {
7254 PyObject* item = PySequence_GetItem(obj4, i);
7255 #if wxUSE_UNICODE
7256 PyObject* str = PyObject_Unicode(item);
7257 #else
7258 PyObject* str = PyObject_Str(item);
7259 #endif
7260 if (PyErr_Occurred()) SWIG_fail;
7261 arg5->Add(Py2wxString(str));
7262 Py_DECREF(item);
7263 Py_DECREF(str);
7264 }
7265 }
7266 }
7267 if (obj5) {
7268 {
7269 arg6 = (long)(SWIG_As_long(obj5));
7270 if (SWIG_arg_fail(6)) SWIG_fail;
7271 }
7272 }
7273 if (obj6) {
7274 {
7275 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7276 if (SWIG_arg_fail(7)) SWIG_fail;
7277 if (arg7 == NULL) {
7278 SWIG_null_ref("wxValidator");
7279 }
7280 if (SWIG_arg_fail(7)) SWIG_fail;
7281 }
7282 }
7283 if (obj7) {
7284 {
7285 arg8 = wxString_in_helper(obj7);
7286 if (arg8 == NULL) SWIG_fail;
7287 temp8 = true;
7288 }
7289 }
7290 {
7291 if (!wxPyCheckForApp()) SWIG_fail;
7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
7293 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7294
7295 wxPyEndAllowThreads(__tstate);
7296 if (PyErr_Occurred()) SWIG_fail;
7297 }
7298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7299 {
7300 if (temp5) delete arg5;
7301 }
7302 {
7303 if (temp8)
7304 delete arg8;
7305 }
7306 return resultobj;
7307 fail:
7308 {
7309 if (temp5) delete arg5;
7310 }
7311 {
7312 if (temp8)
7313 delete arg8;
7314 }
7315 return NULL;
7316 }
7317
7318
7319 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj;
7321 wxListBox *result;
7322 char *kwnames[] = {
7323 NULL
7324 };
7325
7326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7327 {
7328 if (!wxPyCheckForApp()) SWIG_fail;
7329 PyThreadState* __tstate = wxPyBeginAllowThreads();
7330 result = (wxListBox *)new wxListBox();
7331
7332 wxPyEndAllowThreads(__tstate);
7333 if (PyErr_Occurred()) SWIG_fail;
7334 }
7335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7336 return resultobj;
7337 fail:
7338 return NULL;
7339 }
7340
7341
7342 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7343 PyObject *resultobj;
7344 wxListBox *arg1 = (wxListBox *) 0 ;
7345 wxWindow *arg2 = (wxWindow *) 0 ;
7346 int arg3 = (int) -1 ;
7347 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7348 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7349 wxSize const &arg5_defvalue = wxDefaultSize ;
7350 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7351 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7352 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7353 long arg7 = (long) 0 ;
7354 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7355 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7356 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7357 wxString *arg9 = (wxString *) &arg9_defvalue ;
7358 bool result;
7359 wxPoint temp4 ;
7360 wxSize temp5 ;
7361 bool temp6 = false ;
7362 bool temp9 = false ;
7363 PyObject * obj0 = 0 ;
7364 PyObject * obj1 = 0 ;
7365 PyObject * obj2 = 0 ;
7366 PyObject * obj3 = 0 ;
7367 PyObject * obj4 = 0 ;
7368 PyObject * obj5 = 0 ;
7369 PyObject * obj6 = 0 ;
7370 PyObject * obj7 = 0 ;
7371 PyObject * obj8 = 0 ;
7372 char *kwnames[] = {
7373 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7374 };
7375
7376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7378 if (SWIG_arg_fail(1)) SWIG_fail;
7379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7380 if (SWIG_arg_fail(2)) SWIG_fail;
7381 if (obj2) {
7382 {
7383 arg3 = (int)(SWIG_As_int(obj2));
7384 if (SWIG_arg_fail(3)) SWIG_fail;
7385 }
7386 }
7387 if (obj3) {
7388 {
7389 arg4 = &temp4;
7390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7391 }
7392 }
7393 if (obj4) {
7394 {
7395 arg5 = &temp5;
7396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7397 }
7398 }
7399 if (obj5) {
7400 {
7401 if (! PySequence_Check(obj5)) {
7402 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7403 SWIG_fail;
7404 }
7405 arg6 = new wxArrayString;
7406 temp6 = true;
7407 int i, len=PySequence_Length(obj5);
7408 for (i=0; i<len; i++) {
7409 PyObject* item = PySequence_GetItem(obj5, i);
7410 #if wxUSE_UNICODE
7411 PyObject* str = PyObject_Unicode(item);
7412 #else
7413 PyObject* str = PyObject_Str(item);
7414 #endif
7415 if (PyErr_Occurred()) SWIG_fail;
7416 arg6->Add(Py2wxString(str));
7417 Py_DECREF(item);
7418 Py_DECREF(str);
7419 }
7420 }
7421 }
7422 if (obj6) {
7423 {
7424 arg7 = (long)(SWIG_As_long(obj6));
7425 if (SWIG_arg_fail(7)) SWIG_fail;
7426 }
7427 }
7428 if (obj7) {
7429 {
7430 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7431 if (SWIG_arg_fail(8)) SWIG_fail;
7432 if (arg8 == NULL) {
7433 SWIG_null_ref("wxValidator");
7434 }
7435 if (SWIG_arg_fail(8)) SWIG_fail;
7436 }
7437 }
7438 if (obj8) {
7439 {
7440 arg9 = wxString_in_helper(obj8);
7441 if (arg9 == NULL) SWIG_fail;
7442 temp9 = true;
7443 }
7444 }
7445 {
7446 PyThreadState* __tstate = wxPyBeginAllowThreads();
7447 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7448
7449 wxPyEndAllowThreads(__tstate);
7450 if (PyErr_Occurred()) SWIG_fail;
7451 }
7452 {
7453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7454 }
7455 {
7456 if (temp6) delete arg6;
7457 }
7458 {
7459 if (temp9)
7460 delete arg9;
7461 }
7462 return resultobj;
7463 fail:
7464 {
7465 if (temp6) delete arg6;
7466 }
7467 {
7468 if (temp9)
7469 delete arg9;
7470 }
7471 return NULL;
7472 }
7473
7474
7475 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7476 PyObject *resultobj;
7477 wxListBox *arg1 = (wxListBox *) 0 ;
7478 wxString *arg2 = 0 ;
7479 int arg3 ;
7480 PyObject *arg4 = (PyObject *) NULL ;
7481 bool temp2 = false ;
7482 PyObject * obj0 = 0 ;
7483 PyObject * obj1 = 0 ;
7484 PyObject * obj2 = 0 ;
7485 PyObject * obj3 = 0 ;
7486 char *kwnames[] = {
7487 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7488 };
7489
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7492 if (SWIG_arg_fail(1)) SWIG_fail;
7493 {
7494 arg2 = wxString_in_helper(obj1);
7495 if (arg2 == NULL) SWIG_fail;
7496 temp2 = true;
7497 }
7498 {
7499 arg3 = (int)(SWIG_As_int(obj2));
7500 if (SWIG_arg_fail(3)) SWIG_fail;
7501 }
7502 if (obj3) {
7503 arg4 = obj3;
7504 }
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 Py_INCREF(Py_None); resultobj = Py_None;
7513 {
7514 if (temp2)
7515 delete arg2;
7516 }
7517 return resultobj;
7518 fail:
7519 {
7520 if (temp2)
7521 delete arg2;
7522 }
7523 return NULL;
7524 }
7525
7526
7527 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxListBox *arg1 = (wxListBox *) 0 ;
7530 wxArrayString *arg2 = 0 ;
7531 int arg3 ;
7532 bool temp2 = false ;
7533 PyObject * obj0 = 0 ;
7534 PyObject * obj1 = 0 ;
7535 PyObject * obj2 = 0 ;
7536 char *kwnames[] = {
7537 (char *) "self",(char *) "items",(char *) "pos", NULL
7538 };
7539
7540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7542 if (SWIG_arg_fail(1)) SWIG_fail;
7543 {
7544 if (! PySequence_Check(obj1)) {
7545 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7546 SWIG_fail;
7547 }
7548 arg2 = new wxArrayString;
7549 temp2 = true;
7550 int i, len=PySequence_Length(obj1);
7551 for (i=0; i<len; i++) {
7552 PyObject* item = PySequence_GetItem(obj1, i);
7553 #if wxUSE_UNICODE
7554 PyObject* str = PyObject_Unicode(item);
7555 #else
7556 PyObject* str = PyObject_Str(item);
7557 #endif
7558 if (PyErr_Occurred()) SWIG_fail;
7559 arg2->Add(Py2wxString(str));
7560 Py_DECREF(item);
7561 Py_DECREF(str);
7562 }
7563 }
7564 {
7565 arg3 = (int)(SWIG_As_int(obj2));
7566 if (SWIG_arg_fail(3)) SWIG_fail;
7567 }
7568 {
7569 PyThreadState* __tstate = wxPyBeginAllowThreads();
7570 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7571
7572 wxPyEndAllowThreads(__tstate);
7573 if (PyErr_Occurred()) SWIG_fail;
7574 }
7575 Py_INCREF(Py_None); resultobj = Py_None;
7576 {
7577 if (temp2) delete arg2;
7578 }
7579 return resultobj;
7580 fail:
7581 {
7582 if (temp2) delete arg2;
7583 }
7584 return NULL;
7585 }
7586
7587
7588 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj;
7590 wxListBox *arg1 = (wxListBox *) 0 ;
7591 wxArrayString *arg2 = 0 ;
7592 bool temp2 = false ;
7593 PyObject * obj0 = 0 ;
7594 PyObject * obj1 = 0 ;
7595 char *kwnames[] = {
7596 (char *) "self",(char *) "items", NULL
7597 };
7598
7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7601 if (SWIG_arg_fail(1)) SWIG_fail;
7602 {
7603 if (! PySequence_Check(obj1)) {
7604 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7605 SWIG_fail;
7606 }
7607 arg2 = new wxArrayString;
7608 temp2 = true;
7609 int i, len=PySequence_Length(obj1);
7610 for (i=0; i<len; i++) {
7611 PyObject* item = PySequence_GetItem(obj1, i);
7612 #if wxUSE_UNICODE
7613 PyObject* str = PyObject_Unicode(item);
7614 #else
7615 PyObject* str = PyObject_Str(item);
7616 #endif
7617 if (PyErr_Occurred()) SWIG_fail;
7618 arg2->Add(Py2wxString(str));
7619 Py_DECREF(item);
7620 Py_DECREF(str);
7621 }
7622 }
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 (arg1)->Set((wxArrayString const &)*arg2);
7626
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
7630 Py_INCREF(Py_None); resultobj = Py_None;
7631 {
7632 if (temp2) delete arg2;
7633 }
7634 return resultobj;
7635 fail:
7636 {
7637 if (temp2) delete arg2;
7638 }
7639 return NULL;
7640 }
7641
7642
7643 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj;
7645 wxListBox *arg1 = (wxListBox *) 0 ;
7646 int arg2 ;
7647 bool result;
7648 PyObject * obj0 = 0 ;
7649 PyObject * obj1 = 0 ;
7650 char *kwnames[] = {
7651 (char *) "self",(char *) "n", NULL
7652 };
7653
7654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7656 if (SWIG_arg_fail(1)) SWIG_fail;
7657 {
7658 arg2 = (int)(SWIG_As_int(obj1));
7659 if (SWIG_arg_fail(2)) SWIG_fail;
7660 }
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7664
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
7668 {
7669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7670 }
7671 return resultobj;
7672 fail:
7673 return NULL;
7674 }
7675
7676
7677 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7678 PyObject *resultobj;
7679 wxListBox *arg1 = (wxListBox *) 0 ;
7680 int arg2 ;
7681 bool arg3 = (bool) true ;
7682 PyObject * obj0 = 0 ;
7683 PyObject * obj1 = 0 ;
7684 PyObject * obj2 = 0 ;
7685 char *kwnames[] = {
7686 (char *) "self",(char *) "n",(char *) "select", NULL
7687 };
7688
7689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7691 if (SWIG_arg_fail(1)) SWIG_fail;
7692 {
7693 arg2 = (int)(SWIG_As_int(obj1));
7694 if (SWIG_arg_fail(2)) SWIG_fail;
7695 }
7696 if (obj2) {
7697 {
7698 arg3 = (bool)(SWIG_As_bool(obj2));
7699 if (SWIG_arg_fail(3)) SWIG_fail;
7700 }
7701 }
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 (arg1)->SetSelection(arg2,arg3);
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 Py_INCREF(Py_None); resultobj = Py_None;
7710 return resultobj;
7711 fail:
7712 return NULL;
7713 }
7714
7715
7716 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7717 PyObject *resultobj;
7718 wxListBox *arg1 = (wxListBox *) 0 ;
7719 int arg2 ;
7720 PyObject * obj0 = 0 ;
7721 PyObject * obj1 = 0 ;
7722 char *kwnames[] = {
7723 (char *) "self",(char *) "n", NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail;
7729 {
7730 arg2 = (int)(SWIG_As_int(obj1));
7731 if (SWIG_arg_fail(2)) SWIG_fail;
7732 }
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 (arg1)->Select(arg2);
7736
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 Py_INCREF(Py_None); resultobj = Py_None;
7741 return resultobj;
7742 fail:
7743 return NULL;
7744 }
7745
7746
7747 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7748 PyObject *resultobj;
7749 wxListBox *arg1 = (wxListBox *) 0 ;
7750 int arg2 ;
7751 PyObject * obj0 = 0 ;
7752 PyObject * obj1 = 0 ;
7753 char *kwnames[] = {
7754 (char *) "self",(char *) "n", NULL
7755 };
7756
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7759 if (SWIG_arg_fail(1)) SWIG_fail;
7760 {
7761 arg2 = (int)(SWIG_As_int(obj1));
7762 if (SWIG_arg_fail(2)) SWIG_fail;
7763 }
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 (arg1)->Deselect(arg2);
7767
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) SWIG_fail;
7770 }
7771 Py_INCREF(Py_None); resultobj = Py_None;
7772 return resultobj;
7773 fail:
7774 return NULL;
7775 }
7776
7777
7778 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7779 PyObject *resultobj;
7780 wxListBox *arg1 = (wxListBox *) 0 ;
7781 int arg2 = (int) -1 ;
7782 PyObject * obj0 = 0 ;
7783 PyObject * obj1 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self",(char *) "itemToLeaveSelected", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail;
7791 if (obj1) {
7792 {
7793 arg2 = (int)(SWIG_As_int(obj1));
7794 if (SWIG_arg_fail(2)) SWIG_fail;
7795 }
7796 }
7797 {
7798 PyThreadState* __tstate = wxPyBeginAllowThreads();
7799 (arg1)->DeselectAll(arg2);
7800
7801 wxPyEndAllowThreads(__tstate);
7802 if (PyErr_Occurred()) SWIG_fail;
7803 }
7804 Py_INCREF(Py_None); resultobj = Py_None;
7805 return resultobj;
7806 fail:
7807 return NULL;
7808 }
7809
7810
7811 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7812 PyObject *resultobj;
7813 wxListBox *arg1 = (wxListBox *) 0 ;
7814 wxString *arg2 = 0 ;
7815 bool arg3 = (bool) true ;
7816 bool result;
7817 bool temp2 = false ;
7818 PyObject * obj0 = 0 ;
7819 PyObject * obj1 = 0 ;
7820 PyObject * obj2 = 0 ;
7821 char *kwnames[] = {
7822 (char *) "self",(char *) "s",(char *) "select", NULL
7823 };
7824
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7827 if (SWIG_arg_fail(1)) SWIG_fail;
7828 {
7829 arg2 = wxString_in_helper(obj1);
7830 if (arg2 == NULL) SWIG_fail;
7831 temp2 = true;
7832 }
7833 if (obj2) {
7834 {
7835 arg3 = (bool)(SWIG_As_bool(obj2));
7836 if (SWIG_arg_fail(3)) SWIG_fail;
7837 }
7838 }
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7842
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 {
7847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7848 }
7849 {
7850 if (temp2)
7851 delete arg2;
7852 }
7853 return resultobj;
7854 fail:
7855 {
7856 if (temp2)
7857 delete arg2;
7858 }
7859 return NULL;
7860 }
7861
7862
7863 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7864 PyObject *resultobj;
7865 wxListBox *arg1 = (wxListBox *) 0 ;
7866 PyObject *result;
7867 PyObject * obj0 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
7873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7874 if (SWIG_arg_fail(1)) SWIG_fail;
7875 {
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 result = (PyObject *)wxListBox_GetSelections(arg1);
7878
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 resultobj = result;
7883 return resultobj;
7884 fail:
7885 return NULL;
7886 }
7887
7888
7889 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7890 PyObject *resultobj;
7891 wxListBox *arg1 = (wxListBox *) 0 ;
7892 int arg2 ;
7893 PyObject * obj0 = 0 ;
7894 PyObject * obj1 = 0 ;
7895 char *kwnames[] = {
7896 (char *) "self",(char *) "n", NULL
7897 };
7898
7899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
7900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7901 if (SWIG_arg_fail(1)) SWIG_fail;
7902 {
7903 arg2 = (int)(SWIG_As_int(obj1));
7904 if (SWIG_arg_fail(2)) SWIG_fail;
7905 }
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 (arg1)->SetFirstItem(arg2);
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 Py_INCREF(Py_None); resultobj = Py_None;
7914 return resultobj;
7915 fail:
7916 return NULL;
7917 }
7918
7919
7920 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7921 PyObject *resultobj;
7922 wxListBox *arg1 = (wxListBox *) 0 ;
7923 wxString *arg2 = 0 ;
7924 bool temp2 = false ;
7925 PyObject * obj0 = 0 ;
7926 PyObject * obj1 = 0 ;
7927 char *kwnames[] = {
7928 (char *) "self",(char *) "s", NULL
7929 };
7930
7931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
7932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail;
7934 {
7935 arg2 = wxString_in_helper(obj1);
7936 if (arg2 == NULL) SWIG_fail;
7937 temp2 = true;
7938 }
7939 {
7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7941 (arg1)->SetFirstItem((wxString const &)*arg2);
7942
7943 wxPyEndAllowThreads(__tstate);
7944 if (PyErr_Occurred()) SWIG_fail;
7945 }
7946 Py_INCREF(Py_None); resultobj = Py_None;
7947 {
7948 if (temp2)
7949 delete arg2;
7950 }
7951 return resultobj;
7952 fail:
7953 {
7954 if (temp2)
7955 delete arg2;
7956 }
7957 return NULL;
7958 }
7959
7960
7961 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7962 PyObject *resultobj;
7963 wxListBox *arg1 = (wxListBox *) 0 ;
7964 int arg2 ;
7965 PyObject * obj0 = 0 ;
7966 PyObject * obj1 = 0 ;
7967 char *kwnames[] = {
7968 (char *) "self",(char *) "n", NULL
7969 };
7970
7971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7973 if (SWIG_arg_fail(1)) SWIG_fail;
7974 {
7975 arg2 = (int)(SWIG_As_int(obj1));
7976 if (SWIG_arg_fail(2)) SWIG_fail;
7977 }
7978 {
7979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7980 (arg1)->EnsureVisible(arg2);
7981
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 Py_INCREF(Py_None); resultobj = Py_None;
7986 return resultobj;
7987 fail:
7988 return NULL;
7989 }
7990
7991
7992 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7993 PyObject *resultobj;
7994 wxListBox *arg1 = (wxListBox *) 0 ;
7995 wxString *arg2 = 0 ;
7996 bool temp2 = false ;
7997 PyObject * obj0 = 0 ;
7998 PyObject * obj1 = 0 ;
7999 char *kwnames[] = {
8000 (char *) "self",(char *) "s", NULL
8001 };
8002
8003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8005 if (SWIG_arg_fail(1)) SWIG_fail;
8006 {
8007 arg2 = wxString_in_helper(obj1);
8008 if (arg2 == NULL) SWIG_fail;
8009 temp2 = true;
8010 }
8011 {
8012 PyThreadState* __tstate = wxPyBeginAllowThreads();
8013 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8014
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 Py_INCREF(Py_None); resultobj = Py_None;
8019 {
8020 if (temp2)
8021 delete arg2;
8022 }
8023 return resultobj;
8024 fail:
8025 {
8026 if (temp2)
8027 delete arg2;
8028 }
8029 return NULL;
8030 }
8031
8032
8033 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj;
8035 wxListBox *arg1 = (wxListBox *) 0 ;
8036 bool result;
8037 PyObject * obj0 = 0 ;
8038 char *kwnames[] = {
8039 (char *) "self", NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
8043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8044 if (SWIG_arg_fail(1)) SWIG_fail;
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 result = (bool)((wxListBox const *)arg1)->IsSorted();
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 {
8053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8054 }
8055 return resultobj;
8056 fail:
8057 return NULL;
8058 }
8059
8060
8061 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8062 PyObject *resultobj;
8063 wxListBox *arg1 = (wxListBox *) 0 ;
8064 int arg2 ;
8065 wxColour *arg3 = 0 ;
8066 wxColour temp3 ;
8067 PyObject * obj0 = 0 ;
8068 PyObject * obj1 = 0 ;
8069 PyObject * obj2 = 0 ;
8070 char *kwnames[] = {
8071 (char *) "self",(char *) "item",(char *) "c", NULL
8072 };
8073
8074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8076 if (SWIG_arg_fail(1)) SWIG_fail;
8077 {
8078 arg2 = (int)(SWIG_As_int(obj1));
8079 if (SWIG_arg_fail(2)) SWIG_fail;
8080 }
8081 {
8082 arg3 = &temp3;
8083 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8084 }
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 Py_INCREF(Py_None); resultobj = Py_None;
8093 return resultobj;
8094 fail:
8095 return NULL;
8096 }
8097
8098
8099 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxListBox *arg1 = (wxListBox *) 0 ;
8102 int arg2 ;
8103 wxColour *arg3 = 0 ;
8104 wxColour temp3 ;
8105 PyObject * obj0 = 0 ;
8106 PyObject * obj1 = 0 ;
8107 PyObject * obj2 = 0 ;
8108 char *kwnames[] = {
8109 (char *) "self",(char *) "item",(char *) "c", NULL
8110 };
8111
8112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8114 if (SWIG_arg_fail(1)) SWIG_fail;
8115 {
8116 arg2 = (int)(SWIG_As_int(obj1));
8117 if (SWIG_arg_fail(2)) SWIG_fail;
8118 }
8119 {
8120 arg3 = &temp3;
8121 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8122 }
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 Py_INCREF(Py_None); resultobj = Py_None;
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj;
8139 wxListBox *arg1 = (wxListBox *) 0 ;
8140 int arg2 ;
8141 wxFont *arg3 = 0 ;
8142 PyObject * obj0 = 0 ;
8143 PyObject * obj1 = 0 ;
8144 PyObject * obj2 = 0 ;
8145 char *kwnames[] = {
8146 (char *) "self",(char *) "item",(char *) "f", NULL
8147 };
8148
8149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8151 if (SWIG_arg_fail(1)) SWIG_fail;
8152 {
8153 arg2 = (int)(SWIG_As_int(obj1));
8154 if (SWIG_arg_fail(2)) SWIG_fail;
8155 }
8156 {
8157 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8158 if (SWIG_arg_fail(3)) SWIG_fail;
8159 if (arg3 == NULL) {
8160 SWIG_null_ref("wxFont");
8161 }
8162 if (SWIG_arg_fail(3)) SWIG_fail;
8163 }
8164 {
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 Py_INCREF(Py_None); resultobj = Py_None;
8172 return resultobj;
8173 fail:
8174 return NULL;
8175 }
8176
8177
8178 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8181 wxVisualAttributes result;
8182 PyObject * obj0 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "variant", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8188 if (obj0) {
8189 {
8190 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8191 if (SWIG_arg_fail(1)) SWIG_fail;
8192 }
8193 }
8194 {
8195 if (!wxPyCheckForApp()) SWIG_fail;
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 {
8203 wxVisualAttributes * resultptr;
8204 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8205 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8206 }
8207 return resultobj;
8208 fail:
8209 return NULL;
8210 }
8211
8212
8213 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8214 PyObject *obj;
8215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8216 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8217 Py_INCREF(obj);
8218 return Py_BuildValue((char *)"");
8219 }
8220 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8221 PyObject *resultobj;
8222 wxWindow *arg1 = (wxWindow *) 0 ;
8223 int arg2 = (int) -1 ;
8224 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8225 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8226 wxSize const &arg4_defvalue = wxDefaultSize ;
8227 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8228 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8229 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8230 long arg6 = (long) 0 ;
8231 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8232 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8233 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8234 wxString *arg8 = (wxString *) &arg8_defvalue ;
8235 wxCheckListBox *result;
8236 wxPoint temp3 ;
8237 wxSize temp4 ;
8238 bool temp5 = false ;
8239 bool temp8 = false ;
8240 PyObject * obj0 = 0 ;
8241 PyObject * obj1 = 0 ;
8242 PyObject * obj2 = 0 ;
8243 PyObject * obj3 = 0 ;
8244 PyObject * obj4 = 0 ;
8245 PyObject * obj5 = 0 ;
8246 PyObject * obj6 = 0 ;
8247 PyObject * obj7 = 0 ;
8248 char *kwnames[] = {
8249 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8250 };
8251
8252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8254 if (SWIG_arg_fail(1)) SWIG_fail;
8255 if (obj1) {
8256 {
8257 arg2 = (int)(SWIG_As_int(obj1));
8258 if (SWIG_arg_fail(2)) SWIG_fail;
8259 }
8260 }
8261 if (obj2) {
8262 {
8263 arg3 = &temp3;
8264 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8265 }
8266 }
8267 if (obj3) {
8268 {
8269 arg4 = &temp4;
8270 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8271 }
8272 }
8273 if (obj4) {
8274 {
8275 if (! PySequence_Check(obj4)) {
8276 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8277 SWIG_fail;
8278 }
8279 arg5 = new wxArrayString;
8280 temp5 = true;
8281 int i, len=PySequence_Length(obj4);
8282 for (i=0; i<len; i++) {
8283 PyObject* item = PySequence_GetItem(obj4, i);
8284 #if wxUSE_UNICODE
8285 PyObject* str = PyObject_Unicode(item);
8286 #else
8287 PyObject* str = PyObject_Str(item);
8288 #endif
8289 if (PyErr_Occurred()) SWIG_fail;
8290 arg5->Add(Py2wxString(str));
8291 Py_DECREF(item);
8292 Py_DECREF(str);
8293 }
8294 }
8295 }
8296 if (obj5) {
8297 {
8298 arg6 = (long)(SWIG_As_long(obj5));
8299 if (SWIG_arg_fail(6)) SWIG_fail;
8300 }
8301 }
8302 if (obj6) {
8303 {
8304 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8305 if (SWIG_arg_fail(7)) SWIG_fail;
8306 if (arg7 == NULL) {
8307 SWIG_null_ref("wxValidator");
8308 }
8309 if (SWIG_arg_fail(7)) SWIG_fail;
8310 }
8311 }
8312 if (obj7) {
8313 {
8314 arg8 = wxString_in_helper(obj7);
8315 if (arg8 == NULL) SWIG_fail;
8316 temp8 = true;
8317 }
8318 }
8319 {
8320 if (!wxPyCheckForApp()) SWIG_fail;
8321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8322 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8323
8324 wxPyEndAllowThreads(__tstate);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 }
8327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8328 {
8329 if (temp5) delete arg5;
8330 }
8331 {
8332 if (temp8)
8333 delete arg8;
8334 }
8335 return resultobj;
8336 fail:
8337 {
8338 if (temp5) delete arg5;
8339 }
8340 {
8341 if (temp8)
8342 delete arg8;
8343 }
8344 return NULL;
8345 }
8346
8347
8348 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8349 PyObject *resultobj;
8350 wxCheckListBox *result;
8351 char *kwnames[] = {
8352 NULL
8353 };
8354
8355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8356 {
8357 if (!wxPyCheckForApp()) SWIG_fail;
8358 PyThreadState* __tstate = wxPyBeginAllowThreads();
8359 result = (wxCheckListBox *)new wxCheckListBox();
8360
8361 wxPyEndAllowThreads(__tstate);
8362 if (PyErr_Occurred()) SWIG_fail;
8363 }
8364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8365 return resultobj;
8366 fail:
8367 return NULL;
8368 }
8369
8370
8371 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8372 PyObject *resultobj;
8373 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8374 wxWindow *arg2 = (wxWindow *) 0 ;
8375 int arg3 = (int) -1 ;
8376 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8377 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8378 wxSize const &arg5_defvalue = wxDefaultSize ;
8379 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8380 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8381 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8382 long arg7 = (long) 0 ;
8383 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8384 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8385 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8386 wxString *arg9 = (wxString *) &arg9_defvalue ;
8387 bool result;
8388 wxPoint temp4 ;
8389 wxSize temp5 ;
8390 bool temp6 = false ;
8391 bool temp9 = false ;
8392 PyObject * obj0 = 0 ;
8393 PyObject * obj1 = 0 ;
8394 PyObject * obj2 = 0 ;
8395 PyObject * obj3 = 0 ;
8396 PyObject * obj4 = 0 ;
8397 PyObject * obj5 = 0 ;
8398 PyObject * obj6 = 0 ;
8399 PyObject * obj7 = 0 ;
8400 PyObject * obj8 = 0 ;
8401 char *kwnames[] = {
8402 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8403 };
8404
8405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8407 if (SWIG_arg_fail(1)) SWIG_fail;
8408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8409 if (SWIG_arg_fail(2)) SWIG_fail;
8410 if (obj2) {
8411 {
8412 arg3 = (int)(SWIG_As_int(obj2));
8413 if (SWIG_arg_fail(3)) SWIG_fail;
8414 }
8415 }
8416 if (obj3) {
8417 {
8418 arg4 = &temp4;
8419 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8420 }
8421 }
8422 if (obj4) {
8423 {
8424 arg5 = &temp5;
8425 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8426 }
8427 }
8428 if (obj5) {
8429 {
8430 if (! PySequence_Check(obj5)) {
8431 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8432 SWIG_fail;
8433 }
8434 arg6 = new wxArrayString;
8435 temp6 = true;
8436 int i, len=PySequence_Length(obj5);
8437 for (i=0; i<len; i++) {
8438 PyObject* item = PySequence_GetItem(obj5, i);
8439 #if wxUSE_UNICODE
8440 PyObject* str = PyObject_Unicode(item);
8441 #else
8442 PyObject* str = PyObject_Str(item);
8443 #endif
8444 if (PyErr_Occurred()) SWIG_fail;
8445 arg6->Add(Py2wxString(str));
8446 Py_DECREF(item);
8447 Py_DECREF(str);
8448 }
8449 }
8450 }
8451 if (obj6) {
8452 {
8453 arg7 = (long)(SWIG_As_long(obj6));
8454 if (SWIG_arg_fail(7)) SWIG_fail;
8455 }
8456 }
8457 if (obj7) {
8458 {
8459 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8460 if (SWIG_arg_fail(8)) SWIG_fail;
8461 if (arg8 == NULL) {
8462 SWIG_null_ref("wxValidator");
8463 }
8464 if (SWIG_arg_fail(8)) SWIG_fail;
8465 }
8466 }
8467 if (obj8) {
8468 {
8469 arg9 = wxString_in_helper(obj8);
8470 if (arg9 == NULL) SWIG_fail;
8471 temp9 = true;
8472 }
8473 }
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 {
8482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8483 }
8484 {
8485 if (temp6) delete arg6;
8486 }
8487 {
8488 if (temp9)
8489 delete arg9;
8490 }
8491 return resultobj;
8492 fail:
8493 {
8494 if (temp6) delete arg6;
8495 }
8496 {
8497 if (temp9)
8498 delete arg9;
8499 }
8500 return NULL;
8501 }
8502
8503
8504 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8505 PyObject *resultobj;
8506 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8507 int arg2 ;
8508 bool result;
8509 PyObject * obj0 = 0 ;
8510 PyObject * obj1 = 0 ;
8511 char *kwnames[] = {
8512 (char *) "self",(char *) "index", NULL
8513 };
8514
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8517 if (SWIG_arg_fail(1)) SWIG_fail;
8518 {
8519 arg2 = (int)(SWIG_As_int(obj1));
8520 if (SWIG_arg_fail(2)) SWIG_fail;
8521 }
8522 {
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 result = (bool)(arg1)->IsChecked(arg2);
8525
8526 wxPyEndAllowThreads(__tstate);
8527 if (PyErr_Occurred()) SWIG_fail;
8528 }
8529 {
8530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8531 }
8532 return resultobj;
8533 fail:
8534 return NULL;
8535 }
8536
8537
8538 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8539 PyObject *resultobj;
8540 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8541 int arg2 ;
8542 int arg3 = (int) true ;
8543 PyObject * obj0 = 0 ;
8544 PyObject * obj1 = 0 ;
8545 PyObject * obj2 = 0 ;
8546 char *kwnames[] = {
8547 (char *) "self",(char *) "index",(char *) "check", NULL
8548 };
8549
8550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8552 if (SWIG_arg_fail(1)) SWIG_fail;
8553 {
8554 arg2 = (int)(SWIG_As_int(obj1));
8555 if (SWIG_arg_fail(2)) SWIG_fail;
8556 }
8557 if (obj2) {
8558 {
8559 arg3 = (int)(SWIG_As_int(obj2));
8560 if (SWIG_arg_fail(3)) SWIG_fail;
8561 }
8562 }
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 (arg1)->Check(arg2,arg3);
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 Py_INCREF(Py_None); resultobj = Py_None;
8571 return resultobj;
8572 fail:
8573 return NULL;
8574 }
8575
8576
8577 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8580 wxPoint *arg2 = 0 ;
8581 int result;
8582 wxPoint temp2 ;
8583 PyObject * obj0 = 0 ;
8584 PyObject * obj1 = 0 ;
8585 char *kwnames[] = {
8586 (char *) "self",(char *) "pt", NULL
8587 };
8588
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8591 if (SWIG_arg_fail(1)) SWIG_fail;
8592 {
8593 arg2 = &temp2;
8594 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8595 }
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8599
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
8603 {
8604 resultobj = SWIG_From_int((int)(result));
8605 }
8606 return resultobj;
8607 fail:
8608 return NULL;
8609 }
8610
8611
8612 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8613 PyObject *resultobj;
8614 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8615 int arg2 ;
8616 int arg3 ;
8617 int result;
8618 PyObject * obj0 = 0 ;
8619 PyObject * obj1 = 0 ;
8620 PyObject * obj2 = 0 ;
8621 char *kwnames[] = {
8622 (char *) "self",(char *) "x",(char *) "y", NULL
8623 };
8624
8625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8627 if (SWIG_arg_fail(1)) SWIG_fail;
8628 {
8629 arg2 = (int)(SWIG_As_int(obj1));
8630 if (SWIG_arg_fail(2)) SWIG_fail;
8631 }
8632 {
8633 arg3 = (int)(SWIG_As_int(obj2));
8634 if (SWIG_arg_fail(3)) SWIG_fail;
8635 }
8636 {
8637 PyThreadState* __tstate = wxPyBeginAllowThreads();
8638 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8639
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 {
8644 resultobj = SWIG_From_int((int)(result));
8645 }
8646 return resultobj;
8647 fail:
8648 return NULL;
8649 }
8650
8651
8652 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8653 PyObject *obj;
8654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8655 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8656 Py_INCREF(obj);
8657 return Py_BuildValue((char *)"");
8658 }
8659 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8660 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8661 return 1;
8662 }
8663
8664
8665 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8666 PyObject *pyobj;
8667
8668 {
8669 #if wxUSE_UNICODE
8670 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8671 #else
8672 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8673 #endif
8674 }
8675 return pyobj;
8676 }
8677
8678
8679 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj;
8681 wxColour const &arg1_defvalue = wxNullColour ;
8682 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8683 wxColour const &arg2_defvalue = wxNullColour ;
8684 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8685 wxFont const &arg3_defvalue = wxNullFont ;
8686 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8687 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8688 wxTextAttr *result;
8689 wxColour temp1 ;
8690 wxColour temp2 ;
8691 PyObject * obj0 = 0 ;
8692 PyObject * obj1 = 0 ;
8693 PyObject * obj2 = 0 ;
8694 PyObject * obj3 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8697 };
8698
8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8700 if (obj0) {
8701 {
8702 arg1 = &temp1;
8703 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8704 }
8705 }
8706 if (obj1) {
8707 {
8708 arg2 = &temp2;
8709 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8710 }
8711 }
8712 if (obj2) {
8713 {
8714 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8715 if (SWIG_arg_fail(3)) SWIG_fail;
8716 if (arg3 == NULL) {
8717 SWIG_null_ref("wxFont");
8718 }
8719 if (SWIG_arg_fail(3)) SWIG_fail;
8720 }
8721 }
8722 if (obj3) {
8723 {
8724 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8725 if (SWIG_arg_fail(4)) SWIG_fail;
8726 }
8727 }
8728 {
8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
8730 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8731
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) SWIG_fail;
8734 }
8735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8736 return resultobj;
8737 fail:
8738 return NULL;
8739 }
8740
8741
8742 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8743 PyObject *resultobj;
8744 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8745 PyObject * obj0 = 0 ;
8746 char *kwnames[] = {
8747 (char *) "self", NULL
8748 };
8749
8750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8752 if (SWIG_arg_fail(1)) SWIG_fail;
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 delete arg1;
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_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8768 PyObject *resultobj;
8769 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8770 PyObject * obj0 = 0 ;
8771 char *kwnames[] = {
8772 (char *) "self", NULL
8773 };
8774
8775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8777 if (SWIG_arg_fail(1)) SWIG_fail;
8778 {
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 (arg1)->Init();
8781
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 Py_INCREF(Py_None); resultobj = Py_None;
8786 return resultobj;
8787 fail:
8788 return NULL;
8789 }
8790
8791
8792 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8793 PyObject *resultobj;
8794 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8795 wxColour *arg2 = 0 ;
8796 wxColour temp2 ;
8797 PyObject * obj0 = 0 ;
8798 PyObject * obj1 = 0 ;
8799 char *kwnames[] = {
8800 (char *) "self",(char *) "colText", NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8805 if (SWIG_arg_fail(1)) SWIG_fail;
8806 {
8807 arg2 = &temp2;
8808 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8809 }
8810 {
8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
8812 (arg1)->SetTextColour((wxColour const &)*arg2);
8813
8814 wxPyEndAllowThreads(__tstate);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
8817 Py_INCREF(Py_None); resultobj = Py_None;
8818 return resultobj;
8819 fail:
8820 return NULL;
8821 }
8822
8823
8824 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8825 PyObject *resultobj;
8826 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8827 wxColour *arg2 = 0 ;
8828 wxColour temp2 ;
8829 PyObject * obj0 = 0 ;
8830 PyObject * obj1 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self",(char *) "colBack", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail;
8838 {
8839 arg2 = &temp2;
8840 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8841 }
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 Py_INCREF(Py_None); resultobj = Py_None;
8850 return resultobj;
8851 fail:
8852 return NULL;
8853 }
8854
8855
8856 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8857 PyObject *resultobj;
8858 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8859 wxFont *arg2 = 0 ;
8860 long arg3 = (long) wxTEXT_ATTR_FONT ;
8861 PyObject * obj0 = 0 ;
8862 PyObject * obj1 = 0 ;
8863 PyObject * obj2 = 0 ;
8864 char *kwnames[] = {
8865 (char *) "self",(char *) "font",(char *) "flags", NULL
8866 };
8867
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8870 if (SWIG_arg_fail(1)) SWIG_fail;
8871 {
8872 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8873 if (SWIG_arg_fail(2)) SWIG_fail;
8874 if (arg2 == NULL) {
8875 SWIG_null_ref("wxFont");
8876 }
8877 if (SWIG_arg_fail(2)) SWIG_fail;
8878 }
8879 if (obj2) {
8880 {
8881 arg3 = (long)(SWIG_As_long(obj2));
8882 if (SWIG_arg_fail(3)) SWIG_fail;
8883 }
8884 }
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 Py_INCREF(Py_None); resultobj = Py_None;
8893 return resultobj;
8894 fail:
8895 return NULL;
8896 }
8897
8898
8899 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8900 PyObject *resultobj;
8901 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8902 wxTextAttrAlignment arg2 ;
8903 PyObject * obj0 = 0 ;
8904 PyObject * obj1 = 0 ;
8905 char *kwnames[] = {
8906 (char *) "self",(char *) "alignment", NULL
8907 };
8908
8909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8911 if (SWIG_arg_fail(1)) SWIG_fail;
8912 {
8913 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8914 if (SWIG_arg_fail(2)) SWIG_fail;
8915 }
8916 {
8917 PyThreadState* __tstate = wxPyBeginAllowThreads();
8918 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8919
8920 wxPyEndAllowThreads(__tstate);
8921 if (PyErr_Occurred()) SWIG_fail;
8922 }
8923 Py_INCREF(Py_None); resultobj = Py_None;
8924 return resultobj;
8925 fail:
8926 return NULL;
8927 }
8928
8929
8930 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
8931 PyObject *resultobj;
8932 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8933 wxArrayInt *arg2 = 0 ;
8934 bool temp2 = false ;
8935 PyObject * obj0 = 0 ;
8936 PyObject * obj1 = 0 ;
8937 char *kwnames[] = {
8938 (char *) "self",(char *) "tabs", NULL
8939 };
8940
8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
8942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8943 if (SWIG_arg_fail(1)) SWIG_fail;
8944 {
8945 if (! PySequence_Check(obj1)) {
8946 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8947 SWIG_fail;
8948 }
8949 arg2 = new wxArrayInt;
8950 temp2 = true;
8951 int i, len=PySequence_Length(obj1);
8952 for (i=0; i<len; i++) {
8953 PyObject* item = PySequence_GetItem(obj1, i);
8954 PyObject* number = PyNumber_Int(item);
8955 arg2->Add(PyInt_AS_LONG(number));
8956 Py_DECREF(item);
8957 Py_DECREF(number);
8958 }
8959 }
8960 {
8961 PyThreadState* __tstate = wxPyBeginAllowThreads();
8962 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8963
8964 wxPyEndAllowThreads(__tstate);
8965 if (PyErr_Occurred()) SWIG_fail;
8966 }
8967 Py_INCREF(Py_None); resultobj = Py_None;
8968 {
8969 if (temp2) delete arg2;
8970 }
8971 return resultobj;
8972 fail:
8973 {
8974 if (temp2) delete arg2;
8975 }
8976 return NULL;
8977 }
8978
8979
8980 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj;
8982 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8983 int arg2 ;
8984 int arg3 = (int) 0 ;
8985 PyObject * obj0 = 0 ;
8986 PyObject * obj1 = 0 ;
8987 PyObject * obj2 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
8993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail;
8995 {
8996 arg2 = (int)(SWIG_As_int(obj1));
8997 if (SWIG_arg_fail(2)) SWIG_fail;
8998 }
8999 if (obj2) {
9000 {
9001 arg3 = (int)(SWIG_As_int(obj2));
9002 if (SWIG_arg_fail(3)) SWIG_fail;
9003 }
9004 }
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 (arg1)->SetLeftIndent(arg2,arg3);
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 Py_INCREF(Py_None); resultobj = Py_None;
9013 return resultobj;
9014 fail:
9015 return NULL;
9016 }
9017
9018
9019 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj;
9021 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9022 int arg2 ;
9023 PyObject * obj0 = 0 ;
9024 PyObject * obj1 = 0 ;
9025 char *kwnames[] = {
9026 (char *) "self",(char *) "indent", NULL
9027 };
9028
9029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
9030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9031 if (SWIG_arg_fail(1)) SWIG_fail;
9032 {
9033 arg2 = (int)(SWIG_As_int(obj1));
9034 if (SWIG_arg_fail(2)) SWIG_fail;
9035 }
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 (arg1)->SetRightIndent(arg2);
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 Py_INCREF(Py_None); resultobj = Py_None;
9044 return resultobj;
9045 fail:
9046 return NULL;
9047 }
9048
9049
9050 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9051 PyObject *resultobj;
9052 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9053 long arg2 ;
9054 PyObject * obj0 = 0 ;
9055 PyObject * obj1 = 0 ;
9056 char *kwnames[] = {
9057 (char *) "self",(char *) "flags", NULL
9058 };
9059
9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9062 if (SWIG_arg_fail(1)) SWIG_fail;
9063 {
9064 arg2 = (long)(SWIG_As_long(obj1));
9065 if (SWIG_arg_fail(2)) SWIG_fail;
9066 }
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 (arg1)->SetFlags(arg2);
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 Py_INCREF(Py_None); resultobj = Py_None;
9075 return resultobj;
9076 fail:
9077 return NULL;
9078 }
9079
9080
9081 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj;
9083 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9084 bool result;
9085 PyObject * obj0 = 0 ;
9086 char *kwnames[] = {
9087 (char *) "self", NULL
9088 };
9089
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9092 if (SWIG_arg_fail(1)) SWIG_fail;
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 {
9101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9102 }
9103 return resultobj;
9104 fail:
9105 return NULL;
9106 }
9107
9108
9109 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9110 PyObject *resultobj;
9111 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9112 bool result;
9113 PyObject * obj0 = 0 ;
9114 char *kwnames[] = {
9115 (char *) "self", NULL
9116 };
9117
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9120 if (SWIG_arg_fail(1)) SWIG_fail;
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
9128 {
9129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9130 }
9131 return resultobj;
9132 fail:
9133 return NULL;
9134 }
9135
9136
9137 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9138 PyObject *resultobj;
9139 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9140 bool result;
9141 PyObject * obj0 = 0 ;
9142 char *kwnames[] = {
9143 (char *) "self", NULL
9144 };
9145
9146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9148 if (SWIG_arg_fail(1)) SWIG_fail;
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 {
9157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9158 }
9159 return resultobj;
9160 fail:
9161 return NULL;
9162 }
9163
9164
9165 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj;
9167 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9168 bool result;
9169 PyObject * obj0 = 0 ;
9170 char *kwnames[] = {
9171 (char *) "self", NULL
9172 };
9173
9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9176 if (SWIG_arg_fail(1)) SWIG_fail;
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 {
9185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9186 }
9187 return resultobj;
9188 fail:
9189 return NULL;
9190 }
9191
9192
9193 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9194 PyObject *resultobj;
9195 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9196 bool result;
9197 PyObject * obj0 = 0 ;
9198 char *kwnames[] = {
9199 (char *) "self", NULL
9200 };
9201
9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9204 if (SWIG_arg_fail(1)) SWIG_fail;
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
9207 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9208
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 {
9213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9214 }
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9224 bool result;
9225 PyObject * obj0 = 0 ;
9226 char *kwnames[] = {
9227 (char *) "self", NULL
9228 };
9229
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9232 if (SWIG_arg_fail(1)) SWIG_fail;
9233 {
9234 PyThreadState* __tstate = wxPyBeginAllowThreads();
9235 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9236
9237 wxPyEndAllowThreads(__tstate);
9238 if (PyErr_Occurred()) SWIG_fail;
9239 }
9240 {
9241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9242 }
9243 return resultobj;
9244 fail:
9245 return NULL;
9246 }
9247
9248
9249 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9250 PyObject *resultobj;
9251 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9252 bool result;
9253 PyObject * obj0 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "self", NULL
9256 };
9257
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9260 if (SWIG_arg_fail(1)) SWIG_fail;
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 {
9269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9270 }
9271 return resultobj;
9272 fail:
9273 return NULL;
9274 }
9275
9276
9277 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9278 PyObject *resultobj;
9279 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9280 long arg2 ;
9281 bool result;
9282 PyObject * obj0 = 0 ;
9283 PyObject * obj1 = 0 ;
9284 char *kwnames[] = {
9285 (char *) "self",(char *) "flag", NULL
9286 };
9287
9288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9290 if (SWIG_arg_fail(1)) SWIG_fail;
9291 {
9292 arg2 = (long)(SWIG_As_long(obj1));
9293 if (SWIG_arg_fail(2)) SWIG_fail;
9294 }
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9298
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 {
9303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9304 }
9305 return resultobj;
9306 fail:
9307 return NULL;
9308 }
9309
9310
9311 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9312 PyObject *resultobj;
9313 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9314 wxColour *result;
9315 PyObject * obj0 = 0 ;
9316 char *kwnames[] = {
9317 (char *) "self", NULL
9318 };
9319
9320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9322 if (SWIG_arg_fail(1)) SWIG_fail;
9323 {
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 {
9326 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9327 result = (wxColour *) &_result_ref;
9328 }
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
9333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9334 return resultobj;
9335 fail:
9336 return NULL;
9337 }
9338
9339
9340 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9341 PyObject *resultobj;
9342 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9343 wxColour *result;
9344 PyObject * obj0 = 0 ;
9345 char *kwnames[] = {
9346 (char *) "self", NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9351 if (SWIG_arg_fail(1)) SWIG_fail;
9352 {
9353 PyThreadState* __tstate = wxPyBeginAllowThreads();
9354 {
9355 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9356 result = (wxColour *) &_result_ref;
9357 }
9358
9359 wxPyEndAllowThreads(__tstate);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 }
9362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9363 return resultobj;
9364 fail:
9365 return NULL;
9366 }
9367
9368
9369 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9370 PyObject *resultobj;
9371 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9372 wxFont *result;
9373 PyObject * obj0 = 0 ;
9374 char *kwnames[] = {
9375 (char *) "self", NULL
9376 };
9377
9378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9380 if (SWIG_arg_fail(1)) SWIG_fail;
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 {
9384 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9385 result = (wxFont *) &_result_ref;
9386 }
9387
9388 wxPyEndAllowThreads(__tstate);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 }
9391 {
9392 wxFont* resultptr = new wxFont(*result);
9393 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9394 }
9395 return resultobj;
9396 fail:
9397 return NULL;
9398 }
9399
9400
9401 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9402 PyObject *resultobj;
9403 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9404 wxTextAttrAlignment result;
9405 PyObject * obj0 = 0 ;
9406 char *kwnames[] = {
9407 (char *) "self", NULL
9408 };
9409
9410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9412 if (SWIG_arg_fail(1)) SWIG_fail;
9413 {
9414 PyThreadState* __tstate = wxPyBeginAllowThreads();
9415 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9416
9417 wxPyEndAllowThreads(__tstate);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 }
9420 resultobj = SWIG_From_int((result));
9421 return resultobj;
9422 fail:
9423 return NULL;
9424 }
9425
9426
9427 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj;
9429 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9430 wxArrayInt *result;
9431 PyObject * obj0 = 0 ;
9432 char *kwnames[] = {
9433 (char *) "self", NULL
9434 };
9435
9436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9438 if (SWIG_arg_fail(1)) SWIG_fail;
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 {
9442 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9443 result = (wxArrayInt *) &_result_ref;
9444 }
9445
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 {
9450 resultobj = PyList_New(0);
9451 size_t idx;
9452 for (idx = 0; idx < result->GetCount(); idx += 1) {
9453 PyObject* val = PyInt_FromLong( result->Item(idx) );
9454 PyList_Append(resultobj, val);
9455 Py_DECREF(val);
9456 }
9457 }
9458 return resultobj;
9459 fail:
9460 return NULL;
9461 }
9462
9463
9464 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9467 long result;
9468 PyObject * obj0 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail;
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9479
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 {
9484 resultobj = SWIG_From_long((long)(result));
9485 }
9486 return resultobj;
9487 fail:
9488 return NULL;
9489 }
9490
9491
9492 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9493 PyObject *resultobj;
9494 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9495 long result;
9496 PyObject * obj0 = 0 ;
9497 char *kwnames[] = {
9498 (char *) "self", NULL
9499 };
9500
9501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9503 if (SWIG_arg_fail(1)) SWIG_fail;
9504 {
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9507
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 {
9512 resultobj = SWIG_From_long((long)(result));
9513 }
9514 return resultobj;
9515 fail:
9516 return NULL;
9517 }
9518
9519
9520 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9521 PyObject *resultobj;
9522 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9523 long result;
9524 PyObject * obj0 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9531 if (SWIG_arg_fail(1)) SWIG_fail;
9532 {
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9535
9536 wxPyEndAllowThreads(__tstate);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
9539 {
9540 resultobj = SWIG_From_long((long)(result));
9541 }
9542 return resultobj;
9543 fail:
9544 return NULL;
9545 }
9546
9547
9548 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9549 PyObject *resultobj;
9550 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9551 long result;
9552 PyObject * obj0 = 0 ;
9553 char *kwnames[] = {
9554 (char *) "self", NULL
9555 };
9556
9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9559 if (SWIG_arg_fail(1)) SWIG_fail;
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9563
9564 wxPyEndAllowThreads(__tstate);
9565 if (PyErr_Occurred()) SWIG_fail;
9566 }
9567 {
9568 resultobj = SWIG_From_long((long)(result));
9569 }
9570 return resultobj;
9571 fail:
9572 return NULL;
9573 }
9574
9575
9576 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9577 PyObject *resultobj;
9578 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9579 bool result;
9580 PyObject * obj0 = 0 ;
9581 char *kwnames[] = {
9582 (char *) "self", NULL
9583 };
9584
9585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9587 if (SWIG_arg_fail(1)) SWIG_fail;
9588 {
9589 PyThreadState* __tstate = wxPyBeginAllowThreads();
9590 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9591
9592 wxPyEndAllowThreads(__tstate);
9593 if (PyErr_Occurred()) SWIG_fail;
9594 }
9595 {
9596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9597 }
9598 return resultobj;
9599 fail:
9600 return NULL;
9601 }
9602
9603
9604 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9605 PyObject *resultobj;
9606 wxTextAttr *arg1 = 0 ;
9607 wxTextAttr *arg2 = 0 ;
9608 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9609 wxTextAttr result;
9610 PyObject * obj0 = 0 ;
9611 PyObject * obj1 = 0 ;
9612 PyObject * obj2 = 0 ;
9613 char *kwnames[] = {
9614 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9615 };
9616
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9618 {
9619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9620 if (SWIG_arg_fail(1)) SWIG_fail;
9621 if (arg1 == NULL) {
9622 SWIG_null_ref("wxTextAttr");
9623 }
9624 if (SWIG_arg_fail(1)) SWIG_fail;
9625 }
9626 {
9627 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9628 if (SWIG_arg_fail(2)) SWIG_fail;
9629 if (arg2 == NULL) {
9630 SWIG_null_ref("wxTextAttr");
9631 }
9632 if (SWIG_arg_fail(2)) SWIG_fail;
9633 }
9634 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9635 if (SWIG_arg_fail(3)) SWIG_fail;
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 {
9644 wxTextAttr * resultptr;
9645 resultptr = new wxTextAttr((wxTextAttr &)(result));
9646 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9647 }
9648 return resultobj;
9649 fail:
9650 return NULL;
9651 }
9652
9653
9654 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9655 PyObject *obj;
9656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9657 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9658 Py_INCREF(obj);
9659 return Py_BuildValue((char *)"");
9660 }
9661 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxWindow *arg1 = (wxWindow *) 0 ;
9664 int arg2 = (int) -1 ;
9665 wxString const &arg3_defvalue = wxPyEmptyString ;
9666 wxString *arg3 = (wxString *) &arg3_defvalue ;
9667 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9668 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9669 wxSize const &arg5_defvalue = wxDefaultSize ;
9670 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9671 long arg6 = (long) 0 ;
9672 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9673 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9674 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9675 wxString *arg8 = (wxString *) &arg8_defvalue ;
9676 wxTextCtrl *result;
9677 bool temp3 = false ;
9678 wxPoint temp4 ;
9679 wxSize temp5 ;
9680 bool temp8 = false ;
9681 PyObject * obj0 = 0 ;
9682 PyObject * obj1 = 0 ;
9683 PyObject * obj2 = 0 ;
9684 PyObject * obj3 = 0 ;
9685 PyObject * obj4 = 0 ;
9686 PyObject * obj5 = 0 ;
9687 PyObject * obj6 = 0 ;
9688 PyObject * obj7 = 0 ;
9689 char *kwnames[] = {
9690 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9691 };
9692
9693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9695 if (SWIG_arg_fail(1)) SWIG_fail;
9696 if (obj1) {
9697 {
9698 arg2 = (int)(SWIG_As_int(obj1));
9699 if (SWIG_arg_fail(2)) SWIG_fail;
9700 }
9701 }
9702 if (obj2) {
9703 {
9704 arg3 = wxString_in_helper(obj2);
9705 if (arg3 == NULL) SWIG_fail;
9706 temp3 = true;
9707 }
9708 }
9709 if (obj3) {
9710 {
9711 arg4 = &temp4;
9712 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9713 }
9714 }
9715 if (obj4) {
9716 {
9717 arg5 = &temp5;
9718 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9719 }
9720 }
9721 if (obj5) {
9722 {
9723 arg6 = (long)(SWIG_As_long(obj5));
9724 if (SWIG_arg_fail(6)) SWIG_fail;
9725 }
9726 }
9727 if (obj6) {
9728 {
9729 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9730 if (SWIG_arg_fail(7)) SWIG_fail;
9731 if (arg7 == NULL) {
9732 SWIG_null_ref("wxValidator");
9733 }
9734 if (SWIG_arg_fail(7)) SWIG_fail;
9735 }
9736 }
9737 if (obj7) {
9738 {
9739 arg8 = wxString_in_helper(obj7);
9740 if (arg8 == NULL) SWIG_fail;
9741 temp8 = true;
9742 }
9743 }
9744 {
9745 if (!wxPyCheckForApp()) SWIG_fail;
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
9752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9753 {
9754 if (temp3)
9755 delete arg3;
9756 }
9757 {
9758 if (temp8)
9759 delete arg8;
9760 }
9761 return resultobj;
9762 fail:
9763 {
9764 if (temp3)
9765 delete arg3;
9766 }
9767 {
9768 if (temp8)
9769 delete arg8;
9770 }
9771 return NULL;
9772 }
9773
9774
9775 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9776 PyObject *resultobj;
9777 wxTextCtrl *result;
9778 char *kwnames[] = {
9779 NULL
9780 };
9781
9782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9783 {
9784 if (!wxPyCheckForApp()) SWIG_fail;
9785 PyThreadState* __tstate = wxPyBeginAllowThreads();
9786 result = (wxTextCtrl *)new wxTextCtrl();
9787
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
9791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9792 return resultobj;
9793 fail:
9794 return NULL;
9795 }
9796
9797
9798 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9799 PyObject *resultobj;
9800 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9801 wxWindow *arg2 = (wxWindow *) 0 ;
9802 int arg3 = (int) -1 ;
9803 wxString const &arg4_defvalue = wxPyEmptyString ;
9804 wxString *arg4 = (wxString *) &arg4_defvalue ;
9805 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9806 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9807 wxSize const &arg6_defvalue = wxDefaultSize ;
9808 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9809 long arg7 = (long) 0 ;
9810 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9811 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9812 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9813 wxString *arg9 = (wxString *) &arg9_defvalue ;
9814 bool result;
9815 bool temp4 = false ;
9816 wxPoint temp5 ;
9817 wxSize temp6 ;
9818 bool temp9 = false ;
9819 PyObject * obj0 = 0 ;
9820 PyObject * obj1 = 0 ;
9821 PyObject * obj2 = 0 ;
9822 PyObject * obj3 = 0 ;
9823 PyObject * obj4 = 0 ;
9824 PyObject * obj5 = 0 ;
9825 PyObject * obj6 = 0 ;
9826 PyObject * obj7 = 0 ;
9827 PyObject * obj8 = 0 ;
9828 char *kwnames[] = {
9829 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9830 };
9831
9832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9834 if (SWIG_arg_fail(1)) SWIG_fail;
9835 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9836 if (SWIG_arg_fail(2)) SWIG_fail;
9837 if (obj2) {
9838 {
9839 arg3 = (int)(SWIG_As_int(obj2));
9840 if (SWIG_arg_fail(3)) SWIG_fail;
9841 }
9842 }
9843 if (obj3) {
9844 {
9845 arg4 = wxString_in_helper(obj3);
9846 if (arg4 == NULL) SWIG_fail;
9847 temp4 = true;
9848 }
9849 }
9850 if (obj4) {
9851 {
9852 arg5 = &temp5;
9853 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9854 }
9855 }
9856 if (obj5) {
9857 {
9858 arg6 = &temp6;
9859 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9860 }
9861 }
9862 if (obj6) {
9863 {
9864 arg7 = (long)(SWIG_As_long(obj6));
9865 if (SWIG_arg_fail(7)) SWIG_fail;
9866 }
9867 }
9868 if (obj7) {
9869 {
9870 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9871 if (SWIG_arg_fail(8)) SWIG_fail;
9872 if (arg8 == NULL) {
9873 SWIG_null_ref("wxValidator");
9874 }
9875 if (SWIG_arg_fail(8)) SWIG_fail;
9876 }
9877 }
9878 if (obj8) {
9879 {
9880 arg9 = wxString_in_helper(obj8);
9881 if (arg9 == NULL) SWIG_fail;
9882 temp9 = true;
9883 }
9884 }
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 {
9893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9894 }
9895 {
9896 if (temp4)
9897 delete arg4;
9898 }
9899 {
9900 if (temp9)
9901 delete arg9;
9902 }
9903 return resultobj;
9904 fail:
9905 {
9906 if (temp4)
9907 delete arg4;
9908 }
9909 {
9910 if (temp9)
9911 delete arg9;
9912 }
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj;
9919 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9920 wxString result;
9921 PyObject * obj0 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "self", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
9927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9928 if (SWIG_arg_fail(1)) SWIG_fail;
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = ((wxTextCtrl const *)arg1)->GetValue();
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
9936 {
9937 #if wxUSE_UNICODE
9938 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9939 #else
9940 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9941 #endif
9942 }
9943 return resultobj;
9944 fail:
9945 return NULL;
9946 }
9947
9948
9949 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9950 PyObject *resultobj;
9951 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9952 wxString *arg2 = 0 ;
9953 bool temp2 = false ;
9954 PyObject * obj0 = 0 ;
9955 PyObject * obj1 = 0 ;
9956 char *kwnames[] = {
9957 (char *) "self",(char *) "value", NULL
9958 };
9959
9960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
9961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9962 if (SWIG_arg_fail(1)) SWIG_fail;
9963 {
9964 arg2 = wxString_in_helper(obj1);
9965 if (arg2 == NULL) SWIG_fail;
9966 temp2 = true;
9967 }
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->SetValue((wxString const &)*arg2);
9971
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 Py_INCREF(Py_None); resultobj = Py_None;
9976 {
9977 if (temp2)
9978 delete arg2;
9979 }
9980 return resultobj;
9981 fail:
9982 {
9983 if (temp2)
9984 delete arg2;
9985 }
9986 return NULL;
9987 }
9988
9989
9990 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9991 PyObject *resultobj;
9992 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9993 long arg2 ;
9994 long arg3 ;
9995 wxString result;
9996 PyObject * obj0 = 0 ;
9997 PyObject * obj1 = 0 ;
9998 PyObject * obj2 = 0 ;
9999 char *kwnames[] = {
10000 (char *) "self",(char *) "from",(char *) "to", NULL
10001 };
10002
10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10005 if (SWIG_arg_fail(1)) SWIG_fail;
10006 {
10007 arg2 = (long)(SWIG_As_long(obj1));
10008 if (SWIG_arg_fail(2)) SWIG_fail;
10009 }
10010 {
10011 arg3 = (long)(SWIG_As_long(obj2));
10012 if (SWIG_arg_fail(3)) SWIG_fail;
10013 }
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10017
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 {
10022 #if wxUSE_UNICODE
10023 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10024 #else
10025 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10026 #endif
10027 }
10028 return resultobj;
10029 fail:
10030 return NULL;
10031 }
10032
10033
10034 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
10035 PyObject *resultobj;
10036 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10037 long arg2 ;
10038 int result;
10039 PyObject * obj0 = 0 ;
10040 PyObject * obj1 = 0 ;
10041 char *kwnames[] = {
10042 (char *) "self",(char *) "lineNo", NULL
10043 };
10044
10045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
10046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10047 if (SWIG_arg_fail(1)) SWIG_fail;
10048 {
10049 arg2 = (long)(SWIG_As_long(obj1));
10050 if (SWIG_arg_fail(2)) SWIG_fail;
10051 }
10052 {
10053 PyThreadState* __tstate = wxPyBeginAllowThreads();
10054 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10055
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
10059 {
10060 resultobj = SWIG_From_int((int)(result));
10061 }
10062 return resultobj;
10063 fail:
10064 return NULL;
10065 }
10066
10067
10068 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
10069 PyObject *resultobj;
10070 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10071 long arg2 ;
10072 wxString result;
10073 PyObject * obj0 = 0 ;
10074 PyObject * obj1 = 0 ;
10075 char *kwnames[] = {
10076 (char *) "self",(char *) "lineNo", NULL
10077 };
10078
10079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10081 if (SWIG_arg_fail(1)) SWIG_fail;
10082 {
10083 arg2 = (long)(SWIG_As_long(obj1));
10084 if (SWIG_arg_fail(2)) SWIG_fail;
10085 }
10086 {
10087 PyThreadState* __tstate = wxPyBeginAllowThreads();
10088 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10089
10090 wxPyEndAllowThreads(__tstate);
10091 if (PyErr_Occurred()) SWIG_fail;
10092 }
10093 {
10094 #if wxUSE_UNICODE
10095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10096 #else
10097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10098 #endif
10099 }
10100 return resultobj;
10101 fail:
10102 return NULL;
10103 }
10104
10105
10106 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10107 PyObject *resultobj;
10108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10109 int result;
10110 PyObject * obj0 = 0 ;
10111 char *kwnames[] = {
10112 (char *) "self", NULL
10113 };
10114
10115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10117 if (SWIG_arg_fail(1)) SWIG_fail;
10118 {
10119 PyThreadState* __tstate = wxPyBeginAllowThreads();
10120 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10121
10122 wxPyEndAllowThreads(__tstate);
10123 if (PyErr_Occurred()) SWIG_fail;
10124 }
10125 {
10126 resultobj = SWIG_From_int((int)(result));
10127 }
10128 return resultobj;
10129 fail:
10130 return NULL;
10131 }
10132
10133
10134 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10135 PyObject *resultobj;
10136 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10137 bool result;
10138 PyObject * obj0 = 0 ;
10139 char *kwnames[] = {
10140 (char *) "self", NULL
10141 };
10142
10143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10145 if (SWIG_arg_fail(1)) SWIG_fail;
10146 {
10147 PyThreadState* __tstate = wxPyBeginAllowThreads();
10148 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10149
10150 wxPyEndAllowThreads(__tstate);
10151 if (PyErr_Occurred()) SWIG_fail;
10152 }
10153 {
10154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10155 }
10156 return resultobj;
10157 fail:
10158 return NULL;
10159 }
10160
10161
10162 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10163 PyObject *resultobj;
10164 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10165 bool result;
10166 PyObject * obj0 = 0 ;
10167 char *kwnames[] = {
10168 (char *) "self", NULL
10169 };
10170
10171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10173 if (SWIG_arg_fail(1)) SWIG_fail;
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10177
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 {
10182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10183 }
10184 return resultobj;
10185 fail:
10186 return NULL;
10187 }
10188
10189
10190 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10191 PyObject *resultobj;
10192 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10193 bool result;
10194 PyObject * obj0 = 0 ;
10195 char *kwnames[] = {
10196 (char *) "self", NULL
10197 };
10198
10199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10201 if (SWIG_arg_fail(1)) SWIG_fail;
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10205
10206 wxPyEndAllowThreads(__tstate);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
10209 {
10210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10211 }
10212 return resultobj;
10213 fail:
10214 return NULL;
10215 }
10216
10217
10218 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10219 PyObject *resultobj;
10220 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10221 bool result;
10222 PyObject * obj0 = 0 ;
10223 char *kwnames[] = {
10224 (char *) "self", NULL
10225 };
10226
10227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10229 if (SWIG_arg_fail(1)) SWIG_fail;
10230 {
10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
10232 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10233
10234 wxPyEndAllowThreads(__tstate);
10235 if (PyErr_Occurred()) SWIG_fail;
10236 }
10237 {
10238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10239 }
10240 return resultobj;
10241 fail:
10242 return NULL;
10243 }
10244
10245
10246 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10247 PyObject *resultobj;
10248 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10249 long *arg2 = (long *) 0 ;
10250 long *arg3 = (long *) 0 ;
10251 long temp2 ;
10252 int res2 = 0 ;
10253 long temp3 ;
10254 int res3 = 0 ;
10255 PyObject * obj0 = 0 ;
10256 char *kwnames[] = {
10257 (char *) "self", NULL
10258 };
10259
10260 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10261 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10264 if (SWIG_arg_fail(1)) SWIG_fail;
10265 {
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
10267 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10268
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
10272 Py_INCREF(Py_None); resultobj = Py_None;
10273 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10274 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10275 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10276 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10277 return resultobj;
10278 fail:
10279 return NULL;
10280 }
10281
10282
10283 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10284 PyObject *resultobj;
10285 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10286 wxString result;
10287 PyObject * obj0 = 0 ;
10288 char *kwnames[] = {
10289 (char *) "self", NULL
10290 };
10291
10292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10294 if (SWIG_arg_fail(1)) SWIG_fail;
10295 {
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10298
10299 wxPyEndAllowThreads(__tstate);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 }
10302 {
10303 #if wxUSE_UNICODE
10304 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10305 #else
10306 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10307 #endif
10308 }
10309 return resultobj;
10310 fail:
10311 return NULL;
10312 }
10313
10314
10315 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10316 PyObject *resultobj;
10317 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10318 PyObject * obj0 = 0 ;
10319 char *kwnames[] = {
10320 (char *) "self", NULL
10321 };
10322
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10325 if (SWIG_arg_fail(1)) SWIG_fail;
10326 {
10327 PyThreadState* __tstate = wxPyBeginAllowThreads();
10328 (arg1)->Clear();
10329
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 Py_INCREF(Py_None); resultobj = Py_None;
10334 return resultobj;
10335 fail:
10336 return NULL;
10337 }
10338
10339
10340 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj;
10342 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10343 long arg2 ;
10344 long arg3 ;
10345 wxString *arg4 = 0 ;
10346 bool temp4 = false ;
10347 PyObject * obj0 = 0 ;
10348 PyObject * obj1 = 0 ;
10349 PyObject * obj2 = 0 ;
10350 PyObject * obj3 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) 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 {
10359 arg2 = (long)(SWIG_As_long(obj1));
10360 if (SWIG_arg_fail(2)) SWIG_fail;
10361 }
10362 {
10363 arg3 = (long)(SWIG_As_long(obj2));
10364 if (SWIG_arg_fail(3)) SWIG_fail;
10365 }
10366 {
10367 arg4 = wxString_in_helper(obj3);
10368 if (arg4 == NULL) SWIG_fail;
10369 temp4 = true;
10370 }
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 Py_INCREF(Py_None); resultobj = Py_None;
10379 {
10380 if (temp4)
10381 delete arg4;
10382 }
10383 return resultobj;
10384 fail:
10385 {
10386 if (temp4)
10387 delete arg4;
10388 }
10389 return NULL;
10390 }
10391
10392
10393 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10396 long arg2 ;
10397 long arg3 ;
10398 PyObject * obj0 = 0 ;
10399 PyObject * obj1 = 0 ;
10400 PyObject * obj2 = 0 ;
10401 char *kwnames[] = {
10402 (char *) "self",(char *) "from",(char *) "to", NULL
10403 };
10404
10405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10407 if (SWIG_arg_fail(1)) SWIG_fail;
10408 {
10409 arg2 = (long)(SWIG_As_long(obj1));
10410 if (SWIG_arg_fail(2)) SWIG_fail;
10411 }
10412 {
10413 arg3 = (long)(SWIG_As_long(obj2));
10414 if (SWIG_arg_fail(3)) SWIG_fail;
10415 }
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 (arg1)->Remove(arg2,arg3);
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 Py_INCREF(Py_None); resultobj = Py_None;
10424 return resultobj;
10425 fail:
10426 return NULL;
10427 }
10428
10429
10430 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10431 PyObject *resultobj;
10432 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10433 wxString *arg2 = 0 ;
10434 bool result;
10435 bool temp2 = false ;
10436 PyObject * obj0 = 0 ;
10437 PyObject * obj1 = 0 ;
10438 char *kwnames[] = {
10439 (char *) "self",(char *) "file", NULL
10440 };
10441
10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10444 if (SWIG_arg_fail(1)) SWIG_fail;
10445 {
10446 arg2 = wxString_in_helper(obj1);
10447 if (arg2 == NULL) SWIG_fail;
10448 temp2 = true;
10449 }
10450 {
10451 PyThreadState* __tstate = wxPyBeginAllowThreads();
10452 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10453
10454 wxPyEndAllowThreads(__tstate);
10455 if (PyErr_Occurred()) SWIG_fail;
10456 }
10457 {
10458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10459 }
10460 {
10461 if (temp2)
10462 delete arg2;
10463 }
10464 return resultobj;
10465 fail:
10466 {
10467 if (temp2)
10468 delete arg2;
10469 }
10470 return NULL;
10471 }
10472
10473
10474 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10475 PyObject *resultobj;
10476 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10477 wxString const &arg2_defvalue = wxPyEmptyString ;
10478 wxString *arg2 = (wxString *) &arg2_defvalue ;
10479 bool result;
10480 bool temp2 = false ;
10481 PyObject * obj0 = 0 ;
10482 PyObject * obj1 = 0 ;
10483 char *kwnames[] = {
10484 (char *) "self",(char *) "file", NULL
10485 };
10486
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10489 if (SWIG_arg_fail(1)) SWIG_fail;
10490 if (obj1) {
10491 {
10492 arg2 = wxString_in_helper(obj1);
10493 if (arg2 == NULL) SWIG_fail;
10494 temp2 = true;
10495 }
10496 }
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10500
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 {
10505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10506 }
10507 {
10508 if (temp2)
10509 delete arg2;
10510 }
10511 return resultobj;
10512 fail:
10513 {
10514 if (temp2)
10515 delete arg2;
10516 }
10517 return NULL;
10518 }
10519
10520
10521 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10522 PyObject *resultobj;
10523 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10524 PyObject * obj0 = 0 ;
10525 char *kwnames[] = {
10526 (char *) "self", NULL
10527 };
10528
10529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10531 if (SWIG_arg_fail(1)) SWIG_fail;
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 (arg1)->MarkDirty();
10535
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 Py_INCREF(Py_None); resultobj = Py_None;
10540 return resultobj;
10541 fail:
10542 return NULL;
10543 }
10544
10545
10546 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10547 PyObject *resultobj;
10548 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10549 PyObject * obj0 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10556 if (SWIG_arg_fail(1)) SWIG_fail;
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 (arg1)->DiscardEdits();
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 Py_INCREF(Py_None); resultobj = Py_None;
10565 return resultobj;
10566 fail:
10567 return NULL;
10568 }
10569
10570
10571 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj;
10573 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10574 unsigned long arg2 ;
10575 PyObject * obj0 = 0 ;
10576 PyObject * obj1 = 0 ;
10577 char *kwnames[] = {
10578 (char *) "self",(char *) "len", NULL
10579 };
10580
10581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10583 if (SWIG_arg_fail(1)) SWIG_fail;
10584 {
10585 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10586 if (SWIG_arg_fail(2)) SWIG_fail;
10587 }
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 (arg1)->SetMaxLength(arg2);
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 Py_INCREF(Py_None); resultobj = Py_None;
10596 return resultobj;
10597 fail:
10598 return NULL;
10599 }
10600
10601
10602 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10603 PyObject *resultobj;
10604 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10605 wxString *arg2 = 0 ;
10606 bool temp2 = false ;
10607 PyObject * obj0 = 0 ;
10608 PyObject * obj1 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "self",(char *) "text", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10615 if (SWIG_arg_fail(1)) SWIG_fail;
10616 {
10617 arg2 = wxString_in_helper(obj1);
10618 if (arg2 == NULL) SWIG_fail;
10619 temp2 = true;
10620 }
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 (arg1)->WriteText((wxString const &)*arg2);
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 Py_INCREF(Py_None); resultobj = Py_None;
10629 {
10630 if (temp2)
10631 delete arg2;
10632 }
10633 return resultobj;
10634 fail:
10635 {
10636 if (temp2)
10637 delete arg2;
10638 }
10639 return NULL;
10640 }
10641
10642
10643 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10644 PyObject *resultobj;
10645 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10646 wxString *arg2 = 0 ;
10647 bool temp2 = false ;
10648 PyObject * obj0 = 0 ;
10649 PyObject * obj1 = 0 ;
10650 char *kwnames[] = {
10651 (char *) "self",(char *) "text", NULL
10652 };
10653
10654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10656 if (SWIG_arg_fail(1)) SWIG_fail;
10657 {
10658 arg2 = wxString_in_helper(obj1);
10659 if (arg2 == NULL) SWIG_fail;
10660 temp2 = true;
10661 }
10662 {
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
10664 (arg1)->AppendText((wxString const &)*arg2);
10665
10666 wxPyEndAllowThreads(__tstate);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 }
10669 Py_INCREF(Py_None); resultobj = Py_None;
10670 {
10671 if (temp2)
10672 delete arg2;
10673 }
10674 return resultobj;
10675 fail:
10676 {
10677 if (temp2)
10678 delete arg2;
10679 }
10680 return NULL;
10681 }
10682
10683
10684 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10685 PyObject *resultobj;
10686 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10687 wxKeyEvent *arg2 = 0 ;
10688 bool result;
10689 PyObject * obj0 = 0 ;
10690 PyObject * obj1 = 0 ;
10691 char *kwnames[] = {
10692 (char *) "self",(char *) "event", NULL
10693 };
10694
10695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",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_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10700 if (SWIG_arg_fail(2)) SWIG_fail;
10701 if (arg2 == NULL) {
10702 SWIG_null_ref("wxKeyEvent");
10703 }
10704 if (SWIG_arg_fail(2)) SWIG_fail;
10705 }
10706 {
10707 PyThreadState* __tstate = wxPyBeginAllowThreads();
10708 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent 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_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10723 PyObject *resultobj;
10724 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10725 long arg2 ;
10726 long arg3 ;
10727 wxTextAttr *arg4 = 0 ;
10728 bool result;
10729 PyObject * obj0 = 0 ;
10730 PyObject * obj1 = 0 ;
10731 PyObject * obj2 = 0 ;
10732 PyObject * obj3 = 0 ;
10733 char *kwnames[] = {
10734 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10735 };
10736
10737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10739 if (SWIG_arg_fail(1)) SWIG_fail;
10740 {
10741 arg2 = (long)(SWIG_As_long(obj1));
10742 if (SWIG_arg_fail(2)) SWIG_fail;
10743 }
10744 {
10745 arg3 = (long)(SWIG_As_long(obj2));
10746 if (SWIG_arg_fail(3)) SWIG_fail;
10747 }
10748 {
10749 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10750 if (SWIG_arg_fail(4)) SWIG_fail;
10751 if (arg4 == NULL) {
10752 SWIG_null_ref("wxTextAttr");
10753 }
10754 if (SWIG_arg_fail(4)) SWIG_fail;
10755 }
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10759
10760 wxPyEndAllowThreads(__tstate);
10761 if (PyErr_Occurred()) SWIG_fail;
10762 }
10763 {
10764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10765 }
10766 return resultobj;
10767 fail:
10768 return NULL;
10769 }
10770
10771
10772 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10773 PyObject *resultobj;
10774 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10775 long arg2 ;
10776 wxTextAttr *arg3 = 0 ;
10777 bool result;
10778 PyObject * obj0 = 0 ;
10779 PyObject * obj1 = 0 ;
10780 PyObject * obj2 = 0 ;
10781 char *kwnames[] = {
10782 (char *) "self",(char *) "position",(char *) "style", NULL
10783 };
10784
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10787 if (SWIG_arg_fail(1)) SWIG_fail;
10788 {
10789 arg2 = (long)(SWIG_As_long(obj1));
10790 if (SWIG_arg_fail(2)) SWIG_fail;
10791 }
10792 {
10793 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10794 if (SWIG_arg_fail(3)) SWIG_fail;
10795 if (arg3 == NULL) {
10796 SWIG_null_ref("wxTextAttr");
10797 }
10798 if (SWIG_arg_fail(3)) SWIG_fail;
10799 }
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10803
10804 wxPyEndAllowThreads(__tstate);
10805 if (PyErr_Occurred()) SWIG_fail;
10806 }
10807 {
10808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10809 }
10810 return resultobj;
10811 fail:
10812 return NULL;
10813 }
10814
10815
10816 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj;
10818 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10819 wxTextAttr *arg2 = 0 ;
10820 bool result;
10821 PyObject * obj0 = 0 ;
10822 PyObject * obj1 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "self",(char *) "style", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10829 if (SWIG_arg_fail(1)) SWIG_fail;
10830 {
10831 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10832 if (SWIG_arg_fail(2)) SWIG_fail;
10833 if (arg2 == NULL) {
10834 SWIG_null_ref("wxTextAttr");
10835 }
10836 if (SWIG_arg_fail(2)) SWIG_fail;
10837 }
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 {
10846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10847 }
10848 return resultobj;
10849 fail:
10850 return NULL;
10851 }
10852
10853
10854 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10855 PyObject *resultobj;
10856 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10857 wxTextAttr *result;
10858 PyObject * obj0 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
10864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10865 if (SWIG_arg_fail(1)) SWIG_fail;
10866 {
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 {
10869 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10870 result = (wxTextAttr *) &_result_ref;
10871 }
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10877 return resultobj;
10878 fail:
10879 return NULL;
10880 }
10881
10882
10883 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10884 PyObject *resultobj;
10885 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10886 long arg2 ;
10887 long arg3 ;
10888 long result;
10889 PyObject * obj0 = 0 ;
10890 PyObject * obj1 = 0 ;
10891 PyObject * obj2 = 0 ;
10892 char *kwnames[] = {
10893 (char *) "self",(char *) "x",(char *) "y", NULL
10894 };
10895
10896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
10897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10898 if (SWIG_arg_fail(1)) SWIG_fail;
10899 {
10900 arg2 = (long)(SWIG_As_long(obj1));
10901 if (SWIG_arg_fail(2)) SWIG_fail;
10902 }
10903 {
10904 arg3 = (long)(SWIG_As_long(obj2));
10905 if (SWIG_arg_fail(3)) SWIG_fail;
10906 }
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10910
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 {
10915 resultobj = SWIG_From_long((long)(result));
10916 }
10917 return resultobj;
10918 fail:
10919 return NULL;
10920 }
10921
10922
10923 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
10924 PyObject *resultobj;
10925 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10926 long arg2 ;
10927 long *arg3 = (long *) 0 ;
10928 long *arg4 = (long *) 0 ;
10929 long temp3 ;
10930 int res3 = 0 ;
10931 long temp4 ;
10932 int res4 = 0 ;
10933 PyObject * obj0 = 0 ;
10934 PyObject * obj1 = 0 ;
10935 char *kwnames[] = {
10936 (char *) "self",(char *) "pos", NULL
10937 };
10938
10939 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10940 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
10942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10943 if (SWIG_arg_fail(1)) SWIG_fail;
10944 {
10945 arg2 = (long)(SWIG_As_long(obj1));
10946 if (SWIG_arg_fail(2)) SWIG_fail;
10947 }
10948 {
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10951
10952 wxPyEndAllowThreads(__tstate);
10953 if (PyErr_Occurred()) SWIG_fail;
10954 }
10955 Py_INCREF(Py_None); resultobj = Py_None;
10956 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10957 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10958 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10959 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10960 return resultobj;
10961 fail:
10962 return NULL;
10963 }
10964
10965
10966 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10967 PyObject *resultobj;
10968 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10969 long arg2 ;
10970 PyObject * obj0 = 0 ;
10971 PyObject * obj1 = 0 ;
10972 char *kwnames[] = {
10973 (char *) "self",(char *) "pos", NULL
10974 };
10975
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
10977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10978 if (SWIG_arg_fail(1)) SWIG_fail;
10979 {
10980 arg2 = (long)(SWIG_As_long(obj1));
10981 if (SWIG_arg_fail(2)) SWIG_fail;
10982 }
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 (arg1)->ShowPosition(arg2);
10986
10987 wxPyEndAllowThreads(__tstate);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 }
10990 Py_INCREF(Py_None); resultobj = Py_None;
10991 return resultobj;
10992 fail:
10993 return NULL;
10994 }
10995
10996
10997 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
10998 PyObject *resultobj;
10999 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11000 wxPoint *arg2 = 0 ;
11001 long *arg3 = (long *) 0 ;
11002 long *arg4 = (long *) 0 ;
11003 wxTextCtrlHitTestResult result;
11004 wxPoint temp2 ;
11005 long temp3 ;
11006 int res3 = 0 ;
11007 long temp4 ;
11008 int res4 = 0 ;
11009 PyObject * obj0 = 0 ;
11010 PyObject * obj1 = 0 ;
11011 char *kwnames[] = {
11012 (char *) "self",(char *) "pt", NULL
11013 };
11014
11015 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11016 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
11018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11019 if (SWIG_arg_fail(1)) SWIG_fail;
11020 {
11021 arg2 = &temp2;
11022 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11023 }
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 resultobj = SWIG_From_int((result));
11032 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11033 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11034 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11035 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
11036 return resultobj;
11037 fail:
11038 return NULL;
11039 }
11040
11041
11042 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj;
11044 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11045 wxPoint *arg2 = 0 ;
11046 long *arg3 = (long *) 0 ;
11047 wxTextCtrlHitTestResult result;
11048 wxPoint temp2 ;
11049 long temp3 ;
11050 int res3 = 0 ;
11051 PyObject * obj0 = 0 ;
11052 PyObject * obj1 = 0 ;
11053 char *kwnames[] = {
11054 (char *) "self",(char *) "pt", NULL
11055 };
11056
11057 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
11059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11060 if (SWIG_arg_fail(1)) SWIG_fail;
11061 {
11062 arg2 = &temp2;
11063 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11064 }
11065 {
11066 PyThreadState* __tstate = wxPyBeginAllowThreads();
11067 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11068
11069 wxPyEndAllowThreads(__tstate);
11070 if (PyErr_Occurred()) SWIG_fail;
11071 }
11072 resultobj = SWIG_From_int((result));
11073 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11074 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11075 return resultobj;
11076 fail:
11077 return NULL;
11078 }
11079
11080
11081 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11082 PyObject *resultobj;
11083 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11084 PyObject * obj0 = 0 ;
11085 char *kwnames[] = {
11086 (char *) "self", NULL
11087 };
11088
11089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",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 (arg1)->Copy();
11095
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 Py_INCREF(Py_None); resultobj = Py_None;
11100 return resultobj;
11101 fail:
11102 return NULL;
11103 }
11104
11105
11106 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11107 PyObject *resultobj;
11108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11109 PyObject * obj0 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "self", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11116 if (SWIG_arg_fail(1)) SWIG_fail;
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 (arg1)->Cut();
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 Py_INCREF(Py_None); resultobj = Py_None;
11125 return resultobj;
11126 fail:
11127 return NULL;
11128 }
11129
11130
11131 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj;
11133 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11134 PyObject * obj0 = 0 ;
11135 char *kwnames[] = {
11136 (char *) "self", NULL
11137 };
11138
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11141 if (SWIG_arg_fail(1)) SWIG_fail;
11142 {
11143 PyThreadState* __tstate = wxPyBeginAllowThreads();
11144 (arg1)->Paste();
11145
11146 wxPyEndAllowThreads(__tstate);
11147 if (PyErr_Occurred()) SWIG_fail;
11148 }
11149 Py_INCREF(Py_None); resultobj = Py_None;
11150 return resultobj;
11151 fail:
11152 return NULL;
11153 }
11154
11155
11156 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11157 PyObject *resultobj;
11158 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11159 bool result;
11160 PyObject * obj0 = 0 ;
11161 char *kwnames[] = {
11162 (char *) "self", NULL
11163 };
11164
11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11167 if (SWIG_arg_fail(1)) SWIG_fail;
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 {
11176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11177 }
11178 return resultobj;
11179 fail:
11180 return NULL;
11181 }
11182
11183
11184 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11185 PyObject *resultobj;
11186 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11187 bool result;
11188 PyObject * obj0 = 0 ;
11189 char *kwnames[] = {
11190 (char *) "self", NULL
11191 };
11192
11193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11195 if (SWIG_arg_fail(1)) SWIG_fail;
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11199
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 {
11204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11205 }
11206 return resultobj;
11207 fail:
11208 return NULL;
11209 }
11210
11211
11212 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11213 PyObject *resultobj;
11214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11215 bool result;
11216 PyObject * obj0 = 0 ;
11217 char *kwnames[] = {
11218 (char *) "self", NULL
11219 };
11220
11221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11223 if (SWIG_arg_fail(1)) SWIG_fail;
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 {
11232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11233 }
11234 return resultobj;
11235 fail:
11236 return NULL;
11237 }
11238
11239
11240 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11241 PyObject *resultobj;
11242 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11243 PyObject * obj0 = 0 ;
11244 char *kwnames[] = {
11245 (char *) "self", NULL
11246 };
11247
11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11250 if (SWIG_arg_fail(1)) SWIG_fail;
11251 {
11252 PyThreadState* __tstate = wxPyBeginAllowThreads();
11253 (arg1)->Undo();
11254
11255 wxPyEndAllowThreads(__tstate);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 }
11258 Py_INCREF(Py_None); resultobj = Py_None;
11259 return resultobj;
11260 fail:
11261 return NULL;
11262 }
11263
11264
11265 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11266 PyObject *resultobj;
11267 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11268 PyObject * obj0 = 0 ;
11269 char *kwnames[] = {
11270 (char *) "self", NULL
11271 };
11272
11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11275 if (SWIG_arg_fail(1)) SWIG_fail;
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 (arg1)->Redo();
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 Py_INCREF(Py_None); resultobj = Py_None;
11284 return resultobj;
11285 fail:
11286 return NULL;
11287 }
11288
11289
11290 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj;
11292 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11293 bool result;
11294 PyObject * obj0 = 0 ;
11295 char *kwnames[] = {
11296 (char *) "self", NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11301 if (SWIG_arg_fail(1)) SWIG_fail;
11302 {
11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
11304 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11305
11306 wxPyEndAllowThreads(__tstate);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 {
11310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11311 }
11312 return resultobj;
11313 fail:
11314 return NULL;
11315 }
11316
11317
11318 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11319 PyObject *resultobj;
11320 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11321 bool result;
11322 PyObject * obj0 = 0 ;
11323 char *kwnames[] = {
11324 (char *) "self", NULL
11325 };
11326
11327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11329 if (SWIG_arg_fail(1)) SWIG_fail;
11330 {
11331 PyThreadState* __tstate = wxPyBeginAllowThreads();
11332 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11333
11334 wxPyEndAllowThreads(__tstate);
11335 if (PyErr_Occurred()) SWIG_fail;
11336 }
11337 {
11338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11339 }
11340 return resultobj;
11341 fail:
11342 return NULL;
11343 }
11344
11345
11346 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11347 PyObject *resultobj;
11348 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11349 long arg2 ;
11350 PyObject * obj0 = 0 ;
11351 PyObject * obj1 = 0 ;
11352 char *kwnames[] = {
11353 (char *) "self",(char *) "pos", NULL
11354 };
11355
11356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11358 if (SWIG_arg_fail(1)) SWIG_fail;
11359 {
11360 arg2 = (long)(SWIG_As_long(obj1));
11361 if (SWIG_arg_fail(2)) SWIG_fail;
11362 }
11363 {
11364 PyThreadState* __tstate = wxPyBeginAllowThreads();
11365 (arg1)->SetInsertionPoint(arg2);
11366
11367 wxPyEndAllowThreads(__tstate);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
11370 Py_INCREF(Py_None); resultobj = Py_None;
11371 return resultobj;
11372 fail:
11373 return NULL;
11374 }
11375
11376
11377 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11378 PyObject *resultobj;
11379 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11380 PyObject * obj0 = 0 ;
11381 char *kwnames[] = {
11382 (char *) "self", NULL
11383 };
11384
11385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11387 if (SWIG_arg_fail(1)) SWIG_fail;
11388 {
11389 PyThreadState* __tstate = wxPyBeginAllowThreads();
11390 (arg1)->SetInsertionPointEnd();
11391
11392 wxPyEndAllowThreads(__tstate);
11393 if (PyErr_Occurred()) SWIG_fail;
11394 }
11395 Py_INCREF(Py_None); resultobj = Py_None;
11396 return resultobj;
11397 fail:
11398 return NULL;
11399 }
11400
11401
11402 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11403 PyObject *resultobj;
11404 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11405 long result;
11406 PyObject * obj0 = 0 ;
11407 char *kwnames[] = {
11408 (char *) "self", NULL
11409 };
11410
11411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11413 if (SWIG_arg_fail(1)) SWIG_fail;
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11417
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 {
11422 resultobj = SWIG_From_long((long)(result));
11423 }
11424 return resultobj;
11425 fail:
11426 return NULL;
11427 }
11428
11429
11430 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11431 PyObject *resultobj;
11432 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11433 long result;
11434 PyObject * obj0 = 0 ;
11435 char *kwnames[] = {
11436 (char *) "self", NULL
11437 };
11438
11439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11441 if (SWIG_arg_fail(1)) SWIG_fail;
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 {
11450 resultobj = SWIG_From_long((long)(result));
11451 }
11452 return resultobj;
11453 fail:
11454 return NULL;
11455 }
11456
11457
11458 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11459 PyObject *resultobj;
11460 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11461 long arg2 ;
11462 long arg3 ;
11463 PyObject * obj0 = 0 ;
11464 PyObject * obj1 = 0 ;
11465 PyObject * obj2 = 0 ;
11466 char *kwnames[] = {
11467 (char *) "self",(char *) "from",(char *) "to", NULL
11468 };
11469
11470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11472 if (SWIG_arg_fail(1)) SWIG_fail;
11473 {
11474 arg2 = (long)(SWIG_As_long(obj1));
11475 if (SWIG_arg_fail(2)) SWIG_fail;
11476 }
11477 {
11478 arg3 = (long)(SWIG_As_long(obj2));
11479 if (SWIG_arg_fail(3)) SWIG_fail;
11480 }
11481 {
11482 PyThreadState* __tstate = wxPyBeginAllowThreads();
11483 (arg1)->SetSelection(arg2,arg3);
11484
11485 wxPyEndAllowThreads(__tstate);
11486 if (PyErr_Occurred()) SWIG_fail;
11487 }
11488 Py_INCREF(Py_None); resultobj = Py_None;
11489 return resultobj;
11490 fail:
11491 return NULL;
11492 }
11493
11494
11495 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11496 PyObject *resultobj;
11497 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11498 PyObject * obj0 = 0 ;
11499 char *kwnames[] = {
11500 (char *) "self", NULL
11501 };
11502
11503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11505 if (SWIG_arg_fail(1)) SWIG_fail;
11506 {
11507 PyThreadState* __tstate = wxPyBeginAllowThreads();
11508 (arg1)->SelectAll();
11509
11510 wxPyEndAllowThreads(__tstate);
11511 if (PyErr_Occurred()) SWIG_fail;
11512 }
11513 Py_INCREF(Py_None); resultobj = Py_None;
11514 return resultobj;
11515 fail:
11516 return NULL;
11517 }
11518
11519
11520 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11521 PyObject *resultobj;
11522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11523 bool arg2 ;
11524 PyObject * obj0 = 0 ;
11525 PyObject * obj1 = 0 ;
11526 char *kwnames[] = {
11527 (char *) "self",(char *) "editable", NULL
11528 };
11529
11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11532 if (SWIG_arg_fail(1)) SWIG_fail;
11533 {
11534 arg2 = (bool)(SWIG_As_bool(obj1));
11535 if (SWIG_arg_fail(2)) SWIG_fail;
11536 }
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 (arg1)->SetEditable(arg2);
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 Py_INCREF(Py_None); resultobj = Py_None;
11545 return resultobj;
11546 fail:
11547 return NULL;
11548 }
11549
11550
11551 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11552 PyObject *resultobj;
11553 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11554 wxString *arg2 = 0 ;
11555 bool temp2 = false ;
11556 PyObject * obj0 = 0 ;
11557 PyObject * obj1 = 0 ;
11558 char *kwnames[] = {
11559 (char *) "self",(char *) "text", NULL
11560 };
11561
11562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11564 if (SWIG_arg_fail(1)) SWIG_fail;
11565 {
11566 arg2 = wxString_in_helper(obj1);
11567 if (arg2 == NULL) SWIG_fail;
11568 temp2 = true;
11569 }
11570 {
11571 PyThreadState* __tstate = wxPyBeginAllowThreads();
11572 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11573
11574 wxPyEndAllowThreads(__tstate);
11575 if (PyErr_Occurred()) SWIG_fail;
11576 }
11577 Py_INCREF(Py_None); resultobj = Py_None;
11578 {
11579 if (temp2)
11580 delete arg2;
11581 }
11582 return resultobj;
11583 fail:
11584 {
11585 if (temp2)
11586 delete arg2;
11587 }
11588 return NULL;
11589 }
11590
11591
11592 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11593 PyObject *resultobj;
11594 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11595 long arg2 ;
11596 long arg3 ;
11597 wxString result;
11598 PyObject * obj0 = 0 ;
11599 PyObject * obj1 = 0 ;
11600 PyObject * obj2 = 0 ;
11601 char *kwnames[] = {
11602 (char *) "self",(char *) "from",(char *) "to", NULL
11603 };
11604
11605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11607 if (SWIG_arg_fail(1)) SWIG_fail;
11608 {
11609 arg2 = (long)(SWIG_As_long(obj1));
11610 if (SWIG_arg_fail(2)) SWIG_fail;
11611 }
11612 {
11613 arg3 = (long)(SWIG_As_long(obj2));
11614 if (SWIG_arg_fail(3)) SWIG_fail;
11615 }
11616 {
11617 PyThreadState* __tstate = wxPyBeginAllowThreads();
11618 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11619
11620 wxPyEndAllowThreads(__tstate);
11621 if (PyErr_Occurred()) SWIG_fail;
11622 }
11623 {
11624 #if wxUSE_UNICODE
11625 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11626 #else
11627 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11628 #endif
11629 }
11630 return resultobj;
11631 fail:
11632 return NULL;
11633 }
11634
11635
11636 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11637 PyObject *resultobj;
11638 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11639 wxVisualAttributes result;
11640 PyObject * obj0 = 0 ;
11641 char *kwnames[] = {
11642 (char *) "variant", NULL
11643 };
11644
11645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11646 if (obj0) {
11647 {
11648 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11649 if (SWIG_arg_fail(1)) SWIG_fail;
11650 }
11651 }
11652 {
11653 if (!wxPyCheckForApp()) SWIG_fail;
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 {
11661 wxVisualAttributes * resultptr;
11662 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
11663 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11664 }
11665 return resultobj;
11666 fail:
11667 return NULL;
11668 }
11669
11670
11671 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11672 PyObject *obj;
11673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11674 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11675 Py_INCREF(obj);
11676 return Py_BuildValue((char *)"");
11677 }
11678 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 int arg1 ;
11681 wxMouseEvent *arg2 = 0 ;
11682 long arg3 ;
11683 long arg4 ;
11684 wxTextUrlEvent *result;
11685 PyObject * obj0 = 0 ;
11686 PyObject * obj1 = 0 ;
11687 PyObject * obj2 = 0 ;
11688 PyObject * obj3 = 0 ;
11689 char *kwnames[] = {
11690 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11694 {
11695 arg1 = (int)(SWIG_As_int(obj0));
11696 if (SWIG_arg_fail(1)) SWIG_fail;
11697 }
11698 {
11699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11700 if (SWIG_arg_fail(2)) SWIG_fail;
11701 if (arg2 == NULL) {
11702 SWIG_null_ref("wxMouseEvent");
11703 }
11704 if (SWIG_arg_fail(2)) SWIG_fail;
11705 }
11706 {
11707 arg3 = (long)(SWIG_As_long(obj2));
11708 if (SWIG_arg_fail(3)) SWIG_fail;
11709 }
11710 {
11711 arg4 = (long)(SWIG_As_long(obj3));
11712 if (SWIG_arg_fail(4)) SWIG_fail;
11713 }
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11717
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) SWIG_fail;
11720 }
11721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11722 return resultobj;
11723 fail:
11724 return NULL;
11725 }
11726
11727
11728 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11729 PyObject *resultobj;
11730 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11731 wxMouseEvent *result;
11732 PyObject * obj0 = 0 ;
11733 char *kwnames[] = {
11734 (char *) "self", NULL
11735 };
11736
11737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11739 if (SWIG_arg_fail(1)) SWIG_fail;
11740 {
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
11742 {
11743 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11744 result = (wxMouseEvent *) &_result_ref;
11745 }
11746
11747 wxPyEndAllowThreads(__tstate);
11748 if (PyErr_Occurred()) SWIG_fail;
11749 }
11750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11751 return resultobj;
11752 fail:
11753 return NULL;
11754 }
11755
11756
11757 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11758 PyObject *resultobj;
11759 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11760 long result;
11761 PyObject * obj0 = 0 ;
11762 char *kwnames[] = {
11763 (char *) "self", NULL
11764 };
11765
11766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11768 if (SWIG_arg_fail(1)) SWIG_fail;
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 {
11777 resultobj = SWIG_From_long((long)(result));
11778 }
11779 return resultobj;
11780 fail:
11781 return NULL;
11782 }
11783
11784
11785 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11786 PyObject *resultobj;
11787 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11788 long result;
11789 PyObject * obj0 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "self", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11796 if (SWIG_arg_fail(1)) SWIG_fail;
11797 {
11798 PyThreadState* __tstate = wxPyBeginAllowThreads();
11799 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11800
11801 wxPyEndAllowThreads(__tstate);
11802 if (PyErr_Occurred()) SWIG_fail;
11803 }
11804 {
11805 resultobj = SWIG_From_long((long)(result));
11806 }
11807 return resultobj;
11808 fail:
11809 return NULL;
11810 }
11811
11812
11813 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11814 PyObject *obj;
11815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11816 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11817 Py_INCREF(obj);
11818 return Py_BuildValue((char *)"");
11819 }
11820 static int _wrap_ScrollBarNameStr_set(PyObject *) {
11821 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11822 return 1;
11823 }
11824
11825
11826 static PyObject *_wrap_ScrollBarNameStr_get(void) {
11827 PyObject *pyobj;
11828
11829 {
11830 #if wxUSE_UNICODE
11831 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11832 #else
11833 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11834 #endif
11835 }
11836 return pyobj;
11837 }
11838
11839
11840 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11841 PyObject *resultobj;
11842 wxWindow *arg1 = (wxWindow *) 0 ;
11843 int arg2 = (int) -1 ;
11844 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11845 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11846 wxSize const &arg4_defvalue = wxDefaultSize ;
11847 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11848 long arg5 = (long) wxSB_HORIZONTAL ;
11849 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11850 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11851 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11852 wxString *arg7 = (wxString *) &arg7_defvalue ;
11853 wxScrollBar *result;
11854 wxPoint temp3 ;
11855 wxSize temp4 ;
11856 bool temp7 = false ;
11857 PyObject * obj0 = 0 ;
11858 PyObject * obj1 = 0 ;
11859 PyObject * obj2 = 0 ;
11860 PyObject * obj3 = 0 ;
11861 PyObject * obj4 = 0 ;
11862 PyObject * obj5 = 0 ;
11863 PyObject * obj6 = 0 ;
11864 char *kwnames[] = {
11865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11866 };
11867
11868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11870 if (SWIG_arg_fail(1)) SWIG_fail;
11871 if (obj1) {
11872 {
11873 arg2 = (int)(SWIG_As_int(obj1));
11874 if (SWIG_arg_fail(2)) SWIG_fail;
11875 }
11876 }
11877 if (obj2) {
11878 {
11879 arg3 = &temp3;
11880 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11881 }
11882 }
11883 if (obj3) {
11884 {
11885 arg4 = &temp4;
11886 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11887 }
11888 }
11889 if (obj4) {
11890 {
11891 arg5 = (long)(SWIG_As_long(obj4));
11892 if (SWIG_arg_fail(5)) SWIG_fail;
11893 }
11894 }
11895 if (obj5) {
11896 {
11897 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11898 if (SWIG_arg_fail(6)) SWIG_fail;
11899 if (arg6 == NULL) {
11900 SWIG_null_ref("wxValidator");
11901 }
11902 if (SWIG_arg_fail(6)) SWIG_fail;
11903 }
11904 }
11905 if (obj6) {
11906 {
11907 arg7 = wxString_in_helper(obj6);
11908 if (arg7 == NULL) SWIG_fail;
11909 temp7 = true;
11910 }
11911 }
11912 {
11913 if (!wxPyCheckForApp()) SWIG_fail;
11914 PyThreadState* __tstate = wxPyBeginAllowThreads();
11915 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11916
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11921 {
11922 if (temp7)
11923 delete arg7;
11924 }
11925 return resultobj;
11926 fail:
11927 {
11928 if (temp7)
11929 delete arg7;
11930 }
11931 return NULL;
11932 }
11933
11934
11935 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11936 PyObject *resultobj;
11937 wxScrollBar *result;
11938 char *kwnames[] = {
11939 NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11943 {
11944 if (!wxPyCheckForApp()) SWIG_fail;
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 result = (wxScrollBar *)new wxScrollBar();
11947
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11952 return resultobj;
11953 fail:
11954 return NULL;
11955 }
11956
11957
11958 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11959 PyObject *resultobj;
11960 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11961 wxWindow *arg2 = (wxWindow *) 0 ;
11962 int arg3 = (int) -1 ;
11963 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11964 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11965 wxSize const &arg5_defvalue = wxDefaultSize ;
11966 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11967 long arg6 = (long) wxSB_HORIZONTAL ;
11968 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11969 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11970 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11971 wxString *arg8 = (wxString *) &arg8_defvalue ;
11972 bool result;
11973 wxPoint temp4 ;
11974 wxSize temp5 ;
11975 bool temp8 = false ;
11976 PyObject * obj0 = 0 ;
11977 PyObject * obj1 = 0 ;
11978 PyObject * obj2 = 0 ;
11979 PyObject * obj3 = 0 ;
11980 PyObject * obj4 = 0 ;
11981 PyObject * obj5 = 0 ;
11982 PyObject * obj6 = 0 ;
11983 PyObject * obj7 = 0 ;
11984 char *kwnames[] = {
11985 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11986 };
11987
11988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11990 if (SWIG_arg_fail(1)) SWIG_fail;
11991 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11992 if (SWIG_arg_fail(2)) SWIG_fail;
11993 if (obj2) {
11994 {
11995 arg3 = (int)(SWIG_As_int(obj2));
11996 if (SWIG_arg_fail(3)) SWIG_fail;
11997 }
11998 }
11999 if (obj3) {
12000 {
12001 arg4 = &temp4;
12002 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12003 }
12004 }
12005 if (obj4) {
12006 {
12007 arg5 = &temp5;
12008 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12009 }
12010 }
12011 if (obj5) {
12012 {
12013 arg6 = (long)(SWIG_As_long(obj5));
12014 if (SWIG_arg_fail(6)) SWIG_fail;
12015 }
12016 }
12017 if (obj6) {
12018 {
12019 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12020 if (SWIG_arg_fail(7)) SWIG_fail;
12021 if (arg7 == NULL) {
12022 SWIG_null_ref("wxValidator");
12023 }
12024 if (SWIG_arg_fail(7)) SWIG_fail;
12025 }
12026 }
12027 if (obj7) {
12028 {
12029 arg8 = wxString_in_helper(obj7);
12030 if (arg8 == NULL) SWIG_fail;
12031 temp8 = true;
12032 }
12033 }
12034 {
12035 PyThreadState* __tstate = wxPyBeginAllowThreads();
12036 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12037
12038 wxPyEndAllowThreads(__tstate);
12039 if (PyErr_Occurred()) SWIG_fail;
12040 }
12041 {
12042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12043 }
12044 {
12045 if (temp8)
12046 delete arg8;
12047 }
12048 return resultobj;
12049 fail:
12050 {
12051 if (temp8)
12052 delete arg8;
12053 }
12054 return NULL;
12055 }
12056
12057
12058 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12059 PyObject *resultobj;
12060 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12061 int result;
12062 PyObject * obj0 = 0 ;
12063 char *kwnames[] = {
12064 (char *) "self", NULL
12065 };
12066
12067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12069 if (SWIG_arg_fail(1)) SWIG_fail;
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12073
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 {
12078 resultobj = SWIG_From_int((int)(result));
12079 }
12080 return resultobj;
12081 fail:
12082 return NULL;
12083 }
12084
12085
12086 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12087 PyObject *resultobj;
12088 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12089 int result;
12090 PyObject * obj0 = 0 ;
12091 char *kwnames[] = {
12092 (char *) "self", NULL
12093 };
12094
12095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12097 if (SWIG_arg_fail(1)) SWIG_fail;
12098 {
12099 PyThreadState* __tstate = wxPyBeginAllowThreads();
12100 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12101
12102 wxPyEndAllowThreads(__tstate);
12103 if (PyErr_Occurred()) SWIG_fail;
12104 }
12105 {
12106 resultobj = SWIG_From_int((int)(result));
12107 }
12108 return resultobj;
12109 fail:
12110 return NULL;
12111 }
12112
12113
12114 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12115 PyObject *resultobj;
12116 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12117 int result;
12118 PyObject * obj0 = 0 ;
12119 char *kwnames[] = {
12120 (char *) "self", NULL
12121 };
12122
12123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12125 if (SWIG_arg_fail(1)) SWIG_fail;
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 {
12134 resultobj = SWIG_From_int((int)(result));
12135 }
12136 return resultobj;
12137 fail:
12138 return NULL;
12139 }
12140
12141
12142 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12143 PyObject *resultobj;
12144 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12145 int result;
12146 PyObject * obj0 = 0 ;
12147 char *kwnames[] = {
12148 (char *) "self", NULL
12149 };
12150
12151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12153 if (SWIG_arg_fail(1)) SWIG_fail;
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 result = (int)((wxScrollBar const *)arg1)->GetRange();
12157
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 {
12162 resultobj = SWIG_From_int((int)(result));
12163 }
12164 return resultobj;
12165 fail:
12166 return NULL;
12167 }
12168
12169
12170 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12171 PyObject *resultobj;
12172 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12173 bool result;
12174 PyObject * obj0 = 0 ;
12175 char *kwnames[] = {
12176 (char *) "self", NULL
12177 };
12178
12179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12181 if (SWIG_arg_fail(1)) SWIG_fail;
12182 {
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12185
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 {
12190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12191 }
12192 return resultobj;
12193 fail:
12194 return NULL;
12195 }
12196
12197
12198 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12199 PyObject *resultobj;
12200 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12201 int arg2 ;
12202 PyObject * obj0 = 0 ;
12203 PyObject * obj1 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self",(char *) "viewStart", NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12210 if (SWIG_arg_fail(1)) SWIG_fail;
12211 {
12212 arg2 = (int)(SWIG_As_int(obj1));
12213 if (SWIG_arg_fail(2)) SWIG_fail;
12214 }
12215 {
12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
12217 (arg1)->SetThumbPosition(arg2);
12218
12219 wxPyEndAllowThreads(__tstate);
12220 if (PyErr_Occurred()) SWIG_fail;
12221 }
12222 Py_INCREF(Py_None); resultobj = Py_None;
12223 return resultobj;
12224 fail:
12225 return NULL;
12226 }
12227
12228
12229 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12230 PyObject *resultobj;
12231 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12232 int arg2 ;
12233 int arg3 ;
12234 int arg4 ;
12235 int arg5 ;
12236 bool arg6 = (bool) true ;
12237 PyObject * obj0 = 0 ;
12238 PyObject * obj1 = 0 ;
12239 PyObject * obj2 = 0 ;
12240 PyObject * obj3 = 0 ;
12241 PyObject * obj4 = 0 ;
12242 PyObject * obj5 = 0 ;
12243 char *kwnames[] = {
12244 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12245 };
12246
12247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12249 if (SWIG_arg_fail(1)) SWIG_fail;
12250 {
12251 arg2 = (int)(SWIG_As_int(obj1));
12252 if (SWIG_arg_fail(2)) SWIG_fail;
12253 }
12254 {
12255 arg3 = (int)(SWIG_As_int(obj2));
12256 if (SWIG_arg_fail(3)) SWIG_fail;
12257 }
12258 {
12259 arg4 = (int)(SWIG_As_int(obj3));
12260 if (SWIG_arg_fail(4)) SWIG_fail;
12261 }
12262 {
12263 arg5 = (int)(SWIG_As_int(obj4));
12264 if (SWIG_arg_fail(5)) SWIG_fail;
12265 }
12266 if (obj5) {
12267 {
12268 arg6 = (bool)(SWIG_As_bool(obj5));
12269 if (SWIG_arg_fail(6)) SWIG_fail;
12270 }
12271 }
12272 {
12273 PyThreadState* __tstate = wxPyBeginAllowThreads();
12274 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12275
12276 wxPyEndAllowThreads(__tstate);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 }
12279 Py_INCREF(Py_None); resultobj = Py_None;
12280 return resultobj;
12281 fail:
12282 return NULL;
12283 }
12284
12285
12286 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12287 PyObject *resultobj;
12288 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12289 wxVisualAttributes result;
12290 PyObject * obj0 = 0 ;
12291 char *kwnames[] = {
12292 (char *) "variant", NULL
12293 };
12294
12295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12296 if (obj0) {
12297 {
12298 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12299 if (SWIG_arg_fail(1)) SWIG_fail;
12300 }
12301 }
12302 {
12303 if (!wxPyCheckForApp()) SWIG_fail;
12304 PyThreadState* __tstate = wxPyBeginAllowThreads();
12305 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12306
12307 wxPyEndAllowThreads(__tstate);
12308 if (PyErr_Occurred()) SWIG_fail;
12309 }
12310 {
12311 wxVisualAttributes * resultptr;
12312 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12313 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12314 }
12315 return resultobj;
12316 fail:
12317 return NULL;
12318 }
12319
12320
12321 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12322 PyObject *obj;
12323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12324 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12325 Py_INCREF(obj);
12326 return Py_BuildValue((char *)"");
12327 }
12328 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12329 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12330 return 1;
12331 }
12332
12333
12334 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12335 PyObject *pyobj;
12336
12337 {
12338 #if wxUSE_UNICODE
12339 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12340 #else
12341 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12342 #endif
12343 }
12344 return pyobj;
12345 }
12346
12347
12348 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12349 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12350 return 1;
12351 }
12352
12353
12354 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12355 PyObject *pyobj;
12356
12357 {
12358 #if wxUSE_UNICODE
12359 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12360 #else
12361 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12362 #endif
12363 }
12364 return pyobj;
12365 }
12366
12367
12368 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12369 PyObject *resultobj;
12370 wxWindow *arg1 = (wxWindow *) 0 ;
12371 int arg2 = (int) -1 ;
12372 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12373 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12374 wxSize const &arg4_defvalue = wxDefaultSize ;
12375 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12376 long arg5 = (long) wxSP_HORIZONTAL ;
12377 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12378 wxString *arg6 = (wxString *) &arg6_defvalue ;
12379 wxSpinButton *result;
12380 wxPoint temp3 ;
12381 wxSize temp4 ;
12382 bool temp6 = false ;
12383 PyObject * obj0 = 0 ;
12384 PyObject * obj1 = 0 ;
12385 PyObject * obj2 = 0 ;
12386 PyObject * obj3 = 0 ;
12387 PyObject * obj4 = 0 ;
12388 PyObject * obj5 = 0 ;
12389 char *kwnames[] = {
12390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12391 };
12392
12393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12395 if (SWIG_arg_fail(1)) SWIG_fail;
12396 if (obj1) {
12397 {
12398 arg2 = (int)(SWIG_As_int(obj1));
12399 if (SWIG_arg_fail(2)) SWIG_fail;
12400 }
12401 }
12402 if (obj2) {
12403 {
12404 arg3 = &temp3;
12405 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12406 }
12407 }
12408 if (obj3) {
12409 {
12410 arg4 = &temp4;
12411 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12412 }
12413 }
12414 if (obj4) {
12415 {
12416 arg5 = (long)(SWIG_As_long(obj4));
12417 if (SWIG_arg_fail(5)) SWIG_fail;
12418 }
12419 }
12420 if (obj5) {
12421 {
12422 arg6 = wxString_in_helper(obj5);
12423 if (arg6 == NULL) SWIG_fail;
12424 temp6 = true;
12425 }
12426 }
12427 {
12428 if (!wxPyCheckForApp()) SWIG_fail;
12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
12430 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12431
12432 wxPyEndAllowThreads(__tstate);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 }
12435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12436 {
12437 if (temp6)
12438 delete arg6;
12439 }
12440 return resultobj;
12441 fail:
12442 {
12443 if (temp6)
12444 delete arg6;
12445 }
12446 return NULL;
12447 }
12448
12449
12450 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12451 PyObject *resultobj;
12452 wxSpinButton *result;
12453 char *kwnames[] = {
12454 NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12458 {
12459 if (!wxPyCheckForApp()) SWIG_fail;
12460 PyThreadState* __tstate = wxPyBeginAllowThreads();
12461 result = (wxSpinButton *)new wxSpinButton();
12462
12463 wxPyEndAllowThreads(__tstate);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 }
12466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12467 return resultobj;
12468 fail:
12469 return NULL;
12470 }
12471
12472
12473 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12474 PyObject *resultobj;
12475 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12476 wxWindow *arg2 = (wxWindow *) 0 ;
12477 int arg3 = (int) -1 ;
12478 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12479 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12480 wxSize const &arg5_defvalue = wxDefaultSize ;
12481 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12482 long arg6 = (long) wxSP_HORIZONTAL ;
12483 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12484 wxString *arg7 = (wxString *) &arg7_defvalue ;
12485 bool result;
12486 wxPoint temp4 ;
12487 wxSize temp5 ;
12488 bool temp7 = false ;
12489 PyObject * obj0 = 0 ;
12490 PyObject * obj1 = 0 ;
12491 PyObject * obj2 = 0 ;
12492 PyObject * obj3 = 0 ;
12493 PyObject * obj4 = 0 ;
12494 PyObject * obj5 = 0 ;
12495 PyObject * obj6 = 0 ;
12496 char *kwnames[] = {
12497 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12498 };
12499
12500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12502 if (SWIG_arg_fail(1)) SWIG_fail;
12503 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12504 if (SWIG_arg_fail(2)) SWIG_fail;
12505 if (obj2) {
12506 {
12507 arg3 = (int)(SWIG_As_int(obj2));
12508 if (SWIG_arg_fail(3)) SWIG_fail;
12509 }
12510 }
12511 if (obj3) {
12512 {
12513 arg4 = &temp4;
12514 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12515 }
12516 }
12517 if (obj4) {
12518 {
12519 arg5 = &temp5;
12520 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12521 }
12522 }
12523 if (obj5) {
12524 {
12525 arg6 = (long)(SWIG_As_long(obj5));
12526 if (SWIG_arg_fail(6)) SWIG_fail;
12527 }
12528 }
12529 if (obj6) {
12530 {
12531 arg7 = wxString_in_helper(obj6);
12532 if (arg7 == NULL) SWIG_fail;
12533 temp7 = true;
12534 }
12535 }
12536 {
12537 PyThreadState* __tstate = wxPyBeginAllowThreads();
12538 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12539
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 {
12544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12545 }
12546 {
12547 if (temp7)
12548 delete arg7;
12549 }
12550 return resultobj;
12551 fail:
12552 {
12553 if (temp7)
12554 delete arg7;
12555 }
12556 return NULL;
12557 }
12558
12559
12560 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12561 PyObject *resultobj;
12562 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12563 int result;
12564 PyObject * obj0 = 0 ;
12565 char *kwnames[] = {
12566 (char *) "self", NULL
12567 };
12568
12569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12571 if (SWIG_arg_fail(1)) SWIG_fail;
12572 {
12573 PyThreadState* __tstate = wxPyBeginAllowThreads();
12574 result = (int)((wxSpinButton const *)arg1)->GetValue();
12575
12576 wxPyEndAllowThreads(__tstate);
12577 if (PyErr_Occurred()) SWIG_fail;
12578 }
12579 {
12580 resultobj = SWIG_From_int((int)(result));
12581 }
12582 return resultobj;
12583 fail:
12584 return NULL;
12585 }
12586
12587
12588 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12589 PyObject *resultobj;
12590 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12591 int result;
12592 PyObject * obj0 = 0 ;
12593 char *kwnames[] = {
12594 (char *) "self", NULL
12595 };
12596
12597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12599 if (SWIG_arg_fail(1)) SWIG_fail;
12600 {
12601 PyThreadState* __tstate = wxPyBeginAllowThreads();
12602 result = (int)((wxSpinButton const *)arg1)->GetMin();
12603
12604 wxPyEndAllowThreads(__tstate);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 }
12607 {
12608 resultobj = SWIG_From_int((int)(result));
12609 }
12610 return resultobj;
12611 fail:
12612 return NULL;
12613 }
12614
12615
12616 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12617 PyObject *resultobj;
12618 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12619 int result;
12620 PyObject * obj0 = 0 ;
12621 char *kwnames[] = {
12622 (char *) "self", NULL
12623 };
12624
12625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12627 if (SWIG_arg_fail(1)) SWIG_fail;
12628 {
12629 PyThreadState* __tstate = wxPyBeginAllowThreads();
12630 result = (int)((wxSpinButton const *)arg1)->GetMax();
12631
12632 wxPyEndAllowThreads(__tstate);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 }
12635 {
12636 resultobj = SWIG_From_int((int)(result));
12637 }
12638 return resultobj;
12639 fail:
12640 return NULL;
12641 }
12642
12643
12644 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12645 PyObject *resultobj;
12646 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12647 int arg2 ;
12648 PyObject * obj0 = 0 ;
12649 PyObject * obj1 = 0 ;
12650 char *kwnames[] = {
12651 (char *) "self",(char *) "val", NULL
12652 };
12653
12654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12656 if (SWIG_arg_fail(1)) SWIG_fail;
12657 {
12658 arg2 = (int)(SWIG_As_int(obj1));
12659 if (SWIG_arg_fail(2)) SWIG_fail;
12660 }
12661 {
12662 PyThreadState* __tstate = wxPyBeginAllowThreads();
12663 (arg1)->SetValue(arg2);
12664
12665 wxPyEndAllowThreads(__tstate);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
12668 Py_INCREF(Py_None); resultobj = Py_None;
12669 return resultobj;
12670 fail:
12671 return NULL;
12672 }
12673
12674
12675 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12676 PyObject *resultobj;
12677 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12678 int arg2 ;
12679 PyObject * obj0 = 0 ;
12680 PyObject * obj1 = 0 ;
12681 char *kwnames[] = {
12682 (char *) "self",(char *) "minVal", NULL
12683 };
12684
12685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12687 if (SWIG_arg_fail(1)) SWIG_fail;
12688 {
12689 arg2 = (int)(SWIG_As_int(obj1));
12690 if (SWIG_arg_fail(2)) SWIG_fail;
12691 }
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 (arg1)->SetMin(arg2);
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 Py_INCREF(Py_None); resultobj = Py_None;
12700 return resultobj;
12701 fail:
12702 return NULL;
12703 }
12704
12705
12706 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12707 PyObject *resultobj;
12708 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12709 int arg2 ;
12710 PyObject * obj0 = 0 ;
12711 PyObject * obj1 = 0 ;
12712 char *kwnames[] = {
12713 (char *) "self",(char *) "maxVal", NULL
12714 };
12715
12716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12718 if (SWIG_arg_fail(1)) SWIG_fail;
12719 {
12720 arg2 = (int)(SWIG_As_int(obj1));
12721 if (SWIG_arg_fail(2)) SWIG_fail;
12722 }
12723 {
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 (arg1)->SetMax(arg2);
12726
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 Py_INCREF(Py_None); resultobj = Py_None;
12731 return resultobj;
12732 fail:
12733 return NULL;
12734 }
12735
12736
12737 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12738 PyObject *resultobj;
12739 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12740 int arg2 ;
12741 int arg3 ;
12742 PyObject * obj0 = 0 ;
12743 PyObject * obj1 = 0 ;
12744 PyObject * obj2 = 0 ;
12745 char *kwnames[] = {
12746 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12747 };
12748
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail;
12752 {
12753 arg2 = (int)(SWIG_As_int(obj1));
12754 if (SWIG_arg_fail(2)) SWIG_fail;
12755 }
12756 {
12757 arg3 = (int)(SWIG_As_int(obj2));
12758 if (SWIG_arg_fail(3)) SWIG_fail;
12759 }
12760 {
12761 PyThreadState* __tstate = wxPyBeginAllowThreads();
12762 (arg1)->SetRange(arg2,arg3);
12763
12764 wxPyEndAllowThreads(__tstate);
12765 if (PyErr_Occurred()) SWIG_fail;
12766 }
12767 Py_INCREF(Py_None); resultobj = Py_None;
12768 return resultobj;
12769 fail:
12770 return NULL;
12771 }
12772
12773
12774 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12775 PyObject *resultobj;
12776 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12777 bool result;
12778 PyObject * obj0 = 0 ;
12779 char *kwnames[] = {
12780 (char *) "self", NULL
12781 };
12782
12783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12785 if (SWIG_arg_fail(1)) SWIG_fail;
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 {
12794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12795 }
12796 return resultobj;
12797 fail:
12798 return NULL;
12799 }
12800
12801
12802 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12803 PyObject *resultobj;
12804 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12805 wxVisualAttributes result;
12806 PyObject * obj0 = 0 ;
12807 char *kwnames[] = {
12808 (char *) "variant", NULL
12809 };
12810
12811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12812 if (obj0) {
12813 {
12814 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12815 if (SWIG_arg_fail(1)) SWIG_fail;
12816 }
12817 }
12818 {
12819 if (!wxPyCheckForApp()) SWIG_fail;
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12822
12823 wxPyEndAllowThreads(__tstate);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 }
12826 {
12827 wxVisualAttributes * resultptr;
12828 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12829 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12830 }
12831 return resultobj;
12832 fail:
12833 return NULL;
12834 }
12835
12836
12837 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12838 PyObject *obj;
12839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12840 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12841 Py_INCREF(obj);
12842 return Py_BuildValue((char *)"");
12843 }
12844 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12845 PyObject *resultobj;
12846 wxWindow *arg1 = (wxWindow *) 0 ;
12847 int arg2 = (int) -1 ;
12848 wxString const &arg3_defvalue = wxPyEmptyString ;
12849 wxString *arg3 = (wxString *) &arg3_defvalue ;
12850 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12851 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12852 wxSize const &arg5_defvalue = wxDefaultSize ;
12853 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12854 long arg6 = (long) wxSP_ARROW_KEYS ;
12855 int arg7 = (int) 0 ;
12856 int arg8 = (int) 100 ;
12857 int arg9 = (int) 0 ;
12858 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12859 wxString *arg10 = (wxString *) &arg10_defvalue ;
12860 wxSpinCtrl *result;
12861 bool temp3 = false ;
12862 wxPoint temp4 ;
12863 wxSize temp5 ;
12864 bool temp10 = false ;
12865 PyObject * obj0 = 0 ;
12866 PyObject * obj1 = 0 ;
12867 PyObject * obj2 = 0 ;
12868 PyObject * obj3 = 0 ;
12869 PyObject * obj4 = 0 ;
12870 PyObject * obj5 = 0 ;
12871 PyObject * obj6 = 0 ;
12872 PyObject * obj7 = 0 ;
12873 PyObject * obj8 = 0 ;
12874 PyObject * obj9 = 0 ;
12875 char *kwnames[] = {
12876 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12877 };
12878
12879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12881 if (SWIG_arg_fail(1)) SWIG_fail;
12882 if (obj1) {
12883 {
12884 arg2 = (int)(SWIG_As_int(obj1));
12885 if (SWIG_arg_fail(2)) SWIG_fail;
12886 }
12887 }
12888 if (obj2) {
12889 {
12890 arg3 = wxString_in_helper(obj2);
12891 if (arg3 == NULL) SWIG_fail;
12892 temp3 = true;
12893 }
12894 }
12895 if (obj3) {
12896 {
12897 arg4 = &temp4;
12898 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12899 }
12900 }
12901 if (obj4) {
12902 {
12903 arg5 = &temp5;
12904 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12905 }
12906 }
12907 if (obj5) {
12908 {
12909 arg6 = (long)(SWIG_As_long(obj5));
12910 if (SWIG_arg_fail(6)) SWIG_fail;
12911 }
12912 }
12913 if (obj6) {
12914 {
12915 arg7 = (int)(SWIG_As_int(obj6));
12916 if (SWIG_arg_fail(7)) SWIG_fail;
12917 }
12918 }
12919 if (obj7) {
12920 {
12921 arg8 = (int)(SWIG_As_int(obj7));
12922 if (SWIG_arg_fail(8)) SWIG_fail;
12923 }
12924 }
12925 if (obj8) {
12926 {
12927 arg9 = (int)(SWIG_As_int(obj8));
12928 if (SWIG_arg_fail(9)) SWIG_fail;
12929 }
12930 }
12931 if (obj9) {
12932 {
12933 arg10 = wxString_in_helper(obj9);
12934 if (arg10 == NULL) SWIG_fail;
12935 temp10 = true;
12936 }
12937 }
12938 {
12939 if (!wxPyCheckForApp()) SWIG_fail;
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12942
12943 wxPyEndAllowThreads(__tstate);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12947 {
12948 if (temp3)
12949 delete arg3;
12950 }
12951 {
12952 if (temp10)
12953 delete arg10;
12954 }
12955 return resultobj;
12956 fail:
12957 {
12958 if (temp3)
12959 delete arg3;
12960 }
12961 {
12962 if (temp10)
12963 delete arg10;
12964 }
12965 return NULL;
12966 }
12967
12968
12969 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj;
12971 wxSpinCtrl *result;
12972 char *kwnames[] = {
12973 NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12977 {
12978 if (!wxPyCheckForApp()) SWIG_fail;
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
12980 result = (wxSpinCtrl *)new wxSpinCtrl();
12981
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12986 return resultobj;
12987 fail:
12988 return NULL;
12989 }
12990
12991
12992 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12995 wxWindow *arg2 = (wxWindow *) 0 ;
12996 int arg3 = (int) -1 ;
12997 wxString const &arg4_defvalue = wxPyEmptyString ;
12998 wxString *arg4 = (wxString *) &arg4_defvalue ;
12999 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13000 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13001 wxSize const &arg6_defvalue = wxDefaultSize ;
13002 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13003 long arg7 = (long) wxSP_ARROW_KEYS ;
13004 int arg8 = (int) 0 ;
13005 int arg9 = (int) 100 ;
13006 int arg10 = (int) 0 ;
13007 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13008 wxString *arg11 = (wxString *) &arg11_defvalue ;
13009 bool result;
13010 bool temp4 = false ;
13011 wxPoint temp5 ;
13012 wxSize temp6 ;
13013 bool temp11 = false ;
13014 PyObject * obj0 = 0 ;
13015 PyObject * obj1 = 0 ;
13016 PyObject * obj2 = 0 ;
13017 PyObject * obj3 = 0 ;
13018 PyObject * obj4 = 0 ;
13019 PyObject * obj5 = 0 ;
13020 PyObject * obj6 = 0 ;
13021 PyObject * obj7 = 0 ;
13022 PyObject * obj8 = 0 ;
13023 PyObject * obj9 = 0 ;
13024 PyObject * obj10 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13031 if (SWIG_arg_fail(1)) SWIG_fail;
13032 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13033 if (SWIG_arg_fail(2)) SWIG_fail;
13034 if (obj2) {
13035 {
13036 arg3 = (int)(SWIG_As_int(obj2));
13037 if (SWIG_arg_fail(3)) SWIG_fail;
13038 }
13039 }
13040 if (obj3) {
13041 {
13042 arg4 = wxString_in_helper(obj3);
13043 if (arg4 == NULL) SWIG_fail;
13044 temp4 = true;
13045 }
13046 }
13047 if (obj4) {
13048 {
13049 arg5 = &temp5;
13050 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13051 }
13052 }
13053 if (obj5) {
13054 {
13055 arg6 = &temp6;
13056 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13057 }
13058 }
13059 if (obj6) {
13060 {
13061 arg7 = (long)(SWIG_As_long(obj6));
13062 if (SWIG_arg_fail(7)) SWIG_fail;
13063 }
13064 }
13065 if (obj7) {
13066 {
13067 arg8 = (int)(SWIG_As_int(obj7));
13068 if (SWIG_arg_fail(8)) SWIG_fail;
13069 }
13070 }
13071 if (obj8) {
13072 {
13073 arg9 = (int)(SWIG_As_int(obj8));
13074 if (SWIG_arg_fail(9)) SWIG_fail;
13075 }
13076 }
13077 if (obj9) {
13078 {
13079 arg10 = (int)(SWIG_As_int(obj9));
13080 if (SWIG_arg_fail(10)) SWIG_fail;
13081 }
13082 }
13083 if (obj10) {
13084 {
13085 arg11 = wxString_in_helper(obj10);
13086 if (arg11 == NULL) SWIG_fail;
13087 temp11 = true;
13088 }
13089 }
13090 {
13091 PyThreadState* __tstate = wxPyBeginAllowThreads();
13092 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13093
13094 wxPyEndAllowThreads(__tstate);
13095 if (PyErr_Occurred()) SWIG_fail;
13096 }
13097 {
13098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13099 }
13100 {
13101 if (temp4)
13102 delete arg4;
13103 }
13104 {
13105 if (temp11)
13106 delete arg11;
13107 }
13108 return resultobj;
13109 fail:
13110 {
13111 if (temp4)
13112 delete arg4;
13113 }
13114 {
13115 if (temp11)
13116 delete arg11;
13117 }
13118 return NULL;
13119 }
13120
13121
13122 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13123 PyObject *resultobj;
13124 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13125 int result;
13126 PyObject * obj0 = 0 ;
13127 char *kwnames[] = {
13128 (char *) "self", NULL
13129 };
13130
13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13133 if (SWIG_arg_fail(1)) SWIG_fail;
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13137
13138 wxPyEndAllowThreads(__tstate);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 {
13142 resultobj = SWIG_From_int((int)(result));
13143 }
13144 return resultobj;
13145 fail:
13146 return NULL;
13147 }
13148
13149
13150 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13151 PyObject *resultobj;
13152 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13153 int arg2 ;
13154 PyObject * obj0 = 0 ;
13155 PyObject * obj1 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self",(char *) "value", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13162 if (SWIG_arg_fail(1)) SWIG_fail;
13163 {
13164 arg2 = (int)(SWIG_As_int(obj1));
13165 if (SWIG_arg_fail(2)) SWIG_fail;
13166 }
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 (arg1)->SetValue(arg2);
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 Py_INCREF(Py_None); resultobj = Py_None;
13175 return resultobj;
13176 fail:
13177 return NULL;
13178 }
13179
13180
13181 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj;
13183 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13184 wxString *arg2 = 0 ;
13185 bool temp2 = false ;
13186 PyObject * obj0 = 0 ;
13187 PyObject * obj1 = 0 ;
13188 char *kwnames[] = {
13189 (char *) "self",(char *) "text", NULL
13190 };
13191
13192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13194 if (SWIG_arg_fail(1)) SWIG_fail;
13195 {
13196 arg2 = wxString_in_helper(obj1);
13197 if (arg2 == NULL) SWIG_fail;
13198 temp2 = true;
13199 }
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 (arg1)->SetValue((wxString const &)*arg2);
13203
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 Py_INCREF(Py_None); resultobj = Py_None;
13208 {
13209 if (temp2)
13210 delete arg2;
13211 }
13212 return resultobj;
13213 fail:
13214 {
13215 if (temp2)
13216 delete arg2;
13217 }
13218 return NULL;
13219 }
13220
13221
13222 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj;
13224 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13225 int arg2 ;
13226 int arg3 ;
13227 PyObject * obj0 = 0 ;
13228 PyObject * obj1 = 0 ;
13229 PyObject * obj2 = 0 ;
13230 char *kwnames[] = {
13231 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13232 };
13233
13234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13236 if (SWIG_arg_fail(1)) SWIG_fail;
13237 {
13238 arg2 = (int)(SWIG_As_int(obj1));
13239 if (SWIG_arg_fail(2)) SWIG_fail;
13240 }
13241 {
13242 arg3 = (int)(SWIG_As_int(obj2));
13243 if (SWIG_arg_fail(3)) SWIG_fail;
13244 }
13245 {
13246 PyThreadState* __tstate = wxPyBeginAllowThreads();
13247 (arg1)->SetRange(arg2,arg3);
13248
13249 wxPyEndAllowThreads(__tstate);
13250 if (PyErr_Occurred()) SWIG_fail;
13251 }
13252 Py_INCREF(Py_None); resultobj = Py_None;
13253 return resultobj;
13254 fail:
13255 return NULL;
13256 }
13257
13258
13259 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13260 PyObject *resultobj;
13261 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13262 int result;
13263 PyObject * obj0 = 0 ;
13264 char *kwnames[] = {
13265 (char *) "self", NULL
13266 };
13267
13268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13270 if (SWIG_arg_fail(1)) SWIG_fail;
13271 {
13272 PyThreadState* __tstate = wxPyBeginAllowThreads();
13273 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13274
13275 wxPyEndAllowThreads(__tstate);
13276 if (PyErr_Occurred()) SWIG_fail;
13277 }
13278 {
13279 resultobj = SWIG_From_int((int)(result));
13280 }
13281 return resultobj;
13282 fail:
13283 return NULL;
13284 }
13285
13286
13287 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13288 PyObject *resultobj;
13289 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13290 int result;
13291 PyObject * obj0 = 0 ;
13292 char *kwnames[] = {
13293 (char *) "self", NULL
13294 };
13295
13296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13298 if (SWIG_arg_fail(1)) SWIG_fail;
13299 {
13300 PyThreadState* __tstate = wxPyBeginAllowThreads();
13301 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13302
13303 wxPyEndAllowThreads(__tstate);
13304 if (PyErr_Occurred()) SWIG_fail;
13305 }
13306 {
13307 resultobj = SWIG_From_int((int)(result));
13308 }
13309 return resultobj;
13310 fail:
13311 return NULL;
13312 }
13313
13314
13315 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13316 PyObject *resultobj;
13317 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13318 long arg2 ;
13319 long arg3 ;
13320 PyObject * obj0 = 0 ;
13321 PyObject * obj1 = 0 ;
13322 PyObject * obj2 = 0 ;
13323 char *kwnames[] = {
13324 (char *) "self",(char *) "from",(char *) "to", NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13329 if (SWIG_arg_fail(1)) SWIG_fail;
13330 {
13331 arg2 = (long)(SWIG_As_long(obj1));
13332 if (SWIG_arg_fail(2)) SWIG_fail;
13333 }
13334 {
13335 arg3 = (long)(SWIG_As_long(obj2));
13336 if (SWIG_arg_fail(3)) SWIG_fail;
13337 }
13338 {
13339 PyThreadState* __tstate = wxPyBeginAllowThreads();
13340 (arg1)->SetSelection(arg2,arg3);
13341
13342 wxPyEndAllowThreads(__tstate);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
13345 Py_INCREF(Py_None); resultobj = Py_None;
13346 return resultobj;
13347 fail:
13348 return NULL;
13349 }
13350
13351
13352 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13353 PyObject *resultobj;
13354 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13355 wxVisualAttributes result;
13356 PyObject * obj0 = 0 ;
13357 char *kwnames[] = {
13358 (char *) "variant", NULL
13359 };
13360
13361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13362 if (obj0) {
13363 {
13364 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13365 if (SWIG_arg_fail(1)) SWIG_fail;
13366 }
13367 }
13368 {
13369 if (!wxPyCheckForApp()) SWIG_fail;
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 {
13377 wxVisualAttributes * resultptr;
13378 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
13379 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13380 }
13381 return resultobj;
13382 fail:
13383 return NULL;
13384 }
13385
13386
13387 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13388 PyObject *obj;
13389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13390 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13391 Py_INCREF(obj);
13392 return Py_BuildValue((char *)"");
13393 }
13394 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13395 PyObject *resultobj;
13396 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13397 int arg2 = (int) 0 ;
13398 wxSpinEvent *result;
13399 PyObject * obj0 = 0 ;
13400 PyObject * obj1 = 0 ;
13401 char *kwnames[] = {
13402 (char *) "commandType",(char *) "winid", NULL
13403 };
13404
13405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13406 if (obj0) {
13407 {
13408 arg1 = (wxEventType)(SWIG_As_int(obj0));
13409 if (SWIG_arg_fail(1)) SWIG_fail;
13410 }
13411 }
13412 if (obj1) {
13413 {
13414 arg2 = (int)(SWIG_As_int(obj1));
13415 if (SWIG_arg_fail(2)) SWIG_fail;
13416 }
13417 }
13418 {
13419 PyThreadState* __tstate = wxPyBeginAllowThreads();
13420 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13421
13422 wxPyEndAllowThreads(__tstate);
13423 if (PyErr_Occurred()) SWIG_fail;
13424 }
13425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13426 return resultobj;
13427 fail:
13428 return NULL;
13429 }
13430
13431
13432 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13433 PyObject *resultobj;
13434 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13435 int result;
13436 PyObject * obj0 = 0 ;
13437 char *kwnames[] = {
13438 (char *) "self", NULL
13439 };
13440
13441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13443 if (SWIG_arg_fail(1)) SWIG_fail;
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
13446 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 {
13452 resultobj = SWIG_From_int((int)(result));
13453 }
13454 return resultobj;
13455 fail:
13456 return NULL;
13457 }
13458
13459
13460 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13463 int arg2 ;
13464 PyObject * obj0 = 0 ;
13465 PyObject * obj1 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self",(char *) "pos", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13472 if (SWIG_arg_fail(1)) SWIG_fail;
13473 {
13474 arg2 = (int)(SWIG_As_int(obj1));
13475 if (SWIG_arg_fail(2)) SWIG_fail;
13476 }
13477 {
13478 PyThreadState* __tstate = wxPyBeginAllowThreads();
13479 (arg1)->SetPosition(arg2);
13480
13481 wxPyEndAllowThreads(__tstate);
13482 if (PyErr_Occurred()) SWIG_fail;
13483 }
13484 Py_INCREF(Py_None); resultobj = Py_None;
13485 return resultobj;
13486 fail:
13487 return NULL;
13488 }
13489
13490
13491 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13492 PyObject *obj;
13493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13494 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13495 Py_INCREF(obj);
13496 return Py_BuildValue((char *)"");
13497 }
13498 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13499 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13500 return 1;
13501 }
13502
13503
13504 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13505 PyObject *pyobj;
13506
13507 {
13508 #if wxUSE_UNICODE
13509 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13510 #else
13511 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13512 #endif
13513 }
13514 return pyobj;
13515 }
13516
13517
13518 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13519 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13520 return 1;
13521 }
13522
13523
13524 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13525 PyObject *pyobj;
13526
13527 {
13528 #if wxUSE_UNICODE
13529 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13530 #else
13531 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13532 #endif
13533 }
13534 return pyobj;
13535 }
13536
13537
13538 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13539 PyObject *resultobj;
13540 wxWindow *arg1 = (wxWindow *) 0 ;
13541 int arg2 = (int) -1 ;
13542 wxString const &arg3_defvalue = wxPyEmptyString ;
13543 wxString *arg3 = (wxString *) &arg3_defvalue ;
13544 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13545 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13546 wxSize const &arg5_defvalue = wxDefaultSize ;
13547 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13548 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13549 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13550 int arg7 = (int) 0 ;
13551 long arg8 = (long) wxRA_HORIZONTAL ;
13552 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13553 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13554 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13555 wxString *arg10 = (wxString *) &arg10_defvalue ;
13556 wxRadioBox *result;
13557 bool temp3 = false ;
13558 wxPoint temp4 ;
13559 wxSize temp5 ;
13560 bool temp6 = false ;
13561 bool temp10 = false ;
13562 PyObject * obj0 = 0 ;
13563 PyObject * obj1 = 0 ;
13564 PyObject * obj2 = 0 ;
13565 PyObject * obj3 = 0 ;
13566 PyObject * obj4 = 0 ;
13567 PyObject * obj5 = 0 ;
13568 PyObject * obj6 = 0 ;
13569 PyObject * obj7 = 0 ;
13570 PyObject * obj8 = 0 ;
13571 PyObject * obj9 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13578 if (SWIG_arg_fail(1)) SWIG_fail;
13579 if (obj1) {
13580 {
13581 arg2 = (int)(SWIG_As_int(obj1));
13582 if (SWIG_arg_fail(2)) SWIG_fail;
13583 }
13584 }
13585 if (obj2) {
13586 {
13587 arg3 = wxString_in_helper(obj2);
13588 if (arg3 == NULL) SWIG_fail;
13589 temp3 = true;
13590 }
13591 }
13592 if (obj3) {
13593 {
13594 arg4 = &temp4;
13595 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13596 }
13597 }
13598 if (obj4) {
13599 {
13600 arg5 = &temp5;
13601 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13602 }
13603 }
13604 if (obj5) {
13605 {
13606 if (! PySequence_Check(obj5)) {
13607 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13608 SWIG_fail;
13609 }
13610 arg6 = new wxArrayString;
13611 temp6 = true;
13612 int i, len=PySequence_Length(obj5);
13613 for (i=0; i<len; i++) {
13614 PyObject* item = PySequence_GetItem(obj5, i);
13615 #if wxUSE_UNICODE
13616 PyObject* str = PyObject_Unicode(item);
13617 #else
13618 PyObject* str = PyObject_Str(item);
13619 #endif
13620 if (PyErr_Occurred()) SWIG_fail;
13621 arg6->Add(Py2wxString(str));
13622 Py_DECREF(item);
13623 Py_DECREF(str);
13624 }
13625 }
13626 }
13627 if (obj6) {
13628 {
13629 arg7 = (int)(SWIG_As_int(obj6));
13630 if (SWIG_arg_fail(7)) SWIG_fail;
13631 }
13632 }
13633 if (obj7) {
13634 {
13635 arg8 = (long)(SWIG_As_long(obj7));
13636 if (SWIG_arg_fail(8)) SWIG_fail;
13637 }
13638 }
13639 if (obj8) {
13640 {
13641 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13642 if (SWIG_arg_fail(9)) SWIG_fail;
13643 if (arg9 == NULL) {
13644 SWIG_null_ref("wxValidator");
13645 }
13646 if (SWIG_arg_fail(9)) SWIG_fail;
13647 }
13648 }
13649 if (obj9) {
13650 {
13651 arg10 = wxString_in_helper(obj9);
13652 if (arg10 == NULL) SWIG_fail;
13653 temp10 = true;
13654 }
13655 }
13656 {
13657 if (!wxPyCheckForApp()) SWIG_fail;
13658 PyThreadState* __tstate = wxPyBeginAllowThreads();
13659 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);
13660
13661 wxPyEndAllowThreads(__tstate);
13662 if (PyErr_Occurred()) SWIG_fail;
13663 }
13664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13665 {
13666 if (temp3)
13667 delete arg3;
13668 }
13669 {
13670 if (temp6) delete arg6;
13671 }
13672 {
13673 if (temp10)
13674 delete arg10;
13675 }
13676 return resultobj;
13677 fail:
13678 {
13679 if (temp3)
13680 delete arg3;
13681 }
13682 {
13683 if (temp6) delete arg6;
13684 }
13685 {
13686 if (temp10)
13687 delete arg10;
13688 }
13689 return NULL;
13690 }
13691
13692
13693 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13694 PyObject *resultobj;
13695 wxRadioBox *result;
13696 char *kwnames[] = {
13697 NULL
13698 };
13699
13700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13701 {
13702 if (!wxPyCheckForApp()) SWIG_fail;
13703 PyThreadState* __tstate = wxPyBeginAllowThreads();
13704 result = (wxRadioBox *)new wxRadioBox();
13705
13706 wxPyEndAllowThreads(__tstate);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 }
13709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13710 return resultobj;
13711 fail:
13712 return NULL;
13713 }
13714
13715
13716 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13717 PyObject *resultobj;
13718 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13719 wxWindow *arg2 = (wxWindow *) 0 ;
13720 int arg3 = (int) -1 ;
13721 wxString const &arg4_defvalue = wxPyEmptyString ;
13722 wxString *arg4 = (wxString *) &arg4_defvalue ;
13723 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13724 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13725 wxSize const &arg6_defvalue = wxDefaultSize ;
13726 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13727 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13728 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13729 int arg8 = (int) 0 ;
13730 long arg9 = (long) wxRA_HORIZONTAL ;
13731 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13732 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13733 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13734 wxString *arg11 = (wxString *) &arg11_defvalue ;
13735 bool result;
13736 bool temp4 = false ;
13737 wxPoint temp5 ;
13738 wxSize temp6 ;
13739 bool temp7 = false ;
13740 bool temp11 = false ;
13741 PyObject * obj0 = 0 ;
13742 PyObject * obj1 = 0 ;
13743 PyObject * obj2 = 0 ;
13744 PyObject * obj3 = 0 ;
13745 PyObject * obj4 = 0 ;
13746 PyObject * obj5 = 0 ;
13747 PyObject * obj6 = 0 ;
13748 PyObject * obj7 = 0 ;
13749 PyObject * obj8 = 0 ;
13750 PyObject * obj9 = 0 ;
13751 PyObject * obj10 = 0 ;
13752 char *kwnames[] = {
13753 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13754 };
13755
13756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13758 if (SWIG_arg_fail(1)) SWIG_fail;
13759 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13760 if (SWIG_arg_fail(2)) SWIG_fail;
13761 if (obj2) {
13762 {
13763 arg3 = (int)(SWIG_As_int(obj2));
13764 if (SWIG_arg_fail(3)) SWIG_fail;
13765 }
13766 }
13767 if (obj3) {
13768 {
13769 arg4 = wxString_in_helper(obj3);
13770 if (arg4 == NULL) SWIG_fail;
13771 temp4 = true;
13772 }
13773 }
13774 if (obj4) {
13775 {
13776 arg5 = &temp5;
13777 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13778 }
13779 }
13780 if (obj5) {
13781 {
13782 arg6 = &temp6;
13783 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13784 }
13785 }
13786 if (obj6) {
13787 {
13788 if (! PySequence_Check(obj6)) {
13789 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13790 SWIG_fail;
13791 }
13792 arg7 = new wxArrayString;
13793 temp7 = true;
13794 int i, len=PySequence_Length(obj6);
13795 for (i=0; i<len; i++) {
13796 PyObject* item = PySequence_GetItem(obj6, i);
13797 #if wxUSE_UNICODE
13798 PyObject* str = PyObject_Unicode(item);
13799 #else
13800 PyObject* str = PyObject_Str(item);
13801 #endif
13802 if (PyErr_Occurred()) SWIG_fail;
13803 arg7->Add(Py2wxString(str));
13804 Py_DECREF(item);
13805 Py_DECREF(str);
13806 }
13807 }
13808 }
13809 if (obj7) {
13810 {
13811 arg8 = (int)(SWIG_As_int(obj7));
13812 if (SWIG_arg_fail(8)) SWIG_fail;
13813 }
13814 }
13815 if (obj8) {
13816 {
13817 arg9 = (long)(SWIG_As_long(obj8));
13818 if (SWIG_arg_fail(9)) SWIG_fail;
13819 }
13820 }
13821 if (obj9) {
13822 {
13823 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13824 if (SWIG_arg_fail(10)) SWIG_fail;
13825 if (arg10 == NULL) {
13826 SWIG_null_ref("wxValidator");
13827 }
13828 if (SWIG_arg_fail(10)) SWIG_fail;
13829 }
13830 }
13831 if (obj10) {
13832 {
13833 arg11 = wxString_in_helper(obj10);
13834 if (arg11 == NULL) SWIG_fail;
13835 temp11 = true;
13836 }
13837 }
13838 {
13839 PyThreadState* __tstate = wxPyBeginAllowThreads();
13840 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);
13841
13842 wxPyEndAllowThreads(__tstate);
13843 if (PyErr_Occurred()) SWIG_fail;
13844 }
13845 {
13846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13847 }
13848 {
13849 if (temp4)
13850 delete arg4;
13851 }
13852 {
13853 if (temp7) delete arg7;
13854 }
13855 {
13856 if (temp11)
13857 delete arg11;
13858 }
13859 return resultobj;
13860 fail:
13861 {
13862 if (temp4)
13863 delete arg4;
13864 }
13865 {
13866 if (temp7) delete arg7;
13867 }
13868 {
13869 if (temp11)
13870 delete arg11;
13871 }
13872 return NULL;
13873 }
13874
13875
13876 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13877 PyObject *resultobj;
13878 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13879 int arg2 ;
13880 PyObject * obj0 = 0 ;
13881 PyObject * obj1 = 0 ;
13882 char *kwnames[] = {
13883 (char *) "self",(char *) "n", NULL
13884 };
13885
13886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13888 if (SWIG_arg_fail(1)) SWIG_fail;
13889 {
13890 arg2 = (int)(SWIG_As_int(obj1));
13891 if (SWIG_arg_fail(2)) SWIG_fail;
13892 }
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 (arg1)->SetSelection(arg2);
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 Py_INCREF(Py_None); resultobj = Py_None;
13901 return resultobj;
13902 fail:
13903 return NULL;
13904 }
13905
13906
13907 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13908 PyObject *resultobj;
13909 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13910 int result;
13911 PyObject * obj0 = 0 ;
13912 char *kwnames[] = {
13913 (char *) "self", NULL
13914 };
13915
13916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
13917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13918 if (SWIG_arg_fail(1)) SWIG_fail;
13919 {
13920 PyThreadState* __tstate = wxPyBeginAllowThreads();
13921 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13922
13923 wxPyEndAllowThreads(__tstate);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 }
13926 {
13927 resultobj = SWIG_From_int((int)(result));
13928 }
13929 return resultobj;
13930 fail:
13931 return NULL;
13932 }
13933
13934
13935 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13936 PyObject *resultobj;
13937 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13938 wxString result;
13939 PyObject * obj0 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "self", NULL
13942 };
13943
13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
13945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13946 if (SWIG_arg_fail(1)) SWIG_fail;
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 {
13955 #if wxUSE_UNICODE
13956 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13957 #else
13958 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13959 #endif
13960 }
13961 return resultobj;
13962 fail:
13963 return NULL;
13964 }
13965
13966
13967 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13968 PyObject *resultobj;
13969 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13970 wxString *arg2 = 0 ;
13971 bool result;
13972 bool temp2 = false ;
13973 PyObject * obj0 = 0 ;
13974 PyObject * obj1 = 0 ;
13975 char *kwnames[] = {
13976 (char *) "self",(char *) "s", NULL
13977 };
13978
13979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
13980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13981 if (SWIG_arg_fail(1)) SWIG_fail;
13982 {
13983 arg2 = wxString_in_helper(obj1);
13984 if (arg2 == NULL) SWIG_fail;
13985 temp2 = true;
13986 }
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13990
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 {
13995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13996 }
13997 {
13998 if (temp2)
13999 delete arg2;
14000 }
14001 return resultobj;
14002 fail:
14003 {
14004 if (temp2)
14005 delete arg2;
14006 }
14007 return NULL;
14008 }
14009
14010
14011 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
14012 PyObject *resultobj;
14013 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14014 int result;
14015 PyObject * obj0 = 0 ;
14016 char *kwnames[] = {
14017 (char *) "self", NULL
14018 };
14019
14020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
14021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14022 if (SWIG_arg_fail(1)) SWIG_fail;
14023 {
14024 PyThreadState* __tstate = wxPyBeginAllowThreads();
14025 result = (int)((wxRadioBox const *)arg1)->GetCount();
14026
14027 wxPyEndAllowThreads(__tstate);
14028 if (PyErr_Occurred()) SWIG_fail;
14029 }
14030 {
14031 resultobj = SWIG_From_int((int)(result));
14032 }
14033 return resultobj;
14034 fail:
14035 return NULL;
14036 }
14037
14038
14039 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14040 PyObject *resultobj;
14041 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14042 wxString *arg2 = 0 ;
14043 int result;
14044 bool temp2 = false ;
14045 PyObject * obj0 = 0 ;
14046 PyObject * obj1 = 0 ;
14047 char *kwnames[] = {
14048 (char *) "self",(char *) "s", NULL
14049 };
14050
14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
14052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14053 if (SWIG_arg_fail(1)) SWIG_fail;
14054 {
14055 arg2 = wxString_in_helper(obj1);
14056 if (arg2 == NULL) SWIG_fail;
14057 temp2 = true;
14058 }
14059 {
14060 PyThreadState* __tstate = wxPyBeginAllowThreads();
14061 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14062
14063 wxPyEndAllowThreads(__tstate);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 }
14066 {
14067 resultobj = SWIG_From_int((int)(result));
14068 }
14069 {
14070 if (temp2)
14071 delete arg2;
14072 }
14073 return resultobj;
14074 fail:
14075 {
14076 if (temp2)
14077 delete arg2;
14078 }
14079 return NULL;
14080 }
14081
14082
14083 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14084 PyObject *resultobj;
14085 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14086 int arg2 ;
14087 wxString result;
14088 PyObject * obj0 = 0 ;
14089 PyObject * obj1 = 0 ;
14090 char *kwnames[] = {
14091 (char *) "self",(char *) "n", NULL
14092 };
14093
14094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14096 if (SWIG_arg_fail(1)) SWIG_fail;
14097 {
14098 arg2 = (int)(SWIG_As_int(obj1));
14099 if (SWIG_arg_fail(2)) SWIG_fail;
14100 }
14101 {
14102 PyThreadState* __tstate = wxPyBeginAllowThreads();
14103 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14104
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 {
14109 #if wxUSE_UNICODE
14110 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14111 #else
14112 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14113 #endif
14114 }
14115 return resultobj;
14116 fail:
14117 return NULL;
14118 }
14119
14120
14121 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14122 PyObject *resultobj;
14123 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14124 int arg2 ;
14125 wxString *arg3 = 0 ;
14126 bool temp3 = false ;
14127 PyObject * obj0 = 0 ;
14128 PyObject * obj1 = 0 ;
14129 PyObject * obj2 = 0 ;
14130 char *kwnames[] = {
14131 (char *) "self",(char *) "n",(char *) "label", NULL
14132 };
14133
14134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14136 if (SWIG_arg_fail(1)) SWIG_fail;
14137 {
14138 arg2 = (int)(SWIG_As_int(obj1));
14139 if (SWIG_arg_fail(2)) SWIG_fail;
14140 }
14141 {
14142 arg3 = wxString_in_helper(obj2);
14143 if (arg3 == NULL) SWIG_fail;
14144 temp3 = true;
14145 }
14146 {
14147 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 (arg1)->SetString(arg2,(wxString const &)*arg3);
14149
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 Py_INCREF(Py_None); resultobj = Py_None;
14154 {
14155 if (temp3)
14156 delete arg3;
14157 }
14158 return resultobj;
14159 fail:
14160 {
14161 if (temp3)
14162 delete arg3;
14163 }
14164 return NULL;
14165 }
14166
14167
14168 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14169 PyObject *resultobj;
14170 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14171 int arg2 ;
14172 bool arg3 = (bool) true ;
14173 PyObject * obj0 = 0 ;
14174 PyObject * obj1 = 0 ;
14175 PyObject * obj2 = 0 ;
14176 char *kwnames[] = {
14177 (char *) "self",(char *) "n",(char *) "enable", NULL
14178 };
14179
14180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14182 if (SWIG_arg_fail(1)) SWIG_fail;
14183 {
14184 arg2 = (int)(SWIG_As_int(obj1));
14185 if (SWIG_arg_fail(2)) SWIG_fail;
14186 }
14187 if (obj2) {
14188 {
14189 arg3 = (bool)(SWIG_As_bool(obj2));
14190 if (SWIG_arg_fail(3)) SWIG_fail;
14191 }
14192 }
14193 {
14194 PyThreadState* __tstate = wxPyBeginAllowThreads();
14195 (arg1)->Enable(arg2,arg3);
14196
14197 wxPyEndAllowThreads(__tstate);
14198 if (PyErr_Occurred()) SWIG_fail;
14199 }
14200 Py_INCREF(Py_None); resultobj = Py_None;
14201 return resultobj;
14202 fail:
14203 return NULL;
14204 }
14205
14206
14207 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14208 PyObject *resultobj;
14209 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14210 int arg2 ;
14211 bool arg3 = (bool) true ;
14212 PyObject * obj0 = 0 ;
14213 PyObject * obj1 = 0 ;
14214 PyObject * obj2 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "self",(char *) "n",(char *) "show", NULL
14217 };
14218
14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14221 if (SWIG_arg_fail(1)) SWIG_fail;
14222 {
14223 arg2 = (int)(SWIG_As_int(obj1));
14224 if (SWIG_arg_fail(2)) SWIG_fail;
14225 }
14226 if (obj2) {
14227 {
14228 arg3 = (bool)(SWIG_As_bool(obj2));
14229 if (SWIG_arg_fail(3)) SWIG_fail;
14230 }
14231 }
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 (arg1)->Show(arg2,arg3);
14235
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 Py_INCREF(Py_None); resultobj = Py_None;
14240 return resultobj;
14241 fail:
14242 return NULL;
14243 }
14244
14245
14246 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14247 PyObject *resultobj;
14248 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14249 int result;
14250 PyObject * obj0 = 0 ;
14251 char *kwnames[] = {
14252 (char *) "self", NULL
14253 };
14254
14255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14257 if (SWIG_arg_fail(1)) SWIG_fail;
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14261
14262 wxPyEndAllowThreads(__tstate);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 }
14265 {
14266 resultobj = SWIG_From_int((int)(result));
14267 }
14268 return resultobj;
14269 fail:
14270 return NULL;
14271 }
14272
14273
14274 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14275 PyObject *resultobj;
14276 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14277 int result;
14278 PyObject * obj0 = 0 ;
14279 char *kwnames[] = {
14280 (char *) "self", NULL
14281 };
14282
14283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14285 if (SWIG_arg_fail(1)) SWIG_fail;
14286 {
14287 PyThreadState* __tstate = wxPyBeginAllowThreads();
14288 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14289
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
14293 {
14294 resultobj = SWIG_From_int((int)(result));
14295 }
14296 return resultobj;
14297 fail:
14298 return NULL;
14299 }
14300
14301
14302 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14303 PyObject *resultobj;
14304 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14305 int arg2 ;
14306 wxDirection arg3 ;
14307 long arg4 ;
14308 int result;
14309 PyObject * obj0 = 0 ;
14310 PyObject * obj1 = 0 ;
14311 PyObject * obj2 = 0 ;
14312 PyObject * obj3 = 0 ;
14313 char *kwnames[] = {
14314 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14315 };
14316
14317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14319 if (SWIG_arg_fail(1)) SWIG_fail;
14320 {
14321 arg2 = (int)(SWIG_As_int(obj1));
14322 if (SWIG_arg_fail(2)) SWIG_fail;
14323 }
14324 {
14325 arg3 = (wxDirection)(SWIG_As_int(obj2));
14326 if (SWIG_arg_fail(3)) SWIG_fail;
14327 }
14328 {
14329 arg4 = (long)(SWIG_As_long(obj3));
14330 if (SWIG_arg_fail(4)) SWIG_fail;
14331 }
14332 {
14333 PyThreadState* __tstate = wxPyBeginAllowThreads();
14334 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14335
14336 wxPyEndAllowThreads(__tstate);
14337 if (PyErr_Occurred()) SWIG_fail;
14338 }
14339 {
14340 resultobj = SWIG_From_int((int)(result));
14341 }
14342 return resultobj;
14343 fail:
14344 return NULL;
14345 }
14346
14347
14348 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14349 PyObject *resultobj;
14350 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14351 wxVisualAttributes result;
14352 PyObject * obj0 = 0 ;
14353 char *kwnames[] = {
14354 (char *) "variant", NULL
14355 };
14356
14357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14358 if (obj0) {
14359 {
14360 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14361 if (SWIG_arg_fail(1)) SWIG_fail;
14362 }
14363 }
14364 {
14365 if (!wxPyCheckForApp()) SWIG_fail;
14366 PyThreadState* __tstate = wxPyBeginAllowThreads();
14367 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14368
14369 wxPyEndAllowThreads(__tstate);
14370 if (PyErr_Occurred()) SWIG_fail;
14371 }
14372 {
14373 wxVisualAttributes * resultptr;
14374 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14375 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14376 }
14377 return resultobj;
14378 fail:
14379 return NULL;
14380 }
14381
14382
14383 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14384 PyObject *obj;
14385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14386 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14387 Py_INCREF(obj);
14388 return Py_BuildValue((char *)"");
14389 }
14390 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14391 PyObject *resultobj;
14392 wxWindow *arg1 = (wxWindow *) 0 ;
14393 int arg2 = (int) -1 ;
14394 wxString const &arg3_defvalue = wxPyEmptyString ;
14395 wxString *arg3 = (wxString *) &arg3_defvalue ;
14396 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14397 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14398 wxSize const &arg5_defvalue = wxDefaultSize ;
14399 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14400 long arg6 = (long) 0 ;
14401 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14402 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14403 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14404 wxString *arg8 = (wxString *) &arg8_defvalue ;
14405 wxRadioButton *result;
14406 bool temp3 = false ;
14407 wxPoint temp4 ;
14408 wxSize temp5 ;
14409 bool temp8 = false ;
14410 PyObject * obj0 = 0 ;
14411 PyObject * obj1 = 0 ;
14412 PyObject * obj2 = 0 ;
14413 PyObject * obj3 = 0 ;
14414 PyObject * obj4 = 0 ;
14415 PyObject * obj5 = 0 ;
14416 PyObject * obj6 = 0 ;
14417 PyObject * obj7 = 0 ;
14418 char *kwnames[] = {
14419 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14420 };
14421
14422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14424 if (SWIG_arg_fail(1)) SWIG_fail;
14425 if (obj1) {
14426 {
14427 arg2 = (int)(SWIG_As_int(obj1));
14428 if (SWIG_arg_fail(2)) SWIG_fail;
14429 }
14430 }
14431 if (obj2) {
14432 {
14433 arg3 = wxString_in_helper(obj2);
14434 if (arg3 == NULL) SWIG_fail;
14435 temp3 = true;
14436 }
14437 }
14438 if (obj3) {
14439 {
14440 arg4 = &temp4;
14441 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14442 }
14443 }
14444 if (obj4) {
14445 {
14446 arg5 = &temp5;
14447 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14448 }
14449 }
14450 if (obj5) {
14451 {
14452 arg6 = (long)(SWIG_As_long(obj5));
14453 if (SWIG_arg_fail(6)) SWIG_fail;
14454 }
14455 }
14456 if (obj6) {
14457 {
14458 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14459 if (SWIG_arg_fail(7)) SWIG_fail;
14460 if (arg7 == NULL) {
14461 SWIG_null_ref("wxValidator");
14462 }
14463 if (SWIG_arg_fail(7)) SWIG_fail;
14464 }
14465 }
14466 if (obj7) {
14467 {
14468 arg8 = wxString_in_helper(obj7);
14469 if (arg8 == NULL) SWIG_fail;
14470 temp8 = true;
14471 }
14472 }
14473 {
14474 if (!wxPyCheckForApp()) SWIG_fail;
14475 PyThreadState* __tstate = wxPyBeginAllowThreads();
14476 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14477
14478 wxPyEndAllowThreads(__tstate);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 }
14481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14482 {
14483 if (temp3)
14484 delete arg3;
14485 }
14486 {
14487 if (temp8)
14488 delete arg8;
14489 }
14490 return resultobj;
14491 fail:
14492 {
14493 if (temp3)
14494 delete arg3;
14495 }
14496 {
14497 if (temp8)
14498 delete arg8;
14499 }
14500 return NULL;
14501 }
14502
14503
14504 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14505 PyObject *resultobj;
14506 wxRadioButton *result;
14507 char *kwnames[] = {
14508 NULL
14509 };
14510
14511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14512 {
14513 if (!wxPyCheckForApp()) SWIG_fail;
14514 PyThreadState* __tstate = wxPyBeginAllowThreads();
14515 result = (wxRadioButton *)new wxRadioButton();
14516
14517 wxPyEndAllowThreads(__tstate);
14518 if (PyErr_Occurred()) SWIG_fail;
14519 }
14520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14521 return resultobj;
14522 fail:
14523 return NULL;
14524 }
14525
14526
14527 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14528 PyObject *resultobj;
14529 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14530 wxWindow *arg2 = (wxWindow *) 0 ;
14531 int arg3 = (int) -1 ;
14532 wxString const &arg4_defvalue = wxPyEmptyString ;
14533 wxString *arg4 = (wxString *) &arg4_defvalue ;
14534 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14535 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14536 wxSize const &arg6_defvalue = wxDefaultSize ;
14537 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14538 long arg7 = (long) 0 ;
14539 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14540 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14541 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14542 wxString *arg9 = (wxString *) &arg9_defvalue ;
14543 bool result;
14544 bool temp4 = false ;
14545 wxPoint temp5 ;
14546 wxSize temp6 ;
14547 bool temp9 = false ;
14548 PyObject * obj0 = 0 ;
14549 PyObject * obj1 = 0 ;
14550 PyObject * obj2 = 0 ;
14551 PyObject * obj3 = 0 ;
14552 PyObject * obj4 = 0 ;
14553 PyObject * obj5 = 0 ;
14554 PyObject * obj6 = 0 ;
14555 PyObject * obj7 = 0 ;
14556 PyObject * obj8 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14559 };
14560
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail;
14564 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14565 if (SWIG_arg_fail(2)) SWIG_fail;
14566 if (obj2) {
14567 {
14568 arg3 = (int)(SWIG_As_int(obj2));
14569 if (SWIG_arg_fail(3)) SWIG_fail;
14570 }
14571 }
14572 if (obj3) {
14573 {
14574 arg4 = wxString_in_helper(obj3);
14575 if (arg4 == NULL) SWIG_fail;
14576 temp4 = true;
14577 }
14578 }
14579 if (obj4) {
14580 {
14581 arg5 = &temp5;
14582 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14583 }
14584 }
14585 if (obj5) {
14586 {
14587 arg6 = &temp6;
14588 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14589 }
14590 }
14591 if (obj6) {
14592 {
14593 arg7 = (long)(SWIG_As_long(obj6));
14594 if (SWIG_arg_fail(7)) SWIG_fail;
14595 }
14596 }
14597 if (obj7) {
14598 {
14599 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14600 if (SWIG_arg_fail(8)) SWIG_fail;
14601 if (arg8 == NULL) {
14602 SWIG_null_ref("wxValidator");
14603 }
14604 if (SWIG_arg_fail(8)) SWIG_fail;
14605 }
14606 }
14607 if (obj8) {
14608 {
14609 arg9 = wxString_in_helper(obj8);
14610 if (arg9 == NULL) SWIG_fail;
14611 temp9 = true;
14612 }
14613 }
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
14621 {
14622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14623 }
14624 {
14625 if (temp4)
14626 delete arg4;
14627 }
14628 {
14629 if (temp9)
14630 delete arg9;
14631 }
14632 return resultobj;
14633 fail:
14634 {
14635 if (temp4)
14636 delete arg4;
14637 }
14638 {
14639 if (temp9)
14640 delete arg9;
14641 }
14642 return NULL;
14643 }
14644
14645
14646 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14647 PyObject *resultobj;
14648 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14649 bool result;
14650 PyObject * obj0 = 0 ;
14651 char *kwnames[] = {
14652 (char *) "self", NULL
14653 };
14654
14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14657 if (SWIG_arg_fail(1)) SWIG_fail;
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 result = (bool)(arg1)->GetValue();
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 {
14666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14667 }
14668 return resultobj;
14669 fail:
14670 return NULL;
14671 }
14672
14673
14674 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14675 PyObject *resultobj;
14676 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14677 bool arg2 ;
14678 PyObject * obj0 = 0 ;
14679 PyObject * obj1 = 0 ;
14680 char *kwnames[] = {
14681 (char *) "self",(char *) "value", NULL
14682 };
14683
14684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14686 if (SWIG_arg_fail(1)) SWIG_fail;
14687 {
14688 arg2 = (bool)(SWIG_As_bool(obj1));
14689 if (SWIG_arg_fail(2)) SWIG_fail;
14690 }
14691 {
14692 PyThreadState* __tstate = wxPyBeginAllowThreads();
14693 (arg1)->SetValue(arg2);
14694
14695 wxPyEndAllowThreads(__tstate);
14696 if (PyErr_Occurred()) SWIG_fail;
14697 }
14698 Py_INCREF(Py_None); resultobj = Py_None;
14699 return resultobj;
14700 fail:
14701 return NULL;
14702 }
14703
14704
14705 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj;
14707 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14708 wxVisualAttributes result;
14709 PyObject * obj0 = 0 ;
14710 char *kwnames[] = {
14711 (char *) "variant", NULL
14712 };
14713
14714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14715 if (obj0) {
14716 {
14717 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14718 if (SWIG_arg_fail(1)) SWIG_fail;
14719 }
14720 }
14721 {
14722 if (!wxPyCheckForApp()) SWIG_fail;
14723 PyThreadState* __tstate = wxPyBeginAllowThreads();
14724 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14725
14726 wxPyEndAllowThreads(__tstate);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
14729 {
14730 wxVisualAttributes * resultptr;
14731 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14732 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14733 }
14734 return resultobj;
14735 fail:
14736 return NULL;
14737 }
14738
14739
14740 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14741 PyObject *obj;
14742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14743 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14744 Py_INCREF(obj);
14745 return Py_BuildValue((char *)"");
14746 }
14747 static int _wrap_SliderNameStr_set(PyObject *) {
14748 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14749 return 1;
14750 }
14751
14752
14753 static PyObject *_wrap_SliderNameStr_get(void) {
14754 PyObject *pyobj;
14755
14756 {
14757 #if wxUSE_UNICODE
14758 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14759 #else
14760 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14761 #endif
14762 }
14763 return pyobj;
14764 }
14765
14766
14767 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14768 PyObject *resultobj;
14769 wxWindow *arg1 = (wxWindow *) 0 ;
14770 int arg2 = (int) -1 ;
14771 int arg3 = (int) 0 ;
14772 int arg4 = (int) 0 ;
14773 int arg5 = (int) 100 ;
14774 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14775 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14776 wxSize const &arg7_defvalue = wxDefaultSize ;
14777 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14778 long arg8 = (long) wxSL_HORIZONTAL ;
14779 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14780 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14781 wxString const &arg10_defvalue = wxPySliderNameStr ;
14782 wxString *arg10 = (wxString *) &arg10_defvalue ;
14783 wxSlider *result;
14784 wxPoint temp6 ;
14785 wxSize temp7 ;
14786 bool temp10 = false ;
14787 PyObject * obj0 = 0 ;
14788 PyObject * obj1 = 0 ;
14789 PyObject * obj2 = 0 ;
14790 PyObject * obj3 = 0 ;
14791 PyObject * obj4 = 0 ;
14792 PyObject * obj5 = 0 ;
14793 PyObject * obj6 = 0 ;
14794 PyObject * obj7 = 0 ;
14795 PyObject * obj8 = 0 ;
14796 PyObject * obj9 = 0 ;
14797 char *kwnames[] = {
14798 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14799 };
14800
14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14803 if (SWIG_arg_fail(1)) SWIG_fail;
14804 if (obj1) {
14805 {
14806 arg2 = (int)(SWIG_As_int(obj1));
14807 if (SWIG_arg_fail(2)) SWIG_fail;
14808 }
14809 }
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 = &temp6;
14831 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14832 }
14833 }
14834 if (obj6) {
14835 {
14836 arg7 = &temp7;
14837 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14838 }
14839 }
14840 if (obj7) {
14841 {
14842 arg8 = (long)(SWIG_As_long(obj7));
14843 if (SWIG_arg_fail(8)) SWIG_fail;
14844 }
14845 }
14846 if (obj8) {
14847 {
14848 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14849 if (SWIG_arg_fail(9)) SWIG_fail;
14850 if (arg9 == NULL) {
14851 SWIG_null_ref("wxValidator");
14852 }
14853 if (SWIG_arg_fail(9)) SWIG_fail;
14854 }
14855 }
14856 if (obj9) {
14857 {
14858 arg10 = wxString_in_helper(obj9);
14859 if (arg10 == NULL) SWIG_fail;
14860 temp10 = true;
14861 }
14862 }
14863 {
14864 if (!wxPyCheckForApp()) SWIG_fail;
14865 PyThreadState* __tstate = wxPyBeginAllowThreads();
14866 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14867
14868 wxPyEndAllowThreads(__tstate);
14869 if (PyErr_Occurred()) SWIG_fail;
14870 }
14871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14872 {
14873 if (temp10)
14874 delete arg10;
14875 }
14876 return resultobj;
14877 fail:
14878 {
14879 if (temp10)
14880 delete arg10;
14881 }
14882 return NULL;
14883 }
14884
14885
14886 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14887 PyObject *resultobj;
14888 wxSlider *result;
14889 char *kwnames[] = {
14890 NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14894 {
14895 if (!wxPyCheckForApp()) SWIG_fail;
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (wxSlider *)new wxSlider();
14898
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14903 return resultobj;
14904 fail:
14905 return NULL;
14906 }
14907
14908
14909 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj;
14911 wxSlider *arg1 = (wxSlider *) 0 ;
14912 wxWindow *arg2 = (wxWindow *) 0 ;
14913 int arg3 = (int) -1 ;
14914 int arg4 = (int) 0 ;
14915 int arg5 = (int) 0 ;
14916 int arg6 = (int) 100 ;
14917 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14918 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14919 wxSize const &arg8_defvalue = wxDefaultSize ;
14920 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14921 long arg9 = (long) wxSL_HORIZONTAL ;
14922 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14923 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14924 wxString const &arg11_defvalue = wxPySliderNameStr ;
14925 wxString *arg11 = (wxString *) &arg11_defvalue ;
14926 bool result;
14927 wxPoint temp7 ;
14928 wxSize temp8 ;
14929 bool temp11 = false ;
14930 PyObject * obj0 = 0 ;
14931 PyObject * obj1 = 0 ;
14932 PyObject * obj2 = 0 ;
14933 PyObject * obj3 = 0 ;
14934 PyObject * obj4 = 0 ;
14935 PyObject * obj5 = 0 ;
14936 PyObject * obj6 = 0 ;
14937 PyObject * obj7 = 0 ;
14938 PyObject * obj8 = 0 ;
14939 PyObject * obj9 = 0 ;
14940 PyObject * obj10 = 0 ;
14941 char *kwnames[] = {
14942 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14943 };
14944
14945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14947 if (SWIG_arg_fail(1)) SWIG_fail;
14948 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14949 if (SWIG_arg_fail(2)) SWIG_fail;
14950 if (obj2) {
14951 {
14952 arg3 = (int)(SWIG_As_int(obj2));
14953 if (SWIG_arg_fail(3)) SWIG_fail;
14954 }
14955 }
14956 if (obj3) {
14957 {
14958 arg4 = (int)(SWIG_As_int(obj3));
14959 if (SWIG_arg_fail(4)) SWIG_fail;
14960 }
14961 }
14962 if (obj4) {
14963 {
14964 arg5 = (int)(SWIG_As_int(obj4));
14965 if (SWIG_arg_fail(5)) SWIG_fail;
14966 }
14967 }
14968 if (obj5) {
14969 {
14970 arg6 = (int)(SWIG_As_int(obj5));
14971 if (SWIG_arg_fail(6)) SWIG_fail;
14972 }
14973 }
14974 if (obj6) {
14975 {
14976 arg7 = &temp7;
14977 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14978 }
14979 }
14980 if (obj7) {
14981 {
14982 arg8 = &temp8;
14983 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14984 }
14985 }
14986 if (obj8) {
14987 {
14988 arg9 = (long)(SWIG_As_long(obj8));
14989 if (SWIG_arg_fail(9)) SWIG_fail;
14990 }
14991 }
14992 if (obj9) {
14993 {
14994 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14995 if (SWIG_arg_fail(10)) SWIG_fail;
14996 if (arg10 == NULL) {
14997 SWIG_null_ref("wxValidator");
14998 }
14999 if (SWIG_arg_fail(10)) SWIG_fail;
15000 }
15001 }
15002 if (obj10) {
15003 {
15004 arg11 = wxString_in_helper(obj10);
15005 if (arg11 == NULL) SWIG_fail;
15006 temp11 = true;
15007 }
15008 }
15009 {
15010 PyThreadState* __tstate = wxPyBeginAllowThreads();
15011 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15012
15013 wxPyEndAllowThreads(__tstate);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 }
15016 {
15017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15018 }
15019 {
15020 if (temp11)
15021 delete arg11;
15022 }
15023 return resultobj;
15024 fail:
15025 {
15026 if (temp11)
15027 delete arg11;
15028 }
15029 return NULL;
15030 }
15031
15032
15033 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15034 PyObject *resultobj;
15035 wxSlider *arg1 = (wxSlider *) 0 ;
15036 int result;
15037 PyObject * obj0 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "self", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15044 if (SWIG_arg_fail(1)) SWIG_fail;
15045 {
15046 PyThreadState* __tstate = wxPyBeginAllowThreads();
15047 result = (int)((wxSlider const *)arg1)->GetValue();
15048
15049 wxPyEndAllowThreads(__tstate);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 {
15053 resultobj = SWIG_From_int((int)(result));
15054 }
15055 return resultobj;
15056 fail:
15057 return NULL;
15058 }
15059
15060
15061 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15062 PyObject *resultobj;
15063 wxSlider *arg1 = (wxSlider *) 0 ;
15064 int arg2 ;
15065 PyObject * obj0 = 0 ;
15066 PyObject * obj1 = 0 ;
15067 char *kwnames[] = {
15068 (char *) "self",(char *) "value", NULL
15069 };
15070
15071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15073 if (SWIG_arg_fail(1)) SWIG_fail;
15074 {
15075 arg2 = (int)(SWIG_As_int(obj1));
15076 if (SWIG_arg_fail(2)) SWIG_fail;
15077 }
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 (arg1)->SetValue(arg2);
15081
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 Py_INCREF(Py_None); resultobj = Py_None;
15086 return resultobj;
15087 fail:
15088 return NULL;
15089 }
15090
15091
15092 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj;
15094 wxSlider *arg1 = (wxSlider *) 0 ;
15095 int arg2 ;
15096 int arg3 ;
15097 PyObject * obj0 = 0 ;
15098 PyObject * obj1 = 0 ;
15099 PyObject * obj2 = 0 ;
15100 char *kwnames[] = {
15101 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15102 };
15103
15104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15106 if (SWIG_arg_fail(1)) SWIG_fail;
15107 {
15108 arg2 = (int)(SWIG_As_int(obj1));
15109 if (SWIG_arg_fail(2)) SWIG_fail;
15110 }
15111 {
15112 arg3 = (int)(SWIG_As_int(obj2));
15113 if (SWIG_arg_fail(3)) SWIG_fail;
15114 }
15115 {
15116 PyThreadState* __tstate = wxPyBeginAllowThreads();
15117 (arg1)->SetRange(arg2,arg3);
15118
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 Py_INCREF(Py_None); resultobj = Py_None;
15123 return resultobj;
15124 fail:
15125 return NULL;
15126 }
15127
15128
15129 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15130 PyObject *resultobj;
15131 wxSlider *arg1 = (wxSlider *) 0 ;
15132 int result;
15133 PyObject * obj0 = 0 ;
15134 char *kwnames[] = {
15135 (char *) "self", NULL
15136 };
15137
15138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15140 if (SWIG_arg_fail(1)) SWIG_fail;
15141 {
15142 PyThreadState* __tstate = wxPyBeginAllowThreads();
15143 result = (int)((wxSlider const *)arg1)->GetMin();
15144
15145 wxPyEndAllowThreads(__tstate);
15146 if (PyErr_Occurred()) SWIG_fail;
15147 }
15148 {
15149 resultobj = SWIG_From_int((int)(result));
15150 }
15151 return resultobj;
15152 fail:
15153 return NULL;
15154 }
15155
15156
15157 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15158 PyObject *resultobj;
15159 wxSlider *arg1 = (wxSlider *) 0 ;
15160 int result;
15161 PyObject * obj0 = 0 ;
15162 char *kwnames[] = {
15163 (char *) "self", NULL
15164 };
15165
15166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15168 if (SWIG_arg_fail(1)) SWIG_fail;
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 result = (int)((wxSlider const *)arg1)->GetMax();
15172
15173 wxPyEndAllowThreads(__tstate);
15174 if (PyErr_Occurred()) SWIG_fail;
15175 }
15176 {
15177 resultobj = SWIG_From_int((int)(result));
15178 }
15179 return resultobj;
15180 fail:
15181 return NULL;
15182 }
15183
15184
15185 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15186 PyObject *resultobj;
15187 wxSlider *arg1 = (wxSlider *) 0 ;
15188 int arg2 ;
15189 PyObject * obj0 = 0 ;
15190 PyObject * obj1 = 0 ;
15191 char *kwnames[] = {
15192 (char *) "self",(char *) "minValue", NULL
15193 };
15194
15195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15197 if (SWIG_arg_fail(1)) SWIG_fail;
15198 {
15199 arg2 = (int)(SWIG_As_int(obj1));
15200 if (SWIG_arg_fail(2)) SWIG_fail;
15201 }
15202 {
15203 PyThreadState* __tstate = wxPyBeginAllowThreads();
15204 (arg1)->SetMin(arg2);
15205
15206 wxPyEndAllowThreads(__tstate);
15207 if (PyErr_Occurred()) SWIG_fail;
15208 }
15209 Py_INCREF(Py_None); resultobj = Py_None;
15210 return resultobj;
15211 fail:
15212 return NULL;
15213 }
15214
15215
15216 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15217 PyObject *resultobj;
15218 wxSlider *arg1 = (wxSlider *) 0 ;
15219 int arg2 ;
15220 PyObject * obj0 = 0 ;
15221 PyObject * obj1 = 0 ;
15222 char *kwnames[] = {
15223 (char *) "self",(char *) "maxValue", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15228 if (SWIG_arg_fail(1)) SWIG_fail;
15229 {
15230 arg2 = (int)(SWIG_As_int(obj1));
15231 if (SWIG_arg_fail(2)) SWIG_fail;
15232 }
15233 {
15234 PyThreadState* __tstate = wxPyBeginAllowThreads();
15235 (arg1)->SetMax(arg2);
15236
15237 wxPyEndAllowThreads(__tstate);
15238 if (PyErr_Occurred()) SWIG_fail;
15239 }
15240 Py_INCREF(Py_None); resultobj = Py_None;
15241 return resultobj;
15242 fail:
15243 return NULL;
15244 }
15245
15246
15247 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15248 PyObject *resultobj;
15249 wxSlider *arg1 = (wxSlider *) 0 ;
15250 int arg2 ;
15251 PyObject * obj0 = 0 ;
15252 PyObject * obj1 = 0 ;
15253 char *kwnames[] = {
15254 (char *) "self",(char *) "lineSize", NULL
15255 };
15256
15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15259 if (SWIG_arg_fail(1)) SWIG_fail;
15260 {
15261 arg2 = (int)(SWIG_As_int(obj1));
15262 if (SWIG_arg_fail(2)) SWIG_fail;
15263 }
15264 {
15265 PyThreadState* __tstate = wxPyBeginAllowThreads();
15266 (arg1)->SetLineSize(arg2);
15267
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 Py_INCREF(Py_None); resultobj = Py_None;
15272 return resultobj;
15273 fail:
15274 return NULL;
15275 }
15276
15277
15278 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15279 PyObject *resultobj;
15280 wxSlider *arg1 = (wxSlider *) 0 ;
15281 int arg2 ;
15282 PyObject * obj0 = 0 ;
15283 PyObject * obj1 = 0 ;
15284 char *kwnames[] = {
15285 (char *) "self",(char *) "pageSize", NULL
15286 };
15287
15288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15290 if (SWIG_arg_fail(1)) SWIG_fail;
15291 {
15292 arg2 = (int)(SWIG_As_int(obj1));
15293 if (SWIG_arg_fail(2)) SWIG_fail;
15294 }
15295 {
15296 PyThreadState* __tstate = wxPyBeginAllowThreads();
15297 (arg1)->SetPageSize(arg2);
15298
15299 wxPyEndAllowThreads(__tstate);
15300 if (PyErr_Occurred()) SWIG_fail;
15301 }
15302 Py_INCREF(Py_None); resultobj = Py_None;
15303 return resultobj;
15304 fail:
15305 return NULL;
15306 }
15307
15308
15309 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15310 PyObject *resultobj;
15311 wxSlider *arg1 = (wxSlider *) 0 ;
15312 int result;
15313 PyObject * obj0 = 0 ;
15314 char *kwnames[] = {
15315 (char *) "self", NULL
15316 };
15317
15318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15320 if (SWIG_arg_fail(1)) SWIG_fail;
15321 {
15322 PyThreadState* __tstate = wxPyBeginAllowThreads();
15323 result = (int)((wxSlider const *)arg1)->GetLineSize();
15324
15325 wxPyEndAllowThreads(__tstate);
15326 if (PyErr_Occurred()) SWIG_fail;
15327 }
15328 {
15329 resultobj = SWIG_From_int((int)(result));
15330 }
15331 return resultobj;
15332 fail:
15333 return NULL;
15334 }
15335
15336
15337 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15338 PyObject *resultobj;
15339 wxSlider *arg1 = (wxSlider *) 0 ;
15340 int result;
15341 PyObject * obj0 = 0 ;
15342 char *kwnames[] = {
15343 (char *) "self", NULL
15344 };
15345
15346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15348 if (SWIG_arg_fail(1)) SWIG_fail;
15349 {
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 result = (int)((wxSlider const *)arg1)->GetPageSize();
15352
15353 wxPyEndAllowThreads(__tstate);
15354 if (PyErr_Occurred()) SWIG_fail;
15355 }
15356 {
15357 resultobj = SWIG_From_int((int)(result));
15358 }
15359 return resultobj;
15360 fail:
15361 return NULL;
15362 }
15363
15364
15365 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15366 PyObject *resultobj;
15367 wxSlider *arg1 = (wxSlider *) 0 ;
15368 int arg2 ;
15369 PyObject * obj0 = 0 ;
15370 PyObject * obj1 = 0 ;
15371 char *kwnames[] = {
15372 (char *) "self",(char *) "lenPixels", NULL
15373 };
15374
15375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15377 if (SWIG_arg_fail(1)) SWIG_fail;
15378 {
15379 arg2 = (int)(SWIG_As_int(obj1));
15380 if (SWIG_arg_fail(2)) SWIG_fail;
15381 }
15382 {
15383 PyThreadState* __tstate = wxPyBeginAllowThreads();
15384 (arg1)->SetThumbLength(arg2);
15385
15386 wxPyEndAllowThreads(__tstate);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 }
15389 Py_INCREF(Py_None); resultobj = Py_None;
15390 return resultobj;
15391 fail:
15392 return NULL;
15393 }
15394
15395
15396 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15397 PyObject *resultobj;
15398 wxSlider *arg1 = (wxSlider *) 0 ;
15399 int result;
15400 PyObject * obj0 = 0 ;
15401 char *kwnames[] = {
15402 (char *) "self", NULL
15403 };
15404
15405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15407 if (SWIG_arg_fail(1)) SWIG_fail;
15408 {
15409 PyThreadState* __tstate = wxPyBeginAllowThreads();
15410 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15411
15412 wxPyEndAllowThreads(__tstate);
15413 if (PyErr_Occurred()) SWIG_fail;
15414 }
15415 {
15416 resultobj = SWIG_From_int((int)(result));
15417 }
15418 return resultobj;
15419 fail:
15420 return NULL;
15421 }
15422
15423
15424 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15425 PyObject *resultobj;
15426 wxSlider *arg1 = (wxSlider *) 0 ;
15427 int arg2 ;
15428 int arg3 = (int) 1 ;
15429 PyObject * obj0 = 0 ;
15430 PyObject * obj1 = 0 ;
15431 PyObject * obj2 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self",(char *) "n",(char *) "pos", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15438 if (SWIG_arg_fail(1)) SWIG_fail;
15439 {
15440 arg2 = (int)(SWIG_As_int(obj1));
15441 if (SWIG_arg_fail(2)) SWIG_fail;
15442 }
15443 if (obj2) {
15444 {
15445 arg3 = (int)(SWIG_As_int(obj2));
15446 if (SWIG_arg_fail(3)) SWIG_fail;
15447 }
15448 }
15449 {
15450 PyThreadState* __tstate = wxPyBeginAllowThreads();
15451 (arg1)->SetTickFreq(arg2,arg3);
15452
15453 wxPyEndAllowThreads(__tstate);
15454 if (PyErr_Occurred()) SWIG_fail;
15455 }
15456 Py_INCREF(Py_None); resultobj = Py_None;
15457 return resultobj;
15458 fail:
15459 return NULL;
15460 }
15461
15462
15463 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15464 PyObject *resultobj;
15465 wxSlider *arg1 = (wxSlider *) 0 ;
15466 int result;
15467 PyObject * obj0 = 0 ;
15468 char *kwnames[] = {
15469 (char *) "self", NULL
15470 };
15471
15472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15474 if (SWIG_arg_fail(1)) SWIG_fail;
15475 {
15476 PyThreadState* __tstate = wxPyBeginAllowThreads();
15477 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15478
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 {
15483 resultobj = SWIG_From_int((int)(result));
15484 }
15485 return resultobj;
15486 fail:
15487 return NULL;
15488 }
15489
15490
15491 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15492 PyObject *resultobj;
15493 wxSlider *arg1 = (wxSlider *) 0 ;
15494 PyObject * obj0 = 0 ;
15495 char *kwnames[] = {
15496 (char *) "self", NULL
15497 };
15498
15499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15501 if (SWIG_arg_fail(1)) SWIG_fail;
15502 {
15503 PyThreadState* __tstate = wxPyBeginAllowThreads();
15504 (arg1)->ClearTicks();
15505
15506 wxPyEndAllowThreads(__tstate);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 Py_INCREF(Py_None); resultobj = Py_None;
15510 return resultobj;
15511 fail:
15512 return NULL;
15513 }
15514
15515
15516 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15517 PyObject *resultobj;
15518 wxSlider *arg1 = (wxSlider *) 0 ;
15519 int arg2 ;
15520 PyObject * obj0 = 0 ;
15521 PyObject * obj1 = 0 ;
15522 char *kwnames[] = {
15523 (char *) "self",(char *) "tickPos", NULL
15524 };
15525
15526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15528 if (SWIG_arg_fail(1)) SWIG_fail;
15529 {
15530 arg2 = (int)(SWIG_As_int(obj1));
15531 if (SWIG_arg_fail(2)) SWIG_fail;
15532 }
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 (arg1)->SetTick(arg2);
15536
15537 wxPyEndAllowThreads(__tstate);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
15540 Py_INCREF(Py_None); resultobj = Py_None;
15541 return resultobj;
15542 fail:
15543 return NULL;
15544 }
15545
15546
15547 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15548 PyObject *resultobj;
15549 wxSlider *arg1 = (wxSlider *) 0 ;
15550 PyObject * obj0 = 0 ;
15551 char *kwnames[] = {
15552 (char *) "self", NULL
15553 };
15554
15555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15557 if (SWIG_arg_fail(1)) SWIG_fail;
15558 {
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
15560 (arg1)->ClearSel();
15561
15562 wxPyEndAllowThreads(__tstate);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
15565 Py_INCREF(Py_None); resultobj = Py_None;
15566 return resultobj;
15567 fail:
15568 return NULL;
15569 }
15570
15571
15572 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15573 PyObject *resultobj;
15574 wxSlider *arg1 = (wxSlider *) 0 ;
15575 int result;
15576 PyObject * obj0 = 0 ;
15577 char *kwnames[] = {
15578 (char *) "self", NULL
15579 };
15580
15581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15583 if (SWIG_arg_fail(1)) SWIG_fail;
15584 {
15585 PyThreadState* __tstate = wxPyBeginAllowThreads();
15586 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15587
15588 wxPyEndAllowThreads(__tstate);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 }
15591 {
15592 resultobj = SWIG_From_int((int)(result));
15593 }
15594 return resultobj;
15595 fail:
15596 return NULL;
15597 }
15598
15599
15600 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15601 PyObject *resultobj;
15602 wxSlider *arg1 = (wxSlider *) 0 ;
15603 int result;
15604 PyObject * obj0 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15611 if (SWIG_arg_fail(1)) SWIG_fail;
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 result = (int)((wxSlider const *)arg1)->GetSelStart();
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 {
15620 resultobj = SWIG_From_int((int)(result));
15621 }
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxSlider *arg1 = (wxSlider *) 0 ;
15631 int arg2 ;
15632 int arg3 ;
15633 PyObject * obj0 = 0 ;
15634 PyObject * obj1 = 0 ;
15635 PyObject * obj2 = 0 ;
15636 char *kwnames[] = {
15637 (char *) "self",(char *) "min",(char *) "max", NULL
15638 };
15639
15640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15642 if (SWIG_arg_fail(1)) SWIG_fail;
15643 {
15644 arg2 = (int)(SWIG_As_int(obj1));
15645 if (SWIG_arg_fail(2)) SWIG_fail;
15646 }
15647 {
15648 arg3 = (int)(SWIG_As_int(obj2));
15649 if (SWIG_arg_fail(3)) SWIG_fail;
15650 }
15651 {
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 (arg1)->SetSelection(arg2,arg3);
15654
15655 wxPyEndAllowThreads(__tstate);
15656 if (PyErr_Occurred()) SWIG_fail;
15657 }
15658 Py_INCREF(Py_None); resultobj = Py_None;
15659 return resultobj;
15660 fail:
15661 return NULL;
15662 }
15663
15664
15665 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15666 PyObject *resultobj;
15667 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15668 wxVisualAttributes result;
15669 PyObject * obj0 = 0 ;
15670 char *kwnames[] = {
15671 (char *) "variant", NULL
15672 };
15673
15674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15675 if (obj0) {
15676 {
15677 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15678 if (SWIG_arg_fail(1)) SWIG_fail;
15679 }
15680 }
15681 {
15682 if (!wxPyCheckForApp()) SWIG_fail;
15683 PyThreadState* __tstate = wxPyBeginAllowThreads();
15684 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15685
15686 wxPyEndAllowThreads(__tstate);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 {
15690 wxVisualAttributes * resultptr;
15691 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
15692 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15693 }
15694 return resultobj;
15695 fail:
15696 return NULL;
15697 }
15698
15699
15700 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15701 PyObject *obj;
15702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15703 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15704 Py_INCREF(obj);
15705 return Py_BuildValue((char *)"");
15706 }
15707 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15708 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15709 return 1;
15710 }
15711
15712
15713 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15714 PyObject *pyobj;
15715
15716 {
15717 #if wxUSE_UNICODE
15718 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15719 #else
15720 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15721 #endif
15722 }
15723 return pyobj;
15724 }
15725
15726
15727 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15728 PyObject *resultobj;
15729 wxWindow *arg1 = (wxWindow *) 0 ;
15730 int arg2 = (int) -1 ;
15731 wxString const &arg3_defvalue = wxPyEmptyString ;
15732 wxString *arg3 = (wxString *) &arg3_defvalue ;
15733 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15734 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15735 wxSize const &arg5_defvalue = wxDefaultSize ;
15736 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15737 long arg6 = (long) 0 ;
15738 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15739 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15740 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15741 wxString *arg8 = (wxString *) &arg8_defvalue ;
15742 wxToggleButton *result;
15743 bool temp3 = false ;
15744 wxPoint temp4 ;
15745 wxSize temp5 ;
15746 bool temp8 = false ;
15747 PyObject * obj0 = 0 ;
15748 PyObject * obj1 = 0 ;
15749 PyObject * obj2 = 0 ;
15750 PyObject * obj3 = 0 ;
15751 PyObject * obj4 = 0 ;
15752 PyObject * obj5 = 0 ;
15753 PyObject * obj6 = 0 ;
15754 PyObject * obj7 = 0 ;
15755 char *kwnames[] = {
15756 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15757 };
15758
15759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15761 if (SWIG_arg_fail(1)) SWIG_fail;
15762 if (obj1) {
15763 {
15764 arg2 = (int)(SWIG_As_int(obj1));
15765 if (SWIG_arg_fail(2)) SWIG_fail;
15766 }
15767 }
15768 if (obj2) {
15769 {
15770 arg3 = wxString_in_helper(obj2);
15771 if (arg3 == NULL) SWIG_fail;
15772 temp3 = true;
15773 }
15774 }
15775 if (obj3) {
15776 {
15777 arg4 = &temp4;
15778 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15779 }
15780 }
15781 if (obj4) {
15782 {
15783 arg5 = &temp5;
15784 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15785 }
15786 }
15787 if (obj5) {
15788 {
15789 arg6 = (long)(SWIG_As_long(obj5));
15790 if (SWIG_arg_fail(6)) SWIG_fail;
15791 }
15792 }
15793 if (obj6) {
15794 {
15795 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15796 if (SWIG_arg_fail(7)) SWIG_fail;
15797 if (arg7 == NULL) {
15798 SWIG_null_ref("wxValidator");
15799 }
15800 if (SWIG_arg_fail(7)) SWIG_fail;
15801 }
15802 }
15803 if (obj7) {
15804 {
15805 arg8 = wxString_in_helper(obj7);
15806 if (arg8 == NULL) SWIG_fail;
15807 temp8 = true;
15808 }
15809 }
15810 {
15811 if (!wxPyCheckForApp()) SWIG_fail;
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15819 {
15820 if (temp3)
15821 delete arg3;
15822 }
15823 {
15824 if (temp8)
15825 delete arg8;
15826 }
15827 return resultobj;
15828 fail:
15829 {
15830 if (temp3)
15831 delete arg3;
15832 }
15833 {
15834 if (temp8)
15835 delete arg8;
15836 }
15837 return NULL;
15838 }
15839
15840
15841 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15842 PyObject *resultobj;
15843 wxToggleButton *result;
15844 char *kwnames[] = {
15845 NULL
15846 };
15847
15848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15849 {
15850 if (!wxPyCheckForApp()) SWIG_fail;
15851 PyThreadState* __tstate = wxPyBeginAllowThreads();
15852 result = (wxToggleButton *)new wxToggleButton();
15853
15854 wxPyEndAllowThreads(__tstate);
15855 if (PyErr_Occurred()) SWIG_fail;
15856 }
15857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15858 return resultobj;
15859 fail:
15860 return NULL;
15861 }
15862
15863
15864 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15865 PyObject *resultobj;
15866 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15867 wxWindow *arg2 = (wxWindow *) 0 ;
15868 int arg3 = (int) -1 ;
15869 wxString const &arg4_defvalue = wxPyEmptyString ;
15870 wxString *arg4 = (wxString *) &arg4_defvalue ;
15871 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15872 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15873 wxSize const &arg6_defvalue = wxDefaultSize ;
15874 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15875 long arg7 = (long) 0 ;
15876 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15877 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15878 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15879 wxString *arg9 = (wxString *) &arg9_defvalue ;
15880 bool result;
15881 bool temp4 = false ;
15882 wxPoint temp5 ;
15883 wxSize temp6 ;
15884 bool temp9 = false ;
15885 PyObject * obj0 = 0 ;
15886 PyObject * obj1 = 0 ;
15887 PyObject * obj2 = 0 ;
15888 PyObject * obj3 = 0 ;
15889 PyObject * obj4 = 0 ;
15890 PyObject * obj5 = 0 ;
15891 PyObject * obj6 = 0 ;
15892 PyObject * obj7 = 0 ;
15893 PyObject * obj8 = 0 ;
15894 char *kwnames[] = {
15895 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15896 };
15897
15898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15900 if (SWIG_arg_fail(1)) SWIG_fail;
15901 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15902 if (SWIG_arg_fail(2)) SWIG_fail;
15903 if (obj2) {
15904 {
15905 arg3 = (int)(SWIG_As_int(obj2));
15906 if (SWIG_arg_fail(3)) SWIG_fail;
15907 }
15908 }
15909 if (obj3) {
15910 {
15911 arg4 = wxString_in_helper(obj3);
15912 if (arg4 == NULL) SWIG_fail;
15913 temp4 = true;
15914 }
15915 }
15916 if (obj4) {
15917 {
15918 arg5 = &temp5;
15919 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15920 }
15921 }
15922 if (obj5) {
15923 {
15924 arg6 = &temp6;
15925 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15926 }
15927 }
15928 if (obj6) {
15929 {
15930 arg7 = (long)(SWIG_As_long(obj6));
15931 if (SWIG_arg_fail(7)) SWIG_fail;
15932 }
15933 }
15934 if (obj7) {
15935 {
15936 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15937 if (SWIG_arg_fail(8)) SWIG_fail;
15938 if (arg8 == NULL) {
15939 SWIG_null_ref("wxValidator");
15940 }
15941 if (SWIG_arg_fail(8)) SWIG_fail;
15942 }
15943 }
15944 if (obj8) {
15945 {
15946 arg9 = wxString_in_helper(obj8);
15947 if (arg9 == NULL) SWIG_fail;
15948 temp9 = true;
15949 }
15950 }
15951 {
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15954
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 {
15959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15960 }
15961 {
15962 if (temp4)
15963 delete arg4;
15964 }
15965 {
15966 if (temp9)
15967 delete arg9;
15968 }
15969 return resultobj;
15970 fail:
15971 {
15972 if (temp4)
15973 delete arg4;
15974 }
15975 {
15976 if (temp9)
15977 delete arg9;
15978 }
15979 return NULL;
15980 }
15981
15982
15983 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15986 bool arg2 ;
15987 PyObject * obj0 = 0 ;
15988 PyObject * obj1 = 0 ;
15989 char *kwnames[] = {
15990 (char *) "self",(char *) "value", NULL
15991 };
15992
15993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15995 if (SWIG_arg_fail(1)) SWIG_fail;
15996 {
15997 arg2 = (bool)(SWIG_As_bool(obj1));
15998 if (SWIG_arg_fail(2)) SWIG_fail;
15999 }
16000 {
16001 PyThreadState* __tstate = wxPyBeginAllowThreads();
16002 (arg1)->SetValue(arg2);
16003
16004 wxPyEndAllowThreads(__tstate);
16005 if (PyErr_Occurred()) SWIG_fail;
16006 }
16007 Py_INCREF(Py_None); resultobj = Py_None;
16008 return resultobj;
16009 fail:
16010 return NULL;
16011 }
16012
16013
16014 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16015 PyObject *resultobj;
16016 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16017 bool result;
16018 PyObject * obj0 = 0 ;
16019 char *kwnames[] = {
16020 (char *) "self", NULL
16021 };
16022
16023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
16024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16025 if (SWIG_arg_fail(1)) SWIG_fail;
16026 {
16027 PyThreadState* __tstate = wxPyBeginAllowThreads();
16028 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16029
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 {
16034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16035 }
16036 return resultobj;
16037 fail:
16038 return NULL;
16039 }
16040
16041
16042 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16043 PyObject *resultobj;
16044 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16045 wxString *arg2 = 0 ;
16046 bool temp2 = false ;
16047 PyObject * obj0 = 0 ;
16048 PyObject * obj1 = 0 ;
16049 char *kwnames[] = {
16050 (char *) "self",(char *) "label", NULL
16051 };
16052
16053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16055 if (SWIG_arg_fail(1)) SWIG_fail;
16056 {
16057 arg2 = wxString_in_helper(obj1);
16058 if (arg2 == NULL) SWIG_fail;
16059 temp2 = true;
16060 }
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 (arg1)->SetLabel((wxString const &)*arg2);
16064
16065 wxPyEndAllowThreads(__tstate);
16066 if (PyErr_Occurred()) SWIG_fail;
16067 }
16068 Py_INCREF(Py_None); resultobj = Py_None;
16069 {
16070 if (temp2)
16071 delete arg2;
16072 }
16073 return resultobj;
16074 fail:
16075 {
16076 if (temp2)
16077 delete arg2;
16078 }
16079 return NULL;
16080 }
16081
16082
16083 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16084 PyObject *resultobj;
16085 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16086 wxVisualAttributes result;
16087 PyObject * obj0 = 0 ;
16088 char *kwnames[] = {
16089 (char *) "variant", NULL
16090 };
16091
16092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16093 if (obj0) {
16094 {
16095 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16096 if (SWIG_arg_fail(1)) SWIG_fail;
16097 }
16098 }
16099 {
16100 if (!wxPyCheckForApp()) SWIG_fail;
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16103
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 {
16108 wxVisualAttributes * resultptr;
16109 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16111 }
16112 return resultobj;
16113 fail:
16114 return NULL;
16115 }
16116
16117
16118 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16119 PyObject *obj;
16120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16121 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16122 Py_INCREF(obj);
16123 return Py_BuildValue((char *)"");
16124 }
16125 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
16126 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
16127 return 1;
16128 }
16129
16130
16131 static PyObject *_wrap_NOTEBOOK_NAME_get(void) {
16132 PyObject *pyobj;
16133
16134 {
16135 #if wxUSE_UNICODE
16136 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
16137 #else
16138 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
16139 #endif
16140 }
16141 return pyobj;
16142 }
16143
16144
16145 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16146 PyObject *resultobj;
16147 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16148 size_t result;
16149 PyObject * obj0 = 0 ;
16150 char *kwnames[] = {
16151 (char *) "self", NULL
16152 };
16153
16154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16156 if (SWIG_arg_fail(1)) SWIG_fail;
16157 {
16158 PyThreadState* __tstate = wxPyBeginAllowThreads();
16159 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16160
16161 wxPyEndAllowThreads(__tstate);
16162 if (PyErr_Occurred()) SWIG_fail;
16163 }
16164 {
16165 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16166 }
16167 return resultobj;
16168 fail:
16169 return NULL;
16170 }
16171
16172
16173 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16174 PyObject *resultobj;
16175 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16176 size_t arg2 ;
16177 wxWindow *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_GetPage",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 = (wxWindow *)(arg1)->GetPage(arg2);
16194
16195 wxPyEndAllowThreads(__tstate);
16196 if (PyErr_Occurred()) SWIG_fail;
16197 }
16198 {
16199 resultobj = wxPyMake_wxObject(result, 0);
16200 }
16201 return resultobj;
16202 fail:
16203 return NULL;
16204 }
16205
16206
16207 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16208 PyObject *resultobj;
16209 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16210 wxWindow *result;
16211 PyObject * obj0 = 0 ;
16212 char *kwnames[] = {
16213 (char *) "self", NULL
16214 };
16215
16216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16218 if (SWIG_arg_fail(1)) SWIG_fail;
16219 {
16220 PyThreadState* __tstate = wxPyBeginAllowThreads();
16221 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16222
16223 wxPyEndAllowThreads(__tstate);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 }
16226 {
16227 resultobj = wxPyMake_wxObject(result, 0);
16228 }
16229 return resultobj;
16230 fail:
16231 return NULL;
16232 }
16233
16234
16235 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16236 PyObject *resultobj;
16237 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16238 int result;
16239 PyObject * obj0 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16246 if (SWIG_arg_fail(1)) SWIG_fail;
16247 {
16248 PyThreadState* __tstate = wxPyBeginAllowThreads();
16249 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16250
16251 wxPyEndAllowThreads(__tstate);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 }
16254 {
16255 resultobj = SWIG_From_int((int)(result));
16256 }
16257 return resultobj;
16258 fail:
16259 return NULL;
16260 }
16261
16262
16263 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16264 PyObject *resultobj;
16265 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16266 size_t arg2 ;
16267 wxString *arg3 = 0 ;
16268 bool result;
16269 bool temp3 = false ;
16270 PyObject * obj0 = 0 ;
16271 PyObject * obj1 = 0 ;
16272 PyObject * obj2 = 0 ;
16273 char *kwnames[] = {
16274 (char *) "self",(char *) "n",(char *) "strText", NULL
16275 };
16276
16277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16279 if (SWIG_arg_fail(1)) SWIG_fail;
16280 {
16281 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16282 if (SWIG_arg_fail(2)) SWIG_fail;
16283 }
16284 {
16285 arg3 = wxString_in_helper(obj2);
16286 if (arg3 == NULL) SWIG_fail;
16287 temp3 = true;
16288 }
16289 {
16290 PyThreadState* __tstate = wxPyBeginAllowThreads();
16291 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16292
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 {
16297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16298 }
16299 {
16300 if (temp3)
16301 delete arg3;
16302 }
16303 return resultobj;
16304 fail:
16305 {
16306 if (temp3)
16307 delete arg3;
16308 }
16309 return NULL;
16310 }
16311
16312
16313 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj;
16315 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16316 size_t arg2 ;
16317 wxString result;
16318 PyObject * obj0 = 0 ;
16319 PyObject * obj1 = 0 ;
16320 char *kwnames[] = {
16321 (char *) "self",(char *) "n", NULL
16322 };
16323
16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16326 if (SWIG_arg_fail(1)) SWIG_fail;
16327 {
16328 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16329 if (SWIG_arg_fail(2)) SWIG_fail;
16330 }
16331 {
16332 PyThreadState* __tstate = wxPyBeginAllowThreads();
16333 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16334
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 {
16339 #if wxUSE_UNICODE
16340 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16341 #else
16342 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16343 #endif
16344 }
16345 return resultobj;
16346 fail:
16347 return NULL;
16348 }
16349
16350
16351 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj;
16353 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16354 wxImageList *arg2 = (wxImageList *) 0 ;
16355 PyObject * obj0 = 0 ;
16356 PyObject * obj1 = 0 ;
16357 char *kwnames[] = {
16358 (char *) "self",(char *) "imageList", NULL
16359 };
16360
16361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16363 if (SWIG_arg_fail(1)) SWIG_fail;
16364 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16365 if (SWIG_arg_fail(2)) SWIG_fail;
16366 {
16367 PyThreadState* __tstate = wxPyBeginAllowThreads();
16368 (arg1)->SetImageList(arg2);
16369
16370 wxPyEndAllowThreads(__tstate);
16371 if (PyErr_Occurred()) SWIG_fail;
16372 }
16373 Py_INCREF(Py_None); resultobj = Py_None;
16374 return resultobj;
16375 fail:
16376 return NULL;
16377 }
16378
16379
16380 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16381 PyObject *resultobj;
16382 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16383 wxImageList *arg2 = (wxImageList *) 0 ;
16384 PyObject * obj0 = 0 ;
16385 PyObject * obj1 = 0 ;
16386 char *kwnames[] = {
16387 (char *) "self",(char *) "imageList", NULL
16388 };
16389
16390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16392 if (SWIG_arg_fail(1)) SWIG_fail;
16393 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16394 if (SWIG_arg_fail(2)) SWIG_fail;
16395 {
16396 PyThreadState* __tstate = wxPyBeginAllowThreads();
16397 (arg1)->AssignImageList(arg2);
16398
16399 wxPyEndAllowThreads(__tstate);
16400 if (PyErr_Occurred()) SWIG_fail;
16401 }
16402 Py_INCREF(Py_None); resultobj = Py_None;
16403 return resultobj;
16404 fail:
16405 return NULL;
16406 }
16407
16408
16409 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16410 PyObject *resultobj;
16411 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16412 wxImageList *result;
16413 PyObject * obj0 = 0 ;
16414 char *kwnames[] = {
16415 (char *) "self", NULL
16416 };
16417
16418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16420 if (SWIG_arg_fail(1)) SWIG_fail;
16421 {
16422 PyThreadState* __tstate = wxPyBeginAllowThreads();
16423 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16424
16425 wxPyEndAllowThreads(__tstate);
16426 if (PyErr_Occurred()) SWIG_fail;
16427 }
16428 {
16429 resultobj = wxPyMake_wxObject(result, 0);
16430 }
16431 return resultobj;
16432 fail:
16433 return NULL;
16434 }
16435
16436
16437 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16440 size_t arg2 ;
16441 int result;
16442 PyObject * obj0 = 0 ;
16443 PyObject * obj1 = 0 ;
16444 char *kwnames[] = {
16445 (char *) "self",(char *) "n", NULL
16446 };
16447
16448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16450 if (SWIG_arg_fail(1)) SWIG_fail;
16451 {
16452 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16453 if (SWIG_arg_fail(2)) SWIG_fail;
16454 }
16455 {
16456 PyThreadState* __tstate = wxPyBeginAllowThreads();
16457 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16458
16459 wxPyEndAllowThreads(__tstate);
16460 if (PyErr_Occurred()) SWIG_fail;
16461 }
16462 {
16463 resultobj = SWIG_From_int((int)(result));
16464 }
16465 return resultobj;
16466 fail:
16467 return NULL;
16468 }
16469
16470
16471 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16474 size_t arg2 ;
16475 int arg3 ;
16476 bool result;
16477 PyObject * obj0 = 0 ;
16478 PyObject * obj1 = 0 ;
16479 PyObject * obj2 = 0 ;
16480 char *kwnames[] = {
16481 (char *) "self",(char *) "n",(char *) "imageId", NULL
16482 };
16483
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16486 if (SWIG_arg_fail(1)) SWIG_fail;
16487 {
16488 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16489 if (SWIG_arg_fail(2)) SWIG_fail;
16490 }
16491 {
16492 arg3 = (int)(SWIG_As_int(obj2));
16493 if (SWIG_arg_fail(3)) SWIG_fail;
16494 }
16495 {
16496 PyThreadState* __tstate = wxPyBeginAllowThreads();
16497 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16498
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
16502 {
16503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16504 }
16505 return resultobj;
16506 fail:
16507 return NULL;
16508 }
16509
16510
16511 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16512 PyObject *resultobj;
16513 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16514 wxSize *arg2 = 0 ;
16515 wxSize temp2 ;
16516 PyObject * obj0 = 0 ;
16517 PyObject * obj1 = 0 ;
16518 char *kwnames[] = {
16519 (char *) "self",(char *) "size", NULL
16520 };
16521
16522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16524 if (SWIG_arg_fail(1)) SWIG_fail;
16525 {
16526 arg2 = &temp2;
16527 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16528 }
16529 {
16530 PyThreadState* __tstate = wxPyBeginAllowThreads();
16531 (arg1)->SetPageSize((wxSize const &)*arg2);
16532
16533 wxPyEndAllowThreads(__tstate);
16534 if (PyErr_Occurred()) SWIG_fail;
16535 }
16536 Py_INCREF(Py_None); resultobj = Py_None;
16537 return resultobj;
16538 fail:
16539 return NULL;
16540 }
16541
16542
16543 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16544 PyObject *resultobj;
16545 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16546 wxSize *arg2 = 0 ;
16547 wxSize result;
16548 wxSize temp2 ;
16549 PyObject * obj0 = 0 ;
16550 PyObject * obj1 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self",(char *) "sizePage", NULL
16553 };
16554
16555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16557 if (SWIG_arg_fail(1)) SWIG_fail;
16558 {
16559 arg2 = &temp2;
16560 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16561 }
16562 {
16563 PyThreadState* __tstate = wxPyBeginAllowThreads();
16564 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16565
16566 wxPyEndAllowThreads(__tstate);
16567 if (PyErr_Occurred()) SWIG_fail;
16568 }
16569 {
16570 wxSize * resultptr;
16571 resultptr = new wxSize((wxSize &)(result));
16572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16573 }
16574 return resultobj;
16575 fail:
16576 return NULL;
16577 }
16578
16579
16580 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16581 PyObject *resultobj;
16582 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16583 size_t arg2 ;
16584 bool result;
16585 PyObject * obj0 = 0 ;
16586 PyObject * obj1 = 0 ;
16587 char *kwnames[] = {
16588 (char *) "self",(char *) "n", NULL
16589 };
16590
16591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16593 if (SWIG_arg_fail(1)) SWIG_fail;
16594 {
16595 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16596 if (SWIG_arg_fail(2)) SWIG_fail;
16597 }
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 result = (bool)(arg1)->DeletePage(arg2);
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 {
16606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16607 }
16608 return resultobj;
16609 fail:
16610 return NULL;
16611 }
16612
16613
16614 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj;
16616 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16617 size_t arg2 ;
16618 bool result;
16619 PyObject * obj0 = 0 ;
16620 PyObject * obj1 = 0 ;
16621 char *kwnames[] = {
16622 (char *) "self",(char *) "n", NULL
16623 };
16624
16625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
16626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16627 if (SWIG_arg_fail(1)) SWIG_fail;
16628 {
16629 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16630 if (SWIG_arg_fail(2)) SWIG_fail;
16631 }
16632 {
16633 PyThreadState* __tstate = wxPyBeginAllowThreads();
16634 result = (bool)(arg1)->RemovePage(arg2);
16635
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 {
16640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16641 }
16642 return resultobj;
16643 fail:
16644 return NULL;
16645 }
16646
16647
16648 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj;
16650 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16651 bool result;
16652 PyObject * obj0 = 0 ;
16653 char *kwnames[] = {
16654 (char *) "self", NULL
16655 };
16656
16657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16659 if (SWIG_arg_fail(1)) SWIG_fail;
16660 {
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 result = (bool)(arg1)->DeleteAllPages();
16663
16664 wxPyEndAllowThreads(__tstate);
16665 if (PyErr_Occurred()) SWIG_fail;
16666 }
16667 {
16668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16669 }
16670 return resultobj;
16671 fail:
16672 return NULL;
16673 }
16674
16675
16676 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16677 PyObject *resultobj;
16678 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16679 wxWindow *arg2 = (wxWindow *) 0 ;
16680 wxString *arg3 = 0 ;
16681 bool arg4 = (bool) false ;
16682 int arg5 = (int) -1 ;
16683 bool result;
16684 bool temp3 = false ;
16685 PyObject * obj0 = 0 ;
16686 PyObject * obj1 = 0 ;
16687 PyObject * obj2 = 0 ;
16688 PyObject * obj3 = 0 ;
16689 PyObject * obj4 = 0 ;
16690 char *kwnames[] = {
16691 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16692 };
16693
16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16696 if (SWIG_arg_fail(1)) SWIG_fail;
16697 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16698 if (SWIG_arg_fail(2)) SWIG_fail;
16699 {
16700 arg3 = wxString_in_helper(obj2);
16701 if (arg3 == NULL) SWIG_fail;
16702 temp3 = true;
16703 }
16704 if (obj3) {
16705 {
16706 arg4 = (bool)(SWIG_As_bool(obj3));
16707 if (SWIG_arg_fail(4)) SWIG_fail;
16708 }
16709 }
16710 if (obj4) {
16711 {
16712 arg5 = (int)(SWIG_As_int(obj4));
16713 if (SWIG_arg_fail(5)) SWIG_fail;
16714 }
16715 }
16716 {
16717 PyThreadState* __tstate = wxPyBeginAllowThreads();
16718 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16719
16720 wxPyEndAllowThreads(__tstate);
16721 if (PyErr_Occurred()) SWIG_fail;
16722 }
16723 {
16724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16725 }
16726 {
16727 if (temp3)
16728 delete arg3;
16729 }
16730 return resultobj;
16731 fail:
16732 {
16733 if (temp3)
16734 delete arg3;
16735 }
16736 return NULL;
16737 }
16738
16739
16740 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16741 PyObject *resultobj;
16742 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16743 size_t arg2 ;
16744 wxWindow *arg3 = (wxWindow *) 0 ;
16745 wxString *arg4 = 0 ;
16746 bool arg5 = (bool) false ;
16747 int arg6 = (int) -1 ;
16748 bool result;
16749 bool temp4 = false ;
16750 PyObject * obj0 = 0 ;
16751 PyObject * obj1 = 0 ;
16752 PyObject * obj2 = 0 ;
16753 PyObject * obj3 = 0 ;
16754 PyObject * obj4 = 0 ;
16755 PyObject * obj5 = 0 ;
16756 char *kwnames[] = {
16757 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16758 };
16759
16760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16762 if (SWIG_arg_fail(1)) SWIG_fail;
16763 {
16764 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16765 if (SWIG_arg_fail(2)) SWIG_fail;
16766 }
16767 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16768 if (SWIG_arg_fail(3)) SWIG_fail;
16769 {
16770 arg4 = wxString_in_helper(obj3);
16771 if (arg4 == NULL) SWIG_fail;
16772 temp4 = true;
16773 }
16774 if (obj4) {
16775 {
16776 arg5 = (bool)(SWIG_As_bool(obj4));
16777 if (SWIG_arg_fail(5)) SWIG_fail;
16778 }
16779 }
16780 if (obj5) {
16781 {
16782 arg6 = (int)(SWIG_As_int(obj5));
16783 if (SWIG_arg_fail(6)) SWIG_fail;
16784 }
16785 }
16786 {
16787 PyThreadState* __tstate = wxPyBeginAllowThreads();
16788 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16789
16790 wxPyEndAllowThreads(__tstate);
16791 if (PyErr_Occurred()) SWIG_fail;
16792 }
16793 {
16794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16795 }
16796 {
16797 if (temp4)
16798 delete arg4;
16799 }
16800 return resultobj;
16801 fail:
16802 {
16803 if (temp4)
16804 delete arg4;
16805 }
16806 return NULL;
16807 }
16808
16809
16810 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16811 PyObject *resultobj;
16812 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16813 size_t arg2 ;
16814 int result;
16815 PyObject * obj0 = 0 ;
16816 PyObject * obj1 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self",(char *) "n", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16823 if (SWIG_arg_fail(1)) SWIG_fail;
16824 {
16825 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16826 if (SWIG_arg_fail(2)) SWIG_fail;
16827 }
16828 {
16829 PyThreadState* __tstate = wxPyBeginAllowThreads();
16830 result = (int)(arg1)->SetSelection(arg2);
16831
16832 wxPyEndAllowThreads(__tstate);
16833 if (PyErr_Occurred()) SWIG_fail;
16834 }
16835 {
16836 resultobj = SWIG_From_int((int)(result));
16837 }
16838 return resultobj;
16839 fail:
16840 return NULL;
16841 }
16842
16843
16844 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16845 PyObject *resultobj;
16846 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16847 bool arg2 = (bool) true ;
16848 PyObject * obj0 = 0 ;
16849 PyObject * obj1 = 0 ;
16850 char *kwnames[] = {
16851 (char *) "self",(char *) "forward", NULL
16852 };
16853
16854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
16855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16856 if (SWIG_arg_fail(1)) SWIG_fail;
16857 if (obj1) {
16858 {
16859 arg2 = (bool)(SWIG_As_bool(obj1));
16860 if (SWIG_arg_fail(2)) SWIG_fail;
16861 }
16862 }
16863 {
16864 PyThreadState* __tstate = wxPyBeginAllowThreads();
16865 (arg1)->AdvanceSelection(arg2);
16866
16867 wxPyEndAllowThreads(__tstate);
16868 if (PyErr_Occurred()) SWIG_fail;
16869 }
16870 Py_INCREF(Py_None); resultobj = Py_None;
16871 return resultobj;
16872 fail:
16873 return NULL;
16874 }
16875
16876
16877 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16878 PyObject *resultobj;
16879 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16880 wxVisualAttributes result;
16881 PyObject * obj0 = 0 ;
16882 char *kwnames[] = {
16883 (char *) "variant", NULL
16884 };
16885
16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16887 if (obj0) {
16888 {
16889 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16890 if (SWIG_arg_fail(1)) SWIG_fail;
16891 }
16892 }
16893 {
16894 if (!wxPyCheckForApp()) SWIG_fail;
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
16897
16898 wxPyEndAllowThreads(__tstate);
16899 if (PyErr_Occurred()) SWIG_fail;
16900 }
16901 {
16902 wxVisualAttributes * resultptr;
16903 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16905 }
16906 return resultobj;
16907 fail:
16908 return NULL;
16909 }
16910
16911
16912 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
16913 PyObject *obj;
16914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16915 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
16916 Py_INCREF(obj);
16917 return Py_BuildValue((char *)"");
16918 }
16919 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16920 PyObject *resultobj;
16921 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16922 int arg2 = (int) 0 ;
16923 int arg3 = (int) -1 ;
16924 int arg4 = (int) -1 ;
16925 wxBookCtrlBaseEvent *result;
16926 PyObject * obj0 = 0 ;
16927 PyObject * obj1 = 0 ;
16928 PyObject * obj2 = 0 ;
16929 PyObject * obj3 = 0 ;
16930 char *kwnames[] = {
16931 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16932 };
16933
16934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16935 if (obj0) {
16936 {
16937 arg1 = (wxEventType)(SWIG_As_int(obj0));
16938 if (SWIG_arg_fail(1)) SWIG_fail;
16939 }
16940 }
16941 if (obj1) {
16942 {
16943 arg2 = (int)(SWIG_As_int(obj1));
16944 if (SWIG_arg_fail(2)) SWIG_fail;
16945 }
16946 }
16947 if (obj2) {
16948 {
16949 arg3 = (int)(SWIG_As_int(obj2));
16950 if (SWIG_arg_fail(3)) SWIG_fail;
16951 }
16952 }
16953 if (obj3) {
16954 {
16955 arg4 = (int)(SWIG_As_int(obj3));
16956 if (SWIG_arg_fail(4)) SWIG_fail;
16957 }
16958 }
16959 {
16960 PyThreadState* __tstate = wxPyBeginAllowThreads();
16961 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
16962
16963 wxPyEndAllowThreads(__tstate);
16964 if (PyErr_Occurred()) SWIG_fail;
16965 }
16966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
16967 return resultobj;
16968 fail:
16969 return NULL;
16970 }
16971
16972
16973 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16974 PyObject *resultobj;
16975 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16976 int result;
16977 PyObject * obj0 = 0 ;
16978 char *kwnames[] = {
16979 (char *) "self", NULL
16980 };
16981
16982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
16983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16984 if (SWIG_arg_fail(1)) SWIG_fail;
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
16988
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 {
16993 resultobj = SWIG_From_int((int)(result));
16994 }
16995 return resultobj;
16996 fail:
16997 return NULL;
16998 }
16999
17000
17001 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17002 PyObject *resultobj;
17003 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17004 int arg2 ;
17005 PyObject * obj0 = 0 ;
17006 PyObject * obj1 = 0 ;
17007 char *kwnames[] = {
17008 (char *) "self",(char *) "nSel", NULL
17009 };
17010
17011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17013 if (SWIG_arg_fail(1)) SWIG_fail;
17014 {
17015 arg2 = (int)(SWIG_As_int(obj1));
17016 if (SWIG_arg_fail(2)) SWIG_fail;
17017 }
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 (arg1)->SetSelection(arg2);
17021
17022 wxPyEndAllowThreads(__tstate);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 Py_INCREF(Py_None); resultobj = Py_None;
17026 return resultobj;
17027 fail:
17028 return NULL;
17029 }
17030
17031
17032 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj;
17034 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17035 int result;
17036 PyObject * obj0 = 0 ;
17037 char *kwnames[] = {
17038 (char *) "self", NULL
17039 };
17040
17041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17043 if (SWIG_arg_fail(1)) SWIG_fail;
17044 {
17045 PyThreadState* __tstate = wxPyBeginAllowThreads();
17046 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17047
17048 wxPyEndAllowThreads(__tstate);
17049 if (PyErr_Occurred()) SWIG_fail;
17050 }
17051 {
17052 resultobj = SWIG_From_int((int)(result));
17053 }
17054 return resultobj;
17055 fail:
17056 return NULL;
17057 }
17058
17059
17060 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17063 int arg2 ;
17064 PyObject * obj0 = 0 ;
17065 PyObject * obj1 = 0 ;
17066 char *kwnames[] = {
17067 (char *) "self",(char *) "nOldSel", NULL
17068 };
17069
17070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17072 if (SWIG_arg_fail(1)) SWIG_fail;
17073 {
17074 arg2 = (int)(SWIG_As_int(obj1));
17075 if (SWIG_arg_fail(2)) SWIG_fail;
17076 }
17077 {
17078 PyThreadState* __tstate = wxPyBeginAllowThreads();
17079 (arg1)->SetOldSelection(arg2);
17080
17081 wxPyEndAllowThreads(__tstate);
17082 if (PyErr_Occurred()) SWIG_fail;
17083 }
17084 Py_INCREF(Py_None); resultobj = Py_None;
17085 return resultobj;
17086 fail:
17087 return NULL;
17088 }
17089
17090
17091 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17092 PyObject *obj;
17093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17094 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17095 Py_INCREF(obj);
17096 return Py_BuildValue((char *)"");
17097 }
17098 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17099 PyObject *resultobj;
17100 wxWindow *arg1 = (wxWindow *) 0 ;
17101 int arg2 = (int) -1 ;
17102 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17103 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17104 wxSize const &arg4_defvalue = wxDefaultSize ;
17105 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17106 long arg5 = (long) 0 ;
17107 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
17108 wxString *arg6 = (wxString *) &arg6_defvalue ;
17109 wxNotebook *result;
17110 wxPoint temp3 ;
17111 wxSize temp4 ;
17112 bool temp6 = false ;
17113 PyObject * obj0 = 0 ;
17114 PyObject * obj1 = 0 ;
17115 PyObject * obj2 = 0 ;
17116 PyObject * obj3 = 0 ;
17117 PyObject * obj4 = 0 ;
17118 PyObject * obj5 = 0 ;
17119 char *kwnames[] = {
17120 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17125 if (SWIG_arg_fail(1)) SWIG_fail;
17126 if (obj1) {
17127 {
17128 arg2 = (int)(SWIG_As_int(obj1));
17129 if (SWIG_arg_fail(2)) SWIG_fail;
17130 }
17131 }
17132 if (obj2) {
17133 {
17134 arg3 = &temp3;
17135 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17136 }
17137 }
17138 if (obj3) {
17139 {
17140 arg4 = &temp4;
17141 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17142 }
17143 }
17144 if (obj4) {
17145 {
17146 arg5 = (long)(SWIG_As_long(obj4));
17147 if (SWIG_arg_fail(5)) SWIG_fail;
17148 }
17149 }
17150 if (obj5) {
17151 {
17152 arg6 = wxString_in_helper(obj5);
17153 if (arg6 == NULL) SWIG_fail;
17154 temp6 = true;
17155 }
17156 }
17157 {
17158 if (!wxPyCheckForApp()) SWIG_fail;
17159 PyThreadState* __tstate = wxPyBeginAllowThreads();
17160 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17161
17162 wxPyEndAllowThreads(__tstate);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17166 {
17167 if (temp6)
17168 delete arg6;
17169 }
17170 return resultobj;
17171 fail:
17172 {
17173 if (temp6)
17174 delete arg6;
17175 }
17176 return NULL;
17177 }
17178
17179
17180 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17181 PyObject *resultobj;
17182 wxNotebook *result;
17183 char *kwnames[] = {
17184 NULL
17185 };
17186
17187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17188 {
17189 if (!wxPyCheckForApp()) SWIG_fail;
17190 PyThreadState* __tstate = wxPyBeginAllowThreads();
17191 result = (wxNotebook *)new wxNotebook();
17192
17193 wxPyEndAllowThreads(__tstate);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17197 return resultobj;
17198 fail:
17199 return NULL;
17200 }
17201
17202
17203 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17204 PyObject *resultobj;
17205 wxNotebook *arg1 = (wxNotebook *) 0 ;
17206 wxWindow *arg2 = (wxWindow *) 0 ;
17207 int arg3 = (int) -1 ;
17208 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17209 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17210 wxSize const &arg5_defvalue = wxDefaultSize ;
17211 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17212 long arg6 = (long) 0 ;
17213 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
17214 wxString *arg7 = (wxString *) &arg7_defvalue ;
17215 bool result;
17216 wxPoint temp4 ;
17217 wxSize temp5 ;
17218 bool temp7 = false ;
17219 PyObject * obj0 = 0 ;
17220 PyObject * obj1 = 0 ;
17221 PyObject * obj2 = 0 ;
17222 PyObject * obj3 = 0 ;
17223 PyObject * obj4 = 0 ;
17224 PyObject * obj5 = 0 ;
17225 PyObject * obj6 = 0 ;
17226 char *kwnames[] = {
17227 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17228 };
17229
17230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17232 if (SWIG_arg_fail(1)) SWIG_fail;
17233 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17234 if (SWIG_arg_fail(2)) SWIG_fail;
17235 if (obj2) {
17236 {
17237 arg3 = (int)(SWIG_As_int(obj2));
17238 if (SWIG_arg_fail(3)) SWIG_fail;
17239 }
17240 }
17241 if (obj3) {
17242 {
17243 arg4 = &temp4;
17244 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17245 }
17246 }
17247 if (obj4) {
17248 {
17249 arg5 = &temp5;
17250 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17251 }
17252 }
17253 if (obj5) {
17254 {
17255 arg6 = (long)(SWIG_As_long(obj5));
17256 if (SWIG_arg_fail(6)) SWIG_fail;
17257 }
17258 }
17259 if (obj6) {
17260 {
17261 arg7 = wxString_in_helper(obj6);
17262 if (arg7 == NULL) SWIG_fail;
17263 temp7 = true;
17264 }
17265 }
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 {
17274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17275 }
17276 {
17277 if (temp7)
17278 delete arg7;
17279 }
17280 return resultobj;
17281 fail:
17282 {
17283 if (temp7)
17284 delete arg7;
17285 }
17286 return NULL;
17287 }
17288
17289
17290 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17291 PyObject *resultobj;
17292 wxNotebook *arg1 = (wxNotebook *) 0 ;
17293 int result;
17294 PyObject * obj0 = 0 ;
17295 char *kwnames[] = {
17296 (char *) "self", NULL
17297 };
17298
17299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17301 if (SWIG_arg_fail(1)) SWIG_fail;
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17305
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 {
17310 resultobj = SWIG_From_int((int)(result));
17311 }
17312 return resultobj;
17313 fail:
17314 return NULL;
17315 }
17316
17317
17318 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17319 PyObject *resultobj;
17320 wxNotebook *arg1 = (wxNotebook *) 0 ;
17321 wxSize *arg2 = 0 ;
17322 wxSize temp2 ;
17323 PyObject * obj0 = 0 ;
17324 PyObject * obj1 = 0 ;
17325 char *kwnames[] = {
17326 (char *) "self",(char *) "padding", NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
17334 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17335 }
17336 {
17337 PyThreadState* __tstate = wxPyBeginAllowThreads();
17338 (arg1)->SetPadding((wxSize const &)*arg2);
17339
17340 wxPyEndAllowThreads(__tstate);
17341 if (PyErr_Occurred()) SWIG_fail;
17342 }
17343 Py_INCREF(Py_None); resultobj = Py_None;
17344 return resultobj;
17345 fail:
17346 return NULL;
17347 }
17348
17349
17350 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17351 PyObject *resultobj;
17352 wxNotebook *arg1 = (wxNotebook *) 0 ;
17353 wxSize *arg2 = 0 ;
17354 wxSize temp2 ;
17355 PyObject * obj0 = 0 ;
17356 PyObject * obj1 = 0 ;
17357 char *kwnames[] = {
17358 (char *) "self",(char *) "sz", NULL
17359 };
17360
17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail;
17364 {
17365 arg2 = &temp2;
17366 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17367 }
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 (arg1)->SetTabSize((wxSize const &)*arg2);
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 Py_INCREF(Py_None); resultobj = Py_None;
17376 return resultobj;
17377 fail:
17378 return NULL;
17379 }
17380
17381
17382 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17383 PyObject *resultobj;
17384 wxNotebook *arg1 = (wxNotebook *) 0 ;
17385 wxPoint *arg2 = 0 ;
17386 long *arg3 = (long *) 0 ;
17387 int result;
17388 wxPoint temp2 ;
17389 long temp3 ;
17390 int res3 = 0 ;
17391 PyObject * obj0 = 0 ;
17392 PyObject * obj1 = 0 ;
17393 char *kwnames[] = {
17394 (char *) "self",(char *) "pt", NULL
17395 };
17396
17397 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17400 if (SWIG_arg_fail(1)) SWIG_fail;
17401 {
17402 arg2 = &temp2;
17403 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17404 }
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 {
17413 resultobj = SWIG_From_int((int)(result));
17414 }
17415 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17416 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17417 return resultobj;
17418 fail:
17419 return NULL;
17420 }
17421
17422
17423 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxNotebook *arg1 = (wxNotebook *) 0 ;
17426 wxSize *arg2 = 0 ;
17427 wxSize result;
17428 wxSize temp2 ;
17429 PyObject * obj0 = 0 ;
17430 PyObject * obj1 = 0 ;
17431 char *kwnames[] = {
17432 (char *) "self",(char *) "sizePage", NULL
17433 };
17434
17435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17437 if (SWIG_arg_fail(1)) SWIG_fail;
17438 {
17439 arg2 = &temp2;
17440 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17441 }
17442 {
17443 PyThreadState* __tstate = wxPyBeginAllowThreads();
17444 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17445
17446 wxPyEndAllowThreads(__tstate);
17447 if (PyErr_Occurred()) SWIG_fail;
17448 }
17449 {
17450 wxSize * resultptr;
17451 resultptr = new wxSize((wxSize &)(result));
17452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17453 }
17454 return resultobj;
17455 fail:
17456 return NULL;
17457 }
17458
17459
17460 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17461 PyObject *resultobj;
17462 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17463 wxVisualAttributes result;
17464 PyObject * obj0 = 0 ;
17465 char *kwnames[] = {
17466 (char *) "variant", NULL
17467 };
17468
17469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17470 if (obj0) {
17471 {
17472 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17473 if (SWIG_arg_fail(1)) SWIG_fail;
17474 }
17475 }
17476 {
17477 if (!wxPyCheckForApp()) SWIG_fail;
17478 PyThreadState* __tstate = wxPyBeginAllowThreads();
17479 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17480
17481 wxPyEndAllowThreads(__tstate);
17482 if (PyErr_Occurred()) SWIG_fail;
17483 }
17484 {
17485 wxVisualAttributes * resultptr;
17486 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
17487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17488 }
17489 return resultobj;
17490 fail:
17491 return NULL;
17492 }
17493
17494
17495 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17496 PyObject *obj;
17497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17498 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17499 Py_INCREF(obj);
17500 return Py_BuildValue((char *)"");
17501 }
17502 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17503 PyObject *resultobj;
17504 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17505 int arg2 = (int) 0 ;
17506 int arg3 = (int) -1 ;
17507 int arg4 = (int) -1 ;
17508 wxNotebookEvent *result;
17509 PyObject * obj0 = 0 ;
17510 PyObject * obj1 = 0 ;
17511 PyObject * obj2 = 0 ;
17512 PyObject * obj3 = 0 ;
17513 char *kwnames[] = {
17514 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17515 };
17516
17517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17518 if (obj0) {
17519 {
17520 arg1 = (wxEventType)(SWIG_As_int(obj0));
17521 if (SWIG_arg_fail(1)) SWIG_fail;
17522 }
17523 }
17524 if (obj1) {
17525 {
17526 arg2 = (int)(SWIG_As_int(obj1));
17527 if (SWIG_arg_fail(2)) SWIG_fail;
17528 }
17529 }
17530 if (obj2) {
17531 {
17532 arg3 = (int)(SWIG_As_int(obj2));
17533 if (SWIG_arg_fail(3)) SWIG_fail;
17534 }
17535 }
17536 if (obj3) {
17537 {
17538 arg4 = (int)(SWIG_As_int(obj3));
17539 if (SWIG_arg_fail(4)) SWIG_fail;
17540 }
17541 }
17542 {
17543 PyThreadState* __tstate = wxPyBeginAllowThreads();
17544 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17545
17546 wxPyEndAllowThreads(__tstate);
17547 if (PyErr_Occurred()) SWIG_fail;
17548 }
17549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17550 return resultobj;
17551 fail:
17552 return NULL;
17553 }
17554
17555
17556 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17557 PyObject *obj;
17558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17559 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17560 Py_INCREF(obj);
17561 return Py_BuildValue((char *)"");
17562 }
17563 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj;
17565 wxWindow *arg1 = (wxWindow *) 0 ;
17566 int arg2 = (int) -1 ;
17567 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17568 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17569 wxSize const &arg4_defvalue = wxDefaultSize ;
17570 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17571 long arg5 = (long) 0 ;
17572 wxString const &arg6_defvalue = wxPyEmptyString ;
17573 wxString *arg6 = (wxString *) &arg6_defvalue ;
17574 wxListbook *result;
17575 wxPoint temp3 ;
17576 wxSize temp4 ;
17577 bool temp6 = false ;
17578 PyObject * obj0 = 0 ;
17579 PyObject * obj1 = 0 ;
17580 PyObject * obj2 = 0 ;
17581 PyObject * obj3 = 0 ;
17582 PyObject * obj4 = 0 ;
17583 PyObject * obj5 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17590 if (SWIG_arg_fail(1)) SWIG_fail;
17591 if (obj1) {
17592 {
17593 arg2 = (int)(SWIG_As_int(obj1));
17594 if (SWIG_arg_fail(2)) SWIG_fail;
17595 }
17596 }
17597 if (obj2) {
17598 {
17599 arg3 = &temp3;
17600 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17601 }
17602 }
17603 if (obj3) {
17604 {
17605 arg4 = &temp4;
17606 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17607 }
17608 }
17609 if (obj4) {
17610 {
17611 arg5 = (long)(SWIG_As_long(obj4));
17612 if (SWIG_arg_fail(5)) SWIG_fail;
17613 }
17614 }
17615 if (obj5) {
17616 {
17617 arg6 = wxString_in_helper(obj5);
17618 if (arg6 == NULL) SWIG_fail;
17619 temp6 = true;
17620 }
17621 }
17622 {
17623 if (!wxPyCheckForApp()) SWIG_fail;
17624 PyThreadState* __tstate = wxPyBeginAllowThreads();
17625 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17626
17627 wxPyEndAllowThreads(__tstate);
17628 if (PyErr_Occurred()) SWIG_fail;
17629 }
17630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17631 {
17632 if (temp6)
17633 delete arg6;
17634 }
17635 return resultobj;
17636 fail:
17637 {
17638 if (temp6)
17639 delete arg6;
17640 }
17641 return NULL;
17642 }
17643
17644
17645 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj;
17647 wxListbook *result;
17648 char *kwnames[] = {
17649 NULL
17650 };
17651
17652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17653 {
17654 if (!wxPyCheckForApp()) SWIG_fail;
17655 PyThreadState* __tstate = wxPyBeginAllowThreads();
17656 result = (wxListbook *)new wxListbook();
17657
17658 wxPyEndAllowThreads(__tstate);
17659 if (PyErr_Occurred()) SWIG_fail;
17660 }
17661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17662 return resultobj;
17663 fail:
17664 return NULL;
17665 }
17666
17667
17668 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17669 PyObject *resultobj;
17670 wxListbook *arg1 = (wxListbook *) 0 ;
17671 wxWindow *arg2 = (wxWindow *) 0 ;
17672 int arg3 = (int) -1 ;
17673 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17674 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17675 wxSize const &arg5_defvalue = wxDefaultSize ;
17676 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17677 long arg6 = (long) 0 ;
17678 wxString const &arg7_defvalue = wxPyEmptyString ;
17679 wxString *arg7 = (wxString *) &arg7_defvalue ;
17680 bool result;
17681 wxPoint temp4 ;
17682 wxSize temp5 ;
17683 bool temp7 = false ;
17684 PyObject * obj0 = 0 ;
17685 PyObject * obj1 = 0 ;
17686 PyObject * obj2 = 0 ;
17687 PyObject * obj3 = 0 ;
17688 PyObject * obj4 = 0 ;
17689 PyObject * obj5 = 0 ;
17690 PyObject * obj6 = 0 ;
17691 char *kwnames[] = {
17692 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17693 };
17694
17695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17697 if (SWIG_arg_fail(1)) SWIG_fail;
17698 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17699 if (SWIG_arg_fail(2)) SWIG_fail;
17700 if (obj2) {
17701 {
17702 arg3 = (int)(SWIG_As_int(obj2));
17703 if (SWIG_arg_fail(3)) SWIG_fail;
17704 }
17705 }
17706 if (obj3) {
17707 {
17708 arg4 = &temp4;
17709 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17710 }
17711 }
17712 if (obj4) {
17713 {
17714 arg5 = &temp5;
17715 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17716 }
17717 }
17718 if (obj5) {
17719 {
17720 arg6 = (long)(SWIG_As_long(obj5));
17721 if (SWIG_arg_fail(6)) SWIG_fail;
17722 }
17723 }
17724 if (obj6) {
17725 {
17726 arg7 = wxString_in_helper(obj6);
17727 if (arg7 == NULL) SWIG_fail;
17728 temp7 = true;
17729 }
17730 }
17731 {
17732 PyThreadState* __tstate = wxPyBeginAllowThreads();
17733 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17734
17735 wxPyEndAllowThreads(__tstate);
17736 if (PyErr_Occurred()) SWIG_fail;
17737 }
17738 {
17739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17740 }
17741 {
17742 if (temp7)
17743 delete arg7;
17744 }
17745 return resultobj;
17746 fail:
17747 {
17748 if (temp7)
17749 delete arg7;
17750 }
17751 return NULL;
17752 }
17753
17754
17755 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17756 PyObject *resultobj;
17757 wxListbook *arg1 = (wxListbook *) 0 ;
17758 bool result;
17759 PyObject * obj0 = 0 ;
17760 char *kwnames[] = {
17761 (char *) "self", NULL
17762 };
17763
17764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
17765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17766 if (SWIG_arg_fail(1)) SWIG_fail;
17767 {
17768 PyThreadState* __tstate = wxPyBeginAllowThreads();
17769 result = (bool)((wxListbook const *)arg1)->IsVertical();
17770
17771 wxPyEndAllowThreads(__tstate);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 }
17774 {
17775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17776 }
17777 return resultobj;
17778 fail:
17779 return NULL;
17780 }
17781
17782
17783 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj;
17785 wxListbook *arg1 = (wxListbook *) 0 ;
17786 wxListView *result;
17787 PyObject * obj0 = 0 ;
17788 char *kwnames[] = {
17789 (char *) "self", NULL
17790 };
17791
17792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
17793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17794 if (SWIG_arg_fail(1)) SWIG_fail;
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 result = (wxListView *)(arg1)->GetListView();
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17803 return resultobj;
17804 fail:
17805 return NULL;
17806 }
17807
17808
17809 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
17810 PyObject *obj;
17811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17812 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17813 Py_INCREF(obj);
17814 return Py_BuildValue((char *)"");
17815 }
17816 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17817 PyObject *resultobj;
17818 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17819 int arg2 = (int) 0 ;
17820 int arg3 = (int) -1 ;
17821 int arg4 = (int) -1 ;
17822 wxListbookEvent *result;
17823 PyObject * obj0 = 0 ;
17824 PyObject * obj1 = 0 ;
17825 PyObject * obj2 = 0 ;
17826 PyObject * obj3 = 0 ;
17827 char *kwnames[] = {
17828 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17829 };
17830
17831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17832 if (obj0) {
17833 {
17834 arg1 = (wxEventType)(SWIG_As_int(obj0));
17835 if (SWIG_arg_fail(1)) SWIG_fail;
17836 }
17837 }
17838 if (obj1) {
17839 {
17840 arg2 = (int)(SWIG_As_int(obj1));
17841 if (SWIG_arg_fail(2)) SWIG_fail;
17842 }
17843 }
17844 if (obj2) {
17845 {
17846 arg3 = (int)(SWIG_As_int(obj2));
17847 if (SWIG_arg_fail(3)) SWIG_fail;
17848 }
17849 }
17850 if (obj3) {
17851 {
17852 arg4 = (int)(SWIG_As_int(obj3));
17853 if (SWIG_arg_fail(4)) SWIG_fail;
17854 }
17855 }
17856 {
17857 PyThreadState* __tstate = wxPyBeginAllowThreads();
17858 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17859
17860 wxPyEndAllowThreads(__tstate);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17864 return resultobj;
17865 fail:
17866 return NULL;
17867 }
17868
17869
17870 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
17871 PyObject *obj;
17872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17873 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17874 Py_INCREF(obj);
17875 return Py_BuildValue((char *)"");
17876 }
17877 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17878 PyObject *resultobj;
17879 wxWindow *arg1 = (wxWindow *) 0 ;
17880 int arg2 ;
17881 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17882 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17883 wxSize const &arg4_defvalue = wxDefaultSize ;
17884 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17885 long arg5 = (long) 0 ;
17886 wxString const &arg6_defvalue = wxPyEmptyString ;
17887 wxString *arg6 = (wxString *) &arg6_defvalue ;
17888 wxChoicebook *result;
17889 wxPoint temp3 ;
17890 wxSize temp4 ;
17891 bool temp6 = false ;
17892 PyObject * obj0 = 0 ;
17893 PyObject * obj1 = 0 ;
17894 PyObject * obj2 = 0 ;
17895 PyObject * obj3 = 0 ;
17896 PyObject * obj4 = 0 ;
17897 PyObject * obj5 = 0 ;
17898 char *kwnames[] = {
17899 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17900 };
17901
17902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17904 if (SWIG_arg_fail(1)) SWIG_fail;
17905 {
17906 arg2 = (int)(SWIG_As_int(obj1));
17907 if (SWIG_arg_fail(2)) SWIG_fail;
17908 }
17909 if (obj2) {
17910 {
17911 arg3 = &temp3;
17912 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17913 }
17914 }
17915 if (obj3) {
17916 {
17917 arg4 = &temp4;
17918 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17919 }
17920 }
17921 if (obj4) {
17922 {
17923 arg5 = (long)(SWIG_As_long(obj4));
17924 if (SWIG_arg_fail(5)) SWIG_fail;
17925 }
17926 }
17927 if (obj5) {
17928 {
17929 arg6 = wxString_in_helper(obj5);
17930 if (arg6 == NULL) SWIG_fail;
17931 temp6 = true;
17932 }
17933 }
17934 {
17935 if (!wxPyCheckForApp()) SWIG_fail;
17936 PyThreadState* __tstate = wxPyBeginAllowThreads();
17937 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17938
17939 wxPyEndAllowThreads(__tstate);
17940 if (PyErr_Occurred()) SWIG_fail;
17941 }
17942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17943 {
17944 if (temp6)
17945 delete arg6;
17946 }
17947 return resultobj;
17948 fail:
17949 {
17950 if (temp6)
17951 delete arg6;
17952 }
17953 return NULL;
17954 }
17955
17956
17957 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17958 PyObject *resultobj;
17959 wxChoicebook *result;
17960 char *kwnames[] = {
17961 NULL
17962 };
17963
17964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17965 {
17966 if (!wxPyCheckForApp()) SWIG_fail;
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 result = (wxChoicebook *)new wxChoicebook();
17969
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17974 return resultobj;
17975 fail:
17976 return NULL;
17977 }
17978
17979
17980 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17981 PyObject *resultobj;
17982 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17983 wxWindow *arg2 = (wxWindow *) 0 ;
17984 int arg3 ;
17985 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17986 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17987 wxSize const &arg5_defvalue = wxDefaultSize ;
17988 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17989 long arg6 = (long) 0 ;
17990 wxString const &arg7_defvalue = wxPyEmptyString ;
17991 wxString *arg7 = (wxString *) &arg7_defvalue ;
17992 bool result;
17993 wxPoint temp4 ;
17994 wxSize temp5 ;
17995 bool temp7 = false ;
17996 PyObject * obj0 = 0 ;
17997 PyObject * obj1 = 0 ;
17998 PyObject * obj2 = 0 ;
17999 PyObject * obj3 = 0 ;
18000 PyObject * obj4 = 0 ;
18001 PyObject * obj5 = 0 ;
18002 PyObject * obj6 = 0 ;
18003 char *kwnames[] = {
18004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18005 };
18006
18007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18009 if (SWIG_arg_fail(1)) SWIG_fail;
18010 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18011 if (SWIG_arg_fail(2)) SWIG_fail;
18012 {
18013 arg3 = (int)(SWIG_As_int(obj2));
18014 if (SWIG_arg_fail(3)) SWIG_fail;
18015 }
18016 if (obj3) {
18017 {
18018 arg4 = &temp4;
18019 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18020 }
18021 }
18022 if (obj4) {
18023 {
18024 arg5 = &temp5;
18025 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18026 }
18027 }
18028 if (obj5) {
18029 {
18030 arg6 = (long)(SWIG_As_long(obj5));
18031 if (SWIG_arg_fail(6)) SWIG_fail;
18032 }
18033 }
18034 if (obj6) {
18035 {
18036 arg7 = wxString_in_helper(obj6);
18037 if (arg7 == NULL) SWIG_fail;
18038 temp7 = true;
18039 }
18040 }
18041 {
18042 PyThreadState* __tstate = wxPyBeginAllowThreads();
18043 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18044
18045 wxPyEndAllowThreads(__tstate);
18046 if (PyErr_Occurred()) SWIG_fail;
18047 }
18048 {
18049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18050 }
18051 {
18052 if (temp7)
18053 delete arg7;
18054 }
18055 return resultobj;
18056 fail:
18057 {
18058 if (temp7)
18059 delete arg7;
18060 }
18061 return NULL;
18062 }
18063
18064
18065 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj;
18067 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18068 bool result;
18069 PyObject * obj0 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
18075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18076 if (SWIG_arg_fail(1)) SWIG_fail;
18077 {
18078 PyThreadState* __tstate = wxPyBeginAllowThreads();
18079 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18080
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 {
18085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18086 }
18087 return resultobj;
18088 fail:
18089 return NULL;
18090 }
18091
18092
18093 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18094 PyObject *resultobj;
18095 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18096 bool result;
18097 PyObject * obj0 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail;
18105 {
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 result = (bool)(arg1)->DeleteAllPages();
18108
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 {
18113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18114 }
18115 return resultobj;
18116 fail:
18117 return NULL;
18118 }
18119
18120
18121 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18122 PyObject *obj;
18123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18124 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18125 Py_INCREF(obj);
18126 return Py_BuildValue((char *)"");
18127 }
18128 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18129 PyObject *resultobj;
18130 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18131 int arg2 = (int) 0 ;
18132 int arg3 = (int) -1 ;
18133 int arg4 = (int) -1 ;
18134 wxChoicebookEvent *result;
18135 PyObject * obj0 = 0 ;
18136 PyObject * obj1 = 0 ;
18137 PyObject * obj2 = 0 ;
18138 PyObject * obj3 = 0 ;
18139 char *kwnames[] = {
18140 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18141 };
18142
18143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18144 if (obj0) {
18145 {
18146 arg1 = (wxEventType)(SWIG_As_int(obj0));
18147 if (SWIG_arg_fail(1)) SWIG_fail;
18148 }
18149 }
18150 if (obj1) {
18151 {
18152 arg2 = (int)(SWIG_As_int(obj1));
18153 if (SWIG_arg_fail(2)) SWIG_fail;
18154 }
18155 }
18156 if (obj2) {
18157 {
18158 arg3 = (int)(SWIG_As_int(obj2));
18159 if (SWIG_arg_fail(3)) SWIG_fail;
18160 }
18161 }
18162 if (obj3) {
18163 {
18164 arg4 = (int)(SWIG_As_int(obj3));
18165 if (SWIG_arg_fail(4)) SWIG_fail;
18166 }
18167 }
18168 {
18169 PyThreadState* __tstate = wxPyBeginAllowThreads();
18170 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18171
18172 wxPyEndAllowThreads(__tstate);
18173 if (PyErr_Occurred()) SWIG_fail;
18174 }
18175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18176 return resultobj;
18177 fail:
18178 return NULL;
18179 }
18180
18181
18182 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18183 PyObject *obj;
18184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18185 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18186 Py_INCREF(obj);
18187 return Py_BuildValue((char *)"");
18188 }
18189 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18190 PyObject *resultobj;
18191 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18192 wxBookCtrlSizer *result;
18193 PyObject * obj0 = 0 ;
18194 char *kwnames[] = {
18195 (char *) "nb", NULL
18196 };
18197
18198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
18199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18200 if (SWIG_arg_fail(1)) SWIG_fail;
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18209 return resultobj;
18210 fail:
18211 return NULL;
18212 }
18213
18214
18215 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18216 PyObject *resultobj;
18217 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18218 PyObject * obj0 = 0 ;
18219 char *kwnames[] = {
18220 (char *) "self", NULL
18221 };
18222
18223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18225 if (SWIG_arg_fail(1)) SWIG_fail;
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 (arg1)->RecalcSizes();
18229
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 Py_INCREF(Py_None); resultobj = Py_None;
18234 return resultobj;
18235 fail:
18236 return NULL;
18237 }
18238
18239
18240 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18241 PyObject *resultobj;
18242 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18243 wxSize result;
18244 PyObject * obj0 = 0 ;
18245 char *kwnames[] = {
18246 (char *) "self", NULL
18247 };
18248
18249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
18250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18251 if (SWIG_arg_fail(1)) SWIG_fail;
18252 {
18253 PyThreadState* __tstate = wxPyBeginAllowThreads();
18254 result = (arg1)->CalcMin();
18255
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 {
18260 wxSize * resultptr;
18261 resultptr = new wxSize((wxSize &)(result));
18262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18263 }
18264 return resultobj;
18265 fail:
18266 return NULL;
18267 }
18268
18269
18270 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18271 PyObject *resultobj;
18272 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18273 wxBookCtrlBase *result;
18274 PyObject * obj0 = 0 ;
18275 char *kwnames[] = {
18276 (char *) "self", NULL
18277 };
18278
18279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
18280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18281 if (SWIG_arg_fail(1)) SWIG_fail;
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 result = (wxBookCtrlBase *)(arg1)->GetControl();
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
18290 return resultobj;
18291 fail:
18292 return NULL;
18293 }
18294
18295
18296 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
18297 PyObject *obj;
18298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18299 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18300 Py_INCREF(obj);
18301 return Py_BuildValue((char *)"");
18302 }
18303 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18304 PyObject *resultobj;
18305 wxNotebook *arg1 = (wxNotebook *) 0 ;
18306 wxNotebookSizer *result;
18307 PyObject * obj0 = 0 ;
18308 char *kwnames[] = {
18309 (char *) "nb", NULL
18310 };
18311
18312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
18313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18314 if (SWIG_arg_fail(1)) SWIG_fail;
18315 {
18316 PyThreadState* __tstate = wxPyBeginAllowThreads();
18317 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18318
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18323 return resultobj;
18324 fail:
18325 return NULL;
18326 }
18327
18328
18329 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18330 PyObject *resultobj;
18331 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18332 PyObject * obj0 = 0 ;
18333 char *kwnames[] = {
18334 (char *) "self", NULL
18335 };
18336
18337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18339 if (SWIG_arg_fail(1)) SWIG_fail;
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 (arg1)->RecalcSizes();
18343
18344 wxPyEndAllowThreads(__tstate);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 Py_INCREF(Py_None); resultobj = Py_None;
18348 return resultobj;
18349 fail:
18350 return NULL;
18351 }
18352
18353
18354 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18355 PyObject *resultobj;
18356 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18357 wxSize result;
18358 PyObject * obj0 = 0 ;
18359 char *kwnames[] = {
18360 (char *) "self", NULL
18361 };
18362
18363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
18364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18365 if (SWIG_arg_fail(1)) SWIG_fail;
18366 {
18367 PyThreadState* __tstate = wxPyBeginAllowThreads();
18368 result = (arg1)->CalcMin();
18369
18370 wxPyEndAllowThreads(__tstate);
18371 if (PyErr_Occurred()) SWIG_fail;
18372 }
18373 {
18374 wxSize * resultptr;
18375 resultptr = new wxSize((wxSize &)(result));
18376 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18377 }
18378 return resultobj;
18379 fail:
18380 return NULL;
18381 }
18382
18383
18384 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
18385 PyObject *resultobj;
18386 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18387 wxNotebook *result;
18388 PyObject * obj0 = 0 ;
18389 char *kwnames[] = {
18390 (char *) "self", NULL
18391 };
18392
18393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
18394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18395 if (SWIG_arg_fail(1)) SWIG_fail;
18396 {
18397 PyThreadState* __tstate = wxPyBeginAllowThreads();
18398 result = (wxNotebook *)(arg1)->GetNotebook();
18399
18400 wxPyEndAllowThreads(__tstate);
18401 if (PyErr_Occurred()) SWIG_fail;
18402 }
18403 {
18404 resultobj = wxPyMake_wxObject(result, 0);
18405 }
18406 return resultobj;
18407 fail:
18408 return NULL;
18409 }
18410
18411
18412 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
18413 PyObject *obj;
18414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18415 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18416 Py_INCREF(obj);
18417 return Py_BuildValue((char *)"");
18418 }
18419 static PyObject *_wrap_ToolBarToolBase_GetId(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_GetId",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)->GetId();
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_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18448 PyObject *resultobj;
18449 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18450 wxControl *result;
18451 PyObject * obj0 = 0 ;
18452 char *kwnames[] = {
18453 (char *) "self", NULL
18454 };
18455
18456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",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 = (wxControl *)(arg1)->GetControl();
18462
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 {
18467 resultobj = wxPyMake_wxObject(result, 0);
18468 }
18469 return resultobj;
18470 fail:
18471 return NULL;
18472 }
18473
18474
18475 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18476 PyObject *resultobj;
18477 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18478 wxToolBarBase *result;
18479 PyObject * obj0 = 0 ;
18480 char *kwnames[] = {
18481 (char *) "self", NULL
18482 };
18483
18484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",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 = (wxToolBarBase *)(arg1)->GetToolBar();
18490
18491 wxPyEndAllowThreads(__tstate);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 {
18495 resultobj = wxPyMake_wxObject(result, 0);
18496 }
18497 return resultobj;
18498 fail:
18499 return NULL;
18500 }
18501
18502
18503 static PyObject *_wrap_ToolBarToolBase_IsButton(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_IsButton",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)->IsButton();
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_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18532 PyObject *resultobj;
18533 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18534 int result;
18535 PyObject * obj0 = 0 ;
18536 char *kwnames[] = {
18537 (char *) "self", NULL
18538 };
18539
18540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",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 = (int)(arg1)->IsControl();
18546
18547 wxPyEndAllowThreads(__tstate);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 }
18550 {
18551 resultobj = SWIG_From_int((int)(result));
18552 }
18553 return resultobj;
18554 fail:
18555 return NULL;
18556 }
18557
18558
18559 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18560 PyObject *resultobj;
18561 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18562 int result;
18563 PyObject * obj0 = 0 ;
18564 char *kwnames[] = {
18565 (char *) "self", NULL
18566 };
18567
18568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18570 if (SWIG_arg_fail(1)) SWIG_fail;
18571 {
18572 PyThreadState* __tstate = wxPyBeginAllowThreads();
18573 result = (int)(arg1)->IsSeparator();
18574
18575 wxPyEndAllowThreads(__tstate);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 }
18578 {
18579 resultobj = SWIG_From_int((int)(result));
18580 }
18581 return resultobj;
18582 fail:
18583 return NULL;
18584 }
18585
18586
18587 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18588 PyObject *resultobj;
18589 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18590 int result;
18591 PyObject * obj0 = 0 ;
18592 char *kwnames[] = {
18593 (char *) "self", NULL
18594 };
18595
18596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18598 if (SWIG_arg_fail(1)) SWIG_fail;
18599 {
18600 PyThreadState* __tstate = wxPyBeginAllowThreads();
18601 result = (int)(arg1)->GetStyle();
18602
18603 wxPyEndAllowThreads(__tstate);
18604 if (PyErr_Occurred()) SWIG_fail;
18605 }
18606 {
18607 resultobj = SWIG_From_int((int)(result));
18608 }
18609 return resultobj;
18610 fail:
18611 return NULL;
18612 }
18613
18614
18615 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18616 PyObject *resultobj;
18617 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18618 wxItemKind result;
18619 PyObject * obj0 = 0 ;
18620 char *kwnames[] = {
18621 (char *) "self", NULL
18622 };
18623
18624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18626 if (SWIG_arg_fail(1)) SWIG_fail;
18627 {
18628 PyThreadState* __tstate = wxPyBeginAllowThreads();
18629 result = (wxItemKind)(arg1)->GetKind();
18630
18631 wxPyEndAllowThreads(__tstate);
18632 if (PyErr_Occurred()) SWIG_fail;
18633 }
18634 resultobj = SWIG_From_int((result));
18635 return resultobj;
18636 fail:
18637 return NULL;
18638 }
18639
18640
18641 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18642 PyObject *resultobj;
18643 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18644 bool result;
18645 PyObject * obj0 = 0 ;
18646 char *kwnames[] = {
18647 (char *) "self", NULL
18648 };
18649
18650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",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 result = (bool)(arg1)->IsEnabled();
18656
18657 wxPyEndAllowThreads(__tstate);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
18660 {
18661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18662 }
18663 return resultobj;
18664 fail:
18665 return NULL;
18666 }
18667
18668
18669 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18670 PyObject *resultobj;
18671 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18672 bool result;
18673 PyObject * obj0 = 0 ;
18674 char *kwnames[] = {
18675 (char *) "self", NULL
18676 };
18677
18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18680 if (SWIG_arg_fail(1)) SWIG_fail;
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 result = (bool)(arg1)->IsToggled();
18684
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 {
18689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18690 }
18691 return resultobj;
18692 fail:
18693 return NULL;
18694 }
18695
18696
18697 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18698 PyObject *resultobj;
18699 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18700 bool result;
18701 PyObject * obj0 = 0 ;
18702 char *kwnames[] = {
18703 (char *) "self", NULL
18704 };
18705
18706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18708 if (SWIG_arg_fail(1)) SWIG_fail;
18709 {
18710 PyThreadState* __tstate = wxPyBeginAllowThreads();
18711 result = (bool)(arg1)->CanBeToggled();
18712
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 {
18717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18718 }
18719 return resultobj;
18720 fail:
18721 return NULL;
18722 }
18723
18724
18725 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18726 PyObject *resultobj;
18727 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18728 wxBitmap *result;
18729 PyObject * obj0 = 0 ;
18730 char *kwnames[] = {
18731 (char *) "self", NULL
18732 };
18733
18734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18736 if (SWIG_arg_fail(1)) SWIG_fail;
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 {
18740 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18741 result = (wxBitmap *) &_result_ref;
18742 }
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 {
18748 wxBitmap* resultptr = new wxBitmap(*result);
18749 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18750 }
18751 return resultobj;
18752 fail:
18753 return NULL;
18754 }
18755
18756
18757 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18760 wxBitmap *result;
18761 PyObject * obj0 = 0 ;
18762 char *kwnames[] = {
18763 (char *) "self", NULL
18764 };
18765
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18768 if (SWIG_arg_fail(1)) SWIG_fail;
18769 {
18770 PyThreadState* __tstate = wxPyBeginAllowThreads();
18771 {
18772 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18773 result = (wxBitmap *) &_result_ref;
18774 }
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 {
18780 wxBitmap* resultptr = new wxBitmap(*result);
18781 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18782 }
18783 return resultobj;
18784 fail:
18785 return NULL;
18786 }
18787
18788
18789 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18790 PyObject *resultobj;
18791 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18792 wxBitmap result;
18793 PyObject * obj0 = 0 ;
18794 char *kwnames[] = {
18795 (char *) "self", NULL
18796 };
18797
18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18800 if (SWIG_arg_fail(1)) SWIG_fail;
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 result = (arg1)->GetBitmap();
18804
18805 wxPyEndAllowThreads(__tstate);
18806 if (PyErr_Occurred()) SWIG_fail;
18807 }
18808 {
18809 wxBitmap * resultptr;
18810 resultptr = new wxBitmap((wxBitmap &)(result));
18811 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18812 }
18813 return resultobj;
18814 fail:
18815 return NULL;
18816 }
18817
18818
18819 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18820 PyObject *resultobj;
18821 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18822 wxString result;
18823 PyObject * obj0 = 0 ;
18824 char *kwnames[] = {
18825 (char *) "self", NULL
18826 };
18827
18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18830 if (SWIG_arg_fail(1)) SWIG_fail;
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 result = (arg1)->GetLabel();
18834
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 {
18839 #if wxUSE_UNICODE
18840 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18841 #else
18842 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18843 #endif
18844 }
18845 return resultobj;
18846 fail:
18847 return NULL;
18848 }
18849
18850
18851 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18852 PyObject *resultobj;
18853 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18854 wxString result;
18855 PyObject * obj0 = 0 ;
18856 char *kwnames[] = {
18857 (char *) "self", NULL
18858 };
18859
18860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18862 if (SWIG_arg_fail(1)) SWIG_fail;
18863 {
18864 PyThreadState* __tstate = wxPyBeginAllowThreads();
18865 result = (arg1)->GetShortHelp();
18866
18867 wxPyEndAllowThreads(__tstate);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 }
18870 {
18871 #if wxUSE_UNICODE
18872 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18873 #else
18874 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18875 #endif
18876 }
18877 return resultobj;
18878 fail:
18879 return NULL;
18880 }
18881
18882
18883 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18884 PyObject *resultobj;
18885 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18886 wxString result;
18887 PyObject * obj0 = 0 ;
18888 char *kwnames[] = {
18889 (char *) "self", NULL
18890 };
18891
18892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18894 if (SWIG_arg_fail(1)) SWIG_fail;
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 result = (arg1)->GetLongHelp();
18898
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
18902 {
18903 #if wxUSE_UNICODE
18904 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18905 #else
18906 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18907 #endif
18908 }
18909 return resultobj;
18910 fail:
18911 return NULL;
18912 }
18913
18914
18915 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18916 PyObject *resultobj;
18917 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18918 bool arg2 ;
18919 bool result;
18920 PyObject * obj0 = 0 ;
18921 PyObject * obj1 = 0 ;
18922 char *kwnames[] = {
18923 (char *) "self",(char *) "enable", NULL
18924 };
18925
18926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
18927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18928 if (SWIG_arg_fail(1)) SWIG_fail;
18929 {
18930 arg2 = (bool)(SWIG_As_bool(obj1));
18931 if (SWIG_arg_fail(2)) SWIG_fail;
18932 }
18933 {
18934 PyThreadState* __tstate = wxPyBeginAllowThreads();
18935 result = (bool)(arg1)->Enable(arg2);
18936
18937 wxPyEndAllowThreads(__tstate);
18938 if (PyErr_Occurred()) SWIG_fail;
18939 }
18940 {
18941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18942 }
18943 return resultobj;
18944 fail:
18945 return NULL;
18946 }
18947
18948
18949 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
18950 PyObject *resultobj;
18951 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18952 PyObject * obj0 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
18958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18959 if (SWIG_arg_fail(1)) SWIG_fail;
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
18962 (arg1)->Toggle();
18963
18964 wxPyEndAllowThreads(__tstate);
18965 if (PyErr_Occurred()) SWIG_fail;
18966 }
18967 Py_INCREF(Py_None); resultobj = Py_None;
18968 return resultobj;
18969 fail:
18970 return NULL;
18971 }
18972
18973
18974 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
18975 PyObject *resultobj;
18976 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18977 bool arg2 ;
18978 bool result;
18979 PyObject * obj0 = 0 ;
18980 PyObject * obj1 = 0 ;
18981 char *kwnames[] = {
18982 (char *) "self",(char *) "toggle", NULL
18983 };
18984
18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
18986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18987 if (SWIG_arg_fail(1)) SWIG_fail;
18988 {
18989 arg2 = (bool)(SWIG_As_bool(obj1));
18990 if (SWIG_arg_fail(2)) SWIG_fail;
18991 }
18992 {
18993 PyThreadState* __tstate = wxPyBeginAllowThreads();
18994 result = (bool)(arg1)->SetToggle(arg2);
18995
18996 wxPyEndAllowThreads(__tstate);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
18999 {
19000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19001 }
19002 return resultobj;
19003 fail:
19004 return NULL;
19005 }
19006
19007
19008 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19009 PyObject *resultobj;
19010 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19011 wxString *arg2 = 0 ;
19012 bool result;
19013 bool temp2 = false ;
19014 PyObject * obj0 = 0 ;
19015 PyObject * obj1 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self",(char *) "help", NULL
19018 };
19019
19020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
19021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19022 if (SWIG_arg_fail(1)) SWIG_fail;
19023 {
19024 arg2 = wxString_in_helper(obj1);
19025 if (arg2 == NULL) SWIG_fail;
19026 temp2 = true;
19027 }
19028 {
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19031
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 {
19036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19037 }
19038 {
19039 if (temp2)
19040 delete arg2;
19041 }
19042 return resultobj;
19043 fail:
19044 {
19045 if (temp2)
19046 delete arg2;
19047 }
19048 return NULL;
19049 }
19050
19051
19052 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19053 PyObject *resultobj;
19054 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19055 wxString *arg2 = 0 ;
19056 bool result;
19057 bool temp2 = false ;
19058 PyObject * obj0 = 0 ;
19059 PyObject * obj1 = 0 ;
19060 char *kwnames[] = {
19061 (char *) "self",(char *) "help", NULL
19062 };
19063
19064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
19065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19066 if (SWIG_arg_fail(1)) SWIG_fail;
19067 {
19068 arg2 = wxString_in_helper(obj1);
19069 if (arg2 == NULL) SWIG_fail;
19070 temp2 = true;
19071 }
19072 {
19073 PyThreadState* __tstate = wxPyBeginAllowThreads();
19074 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19075
19076 wxPyEndAllowThreads(__tstate);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 {
19080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19081 }
19082 {
19083 if (temp2)
19084 delete arg2;
19085 }
19086 return resultobj;
19087 fail:
19088 {
19089 if (temp2)
19090 delete arg2;
19091 }
19092 return NULL;
19093 }
19094
19095
19096 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj;
19098 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19099 wxBitmap *arg2 = 0 ;
19100 PyObject * obj0 = 0 ;
19101 PyObject * obj1 = 0 ;
19102 char *kwnames[] = {
19103 (char *) "self",(char *) "bmp", NULL
19104 };
19105
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
19107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19108 if (SWIG_arg_fail(1)) SWIG_fail;
19109 {
19110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19111 if (SWIG_arg_fail(2)) SWIG_fail;
19112 if (arg2 == NULL) {
19113 SWIG_null_ref("wxBitmap");
19114 }
19115 if (SWIG_arg_fail(2)) SWIG_fail;
19116 }
19117 {
19118 PyThreadState* __tstate = wxPyBeginAllowThreads();
19119 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19120
19121 wxPyEndAllowThreads(__tstate);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 }
19124 Py_INCREF(Py_None); resultobj = Py_None;
19125 return resultobj;
19126 fail:
19127 return NULL;
19128 }
19129
19130
19131 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19132 PyObject *resultobj;
19133 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19134 wxBitmap *arg2 = 0 ;
19135 PyObject * obj0 = 0 ;
19136 PyObject * obj1 = 0 ;
19137 char *kwnames[] = {
19138 (char *) "self",(char *) "bmp", NULL
19139 };
19140
19141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
19142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19143 if (SWIG_arg_fail(1)) SWIG_fail;
19144 {
19145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19146 if (SWIG_arg_fail(2)) SWIG_fail;
19147 if (arg2 == NULL) {
19148 SWIG_null_ref("wxBitmap");
19149 }
19150 if (SWIG_arg_fail(2)) SWIG_fail;
19151 }
19152 {
19153 PyThreadState* __tstate = wxPyBeginAllowThreads();
19154 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19155
19156 wxPyEndAllowThreads(__tstate);
19157 if (PyErr_Occurred()) SWIG_fail;
19158 }
19159 Py_INCREF(Py_None); resultobj = Py_None;
19160 return resultobj;
19161 fail:
19162 return NULL;
19163 }
19164
19165
19166 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19167 PyObject *resultobj;
19168 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19169 wxString *arg2 = 0 ;
19170 bool temp2 = false ;
19171 PyObject * obj0 = 0 ;
19172 PyObject * obj1 = 0 ;
19173 char *kwnames[] = {
19174 (char *) "self",(char *) "label", NULL
19175 };
19176
19177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19179 if (SWIG_arg_fail(1)) SWIG_fail;
19180 {
19181 arg2 = wxString_in_helper(obj1);
19182 if (arg2 == NULL) SWIG_fail;
19183 temp2 = true;
19184 }
19185 {
19186 PyThreadState* __tstate = wxPyBeginAllowThreads();
19187 (arg1)->SetLabel((wxString const &)*arg2);
19188
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 Py_INCREF(Py_None); resultobj = Py_None;
19193 {
19194 if (temp2)
19195 delete arg2;
19196 }
19197 return resultobj;
19198 fail:
19199 {
19200 if (temp2)
19201 delete arg2;
19202 }
19203 return NULL;
19204 }
19205
19206
19207 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19208 PyObject *resultobj;
19209 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19210 PyObject * obj0 = 0 ;
19211 char *kwnames[] = {
19212 (char *) "self", NULL
19213 };
19214
19215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19217 if (SWIG_arg_fail(1)) SWIG_fail;
19218 {
19219 PyThreadState* __tstate = wxPyBeginAllowThreads();
19220 (arg1)->Detach();
19221
19222 wxPyEndAllowThreads(__tstate);
19223 if (PyErr_Occurred()) SWIG_fail;
19224 }
19225 Py_INCREF(Py_None); resultobj = Py_None;
19226 return resultobj;
19227 fail:
19228 return NULL;
19229 }
19230
19231
19232 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19233 PyObject *resultobj;
19234 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19235 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19236 PyObject * obj0 = 0 ;
19237 PyObject * obj1 = 0 ;
19238 char *kwnames[] = {
19239 (char *) "self",(char *) "tbar", NULL
19240 };
19241
19242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19244 if (SWIG_arg_fail(1)) SWIG_fail;
19245 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19246 if (SWIG_arg_fail(2)) SWIG_fail;
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 (arg1)->Attach(arg2);
19250
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 Py_INCREF(Py_None); resultobj = Py_None;
19255 return resultobj;
19256 fail:
19257 return NULL;
19258 }
19259
19260
19261 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19262 PyObject *resultobj;
19263 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19264 PyObject *result;
19265 PyObject * obj0 = 0 ;
19266 char *kwnames[] = {
19267 (char *) "self", NULL
19268 };
19269
19270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19272 if (SWIG_arg_fail(1)) SWIG_fail;
19273 {
19274 PyThreadState* __tstate = wxPyBeginAllowThreads();
19275 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19276
19277 wxPyEndAllowThreads(__tstate);
19278 if (PyErr_Occurred()) SWIG_fail;
19279 }
19280 resultobj = result;
19281 return resultobj;
19282 fail:
19283 return NULL;
19284 }
19285
19286
19287 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19288 PyObject *resultobj;
19289 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19290 PyObject *arg2 = (PyObject *) 0 ;
19291 PyObject * obj0 = 0 ;
19292 PyObject * obj1 = 0 ;
19293 char *kwnames[] = {
19294 (char *) "self",(char *) "clientData", NULL
19295 };
19296
19297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19299 if (SWIG_arg_fail(1)) SWIG_fail;
19300 arg2 = obj1;
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 wxToolBarToolBase_SetClientData(arg1,arg2);
19304
19305 wxPyEndAllowThreads(__tstate);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 }
19308 Py_INCREF(Py_None); resultobj = Py_None;
19309 return resultobj;
19310 fail:
19311 return NULL;
19312 }
19313
19314
19315 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19316 PyObject *obj;
19317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19318 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19319 Py_INCREF(obj);
19320 return Py_BuildValue((char *)"");
19321 }
19322 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19323 PyObject *resultobj;
19324 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19325 int arg2 ;
19326 wxString *arg3 = 0 ;
19327 wxBitmap *arg4 = 0 ;
19328 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19329 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19330 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19331 wxString const &arg7_defvalue = wxPyEmptyString ;
19332 wxString *arg7 = (wxString *) &arg7_defvalue ;
19333 wxString const &arg8_defvalue = wxPyEmptyString ;
19334 wxString *arg8 = (wxString *) &arg8_defvalue ;
19335 PyObject *arg9 = (PyObject *) NULL ;
19336 wxToolBarToolBase *result;
19337 bool temp3 = false ;
19338 bool temp7 = false ;
19339 bool temp8 = false ;
19340 PyObject * obj0 = 0 ;
19341 PyObject * obj1 = 0 ;
19342 PyObject * obj2 = 0 ;
19343 PyObject * obj3 = 0 ;
19344 PyObject * obj4 = 0 ;
19345 PyObject * obj5 = 0 ;
19346 PyObject * obj6 = 0 ;
19347 PyObject * obj7 = 0 ;
19348 PyObject * obj8 = 0 ;
19349 char *kwnames[] = {
19350 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19351 };
19352
19353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19355 if (SWIG_arg_fail(1)) SWIG_fail;
19356 {
19357 arg2 = (int)(SWIG_As_int(obj1));
19358 if (SWIG_arg_fail(2)) SWIG_fail;
19359 }
19360 {
19361 arg3 = wxString_in_helper(obj2);
19362 if (arg3 == NULL) SWIG_fail;
19363 temp3 = true;
19364 }
19365 {
19366 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19367 if (SWIG_arg_fail(4)) SWIG_fail;
19368 if (arg4 == NULL) {
19369 SWIG_null_ref("wxBitmap");
19370 }
19371 if (SWIG_arg_fail(4)) SWIG_fail;
19372 }
19373 if (obj4) {
19374 {
19375 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19376 if (SWIG_arg_fail(5)) SWIG_fail;
19377 if (arg5 == NULL) {
19378 SWIG_null_ref("wxBitmap");
19379 }
19380 if (SWIG_arg_fail(5)) SWIG_fail;
19381 }
19382 }
19383 if (obj5) {
19384 {
19385 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19386 if (SWIG_arg_fail(6)) SWIG_fail;
19387 }
19388 }
19389 if (obj6) {
19390 {
19391 arg7 = wxString_in_helper(obj6);
19392 if (arg7 == NULL) SWIG_fail;
19393 temp7 = true;
19394 }
19395 }
19396 if (obj7) {
19397 {
19398 arg8 = wxString_in_helper(obj7);
19399 if (arg8 == NULL) SWIG_fail;
19400 temp8 = true;
19401 }
19402 }
19403 if (obj8) {
19404 arg9 = obj8;
19405 }
19406 {
19407 PyThreadState* __tstate = wxPyBeginAllowThreads();
19408 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19409
19410 wxPyEndAllowThreads(__tstate);
19411 if (PyErr_Occurred()) SWIG_fail;
19412 }
19413 {
19414 resultobj = wxPyMake_wxObject(result, 0);
19415 }
19416 {
19417 if (temp3)
19418 delete arg3;
19419 }
19420 {
19421 if (temp7)
19422 delete arg7;
19423 }
19424 {
19425 if (temp8)
19426 delete arg8;
19427 }
19428 return resultobj;
19429 fail:
19430 {
19431 if (temp3)
19432 delete arg3;
19433 }
19434 {
19435 if (temp7)
19436 delete arg7;
19437 }
19438 {
19439 if (temp8)
19440 delete arg8;
19441 }
19442 return NULL;
19443 }
19444
19445
19446 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19449 size_t arg2 ;
19450 int arg3 ;
19451 wxString *arg4 = 0 ;
19452 wxBitmap *arg5 = 0 ;
19453 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19454 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19455 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19456 wxString const &arg8_defvalue = wxPyEmptyString ;
19457 wxString *arg8 = (wxString *) &arg8_defvalue ;
19458 wxString const &arg9_defvalue = wxPyEmptyString ;
19459 wxString *arg9 = (wxString *) &arg9_defvalue ;
19460 PyObject *arg10 = (PyObject *) NULL ;
19461 wxToolBarToolBase *result;
19462 bool temp4 = false ;
19463 bool temp8 = false ;
19464 bool temp9 = false ;
19465 PyObject * obj0 = 0 ;
19466 PyObject * obj1 = 0 ;
19467 PyObject * obj2 = 0 ;
19468 PyObject * obj3 = 0 ;
19469 PyObject * obj4 = 0 ;
19470 PyObject * obj5 = 0 ;
19471 PyObject * obj6 = 0 ;
19472 PyObject * obj7 = 0 ;
19473 PyObject * obj8 = 0 ;
19474 PyObject * obj9 = 0 ;
19475 char *kwnames[] = {
19476 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19477 };
19478
19479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19481 if (SWIG_arg_fail(1)) SWIG_fail;
19482 {
19483 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19484 if (SWIG_arg_fail(2)) SWIG_fail;
19485 }
19486 {
19487 arg3 = (int)(SWIG_As_int(obj2));
19488 if (SWIG_arg_fail(3)) SWIG_fail;
19489 }
19490 {
19491 arg4 = wxString_in_helper(obj3);
19492 if (arg4 == NULL) SWIG_fail;
19493 temp4 = true;
19494 }
19495 {
19496 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19497 if (SWIG_arg_fail(5)) SWIG_fail;
19498 if (arg5 == NULL) {
19499 SWIG_null_ref("wxBitmap");
19500 }
19501 if (SWIG_arg_fail(5)) SWIG_fail;
19502 }
19503 if (obj5) {
19504 {
19505 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19506 if (SWIG_arg_fail(6)) SWIG_fail;
19507 if (arg6 == NULL) {
19508 SWIG_null_ref("wxBitmap");
19509 }
19510 if (SWIG_arg_fail(6)) SWIG_fail;
19511 }
19512 }
19513 if (obj6) {
19514 {
19515 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19516 if (SWIG_arg_fail(7)) SWIG_fail;
19517 }
19518 }
19519 if (obj7) {
19520 {
19521 arg8 = wxString_in_helper(obj7);
19522 if (arg8 == NULL) SWIG_fail;
19523 temp8 = true;
19524 }
19525 }
19526 if (obj8) {
19527 {
19528 arg9 = wxString_in_helper(obj8);
19529 if (arg9 == NULL) SWIG_fail;
19530 temp9 = true;
19531 }
19532 }
19533 if (obj9) {
19534 arg10 = obj9;
19535 }
19536 {
19537 PyThreadState* __tstate = wxPyBeginAllowThreads();
19538 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);
19539
19540 wxPyEndAllowThreads(__tstate);
19541 if (PyErr_Occurred()) SWIG_fail;
19542 }
19543 {
19544 resultobj = wxPyMake_wxObject(result, 0);
19545 }
19546 {
19547 if (temp4)
19548 delete arg4;
19549 }
19550 {
19551 if (temp8)
19552 delete arg8;
19553 }
19554 {
19555 if (temp9)
19556 delete arg9;
19557 }
19558 return resultobj;
19559 fail:
19560 {
19561 if (temp4)
19562 delete arg4;
19563 }
19564 {
19565 if (temp8)
19566 delete arg8;
19567 }
19568 {
19569 if (temp9)
19570 delete arg9;
19571 }
19572 return NULL;
19573 }
19574
19575
19576 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19577 PyObject *resultobj;
19578 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19579 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19580 wxToolBarToolBase *result;
19581 PyObject * obj0 = 0 ;
19582 PyObject * obj1 = 0 ;
19583 char *kwnames[] = {
19584 (char *) "self",(char *) "tool", NULL
19585 };
19586
19587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19589 if (SWIG_arg_fail(1)) SWIG_fail;
19590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19591 if (SWIG_arg_fail(2)) SWIG_fail;
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19595
19596 wxPyEndAllowThreads(__tstate);
19597 if (PyErr_Occurred()) SWIG_fail;
19598 }
19599 {
19600 resultobj = wxPyMake_wxObject(result, 0);
19601 }
19602 return resultobj;
19603 fail:
19604 return NULL;
19605 }
19606
19607
19608 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19609 PyObject *resultobj;
19610 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19611 size_t arg2 ;
19612 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19613 wxToolBarToolBase *result;
19614 PyObject * obj0 = 0 ;
19615 PyObject * obj1 = 0 ;
19616 PyObject * obj2 = 0 ;
19617 char *kwnames[] = {
19618 (char *) "self",(char *) "pos",(char *) "tool", NULL
19619 };
19620
19621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19623 if (SWIG_arg_fail(1)) SWIG_fail;
19624 {
19625 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19626 if (SWIG_arg_fail(2)) SWIG_fail;
19627 }
19628 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19629 if (SWIG_arg_fail(3)) SWIG_fail;
19630 {
19631 PyThreadState* __tstate = wxPyBeginAllowThreads();
19632 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19633
19634 wxPyEndAllowThreads(__tstate);
19635 if (PyErr_Occurred()) SWIG_fail;
19636 }
19637 {
19638 resultobj = wxPyMake_wxObject(result, 0);
19639 }
19640 return resultobj;
19641 fail:
19642 return NULL;
19643 }
19644
19645
19646 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19647 PyObject *resultobj;
19648 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19649 wxControl *arg2 = (wxControl *) 0 ;
19650 wxToolBarToolBase *result;
19651 PyObject * obj0 = 0 ;
19652 PyObject * obj1 = 0 ;
19653 char *kwnames[] = {
19654 (char *) "self",(char *) "control", NULL
19655 };
19656
19657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19659 if (SWIG_arg_fail(1)) SWIG_fail;
19660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19661 if (SWIG_arg_fail(2)) SWIG_fail;
19662 {
19663 PyThreadState* __tstate = wxPyBeginAllowThreads();
19664 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19665
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 {
19670 resultobj = wxPyMake_wxObject(result, 0);
19671 }
19672 return resultobj;
19673 fail:
19674 return NULL;
19675 }
19676
19677
19678 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj;
19680 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19681 size_t arg2 ;
19682 wxControl *arg3 = (wxControl *) 0 ;
19683 wxToolBarToolBase *result;
19684 PyObject * obj0 = 0 ;
19685 PyObject * obj1 = 0 ;
19686 PyObject * obj2 = 0 ;
19687 char *kwnames[] = {
19688 (char *) "self",(char *) "pos",(char *) "control", NULL
19689 };
19690
19691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19693 if (SWIG_arg_fail(1)) SWIG_fail;
19694 {
19695 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19696 if (SWIG_arg_fail(2)) SWIG_fail;
19697 }
19698 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19699 if (SWIG_arg_fail(3)) SWIG_fail;
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 {
19708 resultobj = wxPyMake_wxObject(result, 0);
19709 }
19710 return resultobj;
19711 fail:
19712 return NULL;
19713 }
19714
19715
19716 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19717 PyObject *resultobj;
19718 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19719 int arg2 ;
19720 wxControl *result;
19721 PyObject * obj0 = 0 ;
19722 PyObject * obj1 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "self",(char *) "id", NULL
19725 };
19726
19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19729 if (SWIG_arg_fail(1)) SWIG_fail;
19730 {
19731 arg2 = (int)(SWIG_As_int(obj1));
19732 if (SWIG_arg_fail(2)) SWIG_fail;
19733 }
19734 {
19735 PyThreadState* __tstate = wxPyBeginAllowThreads();
19736 result = (wxControl *)(arg1)->FindControl(arg2);
19737
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
19741 {
19742 resultobj = wxPyMake_wxObject(result, 0);
19743 }
19744 return resultobj;
19745 fail:
19746 return NULL;
19747 }
19748
19749
19750 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj;
19752 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19753 wxToolBarToolBase *result;
19754 PyObject * obj0 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "self", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19761 if (SWIG_arg_fail(1)) SWIG_fail;
19762 {
19763 PyThreadState* __tstate = wxPyBeginAllowThreads();
19764 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 {
19770 resultobj = wxPyMake_wxObject(result, 0);
19771 }
19772 return resultobj;
19773 fail:
19774 return NULL;
19775 }
19776
19777
19778 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj;
19780 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19781 size_t arg2 ;
19782 wxToolBarToolBase *result;
19783 PyObject * obj0 = 0 ;
19784 PyObject * obj1 = 0 ;
19785 char *kwnames[] = {
19786 (char *) "self",(char *) "pos", NULL
19787 };
19788
19789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19791 if (SWIG_arg_fail(1)) SWIG_fail;
19792 {
19793 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19794 if (SWIG_arg_fail(2)) SWIG_fail;
19795 }
19796 {
19797 PyThreadState* __tstate = wxPyBeginAllowThreads();
19798 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19799
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
19803 {
19804 resultobj = wxPyMake_wxObject(result, 0);
19805 }
19806 return resultobj;
19807 fail:
19808 return NULL;
19809 }
19810
19811
19812 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19813 PyObject *resultobj;
19814 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19815 int arg2 ;
19816 wxToolBarToolBase *result;
19817 PyObject * obj0 = 0 ;
19818 PyObject * obj1 = 0 ;
19819 char *kwnames[] = {
19820 (char *) "self",(char *) "id", NULL
19821 };
19822
19823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19825 if (SWIG_arg_fail(1)) SWIG_fail;
19826 {
19827 arg2 = (int)(SWIG_As_int(obj1));
19828 if (SWIG_arg_fail(2)) SWIG_fail;
19829 }
19830 {
19831 PyThreadState* __tstate = wxPyBeginAllowThreads();
19832 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19833
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 {
19838 resultobj = wxPyMake_wxObject(result, 0);
19839 }
19840 return resultobj;
19841 fail:
19842 return NULL;
19843 }
19844
19845
19846 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19847 PyObject *resultobj;
19848 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19849 size_t arg2 ;
19850 bool result;
19851 PyObject * obj0 = 0 ;
19852 PyObject * obj1 = 0 ;
19853 char *kwnames[] = {
19854 (char *) "self",(char *) "pos", NULL
19855 };
19856
19857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19859 if (SWIG_arg_fail(1)) SWIG_fail;
19860 {
19861 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19862 if (SWIG_arg_fail(2)) SWIG_fail;
19863 }
19864 {
19865 PyThreadState* __tstate = wxPyBeginAllowThreads();
19866 result = (bool)(arg1)->DeleteToolByPos(arg2);
19867
19868 wxPyEndAllowThreads(__tstate);
19869 if (PyErr_Occurred()) SWIG_fail;
19870 }
19871 {
19872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19873 }
19874 return resultobj;
19875 fail:
19876 return NULL;
19877 }
19878
19879
19880 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19881 PyObject *resultobj;
19882 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19883 int arg2 ;
19884 bool result;
19885 PyObject * obj0 = 0 ;
19886 PyObject * obj1 = 0 ;
19887 char *kwnames[] = {
19888 (char *) "self",(char *) "id", NULL
19889 };
19890
19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19893 if (SWIG_arg_fail(1)) SWIG_fail;
19894 {
19895 arg2 = (int)(SWIG_As_int(obj1));
19896 if (SWIG_arg_fail(2)) SWIG_fail;
19897 }
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 result = (bool)(arg1)->DeleteTool(arg2);
19901
19902 wxPyEndAllowThreads(__tstate);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 {
19906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19907 }
19908 return resultobj;
19909 fail:
19910 return NULL;
19911 }
19912
19913
19914 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19915 PyObject *resultobj;
19916 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19917 PyObject * obj0 = 0 ;
19918 char *kwnames[] = {
19919 (char *) "self", NULL
19920 };
19921
19922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
19923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19924 if (SWIG_arg_fail(1)) SWIG_fail;
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 (arg1)->ClearTools();
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 Py_INCREF(Py_None); resultobj = Py_None;
19933 return resultobj;
19934 fail:
19935 return NULL;
19936 }
19937
19938
19939 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19940 PyObject *resultobj;
19941 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19942 bool result;
19943 PyObject * obj0 = 0 ;
19944 char *kwnames[] = {
19945 (char *) "self", NULL
19946 };
19947
19948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
19949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19950 if (SWIG_arg_fail(1)) SWIG_fail;
19951 {
19952 PyThreadState* __tstate = wxPyBeginAllowThreads();
19953 result = (bool)(arg1)->Realize();
19954
19955 wxPyEndAllowThreads(__tstate);
19956 if (PyErr_Occurred()) SWIG_fail;
19957 }
19958 {
19959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19960 }
19961 return resultobj;
19962 fail:
19963 return NULL;
19964 }
19965
19966
19967 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
19968 PyObject *resultobj;
19969 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19970 int arg2 ;
19971 bool arg3 ;
19972 PyObject * obj0 = 0 ;
19973 PyObject * obj1 = 0 ;
19974 PyObject * obj2 = 0 ;
19975 char *kwnames[] = {
19976 (char *) "self",(char *) "id",(char *) "enable", NULL
19977 };
19978
19979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19981 if (SWIG_arg_fail(1)) SWIG_fail;
19982 {
19983 arg2 = (int)(SWIG_As_int(obj1));
19984 if (SWIG_arg_fail(2)) SWIG_fail;
19985 }
19986 {
19987 arg3 = (bool)(SWIG_As_bool(obj2));
19988 if (SWIG_arg_fail(3)) SWIG_fail;
19989 }
19990 {
19991 PyThreadState* __tstate = wxPyBeginAllowThreads();
19992 (arg1)->EnableTool(arg2,arg3);
19993
19994 wxPyEndAllowThreads(__tstate);
19995 if (PyErr_Occurred()) SWIG_fail;
19996 }
19997 Py_INCREF(Py_None); resultobj = Py_None;
19998 return resultobj;
19999 fail:
20000 return NULL;
20001 }
20002
20003
20004 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
20005 PyObject *resultobj;
20006 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20007 int arg2 ;
20008 bool arg3 ;
20009 PyObject * obj0 = 0 ;
20010 PyObject * obj1 = 0 ;
20011 PyObject * obj2 = 0 ;
20012 char *kwnames[] = {
20013 (char *) "self",(char *) "id",(char *) "toggle", NULL
20014 };
20015
20016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20018 if (SWIG_arg_fail(1)) SWIG_fail;
20019 {
20020 arg2 = (int)(SWIG_As_int(obj1));
20021 if (SWIG_arg_fail(2)) SWIG_fail;
20022 }
20023 {
20024 arg3 = (bool)(SWIG_As_bool(obj2));
20025 if (SWIG_arg_fail(3)) SWIG_fail;
20026 }
20027 {
20028 PyThreadState* __tstate = wxPyBeginAllowThreads();
20029 (arg1)->ToggleTool(arg2,arg3);
20030
20031 wxPyEndAllowThreads(__tstate);
20032 if (PyErr_Occurred()) SWIG_fail;
20033 }
20034 Py_INCREF(Py_None); resultobj = Py_None;
20035 return resultobj;
20036 fail:
20037 return NULL;
20038 }
20039
20040
20041 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
20042 PyObject *resultobj;
20043 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20044 int arg2 ;
20045 bool arg3 ;
20046 PyObject * obj0 = 0 ;
20047 PyObject * obj1 = 0 ;
20048 PyObject * obj2 = 0 ;
20049 char *kwnames[] = {
20050 (char *) "self",(char *) "id",(char *) "toggle", NULL
20051 };
20052
20053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20055 if (SWIG_arg_fail(1)) SWIG_fail;
20056 {
20057 arg2 = (int)(SWIG_As_int(obj1));
20058 if (SWIG_arg_fail(2)) SWIG_fail;
20059 }
20060 {
20061 arg3 = (bool)(SWIG_As_bool(obj2));
20062 if (SWIG_arg_fail(3)) SWIG_fail;
20063 }
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 (arg1)->SetToggle(arg2,arg3);
20067
20068 wxPyEndAllowThreads(__tstate);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 Py_INCREF(Py_None); resultobj = Py_None;
20072 return resultobj;
20073 fail:
20074 return NULL;
20075 }
20076
20077
20078 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20079 PyObject *resultobj;
20080 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20081 int arg2 ;
20082 PyObject *result;
20083 PyObject * obj0 = 0 ;
20084 PyObject * obj1 = 0 ;
20085 char *kwnames[] = {
20086 (char *) "self",(char *) "id", NULL
20087 };
20088
20089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
20090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20091 if (SWIG_arg_fail(1)) SWIG_fail;
20092 {
20093 arg2 = (int)(SWIG_As_int(obj1));
20094 if (SWIG_arg_fail(2)) SWIG_fail;
20095 }
20096 {
20097 PyThreadState* __tstate = wxPyBeginAllowThreads();
20098 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20099
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 resultobj = result;
20104 return resultobj;
20105 fail:
20106 return NULL;
20107 }
20108
20109
20110 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20111 PyObject *resultobj;
20112 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20113 int arg2 ;
20114 PyObject *arg3 = (PyObject *) 0 ;
20115 PyObject * obj0 = 0 ;
20116 PyObject * obj1 = 0 ;
20117 PyObject * obj2 = 0 ;
20118 char *kwnames[] = {
20119 (char *) "self",(char *) "id",(char *) "clientData", NULL
20120 };
20121
20122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20124 if (SWIG_arg_fail(1)) SWIG_fail;
20125 {
20126 arg2 = (int)(SWIG_As_int(obj1));
20127 if (SWIG_arg_fail(2)) SWIG_fail;
20128 }
20129 arg3 = obj2;
20130 {
20131 PyThreadState* __tstate = wxPyBeginAllowThreads();
20132 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20133
20134 wxPyEndAllowThreads(__tstate);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 }
20137 Py_INCREF(Py_None); resultobj = Py_None;
20138 return resultobj;
20139 fail:
20140 return NULL;
20141 }
20142
20143
20144 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
20145 PyObject *resultobj;
20146 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20147 int arg2 ;
20148 int result;
20149 PyObject * obj0 = 0 ;
20150 PyObject * obj1 = 0 ;
20151 char *kwnames[] = {
20152 (char *) "self",(char *) "id", NULL
20153 };
20154
20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
20156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20157 if (SWIG_arg_fail(1)) SWIG_fail;
20158 {
20159 arg2 = (int)(SWIG_As_int(obj1));
20160 if (SWIG_arg_fail(2)) SWIG_fail;
20161 }
20162 {
20163 PyThreadState* __tstate = wxPyBeginAllowThreads();
20164 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20165
20166 wxPyEndAllowThreads(__tstate);
20167 if (PyErr_Occurred()) SWIG_fail;
20168 }
20169 {
20170 resultobj = SWIG_From_int((int)(result));
20171 }
20172 return resultobj;
20173 fail:
20174 return NULL;
20175 }
20176
20177
20178 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
20179 PyObject *resultobj;
20180 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20181 int arg2 ;
20182 bool result;
20183 PyObject * obj0 = 0 ;
20184 PyObject * obj1 = 0 ;
20185 char *kwnames[] = {
20186 (char *) "self",(char *) "id", NULL
20187 };
20188
20189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20191 if (SWIG_arg_fail(1)) SWIG_fail;
20192 {
20193 arg2 = (int)(SWIG_As_int(obj1));
20194 if (SWIG_arg_fail(2)) SWIG_fail;
20195 }
20196 {
20197 PyThreadState* __tstate = wxPyBeginAllowThreads();
20198 result = (bool)(arg1)->GetToolState(arg2);
20199
20200 wxPyEndAllowThreads(__tstate);
20201 if (PyErr_Occurred()) SWIG_fail;
20202 }
20203 {
20204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20205 }
20206 return resultobj;
20207 fail:
20208 return NULL;
20209 }
20210
20211
20212 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20213 PyObject *resultobj;
20214 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20215 int arg2 ;
20216 bool result;
20217 PyObject * obj0 = 0 ;
20218 PyObject * obj1 = 0 ;
20219 char *kwnames[] = {
20220 (char *) "self",(char *) "id", NULL
20221 };
20222
20223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20225 if (SWIG_arg_fail(1)) SWIG_fail;
20226 {
20227 arg2 = (int)(SWIG_As_int(obj1));
20228 if (SWIG_arg_fail(2)) SWIG_fail;
20229 }
20230 {
20231 PyThreadState* __tstate = wxPyBeginAllowThreads();
20232 result = (bool)(arg1)->GetToolEnabled(arg2);
20233
20234 wxPyEndAllowThreads(__tstate);
20235 if (PyErr_Occurred()) SWIG_fail;
20236 }
20237 {
20238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20239 }
20240 return resultobj;
20241 fail:
20242 return NULL;
20243 }
20244
20245
20246 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20247 PyObject *resultobj;
20248 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20249 int arg2 ;
20250 wxString *arg3 = 0 ;
20251 bool temp3 = false ;
20252 PyObject * obj0 = 0 ;
20253 PyObject * obj1 = 0 ;
20254 PyObject * obj2 = 0 ;
20255 char *kwnames[] = {
20256 (char *) "self",(char *) "id",(char *) "helpString", NULL
20257 };
20258
20259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20261 if (SWIG_arg_fail(1)) SWIG_fail;
20262 {
20263 arg2 = (int)(SWIG_As_int(obj1));
20264 if (SWIG_arg_fail(2)) SWIG_fail;
20265 }
20266 {
20267 arg3 = wxString_in_helper(obj2);
20268 if (arg3 == NULL) SWIG_fail;
20269 temp3 = true;
20270 }
20271 {
20272 PyThreadState* __tstate = wxPyBeginAllowThreads();
20273 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20274
20275 wxPyEndAllowThreads(__tstate);
20276 if (PyErr_Occurred()) SWIG_fail;
20277 }
20278 Py_INCREF(Py_None); resultobj = Py_None;
20279 {
20280 if (temp3)
20281 delete arg3;
20282 }
20283 return resultobj;
20284 fail:
20285 {
20286 if (temp3)
20287 delete arg3;
20288 }
20289 return NULL;
20290 }
20291
20292
20293 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20294 PyObject *resultobj;
20295 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20296 int arg2 ;
20297 wxString result;
20298 PyObject * obj0 = 0 ;
20299 PyObject * obj1 = 0 ;
20300 char *kwnames[] = {
20301 (char *) "self",(char *) "id", NULL
20302 };
20303
20304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20306 if (SWIG_arg_fail(1)) SWIG_fail;
20307 {
20308 arg2 = (int)(SWIG_As_int(obj1));
20309 if (SWIG_arg_fail(2)) SWIG_fail;
20310 }
20311 {
20312 PyThreadState* __tstate = wxPyBeginAllowThreads();
20313 result = (arg1)->GetToolShortHelp(arg2);
20314
20315 wxPyEndAllowThreads(__tstate);
20316 if (PyErr_Occurred()) SWIG_fail;
20317 }
20318 {
20319 #if wxUSE_UNICODE
20320 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20321 #else
20322 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20323 #endif
20324 }
20325 return resultobj;
20326 fail:
20327 return NULL;
20328 }
20329
20330
20331 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20332 PyObject *resultobj;
20333 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20334 int arg2 ;
20335 wxString *arg3 = 0 ;
20336 bool temp3 = false ;
20337 PyObject * obj0 = 0 ;
20338 PyObject * obj1 = 0 ;
20339 PyObject * obj2 = 0 ;
20340 char *kwnames[] = {
20341 (char *) "self",(char *) "id",(char *) "helpString", NULL
20342 };
20343
20344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",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 = wxString_in_helper(obj2);
20353 if (arg3 == NULL) SWIG_fail;
20354 temp3 = true;
20355 }
20356 {
20357 PyThreadState* __tstate = wxPyBeginAllowThreads();
20358 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20359
20360 wxPyEndAllowThreads(__tstate);
20361 if (PyErr_Occurred()) SWIG_fail;
20362 }
20363 Py_INCREF(Py_None); resultobj = Py_None;
20364 {
20365 if (temp3)
20366 delete arg3;
20367 }
20368 return resultobj;
20369 fail:
20370 {
20371 if (temp3)
20372 delete arg3;
20373 }
20374 return NULL;
20375 }
20376
20377
20378 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20379 PyObject *resultobj;
20380 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20381 int arg2 ;
20382 wxString result;
20383 PyObject * obj0 = 0 ;
20384 PyObject * obj1 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self",(char *) "id", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
20390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail;
20392 {
20393 arg2 = (int)(SWIG_As_int(obj1));
20394 if (SWIG_arg_fail(2)) SWIG_fail;
20395 }
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 result = (arg1)->GetToolLongHelp(arg2);
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 {
20404 #if wxUSE_UNICODE
20405 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20406 #else
20407 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20408 #endif
20409 }
20410 return resultobj;
20411 fail:
20412 return NULL;
20413 }
20414
20415
20416 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20417 PyObject *resultobj;
20418 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20419 int arg2 ;
20420 int arg3 ;
20421 PyObject * obj0 = 0 ;
20422 PyObject * obj1 = 0 ;
20423 PyObject * obj2 = 0 ;
20424 char *kwnames[] = {
20425 (char *) "self",(char *) "x",(char *) "y", NULL
20426 };
20427
20428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20430 if (SWIG_arg_fail(1)) SWIG_fail;
20431 {
20432 arg2 = (int)(SWIG_As_int(obj1));
20433 if (SWIG_arg_fail(2)) SWIG_fail;
20434 }
20435 {
20436 arg3 = (int)(SWIG_As_int(obj2));
20437 if (SWIG_arg_fail(3)) SWIG_fail;
20438 }
20439 {
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 (arg1)->SetMargins(arg2,arg3);
20442
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 Py_INCREF(Py_None); resultobj = Py_None;
20447 return resultobj;
20448 fail:
20449 return NULL;
20450 }
20451
20452
20453 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20454 PyObject *resultobj;
20455 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20456 wxSize *arg2 = 0 ;
20457 wxSize temp2 ;
20458 PyObject * obj0 = 0 ;
20459 PyObject * obj1 = 0 ;
20460 char *kwnames[] = {
20461 (char *) "self",(char *) "size", NULL
20462 };
20463
20464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20466 if (SWIG_arg_fail(1)) SWIG_fail;
20467 {
20468 arg2 = &temp2;
20469 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20470 }
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
20473 (arg1)->SetMargins((wxSize const &)*arg2);
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 Py_INCREF(Py_None); resultobj = Py_None;
20479 return resultobj;
20480 fail:
20481 return NULL;
20482 }
20483
20484
20485 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20486 PyObject *resultobj;
20487 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20488 int arg2 ;
20489 PyObject * obj0 = 0 ;
20490 PyObject * obj1 = 0 ;
20491 char *kwnames[] = {
20492 (char *) "self",(char *) "packing", NULL
20493 };
20494
20495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20497 if (SWIG_arg_fail(1)) SWIG_fail;
20498 {
20499 arg2 = (int)(SWIG_As_int(obj1));
20500 if (SWIG_arg_fail(2)) SWIG_fail;
20501 }
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 (arg1)->SetToolPacking(arg2);
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 Py_INCREF(Py_None); resultobj = Py_None;
20510 return resultobj;
20511 fail:
20512 return NULL;
20513 }
20514
20515
20516 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20517 PyObject *resultobj;
20518 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20519 int arg2 ;
20520 PyObject * obj0 = 0 ;
20521 PyObject * obj1 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "self",(char *) "separation", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail;
20529 {
20530 arg2 = (int)(SWIG_As_int(obj1));
20531 if (SWIG_arg_fail(2)) SWIG_fail;
20532 }
20533 {
20534 PyThreadState* __tstate = wxPyBeginAllowThreads();
20535 (arg1)->SetToolSeparation(arg2);
20536
20537 wxPyEndAllowThreads(__tstate);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 }
20540 Py_INCREF(Py_None); resultobj = Py_None;
20541 return resultobj;
20542 fail:
20543 return NULL;
20544 }
20545
20546
20547 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20548 PyObject *resultobj;
20549 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20550 wxSize result;
20551 PyObject * obj0 = 0 ;
20552 char *kwnames[] = {
20553 (char *) "self", NULL
20554 };
20555
20556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail;
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (arg1)->GetToolMargins();
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
20566 {
20567 wxSize * resultptr;
20568 resultptr = new wxSize((wxSize &)(result));
20569 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20570 }
20571 return resultobj;
20572 fail:
20573 return NULL;
20574 }
20575
20576
20577 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20578 PyObject *resultobj;
20579 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20580 wxSize result;
20581 PyObject * obj0 = 0 ;
20582 char *kwnames[] = {
20583 (char *) "self", NULL
20584 };
20585
20586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20588 if (SWIG_arg_fail(1)) SWIG_fail;
20589 {
20590 PyThreadState* __tstate = wxPyBeginAllowThreads();
20591 result = (arg1)->GetMargins();
20592
20593 wxPyEndAllowThreads(__tstate);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 }
20596 {
20597 wxSize * resultptr;
20598 resultptr = new wxSize((wxSize &)(result));
20599 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20600 }
20601 return resultobj;
20602 fail:
20603 return NULL;
20604 }
20605
20606
20607 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20608 PyObject *resultobj;
20609 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20610 int result;
20611 PyObject * obj0 = 0 ;
20612 char *kwnames[] = {
20613 (char *) "self", NULL
20614 };
20615
20616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20618 if (SWIG_arg_fail(1)) SWIG_fail;
20619 {
20620 PyThreadState* __tstate = wxPyBeginAllowThreads();
20621 result = (int)(arg1)->GetToolPacking();
20622
20623 wxPyEndAllowThreads(__tstate);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 }
20626 {
20627 resultobj = SWIG_From_int((int)(result));
20628 }
20629 return resultobj;
20630 fail:
20631 return NULL;
20632 }
20633
20634
20635 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20636 PyObject *resultobj;
20637 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20638 int result;
20639 PyObject * obj0 = 0 ;
20640 char *kwnames[] = {
20641 (char *) "self", NULL
20642 };
20643
20644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20646 if (SWIG_arg_fail(1)) SWIG_fail;
20647 {
20648 PyThreadState* __tstate = wxPyBeginAllowThreads();
20649 result = (int)(arg1)->GetToolSeparation();
20650
20651 wxPyEndAllowThreads(__tstate);
20652 if (PyErr_Occurred()) SWIG_fail;
20653 }
20654 {
20655 resultobj = SWIG_From_int((int)(result));
20656 }
20657 return resultobj;
20658 fail:
20659 return NULL;
20660 }
20661
20662
20663 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20664 PyObject *resultobj;
20665 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20666 int arg2 ;
20667 PyObject * obj0 = 0 ;
20668 PyObject * obj1 = 0 ;
20669 char *kwnames[] = {
20670 (char *) "self",(char *) "nRows", NULL
20671 };
20672
20673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20675 if (SWIG_arg_fail(1)) SWIG_fail;
20676 {
20677 arg2 = (int)(SWIG_As_int(obj1));
20678 if (SWIG_arg_fail(2)) SWIG_fail;
20679 }
20680 {
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 (arg1)->SetRows(arg2);
20683
20684 wxPyEndAllowThreads(__tstate);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 }
20687 Py_INCREF(Py_None); resultobj = Py_None;
20688 return resultobj;
20689 fail:
20690 return NULL;
20691 }
20692
20693
20694 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20695 PyObject *resultobj;
20696 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20697 int arg2 ;
20698 int arg3 ;
20699 PyObject * obj0 = 0 ;
20700 PyObject * obj1 = 0 ;
20701 PyObject * obj2 = 0 ;
20702 char *kwnames[] = {
20703 (char *) "self",(char *) "rows",(char *) "cols", NULL
20704 };
20705
20706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20708 if (SWIG_arg_fail(1)) SWIG_fail;
20709 {
20710 arg2 = (int)(SWIG_As_int(obj1));
20711 if (SWIG_arg_fail(2)) SWIG_fail;
20712 }
20713 {
20714 arg3 = (int)(SWIG_As_int(obj2));
20715 if (SWIG_arg_fail(3)) SWIG_fail;
20716 }
20717 {
20718 PyThreadState* __tstate = wxPyBeginAllowThreads();
20719 (arg1)->SetMaxRowsCols(arg2,arg3);
20720
20721 wxPyEndAllowThreads(__tstate);
20722 if (PyErr_Occurred()) SWIG_fail;
20723 }
20724 Py_INCREF(Py_None); resultobj = Py_None;
20725 return resultobj;
20726 fail:
20727 return NULL;
20728 }
20729
20730
20731 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20732 PyObject *resultobj;
20733 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20734 int result;
20735 PyObject * obj0 = 0 ;
20736 char *kwnames[] = {
20737 (char *) "self", NULL
20738 };
20739
20740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20742 if (SWIG_arg_fail(1)) SWIG_fail;
20743 {
20744 PyThreadState* __tstate = wxPyBeginAllowThreads();
20745 result = (int)(arg1)->GetMaxRows();
20746
20747 wxPyEndAllowThreads(__tstate);
20748 if (PyErr_Occurred()) SWIG_fail;
20749 }
20750 {
20751 resultobj = SWIG_From_int((int)(result));
20752 }
20753 return resultobj;
20754 fail:
20755 return NULL;
20756 }
20757
20758
20759 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20760 PyObject *resultobj;
20761 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20762 int result;
20763 PyObject * obj0 = 0 ;
20764 char *kwnames[] = {
20765 (char *) "self", NULL
20766 };
20767
20768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20770 if (SWIG_arg_fail(1)) SWIG_fail;
20771 {
20772 PyThreadState* __tstate = wxPyBeginAllowThreads();
20773 result = (int)(arg1)->GetMaxCols();
20774
20775 wxPyEndAllowThreads(__tstate);
20776 if (PyErr_Occurred()) SWIG_fail;
20777 }
20778 {
20779 resultobj = SWIG_From_int((int)(result));
20780 }
20781 return resultobj;
20782 fail:
20783 return NULL;
20784 }
20785
20786
20787 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20788 PyObject *resultobj;
20789 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20790 wxSize *arg2 = 0 ;
20791 wxSize temp2 ;
20792 PyObject * obj0 = 0 ;
20793 PyObject * obj1 = 0 ;
20794 char *kwnames[] = {
20795 (char *) "self",(char *) "size", NULL
20796 };
20797
20798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20800 if (SWIG_arg_fail(1)) SWIG_fail;
20801 {
20802 arg2 = &temp2;
20803 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20804 }
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 Py_INCREF(Py_None); resultobj = Py_None;
20813 return resultobj;
20814 fail:
20815 return NULL;
20816 }
20817
20818
20819 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20820 PyObject *resultobj;
20821 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20822 wxSize result;
20823 PyObject * obj0 = 0 ;
20824 char *kwnames[] = {
20825 (char *) "self", NULL
20826 };
20827
20828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20830 if (SWIG_arg_fail(1)) SWIG_fail;
20831 {
20832 PyThreadState* __tstate = wxPyBeginAllowThreads();
20833 result = (arg1)->GetToolBitmapSize();
20834
20835 wxPyEndAllowThreads(__tstate);
20836 if (PyErr_Occurred()) SWIG_fail;
20837 }
20838 {
20839 wxSize * resultptr;
20840 resultptr = new wxSize((wxSize &)(result));
20841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20842 }
20843 return resultobj;
20844 fail:
20845 return NULL;
20846 }
20847
20848
20849 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20850 PyObject *resultobj;
20851 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20852 wxSize result;
20853 PyObject * obj0 = 0 ;
20854 char *kwnames[] = {
20855 (char *) "self", NULL
20856 };
20857
20858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20860 if (SWIG_arg_fail(1)) SWIG_fail;
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 result = (arg1)->GetToolSize();
20864
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 {
20869 wxSize * resultptr;
20870 resultptr = new wxSize((wxSize &)(result));
20871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20872 }
20873 return resultobj;
20874 fail:
20875 return NULL;
20876 }
20877
20878
20879 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20880 PyObject *resultobj;
20881 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20882 int arg2 ;
20883 int arg3 ;
20884 wxToolBarToolBase *result;
20885 PyObject * obj0 = 0 ;
20886 PyObject * obj1 = 0 ;
20887 PyObject * obj2 = 0 ;
20888 char *kwnames[] = {
20889 (char *) "self",(char *) "x",(char *) "y", NULL
20890 };
20891
20892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20894 if (SWIG_arg_fail(1)) SWIG_fail;
20895 {
20896 arg2 = (int)(SWIG_As_int(obj1));
20897 if (SWIG_arg_fail(2)) SWIG_fail;
20898 }
20899 {
20900 arg3 = (int)(SWIG_As_int(obj2));
20901 if (SWIG_arg_fail(3)) SWIG_fail;
20902 }
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20906
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
20910 {
20911 resultobj = wxPyMake_wxObject(result, 0);
20912 }
20913 return resultobj;
20914 fail:
20915 return NULL;
20916 }
20917
20918
20919 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20920 PyObject *resultobj;
20921 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20922 int arg2 ;
20923 wxToolBarToolBase *result;
20924 PyObject * obj0 = 0 ;
20925 PyObject * obj1 = 0 ;
20926 char *kwnames[] = {
20927 (char *) "self",(char *) "toolid", NULL
20928 };
20929
20930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
20931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20932 if (SWIG_arg_fail(1)) SWIG_fail;
20933 {
20934 arg2 = (int)(SWIG_As_int(obj1));
20935 if (SWIG_arg_fail(2)) SWIG_fail;
20936 }
20937 {
20938 PyThreadState* __tstate = wxPyBeginAllowThreads();
20939 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20940
20941 wxPyEndAllowThreads(__tstate);
20942 if (PyErr_Occurred()) SWIG_fail;
20943 }
20944 {
20945 resultobj = wxPyMake_wxObject(result, 0);
20946 }
20947 return resultobj;
20948 fail:
20949 return NULL;
20950 }
20951
20952
20953 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj;
20955 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20956 bool result;
20957 PyObject * obj0 = 0 ;
20958 char *kwnames[] = {
20959 (char *) "self", NULL
20960 };
20961
20962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
20963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20964 if (SWIG_arg_fail(1)) SWIG_fail;
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 result = (bool)(arg1)->IsVertical();
20968
20969 wxPyEndAllowThreads(__tstate);
20970 if (PyErr_Occurred()) SWIG_fail;
20971 }
20972 {
20973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20974 }
20975 return resultobj;
20976 fail:
20977 return NULL;
20978 }
20979
20980
20981 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
20982 PyObject *obj;
20983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20984 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20985 Py_INCREF(obj);
20986 return Py_BuildValue((char *)"");
20987 }
20988 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
20989 PyObject *resultobj;
20990 wxWindow *arg1 = (wxWindow *) 0 ;
20991 int arg2 = (int) -1 ;
20992 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20993 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20994 wxSize const &arg4_defvalue = wxDefaultSize ;
20995 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20996 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20997 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
20998 wxString *arg6 = (wxString *) &arg6_defvalue ;
20999 wxToolBar *result;
21000 wxPoint temp3 ;
21001 wxSize temp4 ;
21002 bool temp6 = false ;
21003 PyObject * obj0 = 0 ;
21004 PyObject * obj1 = 0 ;
21005 PyObject * obj2 = 0 ;
21006 PyObject * obj3 = 0 ;
21007 PyObject * obj4 = 0 ;
21008 PyObject * obj5 = 0 ;
21009 char *kwnames[] = {
21010 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21011 };
21012
21013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21015 if (SWIG_arg_fail(1)) SWIG_fail;
21016 if (obj1) {
21017 {
21018 arg2 = (int)(SWIG_As_int(obj1));
21019 if (SWIG_arg_fail(2)) SWIG_fail;
21020 }
21021 }
21022 if (obj2) {
21023 {
21024 arg3 = &temp3;
21025 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21026 }
21027 }
21028 if (obj3) {
21029 {
21030 arg4 = &temp4;
21031 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21032 }
21033 }
21034 if (obj4) {
21035 {
21036 arg5 = (long)(SWIG_As_long(obj4));
21037 if (SWIG_arg_fail(5)) SWIG_fail;
21038 }
21039 }
21040 if (obj5) {
21041 {
21042 arg6 = wxString_in_helper(obj5);
21043 if (arg6 == NULL) SWIG_fail;
21044 temp6 = true;
21045 }
21046 }
21047 {
21048 if (!wxPyCheckForApp()) SWIG_fail;
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21056 {
21057 if (temp6)
21058 delete arg6;
21059 }
21060 return resultobj;
21061 fail:
21062 {
21063 if (temp6)
21064 delete arg6;
21065 }
21066 return NULL;
21067 }
21068
21069
21070 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21071 PyObject *resultobj;
21072 wxToolBar *result;
21073 char *kwnames[] = {
21074 NULL
21075 };
21076
21077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21078 {
21079 if (!wxPyCheckForApp()) SWIG_fail;
21080 PyThreadState* __tstate = wxPyBeginAllowThreads();
21081 result = (wxToolBar *)new wxToolBar();
21082
21083 wxPyEndAllowThreads(__tstate);
21084 if (PyErr_Occurred()) SWIG_fail;
21085 }
21086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21087 return resultobj;
21088 fail:
21089 return NULL;
21090 }
21091
21092
21093 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21094 PyObject *resultobj;
21095 wxToolBar *arg1 = (wxToolBar *) 0 ;
21096 wxWindow *arg2 = (wxWindow *) 0 ;
21097 int arg3 = (int) -1 ;
21098 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21099 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21100 wxSize const &arg5_defvalue = wxDefaultSize ;
21101 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21102 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21103 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21104 wxString *arg7 = (wxString *) &arg7_defvalue ;
21105 bool result;
21106 wxPoint temp4 ;
21107 wxSize temp5 ;
21108 bool temp7 = false ;
21109 PyObject * obj0 = 0 ;
21110 PyObject * obj1 = 0 ;
21111 PyObject * obj2 = 0 ;
21112 PyObject * obj3 = 0 ;
21113 PyObject * obj4 = 0 ;
21114 PyObject * obj5 = 0 ;
21115 PyObject * obj6 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21122 if (SWIG_arg_fail(1)) SWIG_fail;
21123 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21124 if (SWIG_arg_fail(2)) SWIG_fail;
21125 if (obj2) {
21126 {
21127 arg3 = (int)(SWIG_As_int(obj2));
21128 if (SWIG_arg_fail(3)) SWIG_fail;
21129 }
21130 }
21131 if (obj3) {
21132 {
21133 arg4 = &temp4;
21134 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21135 }
21136 }
21137 if (obj4) {
21138 {
21139 arg5 = &temp5;
21140 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21141 }
21142 }
21143 if (obj5) {
21144 {
21145 arg6 = (long)(SWIG_As_long(obj5));
21146 if (SWIG_arg_fail(6)) SWIG_fail;
21147 }
21148 }
21149 if (obj6) {
21150 {
21151 arg7 = wxString_in_helper(obj6);
21152 if (arg7 == NULL) SWIG_fail;
21153 temp7 = true;
21154 }
21155 }
21156 {
21157 PyThreadState* __tstate = wxPyBeginAllowThreads();
21158 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21159
21160 wxPyEndAllowThreads(__tstate);
21161 if (PyErr_Occurred()) SWIG_fail;
21162 }
21163 {
21164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21165 }
21166 {
21167 if (temp7)
21168 delete arg7;
21169 }
21170 return resultobj;
21171 fail:
21172 {
21173 if (temp7)
21174 delete arg7;
21175 }
21176 return NULL;
21177 }
21178
21179
21180 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21181 PyObject *resultobj;
21182 wxToolBar *arg1 = (wxToolBar *) 0 ;
21183 int arg2 ;
21184 int arg3 ;
21185 wxToolBarToolBase *result;
21186 PyObject * obj0 = 0 ;
21187 PyObject * obj1 = 0 ;
21188 PyObject * obj2 = 0 ;
21189 char *kwnames[] = {
21190 (char *) "self",(char *) "x",(char *) "y", NULL
21191 };
21192
21193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21195 if (SWIG_arg_fail(1)) SWIG_fail;
21196 {
21197 arg2 = (int)(SWIG_As_int(obj1));
21198 if (SWIG_arg_fail(2)) SWIG_fail;
21199 }
21200 {
21201 arg3 = (int)(SWIG_As_int(obj2));
21202 if (SWIG_arg_fail(3)) SWIG_fail;
21203 }
21204 {
21205 PyThreadState* __tstate = wxPyBeginAllowThreads();
21206 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21207
21208 wxPyEndAllowThreads(__tstate);
21209 if (PyErr_Occurred()) SWIG_fail;
21210 }
21211 {
21212 resultobj = wxPyMake_wxObject(result, 0);
21213 }
21214 return resultobj;
21215 fail:
21216 return NULL;
21217 }
21218
21219
21220 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21221 PyObject *resultobj;
21222 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21223 wxVisualAttributes result;
21224 PyObject * obj0 = 0 ;
21225 char *kwnames[] = {
21226 (char *) "variant", NULL
21227 };
21228
21229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21230 if (obj0) {
21231 {
21232 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21233 if (SWIG_arg_fail(1)) SWIG_fail;
21234 }
21235 }
21236 {
21237 if (!wxPyCheckForApp()) SWIG_fail;
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21240
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 {
21245 wxVisualAttributes * resultptr;
21246 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
21247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21248 }
21249 return resultobj;
21250 fail:
21251 return NULL;
21252 }
21253
21254
21255 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21256 PyObject *obj;
21257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21258 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21259 Py_INCREF(obj);
21260 return Py_BuildValue((char *)"");
21261 }
21262 static int _wrap_ListCtrlNameStr_set(PyObject *) {
21263 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21264 return 1;
21265 }
21266
21267
21268 static PyObject *_wrap_ListCtrlNameStr_get(void) {
21269 PyObject *pyobj;
21270
21271 {
21272 #if wxUSE_UNICODE
21273 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21274 #else
21275 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21276 #endif
21277 }
21278 return pyobj;
21279 }
21280
21281
21282 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxColour const &arg1_defvalue = wxNullColour ;
21285 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21286 wxColour const &arg2_defvalue = wxNullColour ;
21287 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21288 wxFont const &arg3_defvalue = wxNullFont ;
21289 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21290 wxListItemAttr *result;
21291 wxColour temp1 ;
21292 wxColour temp2 ;
21293 PyObject * obj0 = 0 ;
21294 PyObject * obj1 = 0 ;
21295 PyObject * obj2 = 0 ;
21296 char *kwnames[] = {
21297 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21298 };
21299
21300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21301 if (obj0) {
21302 {
21303 arg1 = &temp1;
21304 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21305 }
21306 }
21307 if (obj1) {
21308 {
21309 arg2 = &temp2;
21310 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21311 }
21312 }
21313 if (obj2) {
21314 {
21315 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21316 if (SWIG_arg_fail(3)) SWIG_fail;
21317 if (arg3 == NULL) {
21318 SWIG_null_ref("wxFont");
21319 }
21320 if (SWIG_arg_fail(3)) SWIG_fail;
21321 }
21322 }
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21326
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21331 return resultobj;
21332 fail:
21333 return NULL;
21334 }
21335
21336
21337 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21338 PyObject *resultobj;
21339 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21340 wxColour *arg2 = 0 ;
21341 wxColour temp2 ;
21342 PyObject * obj0 = 0 ;
21343 PyObject * obj1 = 0 ;
21344 char *kwnames[] = {
21345 (char *) "self",(char *) "colText", NULL
21346 };
21347
21348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21350 if (SWIG_arg_fail(1)) SWIG_fail;
21351 {
21352 arg2 = &temp2;
21353 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21354 }
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 (arg1)->SetTextColour((wxColour const &)*arg2);
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 Py_INCREF(Py_None); resultobj = Py_None;
21363 return resultobj;
21364 fail:
21365 return NULL;
21366 }
21367
21368
21369 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21370 PyObject *resultobj;
21371 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21372 wxColour *arg2 = 0 ;
21373 wxColour temp2 ;
21374 PyObject * obj0 = 0 ;
21375 PyObject * obj1 = 0 ;
21376 char *kwnames[] = {
21377 (char *) "self",(char *) "colBack", NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21382 if (SWIG_arg_fail(1)) SWIG_fail;
21383 {
21384 arg2 = &temp2;
21385 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21386 }
21387 {
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 Py_INCREF(Py_None); resultobj = Py_None;
21395 return resultobj;
21396 fail:
21397 return NULL;
21398 }
21399
21400
21401 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj;
21403 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21404 wxFont *arg2 = 0 ;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "font", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21413 if (SWIG_arg_fail(1)) SWIG_fail;
21414 {
21415 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21416 if (SWIG_arg_fail(2)) SWIG_fail;
21417 if (arg2 == NULL) {
21418 SWIG_null_ref("wxFont");
21419 }
21420 if (SWIG_arg_fail(2)) SWIG_fail;
21421 }
21422 {
21423 PyThreadState* __tstate = wxPyBeginAllowThreads();
21424 (arg1)->SetFont((wxFont const &)*arg2);
21425
21426 wxPyEndAllowThreads(__tstate);
21427 if (PyErr_Occurred()) SWIG_fail;
21428 }
21429 Py_INCREF(Py_None); resultobj = Py_None;
21430 return resultobj;
21431 fail:
21432 return NULL;
21433 }
21434
21435
21436 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21437 PyObject *resultobj;
21438 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21439 bool result;
21440 PyObject * obj0 = 0 ;
21441 char *kwnames[] = {
21442 (char *) "self", NULL
21443 };
21444
21445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",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 = (bool)(arg1)->HasTextColour();
21451
21452 wxPyEndAllowThreads(__tstate);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 }
21455 {
21456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21457 }
21458 return resultobj;
21459 fail:
21460 return NULL;
21461 }
21462
21463
21464 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21465 PyObject *resultobj;
21466 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21467 bool result;
21468 PyObject * obj0 = 0 ;
21469 char *kwnames[] = {
21470 (char *) "self", NULL
21471 };
21472
21473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21475 if (SWIG_arg_fail(1)) SWIG_fail;
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 result = (bool)(arg1)->HasBackgroundColour();
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 {
21484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21485 }
21486 return resultobj;
21487 fail:
21488 return NULL;
21489 }
21490
21491
21492 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21493 PyObject *resultobj;
21494 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21495 bool result;
21496 PyObject * obj0 = 0 ;
21497 char *kwnames[] = {
21498 (char *) "self", NULL
21499 };
21500
21501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21503 if (SWIG_arg_fail(1)) SWIG_fail;
21504 {
21505 PyThreadState* __tstate = wxPyBeginAllowThreads();
21506 result = (bool)(arg1)->HasFont();
21507
21508 wxPyEndAllowThreads(__tstate);
21509 if (PyErr_Occurred()) SWIG_fail;
21510 }
21511 {
21512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21513 }
21514 return resultobj;
21515 fail:
21516 return NULL;
21517 }
21518
21519
21520 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21521 PyObject *resultobj;
21522 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21523 wxColour result;
21524 PyObject * obj0 = 0 ;
21525 char *kwnames[] = {
21526 (char *) "self", NULL
21527 };
21528
21529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21531 if (SWIG_arg_fail(1)) SWIG_fail;
21532 {
21533 PyThreadState* __tstate = wxPyBeginAllowThreads();
21534 result = (arg1)->GetTextColour();
21535
21536 wxPyEndAllowThreads(__tstate);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 }
21539 {
21540 wxColour * resultptr;
21541 resultptr = new wxColour((wxColour &)(result));
21542 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21543 }
21544 return resultobj;
21545 fail:
21546 return NULL;
21547 }
21548
21549
21550 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21551 PyObject *resultobj;
21552 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21553 wxColour result;
21554 PyObject * obj0 = 0 ;
21555 char *kwnames[] = {
21556 (char *) "self", NULL
21557 };
21558
21559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
21560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21561 if (SWIG_arg_fail(1)) SWIG_fail;
21562 {
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 result = (arg1)->GetBackgroundColour();
21565
21566 wxPyEndAllowThreads(__tstate);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 }
21569 {
21570 wxColour * resultptr;
21571 resultptr = new wxColour((wxColour &)(result));
21572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21573 }
21574 return resultobj;
21575 fail:
21576 return NULL;
21577 }
21578
21579
21580 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21581 PyObject *resultobj;
21582 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21583 wxFont result;
21584 PyObject * obj0 = 0 ;
21585 char *kwnames[] = {
21586 (char *) "self", NULL
21587 };
21588
21589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21591 if (SWIG_arg_fail(1)) SWIG_fail;
21592 {
21593 PyThreadState* __tstate = wxPyBeginAllowThreads();
21594 result = (arg1)->GetFont();
21595
21596 wxPyEndAllowThreads(__tstate);
21597 if (PyErr_Occurred()) SWIG_fail;
21598 }
21599 {
21600 wxFont * resultptr;
21601 resultptr = new wxFont((wxFont &)(result));
21602 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21603 }
21604 return resultobj;
21605 fail:
21606 return NULL;
21607 }
21608
21609
21610 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj;
21612 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21613 PyObject * obj0 = 0 ;
21614 char *kwnames[] = {
21615 (char *) "self", NULL
21616 };
21617
21618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21620 if (SWIG_arg_fail(1)) SWIG_fail;
21621 {
21622 PyThreadState* __tstate = wxPyBeginAllowThreads();
21623 wxListItemAttr_Destroy(arg1);
21624
21625 wxPyEndAllowThreads(__tstate);
21626 if (PyErr_Occurred()) SWIG_fail;
21627 }
21628 Py_INCREF(Py_None); resultobj = Py_None;
21629 return resultobj;
21630 fail:
21631 return NULL;
21632 }
21633
21634
21635 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21636 PyObject *obj;
21637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21638 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21639 Py_INCREF(obj);
21640 return Py_BuildValue((char *)"");
21641 }
21642 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21643 PyObject *resultobj;
21644 wxListItem *result;
21645 char *kwnames[] = {
21646 NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21650 {
21651 PyThreadState* __tstate = wxPyBeginAllowThreads();
21652 result = (wxListItem *)new wxListItem();
21653
21654 wxPyEndAllowThreads(__tstate);
21655 if (PyErr_Occurred()) SWIG_fail;
21656 }
21657 {
21658 resultobj = wxPyMake_wxObject(result, 1);
21659 }
21660 return resultobj;
21661 fail:
21662 return NULL;
21663 }
21664
21665
21666 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21667 PyObject *resultobj;
21668 wxListItem *arg1 = (wxListItem *) 0 ;
21669 PyObject * obj0 = 0 ;
21670 char *kwnames[] = {
21671 (char *) "self", NULL
21672 };
21673
21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21676 if (SWIG_arg_fail(1)) SWIG_fail;
21677 {
21678 PyThreadState* __tstate = wxPyBeginAllowThreads();
21679 delete arg1;
21680
21681 wxPyEndAllowThreads(__tstate);
21682 if (PyErr_Occurred()) SWIG_fail;
21683 }
21684 Py_INCREF(Py_None); resultobj = Py_None;
21685 return resultobj;
21686 fail:
21687 return NULL;
21688 }
21689
21690
21691 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21692 PyObject *resultobj;
21693 wxListItem *arg1 = (wxListItem *) 0 ;
21694 PyObject * obj0 = 0 ;
21695 char *kwnames[] = {
21696 (char *) "self", NULL
21697 };
21698
21699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21701 if (SWIG_arg_fail(1)) SWIG_fail;
21702 {
21703 PyThreadState* __tstate = wxPyBeginAllowThreads();
21704 (arg1)->Clear();
21705
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 Py_INCREF(Py_None); resultobj = Py_None;
21710 return resultobj;
21711 fail:
21712 return NULL;
21713 }
21714
21715
21716 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21717 PyObject *resultobj;
21718 wxListItem *arg1 = (wxListItem *) 0 ;
21719 PyObject * obj0 = 0 ;
21720 char *kwnames[] = {
21721 (char *) "self", NULL
21722 };
21723
21724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21726 if (SWIG_arg_fail(1)) SWIG_fail;
21727 {
21728 PyThreadState* __tstate = wxPyBeginAllowThreads();
21729 (arg1)->ClearAttributes();
21730
21731 wxPyEndAllowThreads(__tstate);
21732 if (PyErr_Occurred()) SWIG_fail;
21733 }
21734 Py_INCREF(Py_None); resultobj = Py_None;
21735 return resultobj;
21736 fail:
21737 return NULL;
21738 }
21739
21740
21741 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21742 PyObject *resultobj;
21743 wxListItem *arg1 = (wxListItem *) 0 ;
21744 long arg2 ;
21745 PyObject * obj0 = 0 ;
21746 PyObject * obj1 = 0 ;
21747 char *kwnames[] = {
21748 (char *) "self",(char *) "mask", NULL
21749 };
21750
21751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
21752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail;
21754 {
21755 arg2 = (long)(SWIG_As_long(obj1));
21756 if (SWIG_arg_fail(2)) SWIG_fail;
21757 }
21758 {
21759 PyThreadState* __tstate = wxPyBeginAllowThreads();
21760 (arg1)->SetMask(arg2);
21761
21762 wxPyEndAllowThreads(__tstate);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 Py_INCREF(Py_None); resultobj = Py_None;
21766 return resultobj;
21767 fail:
21768 return NULL;
21769 }
21770
21771
21772 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21773 PyObject *resultobj;
21774 wxListItem *arg1 = (wxListItem *) 0 ;
21775 long arg2 ;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 char *kwnames[] = {
21779 (char *) "self",(char *) "id", NULL
21780 };
21781
21782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21784 if (SWIG_arg_fail(1)) SWIG_fail;
21785 {
21786 arg2 = (long)(SWIG_As_long(obj1));
21787 if (SWIG_arg_fail(2)) SWIG_fail;
21788 }
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 (arg1)->SetId(arg2);
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 Py_INCREF(Py_None); resultobj = Py_None;
21797 return resultobj;
21798 fail:
21799 return NULL;
21800 }
21801
21802
21803 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 wxListItem *arg1 = (wxListItem *) 0 ;
21806 int arg2 ;
21807 PyObject * obj0 = 0 ;
21808 PyObject * obj1 = 0 ;
21809 char *kwnames[] = {
21810 (char *) "self",(char *) "col", NULL
21811 };
21812
21813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21815 if (SWIG_arg_fail(1)) SWIG_fail;
21816 {
21817 arg2 = (int)(SWIG_As_int(obj1));
21818 if (SWIG_arg_fail(2)) SWIG_fail;
21819 }
21820 {
21821 PyThreadState* __tstate = wxPyBeginAllowThreads();
21822 (arg1)->SetColumn(arg2);
21823
21824 wxPyEndAllowThreads(__tstate);
21825 if (PyErr_Occurred()) SWIG_fail;
21826 }
21827 Py_INCREF(Py_None); resultobj = Py_None;
21828 return resultobj;
21829 fail:
21830 return NULL;
21831 }
21832
21833
21834 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21835 PyObject *resultobj;
21836 wxListItem *arg1 = (wxListItem *) 0 ;
21837 long arg2 ;
21838 PyObject * obj0 = 0 ;
21839 PyObject * obj1 = 0 ;
21840 char *kwnames[] = {
21841 (char *) "self",(char *) "state", NULL
21842 };
21843
21844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21846 if (SWIG_arg_fail(1)) SWIG_fail;
21847 {
21848 arg2 = (long)(SWIG_As_long(obj1));
21849 if (SWIG_arg_fail(2)) SWIG_fail;
21850 }
21851 {
21852 PyThreadState* __tstate = wxPyBeginAllowThreads();
21853 (arg1)->SetState(arg2);
21854
21855 wxPyEndAllowThreads(__tstate);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 }
21858 Py_INCREF(Py_None); resultobj = Py_None;
21859 return resultobj;
21860 fail:
21861 return NULL;
21862 }
21863
21864
21865 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21866 PyObject *resultobj;
21867 wxListItem *arg1 = (wxListItem *) 0 ;
21868 long arg2 ;
21869 PyObject * obj0 = 0 ;
21870 PyObject * obj1 = 0 ;
21871 char *kwnames[] = {
21872 (char *) "self",(char *) "stateMask", NULL
21873 };
21874
21875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21877 if (SWIG_arg_fail(1)) SWIG_fail;
21878 {
21879 arg2 = (long)(SWIG_As_long(obj1));
21880 if (SWIG_arg_fail(2)) SWIG_fail;
21881 }
21882 {
21883 PyThreadState* __tstate = wxPyBeginAllowThreads();
21884 (arg1)->SetStateMask(arg2);
21885
21886 wxPyEndAllowThreads(__tstate);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 Py_INCREF(Py_None); resultobj = Py_None;
21890 return resultobj;
21891 fail:
21892 return NULL;
21893 }
21894
21895
21896 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21897 PyObject *resultobj;
21898 wxListItem *arg1 = (wxListItem *) 0 ;
21899 wxString *arg2 = 0 ;
21900 bool temp2 = false ;
21901 PyObject * obj0 = 0 ;
21902 PyObject * obj1 = 0 ;
21903 char *kwnames[] = {
21904 (char *) "self",(char *) "text", NULL
21905 };
21906
21907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21909 if (SWIG_arg_fail(1)) SWIG_fail;
21910 {
21911 arg2 = wxString_in_helper(obj1);
21912 if (arg2 == NULL) SWIG_fail;
21913 temp2 = true;
21914 }
21915 {
21916 PyThreadState* __tstate = wxPyBeginAllowThreads();
21917 (arg1)->SetText((wxString const &)*arg2);
21918
21919 wxPyEndAllowThreads(__tstate);
21920 if (PyErr_Occurred()) SWIG_fail;
21921 }
21922 Py_INCREF(Py_None); resultobj = Py_None;
21923 {
21924 if (temp2)
21925 delete arg2;
21926 }
21927 return resultobj;
21928 fail:
21929 {
21930 if (temp2)
21931 delete arg2;
21932 }
21933 return NULL;
21934 }
21935
21936
21937 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21938 PyObject *resultobj;
21939 wxListItem *arg1 = (wxListItem *) 0 ;
21940 int arg2 ;
21941 PyObject * obj0 = 0 ;
21942 PyObject * obj1 = 0 ;
21943 char *kwnames[] = {
21944 (char *) "self",(char *) "image", NULL
21945 };
21946
21947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
21948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21949 if (SWIG_arg_fail(1)) SWIG_fail;
21950 {
21951 arg2 = (int)(SWIG_As_int(obj1));
21952 if (SWIG_arg_fail(2)) SWIG_fail;
21953 }
21954 {
21955 PyThreadState* __tstate = wxPyBeginAllowThreads();
21956 (arg1)->SetImage(arg2);
21957
21958 wxPyEndAllowThreads(__tstate);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 }
21961 Py_INCREF(Py_None); resultobj = Py_None;
21962 return resultobj;
21963 fail:
21964 return NULL;
21965 }
21966
21967
21968 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
21969 PyObject *resultobj;
21970 wxListItem *arg1 = (wxListItem *) 0 ;
21971 long arg2 ;
21972 PyObject * obj0 = 0 ;
21973 PyObject * obj1 = 0 ;
21974 char *kwnames[] = {
21975 (char *) "self",(char *) "data", NULL
21976 };
21977
21978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
21979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21980 if (SWIG_arg_fail(1)) SWIG_fail;
21981 {
21982 arg2 = (long)(SWIG_As_long(obj1));
21983 if (SWIG_arg_fail(2)) SWIG_fail;
21984 }
21985 {
21986 PyThreadState* __tstate = wxPyBeginAllowThreads();
21987 (arg1)->SetData(arg2);
21988
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 Py_INCREF(Py_None); resultobj = Py_None;
21993 return resultobj;
21994 fail:
21995 return NULL;
21996 }
21997
21998
21999 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22000 PyObject *resultobj;
22001 wxListItem *arg1 = (wxListItem *) 0 ;
22002 int arg2 ;
22003 PyObject * obj0 = 0 ;
22004 PyObject * obj1 = 0 ;
22005 char *kwnames[] = {
22006 (char *) "self",(char *) "width", NULL
22007 };
22008
22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
22010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22011 if (SWIG_arg_fail(1)) SWIG_fail;
22012 {
22013 arg2 = (int)(SWIG_As_int(obj1));
22014 if (SWIG_arg_fail(2)) SWIG_fail;
22015 }
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 (arg1)->SetWidth(arg2);
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 Py_INCREF(Py_None); resultobj = Py_None;
22024 return resultobj;
22025 fail:
22026 return NULL;
22027 }
22028
22029
22030 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22031 PyObject *resultobj;
22032 wxListItem *arg1 = (wxListItem *) 0 ;
22033 wxListColumnFormat arg2 ;
22034 PyObject * obj0 = 0 ;
22035 PyObject * obj1 = 0 ;
22036 char *kwnames[] = {
22037 (char *) "self",(char *) "align", NULL
22038 };
22039
22040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
22041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22042 if (SWIG_arg_fail(1)) SWIG_fail;
22043 {
22044 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22045 if (SWIG_arg_fail(2)) SWIG_fail;
22046 }
22047 {
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 (arg1)->SetAlign((wxListColumnFormat )arg2);
22050
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 Py_INCREF(Py_None); resultobj = Py_None;
22055 return resultobj;
22056 fail:
22057 return NULL;
22058 }
22059
22060
22061 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22062 PyObject *resultobj;
22063 wxListItem *arg1 = (wxListItem *) 0 ;
22064 wxColour *arg2 = 0 ;
22065 wxColour temp2 ;
22066 PyObject * obj0 = 0 ;
22067 PyObject * obj1 = 0 ;
22068 char *kwnames[] = {
22069 (char *) "self",(char *) "colText", NULL
22070 };
22071
22072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22074 if (SWIG_arg_fail(1)) SWIG_fail;
22075 {
22076 arg2 = &temp2;
22077 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22078 }
22079 {
22080 PyThreadState* __tstate = wxPyBeginAllowThreads();
22081 (arg1)->SetTextColour((wxColour const &)*arg2);
22082
22083 wxPyEndAllowThreads(__tstate);
22084 if (PyErr_Occurred()) SWIG_fail;
22085 }
22086 Py_INCREF(Py_None); resultobj = Py_None;
22087 return resultobj;
22088 fail:
22089 return NULL;
22090 }
22091
22092
22093 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22094 PyObject *resultobj;
22095 wxListItem *arg1 = (wxListItem *) 0 ;
22096 wxColour *arg2 = 0 ;
22097 wxColour temp2 ;
22098 PyObject * obj0 = 0 ;
22099 PyObject * obj1 = 0 ;
22100 char *kwnames[] = {
22101 (char *) "self",(char *) "colBack", NULL
22102 };
22103
22104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22106 if (SWIG_arg_fail(1)) SWIG_fail;
22107 {
22108 arg2 = &temp2;
22109 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22110 }
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22114
22115 wxPyEndAllowThreads(__tstate);
22116 if (PyErr_Occurred()) SWIG_fail;
22117 }
22118 Py_INCREF(Py_None); resultobj = Py_None;
22119 return resultobj;
22120 fail:
22121 return NULL;
22122 }
22123
22124
22125 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22126 PyObject *resultobj;
22127 wxListItem *arg1 = (wxListItem *) 0 ;
22128 wxFont *arg2 = 0 ;
22129 PyObject * obj0 = 0 ;
22130 PyObject * obj1 = 0 ;
22131 char *kwnames[] = {
22132 (char *) "self",(char *) "font", NULL
22133 };
22134
22135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
22136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22137 if (SWIG_arg_fail(1)) SWIG_fail;
22138 {
22139 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22140 if (SWIG_arg_fail(2)) SWIG_fail;
22141 if (arg2 == NULL) {
22142 SWIG_null_ref("wxFont");
22143 }
22144 if (SWIG_arg_fail(2)) SWIG_fail;
22145 }
22146 {
22147 PyThreadState* __tstate = wxPyBeginAllowThreads();
22148 (arg1)->SetFont((wxFont const &)*arg2);
22149
22150 wxPyEndAllowThreads(__tstate);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 }
22153 Py_INCREF(Py_None); resultobj = Py_None;
22154 return resultobj;
22155 fail:
22156 return NULL;
22157 }
22158
22159
22160 static PyObject *_wrap_ListItem_GetMask(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_GetMask",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)->GetMask();
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_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22189 PyObject *resultobj;
22190 wxListItem *arg1 = (wxListItem *) 0 ;
22191 long result;
22192 PyObject * obj0 = 0 ;
22193 char *kwnames[] = {
22194 (char *) "self", NULL
22195 };
22196
22197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",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 result = (long)(arg1)->GetId();
22203
22204 wxPyEndAllowThreads(__tstate);
22205 if (PyErr_Occurred()) SWIG_fail;
22206 }
22207 {
22208 resultobj = SWIG_From_long((long)(result));
22209 }
22210 return resultobj;
22211 fail:
22212 return NULL;
22213 }
22214
22215
22216 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22217 PyObject *resultobj;
22218 wxListItem *arg1 = (wxListItem *) 0 ;
22219 int result;
22220 PyObject * obj0 = 0 ;
22221 char *kwnames[] = {
22222 (char *) "self", NULL
22223 };
22224
22225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
22226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22227 if (SWIG_arg_fail(1)) SWIG_fail;
22228 {
22229 PyThreadState* __tstate = wxPyBeginAllowThreads();
22230 result = (int)(arg1)->GetColumn();
22231
22232 wxPyEndAllowThreads(__tstate);
22233 if (PyErr_Occurred()) SWIG_fail;
22234 }
22235 {
22236 resultobj = SWIG_From_int((int)(result));
22237 }
22238 return resultobj;
22239 fail:
22240 return NULL;
22241 }
22242
22243
22244 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
22245 PyObject *resultobj;
22246 wxListItem *arg1 = (wxListItem *) 0 ;
22247 long result;
22248 PyObject * obj0 = 0 ;
22249 char *kwnames[] = {
22250 (char *) "self", NULL
22251 };
22252
22253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
22254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22255 if (SWIG_arg_fail(1)) SWIG_fail;
22256 {
22257 PyThreadState* __tstate = wxPyBeginAllowThreads();
22258 result = (long)(arg1)->GetState();
22259
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 {
22264 resultobj = SWIG_From_long((long)(result));
22265 }
22266 return resultobj;
22267 fail:
22268 return NULL;
22269 }
22270
22271
22272 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22273 PyObject *resultobj;
22274 wxListItem *arg1 = (wxListItem *) 0 ;
22275 wxString *result;
22276 PyObject * obj0 = 0 ;
22277 char *kwnames[] = {
22278 (char *) "self", NULL
22279 };
22280
22281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22283 if (SWIG_arg_fail(1)) SWIG_fail;
22284 {
22285 PyThreadState* __tstate = wxPyBeginAllowThreads();
22286 {
22287 wxString const &_result_ref = (arg1)->GetText();
22288 result = (wxString *) &_result_ref;
22289 }
22290
22291 wxPyEndAllowThreads(__tstate);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 }
22294 {
22295 #if wxUSE_UNICODE
22296 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22297 #else
22298 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22299 #endif
22300 }
22301 return resultobj;
22302 fail:
22303 return NULL;
22304 }
22305
22306
22307 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22308 PyObject *resultobj;
22309 wxListItem *arg1 = (wxListItem *) 0 ;
22310 int result;
22311 PyObject * obj0 = 0 ;
22312 char *kwnames[] = {
22313 (char *) "self", NULL
22314 };
22315
22316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",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 = (int)(arg1)->GetImage();
22322
22323 wxPyEndAllowThreads(__tstate);
22324 if (PyErr_Occurred()) SWIG_fail;
22325 }
22326 {
22327 resultobj = SWIG_From_int((int)(result));
22328 }
22329 return resultobj;
22330 fail:
22331 return NULL;
22332 }
22333
22334
22335 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22336 PyObject *resultobj;
22337 wxListItem *arg1 = (wxListItem *) 0 ;
22338 long result;
22339 PyObject * obj0 = 0 ;
22340 char *kwnames[] = {
22341 (char *) "self", NULL
22342 };
22343
22344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22346 if (SWIG_arg_fail(1)) SWIG_fail;
22347 {
22348 PyThreadState* __tstate = wxPyBeginAllowThreads();
22349 result = (long)(arg1)->GetData();
22350
22351 wxPyEndAllowThreads(__tstate);
22352 if (PyErr_Occurred()) SWIG_fail;
22353 }
22354 {
22355 resultobj = SWIG_From_long((long)(result));
22356 }
22357 return resultobj;
22358 fail:
22359 return NULL;
22360 }
22361
22362
22363 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22364 PyObject *resultobj;
22365 wxListItem *arg1 = (wxListItem *) 0 ;
22366 int result;
22367 PyObject * obj0 = 0 ;
22368 char *kwnames[] = {
22369 (char *) "self", NULL
22370 };
22371
22372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22374 if (SWIG_arg_fail(1)) SWIG_fail;
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 result = (int)(arg1)->GetWidth();
22378
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 {
22383 resultobj = SWIG_From_int((int)(result));
22384 }
22385 return resultobj;
22386 fail:
22387 return NULL;
22388 }
22389
22390
22391 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22392 PyObject *resultobj;
22393 wxListItem *arg1 = (wxListItem *) 0 ;
22394 wxListColumnFormat result;
22395 PyObject * obj0 = 0 ;
22396 char *kwnames[] = {
22397 (char *) "self", NULL
22398 };
22399
22400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22402 if (SWIG_arg_fail(1)) SWIG_fail;
22403 {
22404 PyThreadState* __tstate = wxPyBeginAllowThreads();
22405 result = (wxListColumnFormat)(arg1)->GetAlign();
22406
22407 wxPyEndAllowThreads(__tstate);
22408 if (PyErr_Occurred()) SWIG_fail;
22409 }
22410 resultobj = SWIG_From_int((result));
22411 return resultobj;
22412 fail:
22413 return NULL;
22414 }
22415
22416
22417 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22418 PyObject *resultobj;
22419 wxListItem *arg1 = (wxListItem *) 0 ;
22420 wxListItemAttr *result;
22421 PyObject * obj0 = 0 ;
22422 char *kwnames[] = {
22423 (char *) "self", NULL
22424 };
22425
22426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",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 = (wxListItemAttr *)(arg1)->GetAttributes();
22432
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22437 return resultobj;
22438 fail:
22439 return NULL;
22440 }
22441
22442
22443 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22444 PyObject *resultobj;
22445 wxListItem *arg1 = (wxListItem *) 0 ;
22446 bool result;
22447 PyObject * obj0 = 0 ;
22448 char *kwnames[] = {
22449 (char *) "self", NULL
22450 };
22451
22452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22454 if (SWIG_arg_fail(1)) SWIG_fail;
22455 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 result = (bool)(arg1)->HasAttributes();
22458
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 {
22463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22464 }
22465 return resultobj;
22466 fail:
22467 return NULL;
22468 }
22469
22470
22471 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22472 PyObject *resultobj;
22473 wxListItem *arg1 = (wxListItem *) 0 ;
22474 wxColour result;
22475 PyObject * obj0 = 0 ;
22476 char *kwnames[] = {
22477 (char *) "self", NULL
22478 };
22479
22480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22482 if (SWIG_arg_fail(1)) SWIG_fail;
22483 {
22484 PyThreadState* __tstate = wxPyBeginAllowThreads();
22485 result = ((wxListItem const *)arg1)->GetTextColour();
22486
22487 wxPyEndAllowThreads(__tstate);
22488 if (PyErr_Occurred()) SWIG_fail;
22489 }
22490 {
22491 wxColour * resultptr;
22492 resultptr = new wxColour((wxColour &)(result));
22493 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22494 }
22495 return resultobj;
22496 fail:
22497 return NULL;
22498 }
22499
22500
22501 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22502 PyObject *resultobj;
22503 wxListItem *arg1 = (wxListItem *) 0 ;
22504 wxColour result;
22505 PyObject * obj0 = 0 ;
22506 char *kwnames[] = {
22507 (char *) "self", NULL
22508 };
22509
22510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22512 if (SWIG_arg_fail(1)) SWIG_fail;
22513 {
22514 PyThreadState* __tstate = wxPyBeginAllowThreads();
22515 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22516
22517 wxPyEndAllowThreads(__tstate);
22518 if (PyErr_Occurred()) SWIG_fail;
22519 }
22520 {
22521 wxColour * resultptr;
22522 resultptr = new wxColour((wxColour &)(result));
22523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22524 }
22525 return resultobj;
22526 fail:
22527 return NULL;
22528 }
22529
22530
22531 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22532 PyObject *resultobj;
22533 wxListItem *arg1 = (wxListItem *) 0 ;
22534 wxFont result;
22535 PyObject * obj0 = 0 ;
22536 char *kwnames[] = {
22537 (char *) "self", NULL
22538 };
22539
22540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22542 if (SWIG_arg_fail(1)) SWIG_fail;
22543 {
22544 PyThreadState* __tstate = wxPyBeginAllowThreads();
22545 result = ((wxListItem const *)arg1)->GetFont();
22546
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 {
22551 wxFont * resultptr;
22552 resultptr = new wxFont((wxFont &)(result));
22553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22554 }
22555 return resultobj;
22556 fail:
22557 return NULL;
22558 }
22559
22560
22561 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22562 PyObject *resultobj;
22563 wxListItem *arg1 = (wxListItem *) 0 ;
22564 long arg2 ;
22565 PyObject * obj0 = 0 ;
22566 PyObject * obj1 = 0 ;
22567 char *kwnames[] = {
22568 (char *) "self",(char *) "m_mask", NULL
22569 };
22570
22571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22573 if (SWIG_arg_fail(1)) SWIG_fail;
22574 {
22575 arg2 = (long)(SWIG_As_long(obj1));
22576 if (SWIG_arg_fail(2)) SWIG_fail;
22577 }
22578 if (arg1) (arg1)->m_mask = arg2;
22579
22580 Py_INCREF(Py_None); resultobj = Py_None;
22581 return resultobj;
22582 fail:
22583 return NULL;
22584 }
22585
22586
22587 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22588 PyObject *resultobj;
22589 wxListItem *arg1 = (wxListItem *) 0 ;
22590 long result;
22591 PyObject * obj0 = 0 ;
22592 char *kwnames[] = {
22593 (char *) "self", NULL
22594 };
22595
22596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
22597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22598 if (SWIG_arg_fail(1)) SWIG_fail;
22599 result = (long) ((arg1)->m_mask);
22600
22601 {
22602 resultobj = SWIG_From_long((long)(result));
22603 }
22604 return resultobj;
22605 fail:
22606 return NULL;
22607 }
22608
22609
22610 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22611 PyObject *resultobj;
22612 wxListItem *arg1 = (wxListItem *) 0 ;
22613 long arg2 ;
22614 PyObject * obj0 = 0 ;
22615 PyObject * obj1 = 0 ;
22616 char *kwnames[] = {
22617 (char *) "self",(char *) "m_itemId", NULL
22618 };
22619
22620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22622 if (SWIG_arg_fail(1)) SWIG_fail;
22623 {
22624 arg2 = (long)(SWIG_As_long(obj1));
22625 if (SWIG_arg_fail(2)) SWIG_fail;
22626 }
22627 if (arg1) (arg1)->m_itemId = arg2;
22628
22629 Py_INCREF(Py_None); resultobj = Py_None;
22630 return resultobj;
22631 fail:
22632 return NULL;
22633 }
22634
22635
22636 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22637 PyObject *resultobj;
22638 wxListItem *arg1 = (wxListItem *) 0 ;
22639 long result;
22640 PyObject * obj0 = 0 ;
22641 char *kwnames[] = {
22642 (char *) "self", NULL
22643 };
22644
22645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
22646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22647 if (SWIG_arg_fail(1)) SWIG_fail;
22648 result = (long) ((arg1)->m_itemId);
22649
22650 {
22651 resultobj = SWIG_From_long((long)(result));
22652 }
22653 return resultobj;
22654 fail:
22655 return NULL;
22656 }
22657
22658
22659 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22660 PyObject *resultobj;
22661 wxListItem *arg1 = (wxListItem *) 0 ;
22662 int arg2 ;
22663 PyObject * obj0 = 0 ;
22664 PyObject * obj1 = 0 ;
22665 char *kwnames[] = {
22666 (char *) "self",(char *) "m_col", NULL
22667 };
22668
22669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22671 if (SWIG_arg_fail(1)) SWIG_fail;
22672 {
22673 arg2 = (int)(SWIG_As_int(obj1));
22674 if (SWIG_arg_fail(2)) SWIG_fail;
22675 }
22676 if (arg1) (arg1)->m_col = arg2;
22677
22678 Py_INCREF(Py_None); resultobj = Py_None;
22679 return resultobj;
22680 fail:
22681 return NULL;
22682 }
22683
22684
22685 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22686 PyObject *resultobj;
22687 wxListItem *arg1 = (wxListItem *) 0 ;
22688 int result;
22689 PyObject * obj0 = 0 ;
22690 char *kwnames[] = {
22691 (char *) "self", NULL
22692 };
22693
22694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22696 if (SWIG_arg_fail(1)) SWIG_fail;
22697 result = (int) ((arg1)->m_col);
22698
22699 {
22700 resultobj = SWIG_From_int((int)(result));
22701 }
22702 return resultobj;
22703 fail:
22704 return NULL;
22705 }
22706
22707
22708 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22709 PyObject *resultobj;
22710 wxListItem *arg1 = (wxListItem *) 0 ;
22711 long arg2 ;
22712 PyObject * obj0 = 0 ;
22713 PyObject * obj1 = 0 ;
22714 char *kwnames[] = {
22715 (char *) "self",(char *) "m_state", NULL
22716 };
22717
22718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22720 if (SWIG_arg_fail(1)) SWIG_fail;
22721 {
22722 arg2 = (long)(SWIG_As_long(obj1));
22723 if (SWIG_arg_fail(2)) SWIG_fail;
22724 }
22725 if (arg1) (arg1)->m_state = arg2;
22726
22727 Py_INCREF(Py_None); resultobj = Py_None;
22728 return resultobj;
22729 fail:
22730 return NULL;
22731 }
22732
22733
22734 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22735 PyObject *resultobj;
22736 wxListItem *arg1 = (wxListItem *) 0 ;
22737 long result;
22738 PyObject * obj0 = 0 ;
22739 char *kwnames[] = {
22740 (char *) "self", NULL
22741 };
22742
22743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22745 if (SWIG_arg_fail(1)) SWIG_fail;
22746 result = (long) ((arg1)->m_state);
22747
22748 {
22749 resultobj = SWIG_From_long((long)(result));
22750 }
22751 return resultobj;
22752 fail:
22753 return NULL;
22754 }
22755
22756
22757 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22758 PyObject *resultobj;
22759 wxListItem *arg1 = (wxListItem *) 0 ;
22760 long arg2 ;
22761 PyObject * obj0 = 0 ;
22762 PyObject * obj1 = 0 ;
22763 char *kwnames[] = {
22764 (char *) "self",(char *) "m_stateMask", NULL
22765 };
22766
22767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) 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 {
22771 arg2 = (long)(SWIG_As_long(obj1));
22772 if (SWIG_arg_fail(2)) SWIG_fail;
22773 }
22774 if (arg1) (arg1)->m_stateMask = arg2;
22775
22776 Py_INCREF(Py_None); resultobj = Py_None;
22777 return resultobj;
22778 fail:
22779 return NULL;
22780 }
22781
22782
22783 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22784 PyObject *resultobj;
22785 wxListItem *arg1 = (wxListItem *) 0 ;
22786 long result;
22787 PyObject * obj0 = 0 ;
22788 char *kwnames[] = {
22789 (char *) "self", NULL
22790 };
22791
22792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22794 if (SWIG_arg_fail(1)) SWIG_fail;
22795 result = (long) ((arg1)->m_stateMask);
22796
22797 {
22798 resultobj = SWIG_From_long((long)(result));
22799 }
22800 return resultobj;
22801 fail:
22802 return NULL;
22803 }
22804
22805
22806 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22807 PyObject *resultobj;
22808 wxListItem *arg1 = (wxListItem *) 0 ;
22809 wxString *arg2 = (wxString *) 0 ;
22810 bool temp2 = false ;
22811 PyObject * obj0 = 0 ;
22812 PyObject * obj1 = 0 ;
22813 char *kwnames[] = {
22814 (char *) "self",(char *) "m_text", NULL
22815 };
22816
22817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22819 if (SWIG_arg_fail(1)) SWIG_fail;
22820 {
22821 arg2 = wxString_in_helper(obj1);
22822 if (arg2 == NULL) SWIG_fail;
22823 temp2 = true;
22824 }
22825 if (arg1) (arg1)->m_text = *arg2;
22826
22827 Py_INCREF(Py_None); resultobj = Py_None;
22828 {
22829 if (temp2)
22830 delete arg2;
22831 }
22832 return resultobj;
22833 fail:
22834 {
22835 if (temp2)
22836 delete arg2;
22837 }
22838 return NULL;
22839 }
22840
22841
22842 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22843 PyObject *resultobj;
22844 wxListItem *arg1 = (wxListItem *) 0 ;
22845 wxString *result;
22846 PyObject * obj0 = 0 ;
22847 char *kwnames[] = {
22848 (char *) "self", NULL
22849 };
22850
22851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22853 if (SWIG_arg_fail(1)) SWIG_fail;
22854 result = (wxString *)& ((arg1)->m_text);
22855
22856 {
22857 #if wxUSE_UNICODE
22858 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22859 #else
22860 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22861 #endif
22862 }
22863 return resultobj;
22864 fail:
22865 return NULL;
22866 }
22867
22868
22869 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22870 PyObject *resultobj;
22871 wxListItem *arg1 = (wxListItem *) 0 ;
22872 int arg2 ;
22873 PyObject * obj0 = 0 ;
22874 PyObject * obj1 = 0 ;
22875 char *kwnames[] = {
22876 (char *) "self",(char *) "m_image", NULL
22877 };
22878
22879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22881 if (SWIG_arg_fail(1)) SWIG_fail;
22882 {
22883 arg2 = (int)(SWIG_As_int(obj1));
22884 if (SWIG_arg_fail(2)) SWIG_fail;
22885 }
22886 if (arg1) (arg1)->m_image = arg2;
22887
22888 Py_INCREF(Py_None); resultobj = Py_None;
22889 return resultobj;
22890 fail:
22891 return NULL;
22892 }
22893
22894
22895 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22896 PyObject *resultobj;
22897 wxListItem *arg1 = (wxListItem *) 0 ;
22898 int result;
22899 PyObject * obj0 = 0 ;
22900 char *kwnames[] = {
22901 (char *) "self", NULL
22902 };
22903
22904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22906 if (SWIG_arg_fail(1)) SWIG_fail;
22907 result = (int) ((arg1)->m_image);
22908
22909 {
22910 resultobj = SWIG_From_int((int)(result));
22911 }
22912 return resultobj;
22913 fail:
22914 return NULL;
22915 }
22916
22917
22918 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22919 PyObject *resultobj;
22920 wxListItem *arg1 = (wxListItem *) 0 ;
22921 long arg2 ;
22922 PyObject * obj0 = 0 ;
22923 PyObject * obj1 = 0 ;
22924 char *kwnames[] = {
22925 (char *) "self",(char *) "m_data", NULL
22926 };
22927
22928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
22929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22930 if (SWIG_arg_fail(1)) SWIG_fail;
22931 {
22932 arg2 = (long)(SWIG_As_long(obj1));
22933 if (SWIG_arg_fail(2)) SWIG_fail;
22934 }
22935 if (arg1) (arg1)->m_data = arg2;
22936
22937 Py_INCREF(Py_None); resultobj = Py_None;
22938 return resultobj;
22939 fail:
22940 return NULL;
22941 }
22942
22943
22944 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
22945 PyObject *resultobj;
22946 wxListItem *arg1 = (wxListItem *) 0 ;
22947 long result;
22948 PyObject * obj0 = 0 ;
22949 char *kwnames[] = {
22950 (char *) "self", NULL
22951 };
22952
22953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
22954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22955 if (SWIG_arg_fail(1)) SWIG_fail;
22956 result = (long) ((arg1)->m_data);
22957
22958 {
22959 resultobj = SWIG_From_long((long)(result));
22960 }
22961 return resultobj;
22962 fail:
22963 return NULL;
22964 }
22965
22966
22967 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
22968 PyObject *resultobj;
22969 wxListItem *arg1 = (wxListItem *) 0 ;
22970 int arg2 ;
22971 PyObject * obj0 = 0 ;
22972 PyObject * obj1 = 0 ;
22973 char *kwnames[] = {
22974 (char *) "self",(char *) "m_format", NULL
22975 };
22976
22977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
22978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22979 if (SWIG_arg_fail(1)) SWIG_fail;
22980 {
22981 arg2 = (int)(SWIG_As_int(obj1));
22982 if (SWIG_arg_fail(2)) SWIG_fail;
22983 }
22984 if (arg1) (arg1)->m_format = arg2;
22985
22986 Py_INCREF(Py_None); resultobj = Py_None;
22987 return resultobj;
22988 fail:
22989 return NULL;
22990 }
22991
22992
22993 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
22994 PyObject *resultobj;
22995 wxListItem *arg1 = (wxListItem *) 0 ;
22996 int result;
22997 PyObject * obj0 = 0 ;
22998 char *kwnames[] = {
22999 (char *) "self", NULL
23000 };
23001
23002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
23003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23004 if (SWIG_arg_fail(1)) SWIG_fail;
23005 result = (int) ((arg1)->m_format);
23006
23007 {
23008 resultobj = SWIG_From_int((int)(result));
23009 }
23010 return resultobj;
23011 fail:
23012 return NULL;
23013 }
23014
23015
23016 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
23017 PyObject *resultobj;
23018 wxListItem *arg1 = (wxListItem *) 0 ;
23019 int arg2 ;
23020 PyObject * obj0 = 0 ;
23021 PyObject * obj1 = 0 ;
23022 char *kwnames[] = {
23023 (char *) "self",(char *) "m_width", NULL
23024 };
23025
23026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
23027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23028 if (SWIG_arg_fail(1)) SWIG_fail;
23029 {
23030 arg2 = (int)(SWIG_As_int(obj1));
23031 if (SWIG_arg_fail(2)) SWIG_fail;
23032 }
23033 if (arg1) (arg1)->m_width = arg2;
23034
23035 Py_INCREF(Py_None); resultobj = Py_None;
23036 return resultobj;
23037 fail:
23038 return NULL;
23039 }
23040
23041
23042 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
23043 PyObject *resultobj;
23044 wxListItem *arg1 = (wxListItem *) 0 ;
23045 int result;
23046 PyObject * obj0 = 0 ;
23047 char *kwnames[] = {
23048 (char *) "self", NULL
23049 };
23050
23051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
23052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23053 if (SWIG_arg_fail(1)) SWIG_fail;
23054 result = (int) ((arg1)->m_width);
23055
23056 {
23057 resultobj = SWIG_From_int((int)(result));
23058 }
23059 return resultobj;
23060 fail:
23061 return NULL;
23062 }
23063
23064
23065 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
23066 PyObject *obj;
23067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23068 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23069 Py_INCREF(obj);
23070 return Py_BuildValue((char *)"");
23071 }
23072 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23073 PyObject *resultobj;
23074 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23075 int arg2 = (int) 0 ;
23076 wxListEvent *result;
23077 PyObject * obj0 = 0 ;
23078 PyObject * obj1 = 0 ;
23079 char *kwnames[] = {
23080 (char *) "commandType",(char *) "id", NULL
23081 };
23082
23083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23084 if (obj0) {
23085 {
23086 arg1 = (wxEventType)(SWIG_As_int(obj0));
23087 if (SWIG_arg_fail(1)) SWIG_fail;
23088 }
23089 }
23090 if (obj1) {
23091 {
23092 arg2 = (int)(SWIG_As_int(obj1));
23093 if (SWIG_arg_fail(2)) SWIG_fail;
23094 }
23095 }
23096 {
23097 PyThreadState* __tstate = wxPyBeginAllowThreads();
23098 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23099
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23104 return resultobj;
23105 fail:
23106 return NULL;
23107 }
23108
23109
23110 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj;
23112 wxListEvent *arg1 = (wxListEvent *) 0 ;
23113 int arg2 ;
23114 PyObject * obj0 = 0 ;
23115 PyObject * obj1 = 0 ;
23116 char *kwnames[] = {
23117 (char *) "self",(char *) "m_code", NULL
23118 };
23119
23120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
23121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23122 if (SWIG_arg_fail(1)) SWIG_fail;
23123 {
23124 arg2 = (int)(SWIG_As_int(obj1));
23125 if (SWIG_arg_fail(2)) SWIG_fail;
23126 }
23127 if (arg1) (arg1)->m_code = arg2;
23128
23129 Py_INCREF(Py_None); resultobj = Py_None;
23130 return resultobj;
23131 fail:
23132 return NULL;
23133 }
23134
23135
23136 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
23137 PyObject *resultobj;
23138 wxListEvent *arg1 = (wxListEvent *) 0 ;
23139 int result;
23140 PyObject * obj0 = 0 ;
23141 char *kwnames[] = {
23142 (char *) "self", NULL
23143 };
23144
23145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
23146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23147 if (SWIG_arg_fail(1)) SWIG_fail;
23148 result = (int) ((arg1)->m_code);
23149
23150 {
23151 resultobj = SWIG_From_int((int)(result));
23152 }
23153 return resultobj;
23154 fail:
23155 return NULL;
23156 }
23157
23158
23159 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23160 PyObject *resultobj;
23161 wxListEvent *arg1 = (wxListEvent *) 0 ;
23162 long arg2 ;
23163 PyObject * obj0 = 0 ;
23164 PyObject * obj1 = 0 ;
23165 char *kwnames[] = {
23166 (char *) "self",(char *) "m_oldItemIndex", NULL
23167 };
23168
23169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23171 if (SWIG_arg_fail(1)) SWIG_fail;
23172 {
23173 arg2 = (long)(SWIG_As_long(obj1));
23174 if (SWIG_arg_fail(2)) SWIG_fail;
23175 }
23176 if (arg1) (arg1)->m_oldItemIndex = arg2;
23177
23178 Py_INCREF(Py_None); resultobj = Py_None;
23179 return resultobj;
23180 fail:
23181 return NULL;
23182 }
23183
23184
23185 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23186 PyObject *resultobj;
23187 wxListEvent *arg1 = (wxListEvent *) 0 ;
23188 long result;
23189 PyObject * obj0 = 0 ;
23190 char *kwnames[] = {
23191 (char *) "self", NULL
23192 };
23193
23194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23196 if (SWIG_arg_fail(1)) SWIG_fail;
23197 result = (long) ((arg1)->m_oldItemIndex);
23198
23199 {
23200 resultobj = SWIG_From_long((long)(result));
23201 }
23202 return resultobj;
23203 fail:
23204 return NULL;
23205 }
23206
23207
23208 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23209 PyObject *resultobj;
23210 wxListEvent *arg1 = (wxListEvent *) 0 ;
23211 long arg2 ;
23212 PyObject * obj0 = 0 ;
23213 PyObject * obj1 = 0 ;
23214 char *kwnames[] = {
23215 (char *) "self",(char *) "m_itemIndex", NULL
23216 };
23217
23218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23220 if (SWIG_arg_fail(1)) SWIG_fail;
23221 {
23222 arg2 = (long)(SWIG_As_long(obj1));
23223 if (SWIG_arg_fail(2)) SWIG_fail;
23224 }
23225 if (arg1) (arg1)->m_itemIndex = arg2;
23226
23227 Py_INCREF(Py_None); resultobj = Py_None;
23228 return resultobj;
23229 fail:
23230 return NULL;
23231 }
23232
23233
23234 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23235 PyObject *resultobj;
23236 wxListEvent *arg1 = (wxListEvent *) 0 ;
23237 long result;
23238 PyObject * obj0 = 0 ;
23239 char *kwnames[] = {
23240 (char *) "self", NULL
23241 };
23242
23243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23245 if (SWIG_arg_fail(1)) SWIG_fail;
23246 result = (long) ((arg1)->m_itemIndex);
23247
23248 {
23249 resultobj = SWIG_From_long((long)(result));
23250 }
23251 return resultobj;
23252 fail:
23253 return NULL;
23254 }
23255
23256
23257 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23258 PyObject *resultobj;
23259 wxListEvent *arg1 = (wxListEvent *) 0 ;
23260 int arg2 ;
23261 PyObject * obj0 = 0 ;
23262 PyObject * obj1 = 0 ;
23263 char *kwnames[] = {
23264 (char *) "self",(char *) "m_col", NULL
23265 };
23266
23267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23269 if (SWIG_arg_fail(1)) SWIG_fail;
23270 {
23271 arg2 = (int)(SWIG_As_int(obj1));
23272 if (SWIG_arg_fail(2)) SWIG_fail;
23273 }
23274 if (arg1) (arg1)->m_col = arg2;
23275
23276 Py_INCREF(Py_None); resultobj = Py_None;
23277 return resultobj;
23278 fail:
23279 return NULL;
23280 }
23281
23282
23283 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23284 PyObject *resultobj;
23285 wxListEvent *arg1 = (wxListEvent *) 0 ;
23286 int result;
23287 PyObject * obj0 = 0 ;
23288 char *kwnames[] = {
23289 (char *) "self", NULL
23290 };
23291
23292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
23293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23294 if (SWIG_arg_fail(1)) SWIG_fail;
23295 result = (int) ((arg1)->m_col);
23296
23297 {
23298 resultobj = SWIG_From_int((int)(result));
23299 }
23300 return resultobj;
23301 fail:
23302 return NULL;
23303 }
23304
23305
23306 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23307 PyObject *resultobj;
23308 wxListEvent *arg1 = (wxListEvent *) 0 ;
23309 wxPoint *arg2 = (wxPoint *) 0 ;
23310 PyObject * obj0 = 0 ;
23311 PyObject * obj1 = 0 ;
23312 char *kwnames[] = {
23313 (char *) "self",(char *) "m_pointDrag", NULL
23314 };
23315
23316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
23317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23318 if (SWIG_arg_fail(1)) SWIG_fail;
23319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23320 if (SWIG_arg_fail(2)) SWIG_fail;
23321 if (arg1) (arg1)->m_pointDrag = *arg2;
23322
23323 Py_INCREF(Py_None); resultobj = Py_None;
23324 return resultobj;
23325 fail:
23326 return NULL;
23327 }
23328
23329
23330 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23331 PyObject *resultobj;
23332 wxListEvent *arg1 = (wxListEvent *) 0 ;
23333 wxPoint *result;
23334 PyObject * obj0 = 0 ;
23335 char *kwnames[] = {
23336 (char *) "self", NULL
23337 };
23338
23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
23340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23341 if (SWIG_arg_fail(1)) SWIG_fail;
23342 result = (wxPoint *)& ((arg1)->m_pointDrag);
23343
23344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23345 return resultobj;
23346 fail:
23347 return NULL;
23348 }
23349
23350
23351 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23352 PyObject *resultobj;
23353 wxListEvent *arg1 = (wxListEvent *) 0 ;
23354 wxListItem *result;
23355 PyObject * obj0 = 0 ;
23356 char *kwnames[] = {
23357 (char *) "self", NULL
23358 };
23359
23360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23362 if (SWIG_arg_fail(1)) SWIG_fail;
23363 result = (wxListItem *)& ((arg1)->m_item);
23364
23365 {
23366 resultobj = wxPyMake_wxObject(result, 0);
23367 }
23368 return resultobj;
23369 fail:
23370 return NULL;
23371 }
23372
23373
23374 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23375 PyObject *resultobj;
23376 wxListEvent *arg1 = (wxListEvent *) 0 ;
23377 int result;
23378 PyObject * obj0 = 0 ;
23379 char *kwnames[] = {
23380 (char *) "self", NULL
23381 };
23382
23383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",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 = (int)(arg1)->GetKeyCode();
23389
23390 wxPyEndAllowThreads(__tstate);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 }
23393 {
23394 resultobj = SWIG_From_int((int)(result));
23395 }
23396 return resultobj;
23397 fail:
23398 return NULL;
23399 }
23400
23401
23402 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23403 PyObject *resultobj;
23404 wxListEvent *arg1 = (wxListEvent *) 0 ;
23405 long result;
23406 PyObject * obj0 = 0 ;
23407 char *kwnames[] = {
23408 (char *) "self", NULL
23409 };
23410
23411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail;
23414 {
23415 PyThreadState* __tstate = wxPyBeginAllowThreads();
23416 result = (long)(arg1)->GetIndex();
23417
23418 wxPyEndAllowThreads(__tstate);
23419 if (PyErr_Occurred()) SWIG_fail;
23420 }
23421 {
23422 resultobj = SWIG_From_long((long)(result));
23423 }
23424 return resultobj;
23425 fail:
23426 return NULL;
23427 }
23428
23429
23430 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23431 PyObject *resultobj;
23432 wxListEvent *arg1 = (wxListEvent *) 0 ;
23433 int result;
23434 PyObject * obj0 = 0 ;
23435 char *kwnames[] = {
23436 (char *) "self", NULL
23437 };
23438
23439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23441 if (SWIG_arg_fail(1)) SWIG_fail;
23442 {
23443 PyThreadState* __tstate = wxPyBeginAllowThreads();
23444 result = (int)(arg1)->GetColumn();
23445
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
23449 {
23450 resultobj = SWIG_From_int((int)(result));
23451 }
23452 return resultobj;
23453 fail:
23454 return NULL;
23455 }
23456
23457
23458 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23459 PyObject *resultobj;
23460 wxListEvent *arg1 = (wxListEvent *) 0 ;
23461 wxPoint result;
23462 PyObject * obj0 = 0 ;
23463 char *kwnames[] = {
23464 (char *) "self", NULL
23465 };
23466
23467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23469 if (SWIG_arg_fail(1)) SWIG_fail;
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 result = (arg1)->GetPoint();
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 {
23478 wxPoint * resultptr;
23479 resultptr = new wxPoint((wxPoint &)(result));
23480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23481 }
23482 return resultobj;
23483 fail:
23484 return NULL;
23485 }
23486
23487
23488 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23489 PyObject *resultobj;
23490 wxListEvent *arg1 = (wxListEvent *) 0 ;
23491 wxString *result;
23492 PyObject * obj0 = 0 ;
23493 char *kwnames[] = {
23494 (char *) "self", NULL
23495 };
23496
23497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
23498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23499 if (SWIG_arg_fail(1)) SWIG_fail;
23500 {
23501 PyThreadState* __tstate = wxPyBeginAllowThreads();
23502 {
23503 wxString const &_result_ref = (arg1)->GetLabel();
23504 result = (wxString *) &_result_ref;
23505 }
23506
23507 wxPyEndAllowThreads(__tstate);
23508 if (PyErr_Occurred()) SWIG_fail;
23509 }
23510 {
23511 #if wxUSE_UNICODE
23512 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23513 #else
23514 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23515 #endif
23516 }
23517 return resultobj;
23518 fail:
23519 return NULL;
23520 }
23521
23522
23523 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23524 PyObject *resultobj;
23525 wxListEvent *arg1 = (wxListEvent *) 0 ;
23526 wxString *result;
23527 PyObject * obj0 = 0 ;
23528 char *kwnames[] = {
23529 (char *) "self", NULL
23530 };
23531
23532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23534 if (SWIG_arg_fail(1)) SWIG_fail;
23535 {
23536 PyThreadState* __tstate = wxPyBeginAllowThreads();
23537 {
23538 wxString const &_result_ref = (arg1)->GetText();
23539 result = (wxString *) &_result_ref;
23540 }
23541
23542 wxPyEndAllowThreads(__tstate);
23543 if (PyErr_Occurred()) SWIG_fail;
23544 }
23545 {
23546 #if wxUSE_UNICODE
23547 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23548 #else
23549 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23550 #endif
23551 }
23552 return resultobj;
23553 fail:
23554 return NULL;
23555 }
23556
23557
23558 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxListEvent *arg1 = (wxListEvent *) 0 ;
23561 int result;
23562 PyObject * obj0 = 0 ;
23563 char *kwnames[] = {
23564 (char *) "self", NULL
23565 };
23566
23567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",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 result = (int)(arg1)->GetImage();
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 {
23578 resultobj = SWIG_From_int((int)(result));
23579 }
23580 return resultobj;
23581 fail:
23582 return NULL;
23583 }
23584
23585
23586 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23587 PyObject *resultobj;
23588 wxListEvent *arg1 = (wxListEvent *) 0 ;
23589 long result;
23590 PyObject * obj0 = 0 ;
23591 char *kwnames[] = {
23592 (char *) "self", NULL
23593 };
23594
23595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23597 if (SWIG_arg_fail(1)) SWIG_fail;
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 result = (long)(arg1)->GetData();
23601
23602 wxPyEndAllowThreads(__tstate);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 }
23605 {
23606 resultobj = SWIG_From_long((long)(result));
23607 }
23608 return resultobj;
23609 fail:
23610 return NULL;
23611 }
23612
23613
23614 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23615 PyObject *resultobj;
23616 wxListEvent *arg1 = (wxListEvent *) 0 ;
23617 long result;
23618 PyObject * obj0 = 0 ;
23619 char *kwnames[] = {
23620 (char *) "self", NULL
23621 };
23622
23623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23625 if (SWIG_arg_fail(1)) SWIG_fail;
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 result = (long)(arg1)->GetMask();
23629
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
23633 {
23634 resultobj = SWIG_From_long((long)(result));
23635 }
23636 return resultobj;
23637 fail:
23638 return NULL;
23639 }
23640
23641
23642 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23643 PyObject *resultobj;
23644 wxListEvent *arg1 = (wxListEvent *) 0 ;
23645 wxListItem *result;
23646 PyObject * obj0 = 0 ;
23647 char *kwnames[] = {
23648 (char *) "self", NULL
23649 };
23650
23651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23653 if (SWIG_arg_fail(1)) SWIG_fail;
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 {
23657 wxListItem const &_result_ref = (arg1)->GetItem();
23658 result = (wxListItem *) &_result_ref;
23659 }
23660
23661 wxPyEndAllowThreads(__tstate);
23662 if (PyErr_Occurred()) SWIG_fail;
23663 }
23664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23665 return resultobj;
23666 fail:
23667 return NULL;
23668 }
23669
23670
23671 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23672 PyObject *resultobj;
23673 wxListEvent *arg1 = (wxListEvent *) 0 ;
23674 long result;
23675 PyObject * obj0 = 0 ;
23676 char *kwnames[] = {
23677 (char *) "self", NULL
23678 };
23679
23680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23682 if (SWIG_arg_fail(1)) SWIG_fail;
23683 {
23684 PyThreadState* __tstate = wxPyBeginAllowThreads();
23685 result = (long)(arg1)->GetCacheFrom();
23686
23687 wxPyEndAllowThreads(__tstate);
23688 if (PyErr_Occurred()) SWIG_fail;
23689 }
23690 {
23691 resultobj = SWIG_From_long((long)(result));
23692 }
23693 return resultobj;
23694 fail:
23695 return NULL;
23696 }
23697
23698
23699 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23700 PyObject *resultobj;
23701 wxListEvent *arg1 = (wxListEvent *) 0 ;
23702 long result;
23703 PyObject * obj0 = 0 ;
23704 char *kwnames[] = {
23705 (char *) "self", NULL
23706 };
23707
23708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23710 if (SWIG_arg_fail(1)) SWIG_fail;
23711 {
23712 PyThreadState* __tstate = wxPyBeginAllowThreads();
23713 result = (long)(arg1)->GetCacheTo();
23714
23715 wxPyEndAllowThreads(__tstate);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 {
23719 resultobj = SWIG_From_long((long)(result));
23720 }
23721 return resultobj;
23722 fail:
23723 return NULL;
23724 }
23725
23726
23727 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23728 PyObject *resultobj;
23729 wxListEvent *arg1 = (wxListEvent *) 0 ;
23730 bool result;
23731 PyObject * obj0 = 0 ;
23732 char *kwnames[] = {
23733 (char *) "self", NULL
23734 };
23735
23736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23738 if (SWIG_arg_fail(1)) SWIG_fail;
23739 {
23740 PyThreadState* __tstate = wxPyBeginAllowThreads();
23741 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23742
23743 wxPyEndAllowThreads(__tstate);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 {
23747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23748 }
23749 return resultobj;
23750 fail:
23751 return NULL;
23752 }
23753
23754
23755 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23756 PyObject *resultobj;
23757 wxListEvent *arg1 = (wxListEvent *) 0 ;
23758 bool arg2 ;
23759 PyObject * obj0 = 0 ;
23760 PyObject * obj1 = 0 ;
23761 char *kwnames[] = {
23762 (char *) "self",(char *) "editCancelled", NULL
23763 };
23764
23765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23767 if (SWIG_arg_fail(1)) SWIG_fail;
23768 {
23769 arg2 = (bool)(SWIG_As_bool(obj1));
23770 if (SWIG_arg_fail(2)) SWIG_fail;
23771 }
23772 {
23773 PyThreadState* __tstate = wxPyBeginAllowThreads();
23774 (arg1)->SetEditCanceled(arg2);
23775
23776 wxPyEndAllowThreads(__tstate);
23777 if (PyErr_Occurred()) SWIG_fail;
23778 }
23779 Py_INCREF(Py_None); resultobj = Py_None;
23780 return resultobj;
23781 fail:
23782 return NULL;
23783 }
23784
23785
23786 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23787 PyObject *obj;
23788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23789 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23790 Py_INCREF(obj);
23791 return Py_BuildValue((char *)"");
23792 }
23793 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23794 PyObject *resultobj;
23795 wxWindow *arg1 = (wxWindow *) 0 ;
23796 int arg2 = (int) -1 ;
23797 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23798 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23799 wxSize const &arg4_defvalue = wxDefaultSize ;
23800 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23801 long arg5 = (long) wxLC_ICON ;
23802 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23803 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23804 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23805 wxString *arg7 = (wxString *) &arg7_defvalue ;
23806 wxPyListCtrl *result;
23807 wxPoint temp3 ;
23808 wxSize temp4 ;
23809 bool temp7 = false ;
23810 PyObject * obj0 = 0 ;
23811 PyObject * obj1 = 0 ;
23812 PyObject * obj2 = 0 ;
23813 PyObject * obj3 = 0 ;
23814 PyObject * obj4 = 0 ;
23815 PyObject * obj5 = 0 ;
23816 PyObject * obj6 = 0 ;
23817 char *kwnames[] = {
23818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23819 };
23820
23821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23823 if (SWIG_arg_fail(1)) SWIG_fail;
23824 if (obj1) {
23825 {
23826 arg2 = (int)(SWIG_As_int(obj1));
23827 if (SWIG_arg_fail(2)) SWIG_fail;
23828 }
23829 }
23830 if (obj2) {
23831 {
23832 arg3 = &temp3;
23833 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23834 }
23835 }
23836 if (obj3) {
23837 {
23838 arg4 = &temp4;
23839 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23840 }
23841 }
23842 if (obj4) {
23843 {
23844 arg5 = (long)(SWIG_As_long(obj4));
23845 if (SWIG_arg_fail(5)) SWIG_fail;
23846 }
23847 }
23848 if (obj5) {
23849 {
23850 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23851 if (SWIG_arg_fail(6)) SWIG_fail;
23852 if (arg6 == NULL) {
23853 SWIG_null_ref("wxValidator");
23854 }
23855 if (SWIG_arg_fail(6)) SWIG_fail;
23856 }
23857 }
23858 if (obj6) {
23859 {
23860 arg7 = wxString_in_helper(obj6);
23861 if (arg7 == NULL) SWIG_fail;
23862 temp7 = true;
23863 }
23864 }
23865 {
23866 if (!wxPyCheckForApp()) SWIG_fail;
23867 PyThreadState* __tstate = wxPyBeginAllowThreads();
23868 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23869
23870 wxPyEndAllowThreads(__tstate);
23871 if (PyErr_Occurred()) SWIG_fail;
23872 }
23873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23874 {
23875 if (temp7)
23876 delete arg7;
23877 }
23878 return resultobj;
23879 fail:
23880 {
23881 if (temp7)
23882 delete arg7;
23883 }
23884 return NULL;
23885 }
23886
23887
23888 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23889 PyObject *resultobj;
23890 wxPyListCtrl *result;
23891 char *kwnames[] = {
23892 NULL
23893 };
23894
23895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23896 {
23897 if (!wxPyCheckForApp()) SWIG_fail;
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = (wxPyListCtrl *)new wxPyListCtrl();
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23905 return resultobj;
23906 fail:
23907 return NULL;
23908 }
23909
23910
23911 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23912 PyObject *resultobj;
23913 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23914 wxWindow *arg2 = (wxWindow *) 0 ;
23915 int arg3 = (int) -1 ;
23916 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23917 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23918 wxSize const &arg5_defvalue = wxDefaultSize ;
23919 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23920 long arg6 = (long) wxLC_ICON ;
23921 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23922 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23923 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23924 wxString *arg8 = (wxString *) &arg8_defvalue ;
23925 bool result;
23926 wxPoint temp4 ;
23927 wxSize temp5 ;
23928 bool temp8 = false ;
23929 PyObject * obj0 = 0 ;
23930 PyObject * obj1 = 0 ;
23931 PyObject * obj2 = 0 ;
23932 PyObject * obj3 = 0 ;
23933 PyObject * obj4 = 0 ;
23934 PyObject * obj5 = 0 ;
23935 PyObject * obj6 = 0 ;
23936 PyObject * obj7 = 0 ;
23937 char *kwnames[] = {
23938 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23939 };
23940
23941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23943 if (SWIG_arg_fail(1)) SWIG_fail;
23944 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23945 if (SWIG_arg_fail(2)) SWIG_fail;
23946 if (obj2) {
23947 {
23948 arg3 = (int)(SWIG_As_int(obj2));
23949 if (SWIG_arg_fail(3)) SWIG_fail;
23950 }
23951 }
23952 if (obj3) {
23953 {
23954 arg4 = &temp4;
23955 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23956 }
23957 }
23958 if (obj4) {
23959 {
23960 arg5 = &temp5;
23961 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23962 }
23963 }
23964 if (obj5) {
23965 {
23966 arg6 = (long)(SWIG_As_long(obj5));
23967 if (SWIG_arg_fail(6)) SWIG_fail;
23968 }
23969 }
23970 if (obj6) {
23971 {
23972 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23973 if (SWIG_arg_fail(7)) SWIG_fail;
23974 if (arg7 == NULL) {
23975 SWIG_null_ref("wxValidator");
23976 }
23977 if (SWIG_arg_fail(7)) SWIG_fail;
23978 }
23979 }
23980 if (obj7) {
23981 {
23982 arg8 = wxString_in_helper(obj7);
23983 if (arg8 == NULL) SWIG_fail;
23984 temp8 = true;
23985 }
23986 }
23987 {
23988 PyThreadState* __tstate = wxPyBeginAllowThreads();
23989 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23990
23991 wxPyEndAllowThreads(__tstate);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 }
23994 {
23995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23996 }
23997 {
23998 if (temp8)
23999 delete arg8;
24000 }
24001 return resultobj;
24002 fail:
24003 {
24004 if (temp8)
24005 delete arg8;
24006 }
24007 return NULL;
24008 }
24009
24010
24011 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24012 PyObject *resultobj;
24013 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24014 PyObject *arg2 = (PyObject *) 0 ;
24015 PyObject *arg3 = (PyObject *) 0 ;
24016 PyObject * obj0 = 0 ;
24017 PyObject * obj1 = 0 ;
24018 PyObject * obj2 = 0 ;
24019 char *kwnames[] = {
24020 (char *) "self",(char *) "self",(char *) "_class", NULL
24021 };
24022
24023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24025 if (SWIG_arg_fail(1)) SWIG_fail;
24026 arg2 = obj1;
24027 arg3 = obj2;
24028 {
24029 PyThreadState* __tstate = wxPyBeginAllowThreads();
24030 (arg1)->_setCallbackInfo(arg2,arg3);
24031
24032 wxPyEndAllowThreads(__tstate);
24033 if (PyErr_Occurred()) SWIG_fail;
24034 }
24035 Py_INCREF(Py_None); resultobj = Py_None;
24036 return resultobj;
24037 fail:
24038 return NULL;
24039 }
24040
24041
24042 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24043 PyObject *resultobj;
24044 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24045 wxColour *arg2 = 0 ;
24046 bool result;
24047 wxColour temp2 ;
24048 PyObject * obj0 = 0 ;
24049 PyObject * obj1 = 0 ;
24050 char *kwnames[] = {
24051 (char *) "self",(char *) "col", NULL
24052 };
24053
24054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
24055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24056 if (SWIG_arg_fail(1)) SWIG_fail;
24057 {
24058 arg2 = &temp2;
24059 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24060 }
24061 {
24062 PyThreadState* __tstate = wxPyBeginAllowThreads();
24063 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24064
24065 wxPyEndAllowThreads(__tstate);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 {
24069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24070 }
24071 return resultobj;
24072 fail:
24073 return NULL;
24074 }
24075
24076
24077 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24078 PyObject *resultobj;
24079 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24080 wxColour *arg2 = 0 ;
24081 bool result;
24082 wxColour temp2 ;
24083 PyObject * obj0 = 0 ;
24084 PyObject * obj1 = 0 ;
24085 char *kwnames[] = {
24086 (char *) "self",(char *) "col", NULL
24087 };
24088
24089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24091 if (SWIG_arg_fail(1)) SWIG_fail;
24092 {
24093 arg2 = &temp2;
24094 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24095 }
24096 {
24097 PyThreadState* __tstate = wxPyBeginAllowThreads();
24098 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24099
24100 wxPyEndAllowThreads(__tstate);
24101 if (PyErr_Occurred()) SWIG_fail;
24102 }
24103 {
24104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24105 }
24106 return resultobj;
24107 fail:
24108 return NULL;
24109 }
24110
24111
24112 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24113 PyObject *resultobj;
24114 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24115 int arg2 ;
24116 wxListItem *result;
24117 PyObject * obj0 = 0 ;
24118 PyObject * obj1 = 0 ;
24119 char *kwnames[] = {
24120 (char *) "self",(char *) "col", NULL
24121 };
24122
24123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
24124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24125 if (SWIG_arg_fail(1)) SWIG_fail;
24126 {
24127 arg2 = (int)(SWIG_As_int(obj1));
24128 if (SWIG_arg_fail(2)) SWIG_fail;
24129 }
24130 {
24131 PyThreadState* __tstate = wxPyBeginAllowThreads();
24132 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24133
24134 wxPyEndAllowThreads(__tstate);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 }
24137 {
24138 resultobj = wxPyMake_wxObject(result, 0);
24139 }
24140 return resultobj;
24141 fail:
24142 return NULL;
24143 }
24144
24145
24146 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24147 PyObject *resultobj;
24148 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24149 int arg2 ;
24150 wxListItem *arg3 = 0 ;
24151 bool result;
24152 PyObject * obj0 = 0 ;
24153 PyObject * obj1 = 0 ;
24154 PyObject * obj2 = 0 ;
24155 char *kwnames[] = {
24156 (char *) "self",(char *) "col",(char *) "item", NULL
24157 };
24158
24159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
24160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24161 if (SWIG_arg_fail(1)) SWIG_fail;
24162 {
24163 arg2 = (int)(SWIG_As_int(obj1));
24164 if (SWIG_arg_fail(2)) SWIG_fail;
24165 }
24166 {
24167 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24168 if (SWIG_arg_fail(3)) SWIG_fail;
24169 if (arg3 == NULL) {
24170 SWIG_null_ref("wxListItem");
24171 }
24172 if (SWIG_arg_fail(3)) SWIG_fail;
24173 }
24174 {
24175 PyThreadState* __tstate = wxPyBeginAllowThreads();
24176 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24177
24178 wxPyEndAllowThreads(__tstate);
24179 if (PyErr_Occurred()) SWIG_fail;
24180 }
24181 {
24182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24183 }
24184 return resultobj;
24185 fail:
24186 return NULL;
24187 }
24188
24189
24190 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24193 int arg2 ;
24194 int result;
24195 PyObject * obj0 = 0 ;
24196 PyObject * obj1 = 0 ;
24197 char *kwnames[] = {
24198 (char *) "self",(char *) "col", NULL
24199 };
24200
24201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24203 if (SWIG_arg_fail(1)) SWIG_fail;
24204 {
24205 arg2 = (int)(SWIG_As_int(obj1));
24206 if (SWIG_arg_fail(2)) SWIG_fail;
24207 }
24208 {
24209 PyThreadState* __tstate = wxPyBeginAllowThreads();
24210 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24211
24212 wxPyEndAllowThreads(__tstate);
24213 if (PyErr_Occurred()) SWIG_fail;
24214 }
24215 {
24216 resultobj = SWIG_From_int((int)(result));
24217 }
24218 return resultobj;
24219 fail:
24220 return NULL;
24221 }
24222
24223
24224 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24225 PyObject *resultobj;
24226 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24227 int arg2 ;
24228 int arg3 ;
24229 bool result;
24230 PyObject * obj0 = 0 ;
24231 PyObject * obj1 = 0 ;
24232 PyObject * obj2 = 0 ;
24233 char *kwnames[] = {
24234 (char *) "self",(char *) "col",(char *) "width", NULL
24235 };
24236
24237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24239 if (SWIG_arg_fail(1)) SWIG_fail;
24240 {
24241 arg2 = (int)(SWIG_As_int(obj1));
24242 if (SWIG_arg_fail(2)) SWIG_fail;
24243 }
24244 {
24245 arg3 = (int)(SWIG_As_int(obj2));
24246 if (SWIG_arg_fail(3)) SWIG_fail;
24247 }
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 {
24256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24257 }
24258 return resultobj;
24259 fail:
24260 return NULL;
24261 }
24262
24263
24264 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24265 PyObject *resultobj;
24266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24267 int result;
24268 PyObject * obj0 = 0 ;
24269 char *kwnames[] = {
24270 (char *) "self", NULL
24271 };
24272
24273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
24274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24275 if (SWIG_arg_fail(1)) SWIG_fail;
24276 {
24277 PyThreadState* __tstate = wxPyBeginAllowThreads();
24278 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24279
24280 wxPyEndAllowThreads(__tstate);
24281 if (PyErr_Occurred()) SWIG_fail;
24282 }
24283 {
24284 resultobj = SWIG_From_int((int)(result));
24285 }
24286 return resultobj;
24287 fail:
24288 return NULL;
24289 }
24290
24291
24292 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24293 PyObject *resultobj;
24294 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24295 wxRect result;
24296 PyObject * obj0 = 0 ;
24297 char *kwnames[] = {
24298 (char *) "self", NULL
24299 };
24300
24301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24303 if (SWIG_arg_fail(1)) SWIG_fail;
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24307
24308 wxPyEndAllowThreads(__tstate);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 {
24312 wxRect * resultptr;
24313 resultptr = new wxRect((wxRect &)(result));
24314 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24315 }
24316 return resultobj;
24317 fail:
24318 return NULL;
24319 }
24320
24321
24322 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24323 PyObject *resultobj;
24324 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24325 long arg2 ;
24326 int arg3 = (int) 0 ;
24327 wxListItem *result;
24328 PyObject * obj0 = 0 ;
24329 PyObject * obj1 = 0 ;
24330 PyObject * obj2 = 0 ;
24331 char *kwnames[] = {
24332 (char *) "self",(char *) "itemId",(char *) "col", NULL
24333 };
24334
24335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24337 if (SWIG_arg_fail(1)) SWIG_fail;
24338 {
24339 arg2 = (long)(SWIG_As_long(obj1));
24340 if (SWIG_arg_fail(2)) SWIG_fail;
24341 }
24342 if (obj2) {
24343 {
24344 arg3 = (int)(SWIG_As_int(obj2));
24345 if (SWIG_arg_fail(3)) SWIG_fail;
24346 }
24347 }
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24351
24352 wxPyEndAllowThreads(__tstate);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
24355 {
24356 resultobj = wxPyMake_wxObject(result, 0);
24357 }
24358 return resultobj;
24359 fail:
24360 return NULL;
24361 }
24362
24363
24364 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24365 PyObject *resultobj;
24366 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24367 wxListItem *arg2 = 0 ;
24368 bool result;
24369 PyObject * obj0 = 0 ;
24370 PyObject * obj1 = 0 ;
24371 char *kwnames[] = {
24372 (char *) "self",(char *) "info", NULL
24373 };
24374
24375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24377 if (SWIG_arg_fail(1)) SWIG_fail;
24378 {
24379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24380 if (SWIG_arg_fail(2)) SWIG_fail;
24381 if (arg2 == NULL) {
24382 SWIG_null_ref("wxListItem");
24383 }
24384 if (SWIG_arg_fail(2)) SWIG_fail;
24385 }
24386 {
24387 PyThreadState* __tstate = wxPyBeginAllowThreads();
24388 result = (bool)(arg1)->SetItem(*arg2);
24389
24390 wxPyEndAllowThreads(__tstate);
24391 if (PyErr_Occurred()) SWIG_fail;
24392 }
24393 {
24394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24395 }
24396 return resultobj;
24397 fail:
24398 return NULL;
24399 }
24400
24401
24402 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24403 PyObject *resultobj;
24404 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24405 long arg2 ;
24406 int arg3 ;
24407 wxString *arg4 = 0 ;
24408 int arg5 = (int) -1 ;
24409 long result;
24410 bool temp4 = false ;
24411 PyObject * obj0 = 0 ;
24412 PyObject * obj1 = 0 ;
24413 PyObject * obj2 = 0 ;
24414 PyObject * obj3 = 0 ;
24415 PyObject * obj4 = 0 ;
24416 char *kwnames[] = {
24417 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24418 };
24419
24420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24422 if (SWIG_arg_fail(1)) SWIG_fail;
24423 {
24424 arg2 = (long)(SWIG_As_long(obj1));
24425 if (SWIG_arg_fail(2)) SWIG_fail;
24426 }
24427 {
24428 arg3 = (int)(SWIG_As_int(obj2));
24429 if (SWIG_arg_fail(3)) SWIG_fail;
24430 }
24431 {
24432 arg4 = wxString_in_helper(obj3);
24433 if (arg4 == NULL) SWIG_fail;
24434 temp4 = true;
24435 }
24436 if (obj4) {
24437 {
24438 arg5 = (int)(SWIG_As_int(obj4));
24439 if (SWIG_arg_fail(5)) SWIG_fail;
24440 }
24441 }
24442 {
24443 PyThreadState* __tstate = wxPyBeginAllowThreads();
24444 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24445
24446 wxPyEndAllowThreads(__tstate);
24447 if (PyErr_Occurred()) SWIG_fail;
24448 }
24449 {
24450 resultobj = SWIG_From_long((long)(result));
24451 }
24452 {
24453 if (temp4)
24454 delete arg4;
24455 }
24456 return resultobj;
24457 fail:
24458 {
24459 if (temp4)
24460 delete arg4;
24461 }
24462 return NULL;
24463 }
24464
24465
24466 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24467 PyObject *resultobj;
24468 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24469 long arg2 ;
24470 long arg3 ;
24471 int result;
24472 PyObject * obj0 = 0 ;
24473 PyObject * obj1 = 0 ;
24474 PyObject * obj2 = 0 ;
24475 char *kwnames[] = {
24476 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24477 };
24478
24479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24481 if (SWIG_arg_fail(1)) SWIG_fail;
24482 {
24483 arg2 = (long)(SWIG_As_long(obj1));
24484 if (SWIG_arg_fail(2)) SWIG_fail;
24485 }
24486 {
24487 arg3 = (long)(SWIG_As_long(obj2));
24488 if (SWIG_arg_fail(3)) SWIG_fail;
24489 }
24490 {
24491 PyThreadState* __tstate = wxPyBeginAllowThreads();
24492 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24493
24494 wxPyEndAllowThreads(__tstate);
24495 if (PyErr_Occurred()) SWIG_fail;
24496 }
24497 {
24498 resultobj = SWIG_From_int((int)(result));
24499 }
24500 return resultobj;
24501 fail:
24502 return NULL;
24503 }
24504
24505
24506 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24507 PyObject *resultobj;
24508 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24509 long arg2 ;
24510 long arg3 ;
24511 long arg4 ;
24512 bool result;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 PyObject * obj2 = 0 ;
24516 PyObject * obj3 = 0 ;
24517 char *kwnames[] = {
24518 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24519 };
24520
24521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24523 if (SWIG_arg_fail(1)) SWIG_fail;
24524 {
24525 arg2 = (long)(SWIG_As_long(obj1));
24526 if (SWIG_arg_fail(2)) SWIG_fail;
24527 }
24528 {
24529 arg3 = (long)(SWIG_As_long(obj2));
24530 if (SWIG_arg_fail(3)) SWIG_fail;
24531 }
24532 {
24533 arg4 = (long)(SWIG_As_long(obj3));
24534 if (SWIG_arg_fail(4)) SWIG_fail;
24535 }
24536 {
24537 PyThreadState* __tstate = wxPyBeginAllowThreads();
24538 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24539
24540 wxPyEndAllowThreads(__tstate);
24541 if (PyErr_Occurred()) SWIG_fail;
24542 }
24543 {
24544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24545 }
24546 return resultobj;
24547 fail:
24548 return NULL;
24549 }
24550
24551
24552 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24553 PyObject *resultobj;
24554 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24555 long arg2 ;
24556 int arg3 ;
24557 int arg4 = (int) -1 ;
24558 bool result;
24559 PyObject * obj0 = 0 ;
24560 PyObject * obj1 = 0 ;
24561 PyObject * obj2 = 0 ;
24562 PyObject * obj3 = 0 ;
24563 char *kwnames[] = {
24564 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24565 };
24566
24567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) 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 = (int)(SWIG_As_int(obj2));
24576 if (SWIG_arg_fail(3)) SWIG_fail;
24577 }
24578 if (obj3) {
24579 {
24580 arg4 = (int)(SWIG_As_int(obj3));
24581 if (SWIG_arg_fail(4)) SWIG_fail;
24582 }
24583 }
24584 {
24585 PyThreadState* __tstate = wxPyBeginAllowThreads();
24586 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24587
24588 wxPyEndAllowThreads(__tstate);
24589 if (PyErr_Occurred()) SWIG_fail;
24590 }
24591 {
24592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24593 }
24594 return resultobj;
24595 fail:
24596 return NULL;
24597 }
24598
24599
24600 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24601 PyObject *resultobj;
24602 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24603 long arg2 ;
24604 wxString result;
24605 PyObject * obj0 = 0 ;
24606 PyObject * obj1 = 0 ;
24607 char *kwnames[] = {
24608 (char *) "self",(char *) "item", NULL
24609 };
24610
24611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24613 if (SWIG_arg_fail(1)) SWIG_fail;
24614 {
24615 arg2 = (long)(SWIG_As_long(obj1));
24616 if (SWIG_arg_fail(2)) SWIG_fail;
24617 }
24618 {
24619 PyThreadState* __tstate = wxPyBeginAllowThreads();
24620 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24621
24622 wxPyEndAllowThreads(__tstate);
24623 if (PyErr_Occurred()) SWIG_fail;
24624 }
24625 {
24626 #if wxUSE_UNICODE
24627 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24628 #else
24629 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24630 #endif
24631 }
24632 return resultobj;
24633 fail:
24634 return NULL;
24635 }
24636
24637
24638 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24639 PyObject *resultobj;
24640 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24641 long arg2 ;
24642 wxString *arg3 = 0 ;
24643 bool temp3 = false ;
24644 PyObject * obj0 = 0 ;
24645 PyObject * obj1 = 0 ;
24646 PyObject * obj2 = 0 ;
24647 char *kwnames[] = {
24648 (char *) "self",(char *) "item",(char *) "str", NULL
24649 };
24650
24651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24653 if (SWIG_arg_fail(1)) SWIG_fail;
24654 {
24655 arg2 = (long)(SWIG_As_long(obj1));
24656 if (SWIG_arg_fail(2)) SWIG_fail;
24657 }
24658 {
24659 arg3 = wxString_in_helper(obj2);
24660 if (arg3 == NULL) SWIG_fail;
24661 temp3 = true;
24662 }
24663 {
24664 PyThreadState* __tstate = wxPyBeginAllowThreads();
24665 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24666
24667 wxPyEndAllowThreads(__tstate);
24668 if (PyErr_Occurred()) SWIG_fail;
24669 }
24670 Py_INCREF(Py_None); resultobj = Py_None;
24671 {
24672 if (temp3)
24673 delete arg3;
24674 }
24675 return resultobj;
24676 fail:
24677 {
24678 if (temp3)
24679 delete arg3;
24680 }
24681 return NULL;
24682 }
24683
24684
24685 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24686 PyObject *resultobj;
24687 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24688 long arg2 ;
24689 long result;
24690 PyObject * obj0 = 0 ;
24691 PyObject * obj1 = 0 ;
24692 char *kwnames[] = {
24693 (char *) "self",(char *) "item", NULL
24694 };
24695
24696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24698 if (SWIG_arg_fail(1)) SWIG_fail;
24699 {
24700 arg2 = (long)(SWIG_As_long(obj1));
24701 if (SWIG_arg_fail(2)) SWIG_fail;
24702 }
24703 {
24704 PyThreadState* __tstate = wxPyBeginAllowThreads();
24705 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24706
24707 wxPyEndAllowThreads(__tstate);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 {
24711 resultobj = SWIG_From_long((long)(result));
24712 }
24713 return resultobj;
24714 fail:
24715 return NULL;
24716 }
24717
24718
24719 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24720 PyObject *resultobj;
24721 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24722 long arg2 ;
24723 long arg3 ;
24724 bool result;
24725 PyObject * obj0 = 0 ;
24726 PyObject * obj1 = 0 ;
24727 PyObject * obj2 = 0 ;
24728 char *kwnames[] = {
24729 (char *) "self",(char *) "item",(char *) "data", NULL
24730 };
24731
24732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24734 if (SWIG_arg_fail(1)) SWIG_fail;
24735 {
24736 arg2 = (long)(SWIG_As_long(obj1));
24737 if (SWIG_arg_fail(2)) SWIG_fail;
24738 }
24739 {
24740 arg3 = (long)(SWIG_As_long(obj2));
24741 if (SWIG_arg_fail(3)) SWIG_fail;
24742 }
24743 {
24744 PyThreadState* __tstate = wxPyBeginAllowThreads();
24745 result = (bool)(arg1)->SetItemData(arg2,arg3);
24746
24747 wxPyEndAllowThreads(__tstate);
24748 if (PyErr_Occurred()) SWIG_fail;
24749 }
24750 {
24751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24752 }
24753 return resultobj;
24754 fail:
24755 return NULL;
24756 }
24757
24758
24759 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24760 PyObject *resultobj;
24761 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24762 long arg2 ;
24763 wxPoint result;
24764 PyObject * obj0 = 0 ;
24765 PyObject * obj1 = 0 ;
24766 char *kwnames[] = {
24767 (char *) "self",(char *) "item", NULL
24768 };
24769
24770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
24771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24772 if (SWIG_arg_fail(1)) SWIG_fail;
24773 {
24774 arg2 = (long)(SWIG_As_long(obj1));
24775 if (SWIG_arg_fail(2)) SWIG_fail;
24776 }
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24780
24781 wxPyEndAllowThreads(__tstate);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 {
24785 wxPoint * resultptr;
24786 resultptr = new wxPoint((wxPoint &)(result));
24787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24788 }
24789 return resultobj;
24790 fail:
24791 return NULL;
24792 }
24793
24794
24795 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24796 PyObject *resultobj;
24797 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24798 long arg2 ;
24799 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24800 wxRect result;
24801 PyObject * obj0 = 0 ;
24802 PyObject * obj1 = 0 ;
24803 PyObject * obj2 = 0 ;
24804 char *kwnames[] = {
24805 (char *) "self",(char *) "item",(char *) "code", NULL
24806 };
24807
24808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24810 if (SWIG_arg_fail(1)) SWIG_fail;
24811 {
24812 arg2 = (long)(SWIG_As_long(obj1));
24813 if (SWIG_arg_fail(2)) SWIG_fail;
24814 }
24815 if (obj2) {
24816 {
24817 arg3 = (int)(SWIG_As_int(obj2));
24818 if (SWIG_arg_fail(3)) SWIG_fail;
24819 }
24820 }
24821 {
24822 PyThreadState* __tstate = wxPyBeginAllowThreads();
24823 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24824
24825 wxPyEndAllowThreads(__tstate);
24826 if (PyErr_Occurred()) SWIG_fail;
24827 }
24828 {
24829 wxRect * resultptr;
24830 resultptr = new wxRect((wxRect &)(result));
24831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24832 }
24833 return resultobj;
24834 fail:
24835 return NULL;
24836 }
24837
24838
24839 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24840 PyObject *resultobj;
24841 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24842 long arg2 ;
24843 wxPoint *arg3 = 0 ;
24844 bool result;
24845 wxPoint temp3 ;
24846 PyObject * obj0 = 0 ;
24847 PyObject * obj1 = 0 ;
24848 PyObject * obj2 = 0 ;
24849 char *kwnames[] = {
24850 (char *) "self",(char *) "item",(char *) "pos", NULL
24851 };
24852
24853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24855 if (SWIG_arg_fail(1)) SWIG_fail;
24856 {
24857 arg2 = (long)(SWIG_As_long(obj1));
24858 if (SWIG_arg_fail(2)) SWIG_fail;
24859 }
24860 {
24861 arg3 = &temp3;
24862 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24863 }
24864 {
24865 PyThreadState* __tstate = wxPyBeginAllowThreads();
24866 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24867
24868 wxPyEndAllowThreads(__tstate);
24869 if (PyErr_Occurred()) SWIG_fail;
24870 }
24871 {
24872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24873 }
24874 return resultobj;
24875 fail:
24876 return NULL;
24877 }
24878
24879
24880 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24881 PyObject *resultobj;
24882 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24883 int result;
24884 PyObject * obj0 = 0 ;
24885 char *kwnames[] = {
24886 (char *) "self", NULL
24887 };
24888
24889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24891 if (SWIG_arg_fail(1)) SWIG_fail;
24892 {
24893 PyThreadState* __tstate = wxPyBeginAllowThreads();
24894 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24895
24896 wxPyEndAllowThreads(__tstate);
24897 if (PyErr_Occurred()) SWIG_fail;
24898 }
24899 {
24900 resultobj = SWIG_From_int((int)(result));
24901 }
24902 return resultobj;
24903 fail:
24904 return NULL;
24905 }
24906
24907
24908 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
24909 PyObject *resultobj;
24910 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24911 int result;
24912 PyObject * obj0 = 0 ;
24913 char *kwnames[] = {
24914 (char *) "self", NULL
24915 };
24916
24917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
24918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24919 if (SWIG_arg_fail(1)) SWIG_fail;
24920 {
24921 PyThreadState* __tstate = wxPyBeginAllowThreads();
24922 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24923
24924 wxPyEndAllowThreads(__tstate);
24925 if (PyErr_Occurred()) SWIG_fail;
24926 }
24927 {
24928 resultobj = SWIG_From_int((int)(result));
24929 }
24930 return resultobj;
24931 fail:
24932 return NULL;
24933 }
24934
24935
24936 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24937 PyObject *resultobj;
24938 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24939 wxSize result;
24940 PyObject * obj0 = 0 ;
24941 char *kwnames[] = {
24942 (char *) "self", NULL
24943 };
24944
24945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
24946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24947 if (SWIG_arg_fail(1)) SWIG_fail;
24948 {
24949 PyThreadState* __tstate = wxPyBeginAllowThreads();
24950 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24951
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 {
24956 wxSize * resultptr;
24957 resultptr = new wxSize((wxSize &)(result));
24958 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24959 }
24960 return resultobj;
24961 fail:
24962 return NULL;
24963 }
24964
24965
24966 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24967 PyObject *resultobj;
24968 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24969 int arg2 ;
24970 bool arg3 = (bool) false ;
24971 PyObject * obj0 = 0 ;
24972 PyObject * obj1 = 0 ;
24973 PyObject * obj2 = 0 ;
24974 char *kwnames[] = {
24975 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24976 };
24977
24978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
24979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24980 if (SWIG_arg_fail(1)) SWIG_fail;
24981 {
24982 arg2 = (int)(SWIG_As_int(obj1));
24983 if (SWIG_arg_fail(2)) SWIG_fail;
24984 }
24985 if (obj2) {
24986 {
24987 arg3 = (bool)(SWIG_As_bool(obj2));
24988 if (SWIG_arg_fail(3)) SWIG_fail;
24989 }
24990 }
24991 {
24992 PyThreadState* __tstate = wxPyBeginAllowThreads();
24993 (arg1)->SetItemSpacing(arg2,arg3);
24994
24995 wxPyEndAllowThreads(__tstate);
24996 if (PyErr_Occurred()) SWIG_fail;
24997 }
24998 Py_INCREF(Py_None); resultobj = Py_None;
24999 return resultobj;
25000 fail:
25001 return NULL;
25002 }
25003
25004
25005 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
25006 PyObject *resultobj;
25007 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25008 int result;
25009 PyObject * obj0 = 0 ;
25010 char *kwnames[] = {
25011 (char *) "self", NULL
25012 };
25013
25014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
25015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25016 if (SWIG_arg_fail(1)) SWIG_fail;
25017 {
25018 PyThreadState* __tstate = wxPyBeginAllowThreads();
25019 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25020
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
25024 {
25025 resultobj = SWIG_From_int((int)(result));
25026 }
25027 return resultobj;
25028 fail:
25029 return NULL;
25030 }
25031
25032
25033 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25034 PyObject *resultobj;
25035 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25036 wxColour result;
25037 PyObject * obj0 = 0 ;
25038 char *kwnames[] = {
25039 (char *) "self", NULL
25040 };
25041
25042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
25043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25044 if (SWIG_arg_fail(1)) SWIG_fail;
25045 {
25046 PyThreadState* __tstate = wxPyBeginAllowThreads();
25047 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25048
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 {
25053 wxColour * resultptr;
25054 resultptr = new wxColour((wxColour &)(result));
25055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25056 }
25057 return resultobj;
25058 fail:
25059 return NULL;
25060 }
25061
25062
25063 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25064 PyObject *resultobj;
25065 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25066 wxColour *arg2 = 0 ;
25067 wxColour temp2 ;
25068 PyObject * obj0 = 0 ;
25069 PyObject * obj1 = 0 ;
25070 char *kwnames[] = {
25071 (char *) "self",(char *) "col", NULL
25072 };
25073
25074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
25075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25076 if (SWIG_arg_fail(1)) SWIG_fail;
25077 {
25078 arg2 = &temp2;
25079 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25080 }
25081 {
25082 PyThreadState* __tstate = wxPyBeginAllowThreads();
25083 (arg1)->SetTextColour((wxColour const &)*arg2);
25084
25085 wxPyEndAllowThreads(__tstate);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
25088 Py_INCREF(Py_None); resultobj = Py_None;
25089 return resultobj;
25090 fail:
25091 return NULL;
25092 }
25093
25094
25095 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
25096 PyObject *resultobj;
25097 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25098 long result;
25099 PyObject * obj0 = 0 ;
25100 char *kwnames[] = {
25101 (char *) "self", NULL
25102 };
25103
25104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
25105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25106 if (SWIG_arg_fail(1)) SWIG_fail;
25107 {
25108 PyThreadState* __tstate = wxPyBeginAllowThreads();
25109 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25110
25111 wxPyEndAllowThreads(__tstate);
25112 if (PyErr_Occurred()) SWIG_fail;
25113 }
25114 {
25115 resultobj = SWIG_From_long((long)(result));
25116 }
25117 return resultobj;
25118 fail:
25119 return NULL;
25120 }
25121
25122
25123 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
25124 PyObject *resultobj;
25125 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25126 long arg2 ;
25127 bool arg3 = (bool) true ;
25128 PyObject * obj0 = 0 ;
25129 PyObject * obj1 = 0 ;
25130 PyObject * obj2 = 0 ;
25131 char *kwnames[] = {
25132 (char *) "self",(char *) "style",(char *) "add", NULL
25133 };
25134
25135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
25136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25137 if (SWIG_arg_fail(1)) SWIG_fail;
25138 {
25139 arg2 = (long)(SWIG_As_long(obj1));
25140 if (SWIG_arg_fail(2)) SWIG_fail;
25141 }
25142 if (obj2) {
25143 {
25144 arg3 = (bool)(SWIG_As_bool(obj2));
25145 if (SWIG_arg_fail(3)) SWIG_fail;
25146 }
25147 }
25148 {
25149 PyThreadState* __tstate = wxPyBeginAllowThreads();
25150 (arg1)->SetSingleStyle(arg2,arg3);
25151
25152 wxPyEndAllowThreads(__tstate);
25153 if (PyErr_Occurred()) SWIG_fail;
25154 }
25155 Py_INCREF(Py_None); resultobj = Py_None;
25156 return resultobj;
25157 fail:
25158 return NULL;
25159 }
25160
25161
25162 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
25163 PyObject *resultobj;
25164 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25165 long arg2 ;
25166 PyObject * obj0 = 0 ;
25167 PyObject * obj1 = 0 ;
25168 char *kwnames[] = {
25169 (char *) "self",(char *) "style", NULL
25170 };
25171
25172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
25173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25174 if (SWIG_arg_fail(1)) SWIG_fail;
25175 {
25176 arg2 = (long)(SWIG_As_long(obj1));
25177 if (SWIG_arg_fail(2)) SWIG_fail;
25178 }
25179 {
25180 PyThreadState* __tstate = wxPyBeginAllowThreads();
25181 (arg1)->SetWindowStyleFlag(arg2);
25182
25183 wxPyEndAllowThreads(__tstate);
25184 if (PyErr_Occurred()) SWIG_fail;
25185 }
25186 Py_INCREF(Py_None); resultobj = Py_None;
25187 return resultobj;
25188 fail:
25189 return NULL;
25190 }
25191
25192
25193 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
25194 PyObject *resultobj;
25195 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25196 long arg2 ;
25197 int arg3 = (int) wxLIST_NEXT_ALL ;
25198 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25199 long result;
25200 PyObject * obj0 = 0 ;
25201 PyObject * obj1 = 0 ;
25202 PyObject * obj2 = 0 ;
25203 PyObject * obj3 = 0 ;
25204 char *kwnames[] = {
25205 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25206 };
25207
25208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25210 if (SWIG_arg_fail(1)) SWIG_fail;
25211 {
25212 arg2 = (long)(SWIG_As_long(obj1));
25213 if (SWIG_arg_fail(2)) SWIG_fail;
25214 }
25215 if (obj2) {
25216 {
25217 arg3 = (int)(SWIG_As_int(obj2));
25218 if (SWIG_arg_fail(3)) SWIG_fail;
25219 }
25220 }
25221 if (obj3) {
25222 {
25223 arg4 = (int)(SWIG_As_int(obj3));
25224 if (SWIG_arg_fail(4)) SWIG_fail;
25225 }
25226 }
25227 {
25228 PyThreadState* __tstate = wxPyBeginAllowThreads();
25229 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25230
25231 wxPyEndAllowThreads(__tstate);
25232 if (PyErr_Occurred()) SWIG_fail;
25233 }
25234 {
25235 resultobj = SWIG_From_long((long)(result));
25236 }
25237 return resultobj;
25238 fail:
25239 return NULL;
25240 }
25241
25242
25243 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25244 PyObject *resultobj;
25245 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25246 int arg2 ;
25247 wxImageList *result;
25248 PyObject * obj0 = 0 ;
25249 PyObject * obj1 = 0 ;
25250 char *kwnames[] = {
25251 (char *) "self",(char *) "which", NULL
25252 };
25253
25254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
25255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25256 if (SWIG_arg_fail(1)) SWIG_fail;
25257 {
25258 arg2 = (int)(SWIG_As_int(obj1));
25259 if (SWIG_arg_fail(2)) SWIG_fail;
25260 }
25261 {
25262 PyThreadState* __tstate = wxPyBeginAllowThreads();
25263 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25264
25265 wxPyEndAllowThreads(__tstate);
25266 if (PyErr_Occurred()) SWIG_fail;
25267 }
25268 {
25269 resultobj = wxPyMake_wxObject(result, 0);
25270 }
25271 return resultobj;
25272 fail:
25273 return NULL;
25274 }
25275
25276
25277 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25278 PyObject *resultobj;
25279 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25280 wxImageList *arg2 = (wxImageList *) 0 ;
25281 int arg3 ;
25282 PyObject * obj0 = 0 ;
25283 PyObject * obj1 = 0 ;
25284 PyObject * obj2 = 0 ;
25285 char *kwnames[] = {
25286 (char *) "self",(char *) "imageList",(char *) "which", NULL
25287 };
25288
25289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25291 if (SWIG_arg_fail(1)) SWIG_fail;
25292 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25293 if (SWIG_arg_fail(2)) SWIG_fail;
25294 {
25295 arg3 = (int)(SWIG_As_int(obj2));
25296 if (SWIG_arg_fail(3)) SWIG_fail;
25297 }
25298 {
25299 PyThreadState* __tstate = wxPyBeginAllowThreads();
25300 (arg1)->SetImageList(arg2,arg3);
25301
25302 wxPyEndAllowThreads(__tstate);
25303 if (PyErr_Occurred()) SWIG_fail;
25304 }
25305 Py_INCREF(Py_None); resultobj = Py_None;
25306 return resultobj;
25307 fail:
25308 return NULL;
25309 }
25310
25311
25312 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25313 PyObject *resultobj;
25314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25315 wxImageList *arg2 = (wxImageList *) 0 ;
25316 int arg3 ;
25317 PyObject * obj0 = 0 ;
25318 PyObject * obj1 = 0 ;
25319 PyObject * obj2 = 0 ;
25320 char *kwnames[] = {
25321 (char *) "self",(char *) "imageList",(char *) "which", NULL
25322 };
25323
25324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25326 if (SWIG_arg_fail(1)) SWIG_fail;
25327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25328 if (SWIG_arg_fail(2)) SWIG_fail;
25329 {
25330 arg3 = (int)(SWIG_As_int(obj2));
25331 if (SWIG_arg_fail(3)) SWIG_fail;
25332 }
25333 {
25334 PyThreadState* __tstate = wxPyBeginAllowThreads();
25335 (arg1)->AssignImageList(arg2,arg3);
25336
25337 wxPyEndAllowThreads(__tstate);
25338 if (PyErr_Occurred()) SWIG_fail;
25339 }
25340 Py_INCREF(Py_None); resultobj = Py_None;
25341 return resultobj;
25342 fail:
25343 return NULL;
25344 }
25345
25346
25347 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25348 PyObject *resultobj;
25349 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25350 bool result;
25351 PyObject * obj0 = 0 ;
25352 char *kwnames[] = {
25353 (char *) "self", NULL
25354 };
25355
25356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25358 if (SWIG_arg_fail(1)) SWIG_fail;
25359 {
25360 PyThreadState* __tstate = wxPyBeginAllowThreads();
25361 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25362
25363 wxPyEndAllowThreads(__tstate);
25364 if (PyErr_Occurred()) SWIG_fail;
25365 }
25366 {
25367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25368 }
25369 return resultobj;
25370 fail:
25371 return NULL;
25372 }
25373
25374
25375 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25376 PyObject *resultobj;
25377 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25378 bool result;
25379 PyObject * obj0 = 0 ;
25380 char *kwnames[] = {
25381 (char *) "self", NULL
25382 };
25383
25384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25386 if (SWIG_arg_fail(1)) SWIG_fail;
25387 {
25388 PyThreadState* __tstate = wxPyBeginAllowThreads();
25389 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25390
25391 wxPyEndAllowThreads(__tstate);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 }
25394 {
25395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25396 }
25397 return resultobj;
25398 fail:
25399 return NULL;
25400 }
25401
25402
25403 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25404 PyObject *resultobj;
25405 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25406 long arg2 ;
25407 PyObject * obj0 = 0 ;
25408 PyObject * obj1 = 0 ;
25409 char *kwnames[] = {
25410 (char *) "self",(char *) "item", NULL
25411 };
25412
25413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
25414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25415 if (SWIG_arg_fail(1)) SWIG_fail;
25416 {
25417 arg2 = (long)(SWIG_As_long(obj1));
25418 if (SWIG_arg_fail(2)) SWIG_fail;
25419 }
25420 {
25421 PyThreadState* __tstate = wxPyBeginAllowThreads();
25422 (arg1)->RefreshItem(arg2);
25423
25424 wxPyEndAllowThreads(__tstate);
25425 if (PyErr_Occurred()) SWIG_fail;
25426 }
25427 Py_INCREF(Py_None); resultobj = Py_None;
25428 return resultobj;
25429 fail:
25430 return NULL;
25431 }
25432
25433
25434 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25435 PyObject *resultobj;
25436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25437 long arg2 ;
25438 long arg3 ;
25439 PyObject * obj0 = 0 ;
25440 PyObject * obj1 = 0 ;
25441 PyObject * obj2 = 0 ;
25442 char *kwnames[] = {
25443 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25444 };
25445
25446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25448 if (SWIG_arg_fail(1)) SWIG_fail;
25449 {
25450 arg2 = (long)(SWIG_As_long(obj1));
25451 if (SWIG_arg_fail(2)) SWIG_fail;
25452 }
25453 {
25454 arg3 = (long)(SWIG_As_long(obj2));
25455 if (SWIG_arg_fail(3)) SWIG_fail;
25456 }
25457 {
25458 PyThreadState* __tstate = wxPyBeginAllowThreads();
25459 (arg1)->RefreshItems(arg2,arg3);
25460
25461 wxPyEndAllowThreads(__tstate);
25462 if (PyErr_Occurred()) SWIG_fail;
25463 }
25464 Py_INCREF(Py_None); resultobj = Py_None;
25465 return resultobj;
25466 fail:
25467 return NULL;
25468 }
25469
25470
25471 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25472 PyObject *resultobj;
25473 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25474 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25475 bool result;
25476 PyObject * obj0 = 0 ;
25477 PyObject * obj1 = 0 ;
25478 char *kwnames[] = {
25479 (char *) "self",(char *) "flag", NULL
25480 };
25481
25482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25484 if (SWIG_arg_fail(1)) SWIG_fail;
25485 if (obj1) {
25486 {
25487 arg2 = (int)(SWIG_As_int(obj1));
25488 if (SWIG_arg_fail(2)) SWIG_fail;
25489 }
25490 }
25491 {
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 result = (bool)(arg1)->Arrange(arg2);
25494
25495 wxPyEndAllowThreads(__tstate);
25496 if (PyErr_Occurred()) SWIG_fail;
25497 }
25498 {
25499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25500 }
25501 return resultobj;
25502 fail:
25503 return NULL;
25504 }
25505
25506
25507 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25508 PyObject *resultobj;
25509 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25510 long arg2 ;
25511 bool result;
25512 PyObject * obj0 = 0 ;
25513 PyObject * obj1 = 0 ;
25514 char *kwnames[] = {
25515 (char *) "self",(char *) "item", NULL
25516 };
25517
25518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25520 if (SWIG_arg_fail(1)) SWIG_fail;
25521 {
25522 arg2 = (long)(SWIG_As_long(obj1));
25523 if (SWIG_arg_fail(2)) SWIG_fail;
25524 }
25525 {
25526 PyThreadState* __tstate = wxPyBeginAllowThreads();
25527 result = (bool)(arg1)->DeleteItem(arg2);
25528
25529 wxPyEndAllowThreads(__tstate);
25530 if (PyErr_Occurred()) SWIG_fail;
25531 }
25532 {
25533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25534 }
25535 return resultobj;
25536 fail:
25537 return NULL;
25538 }
25539
25540
25541 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25542 PyObject *resultobj;
25543 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25544 bool result;
25545 PyObject * obj0 = 0 ;
25546 char *kwnames[] = {
25547 (char *) "self", NULL
25548 };
25549
25550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25552 if (SWIG_arg_fail(1)) SWIG_fail;
25553 {
25554 PyThreadState* __tstate = wxPyBeginAllowThreads();
25555 result = (bool)(arg1)->DeleteAllItems();
25556
25557 wxPyEndAllowThreads(__tstate);
25558 if (PyErr_Occurred()) SWIG_fail;
25559 }
25560 {
25561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25562 }
25563 return resultobj;
25564 fail:
25565 return NULL;
25566 }
25567
25568
25569 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25570 PyObject *resultobj;
25571 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25572 int arg2 ;
25573 bool result;
25574 PyObject * obj0 = 0 ;
25575 PyObject * obj1 = 0 ;
25576 char *kwnames[] = {
25577 (char *) "self",(char *) "col", NULL
25578 };
25579
25580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25582 if (SWIG_arg_fail(1)) SWIG_fail;
25583 {
25584 arg2 = (int)(SWIG_As_int(obj1));
25585 if (SWIG_arg_fail(2)) SWIG_fail;
25586 }
25587 {
25588 PyThreadState* __tstate = wxPyBeginAllowThreads();
25589 result = (bool)(arg1)->DeleteColumn(arg2);
25590
25591 wxPyEndAllowThreads(__tstate);
25592 if (PyErr_Occurred()) SWIG_fail;
25593 }
25594 {
25595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25596 }
25597 return resultobj;
25598 fail:
25599 return NULL;
25600 }
25601
25602
25603 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25604 PyObject *resultobj;
25605 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25606 bool result;
25607 PyObject * obj0 = 0 ;
25608 char *kwnames[] = {
25609 (char *) "self", NULL
25610 };
25611
25612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25614 if (SWIG_arg_fail(1)) SWIG_fail;
25615 {
25616 PyThreadState* __tstate = wxPyBeginAllowThreads();
25617 result = (bool)(arg1)->DeleteAllColumns();
25618
25619 wxPyEndAllowThreads(__tstate);
25620 if (PyErr_Occurred()) SWIG_fail;
25621 }
25622 {
25623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25624 }
25625 return resultobj;
25626 fail:
25627 return NULL;
25628 }
25629
25630
25631 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25632 PyObject *resultobj;
25633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25634 PyObject * obj0 = 0 ;
25635 char *kwnames[] = {
25636 (char *) "self", NULL
25637 };
25638
25639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25641 if (SWIG_arg_fail(1)) SWIG_fail;
25642 {
25643 PyThreadState* __tstate = wxPyBeginAllowThreads();
25644 (arg1)->ClearAll();
25645
25646 wxPyEndAllowThreads(__tstate);
25647 if (PyErr_Occurred()) SWIG_fail;
25648 }
25649 Py_INCREF(Py_None); resultobj = Py_None;
25650 return resultobj;
25651 fail:
25652 return NULL;
25653 }
25654
25655
25656 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25657 PyObject *resultobj;
25658 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25659 long arg2 ;
25660 PyObject * obj0 = 0 ;
25661 PyObject * obj1 = 0 ;
25662 char *kwnames[] = {
25663 (char *) "self",(char *) "item", NULL
25664 };
25665
25666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25668 if (SWIG_arg_fail(1)) SWIG_fail;
25669 {
25670 arg2 = (long)(SWIG_As_long(obj1));
25671 if (SWIG_arg_fail(2)) SWIG_fail;
25672 }
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 (arg1)->EditLabel(arg2);
25676
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
25680 Py_INCREF(Py_None); resultobj = Py_None;
25681 return resultobj;
25682 fail:
25683 return NULL;
25684 }
25685
25686
25687 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25688 PyObject *resultobj;
25689 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25690 long arg2 ;
25691 bool result;
25692 PyObject * obj0 = 0 ;
25693 PyObject * obj1 = 0 ;
25694 char *kwnames[] = {
25695 (char *) "self",(char *) "item", NULL
25696 };
25697
25698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25700 if (SWIG_arg_fail(1)) SWIG_fail;
25701 {
25702 arg2 = (long)(SWIG_As_long(obj1));
25703 if (SWIG_arg_fail(2)) SWIG_fail;
25704 }
25705 {
25706 PyThreadState* __tstate = wxPyBeginAllowThreads();
25707 result = (bool)(arg1)->EnsureVisible(arg2);
25708
25709 wxPyEndAllowThreads(__tstate);
25710 if (PyErr_Occurred()) SWIG_fail;
25711 }
25712 {
25713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25714 }
25715 return resultobj;
25716 fail:
25717 return NULL;
25718 }
25719
25720
25721 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25722 PyObject *resultobj;
25723 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25724 long arg2 ;
25725 wxString *arg3 = 0 ;
25726 bool arg4 = (bool) false ;
25727 long result;
25728 bool temp3 = false ;
25729 PyObject * obj0 = 0 ;
25730 PyObject * obj1 = 0 ;
25731 PyObject * obj2 = 0 ;
25732 PyObject * obj3 = 0 ;
25733 char *kwnames[] = {
25734 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25735 };
25736
25737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25739 if (SWIG_arg_fail(1)) SWIG_fail;
25740 {
25741 arg2 = (long)(SWIG_As_long(obj1));
25742 if (SWIG_arg_fail(2)) SWIG_fail;
25743 }
25744 {
25745 arg3 = wxString_in_helper(obj2);
25746 if (arg3 == NULL) SWIG_fail;
25747 temp3 = true;
25748 }
25749 if (obj3) {
25750 {
25751 arg4 = (bool)(SWIG_As_bool(obj3));
25752 if (SWIG_arg_fail(4)) SWIG_fail;
25753 }
25754 }
25755 {
25756 PyThreadState* __tstate = wxPyBeginAllowThreads();
25757 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25758
25759 wxPyEndAllowThreads(__tstate);
25760 if (PyErr_Occurred()) SWIG_fail;
25761 }
25762 {
25763 resultobj = SWIG_From_long((long)(result));
25764 }
25765 {
25766 if (temp3)
25767 delete arg3;
25768 }
25769 return resultobj;
25770 fail:
25771 {
25772 if (temp3)
25773 delete arg3;
25774 }
25775 return NULL;
25776 }
25777
25778
25779 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25780 PyObject *resultobj;
25781 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25782 long arg2 ;
25783 long arg3 ;
25784 long result;
25785 PyObject * obj0 = 0 ;
25786 PyObject * obj1 = 0 ;
25787 PyObject * obj2 = 0 ;
25788 char *kwnames[] = {
25789 (char *) "self",(char *) "start",(char *) "data", NULL
25790 };
25791
25792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25794 if (SWIG_arg_fail(1)) SWIG_fail;
25795 {
25796 arg2 = (long)(SWIG_As_long(obj1));
25797 if (SWIG_arg_fail(2)) SWIG_fail;
25798 }
25799 {
25800 arg3 = (long)(SWIG_As_long(obj2));
25801 if (SWIG_arg_fail(3)) SWIG_fail;
25802 }
25803 {
25804 PyThreadState* __tstate = wxPyBeginAllowThreads();
25805 result = (long)(arg1)->FindItem(arg2,arg3);
25806
25807 wxPyEndAllowThreads(__tstate);
25808 if (PyErr_Occurred()) SWIG_fail;
25809 }
25810 {
25811 resultobj = SWIG_From_long((long)(result));
25812 }
25813 return resultobj;
25814 fail:
25815 return NULL;
25816 }
25817
25818
25819 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25820 PyObject *resultobj;
25821 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25822 long arg2 ;
25823 wxPoint *arg3 = 0 ;
25824 int arg4 ;
25825 long result;
25826 wxPoint temp3 ;
25827 PyObject * obj0 = 0 ;
25828 PyObject * obj1 = 0 ;
25829 PyObject * obj2 = 0 ;
25830 PyObject * obj3 = 0 ;
25831 char *kwnames[] = {
25832 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25833 };
25834
25835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25837 if (SWIG_arg_fail(1)) SWIG_fail;
25838 {
25839 arg2 = (long)(SWIG_As_long(obj1));
25840 if (SWIG_arg_fail(2)) SWIG_fail;
25841 }
25842 {
25843 arg3 = &temp3;
25844 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25845 }
25846 {
25847 arg4 = (int)(SWIG_As_int(obj3));
25848 if (SWIG_arg_fail(4)) SWIG_fail;
25849 }
25850 {
25851 PyThreadState* __tstate = wxPyBeginAllowThreads();
25852 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25853
25854 wxPyEndAllowThreads(__tstate);
25855 if (PyErr_Occurred()) SWIG_fail;
25856 }
25857 {
25858 resultobj = SWIG_From_long((long)(result));
25859 }
25860 return resultobj;
25861 fail:
25862 return NULL;
25863 }
25864
25865
25866 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25867 PyObject *resultobj;
25868 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25869 wxPoint *arg2 = 0 ;
25870 int *arg3 = 0 ;
25871 long result;
25872 wxPoint temp2 ;
25873 int temp3 ;
25874 int res3 = 0 ;
25875 PyObject * obj0 = 0 ;
25876 PyObject * obj1 = 0 ;
25877 char *kwnames[] = {
25878 (char *) "self",(char *) "point", NULL
25879 };
25880
25881 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25884 if (SWIG_arg_fail(1)) SWIG_fail;
25885 {
25886 arg2 = &temp2;
25887 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25888 }
25889 {
25890 PyThreadState* __tstate = wxPyBeginAllowThreads();
25891 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25892
25893 wxPyEndAllowThreads(__tstate);
25894 if (PyErr_Occurred()) SWIG_fail;
25895 }
25896 {
25897 resultobj = SWIG_From_long((long)(result));
25898 }
25899 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25900 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25901 return resultobj;
25902 fail:
25903 return NULL;
25904 }
25905
25906
25907 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25908 PyObject *resultobj;
25909 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25910 wxListItem *arg2 = 0 ;
25911 long result;
25912 PyObject * obj0 = 0 ;
25913 PyObject * obj1 = 0 ;
25914 char *kwnames[] = {
25915 (char *) "self",(char *) "info", NULL
25916 };
25917
25918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
25919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25920 if (SWIG_arg_fail(1)) SWIG_fail;
25921 {
25922 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25923 if (SWIG_arg_fail(2)) SWIG_fail;
25924 if (arg2 == NULL) {
25925 SWIG_null_ref("wxListItem");
25926 }
25927 if (SWIG_arg_fail(2)) SWIG_fail;
25928 }
25929 {
25930 PyThreadState* __tstate = wxPyBeginAllowThreads();
25931 result = (long)(arg1)->InsertItem(*arg2);
25932
25933 wxPyEndAllowThreads(__tstate);
25934 if (PyErr_Occurred()) SWIG_fail;
25935 }
25936 {
25937 resultobj = SWIG_From_long((long)(result));
25938 }
25939 return resultobj;
25940 fail:
25941 return NULL;
25942 }
25943
25944
25945 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25946 PyObject *resultobj;
25947 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25948 long arg2 ;
25949 wxString *arg3 = 0 ;
25950 long result;
25951 bool temp3 = false ;
25952 PyObject * obj0 = 0 ;
25953 PyObject * obj1 = 0 ;
25954 PyObject * obj2 = 0 ;
25955 char *kwnames[] = {
25956 (char *) "self",(char *) "index",(char *) "label", NULL
25957 };
25958
25959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25961 if (SWIG_arg_fail(1)) SWIG_fail;
25962 {
25963 arg2 = (long)(SWIG_As_long(obj1));
25964 if (SWIG_arg_fail(2)) SWIG_fail;
25965 }
25966 {
25967 arg3 = wxString_in_helper(obj2);
25968 if (arg3 == NULL) SWIG_fail;
25969 temp3 = true;
25970 }
25971 {
25972 PyThreadState* __tstate = wxPyBeginAllowThreads();
25973 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25974
25975 wxPyEndAllowThreads(__tstate);
25976 if (PyErr_Occurred()) SWIG_fail;
25977 }
25978 {
25979 resultobj = SWIG_From_long((long)(result));
25980 }
25981 {
25982 if (temp3)
25983 delete arg3;
25984 }
25985 return resultobj;
25986 fail:
25987 {
25988 if (temp3)
25989 delete arg3;
25990 }
25991 return NULL;
25992 }
25993
25994
25995 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
25996 PyObject *resultobj;
25997 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25998 long arg2 ;
25999 int arg3 ;
26000 long result;
26001 PyObject * obj0 = 0 ;
26002 PyObject * obj1 = 0 ;
26003 PyObject * obj2 = 0 ;
26004 char *kwnames[] = {
26005 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26006 };
26007
26008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26010 if (SWIG_arg_fail(1)) SWIG_fail;
26011 {
26012 arg2 = (long)(SWIG_As_long(obj1));
26013 if (SWIG_arg_fail(2)) SWIG_fail;
26014 }
26015 {
26016 arg3 = (int)(SWIG_As_int(obj2));
26017 if (SWIG_arg_fail(3)) SWIG_fail;
26018 }
26019 {
26020 PyThreadState* __tstate = wxPyBeginAllowThreads();
26021 result = (long)(arg1)->InsertItem(arg2,arg3);
26022
26023 wxPyEndAllowThreads(__tstate);
26024 if (PyErr_Occurred()) SWIG_fail;
26025 }
26026 {
26027 resultobj = SWIG_From_long((long)(result));
26028 }
26029 return resultobj;
26030 fail:
26031 return NULL;
26032 }
26033
26034
26035 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26036 PyObject *resultobj;
26037 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26038 long arg2 ;
26039 wxString *arg3 = 0 ;
26040 int arg4 ;
26041 long result;
26042 bool temp3 = false ;
26043 PyObject * obj0 = 0 ;
26044 PyObject * obj1 = 0 ;
26045 PyObject * obj2 = 0 ;
26046 PyObject * obj3 = 0 ;
26047 char *kwnames[] = {
26048 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26049 };
26050
26051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26053 if (SWIG_arg_fail(1)) SWIG_fail;
26054 {
26055 arg2 = (long)(SWIG_As_long(obj1));
26056 if (SWIG_arg_fail(2)) SWIG_fail;
26057 }
26058 {
26059 arg3 = wxString_in_helper(obj2);
26060 if (arg3 == NULL) SWIG_fail;
26061 temp3 = true;
26062 }
26063 {
26064 arg4 = (int)(SWIG_As_int(obj3));
26065 if (SWIG_arg_fail(4)) SWIG_fail;
26066 }
26067 {
26068 PyThreadState* __tstate = wxPyBeginAllowThreads();
26069 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26070
26071 wxPyEndAllowThreads(__tstate);
26072 if (PyErr_Occurred()) SWIG_fail;
26073 }
26074 {
26075 resultobj = SWIG_From_long((long)(result));
26076 }
26077 {
26078 if (temp3)
26079 delete arg3;
26080 }
26081 return resultobj;
26082 fail:
26083 {
26084 if (temp3)
26085 delete arg3;
26086 }
26087 return NULL;
26088 }
26089
26090
26091 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26092 PyObject *resultobj;
26093 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26094 long arg2 ;
26095 wxListItem *arg3 = 0 ;
26096 long result;
26097 PyObject * obj0 = 0 ;
26098 PyObject * obj1 = 0 ;
26099 PyObject * obj2 = 0 ;
26100 char *kwnames[] = {
26101 (char *) "self",(char *) "col",(char *) "info", NULL
26102 };
26103
26104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26106 if (SWIG_arg_fail(1)) SWIG_fail;
26107 {
26108 arg2 = (long)(SWIG_As_long(obj1));
26109 if (SWIG_arg_fail(2)) SWIG_fail;
26110 }
26111 {
26112 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26113 if (SWIG_arg_fail(3)) SWIG_fail;
26114 if (arg3 == NULL) {
26115 SWIG_null_ref("wxListItem");
26116 }
26117 if (SWIG_arg_fail(3)) SWIG_fail;
26118 }
26119 {
26120 PyThreadState* __tstate = wxPyBeginAllowThreads();
26121 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26122
26123 wxPyEndAllowThreads(__tstate);
26124 if (PyErr_Occurred()) SWIG_fail;
26125 }
26126 {
26127 resultobj = SWIG_From_long((long)(result));
26128 }
26129 return resultobj;
26130 fail:
26131 return NULL;
26132 }
26133
26134
26135 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26136 PyObject *resultobj;
26137 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26138 long arg2 ;
26139 wxString *arg3 = 0 ;
26140 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26141 int arg5 = (int) -1 ;
26142 long result;
26143 bool temp3 = false ;
26144 PyObject * obj0 = 0 ;
26145 PyObject * obj1 = 0 ;
26146 PyObject * obj2 = 0 ;
26147 PyObject * obj3 = 0 ;
26148 PyObject * obj4 = 0 ;
26149 char *kwnames[] = {
26150 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26151 };
26152
26153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26155 if (SWIG_arg_fail(1)) SWIG_fail;
26156 {
26157 arg2 = (long)(SWIG_As_long(obj1));
26158 if (SWIG_arg_fail(2)) SWIG_fail;
26159 }
26160 {
26161 arg3 = wxString_in_helper(obj2);
26162 if (arg3 == NULL) SWIG_fail;
26163 temp3 = true;
26164 }
26165 if (obj3) {
26166 {
26167 arg4 = (int)(SWIG_As_int(obj3));
26168 if (SWIG_arg_fail(4)) SWIG_fail;
26169 }
26170 }
26171 if (obj4) {
26172 {
26173 arg5 = (int)(SWIG_As_int(obj4));
26174 if (SWIG_arg_fail(5)) SWIG_fail;
26175 }
26176 }
26177 {
26178 PyThreadState* __tstate = wxPyBeginAllowThreads();
26179 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26180
26181 wxPyEndAllowThreads(__tstate);
26182 if (PyErr_Occurred()) SWIG_fail;
26183 }
26184 {
26185 resultobj = SWIG_From_long((long)(result));
26186 }
26187 {
26188 if (temp3)
26189 delete arg3;
26190 }
26191 return resultobj;
26192 fail:
26193 {
26194 if (temp3)
26195 delete arg3;
26196 }
26197 return NULL;
26198 }
26199
26200
26201 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26202 PyObject *resultobj;
26203 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26204 long arg2 ;
26205 PyObject * obj0 = 0 ;
26206 PyObject * obj1 = 0 ;
26207 char *kwnames[] = {
26208 (char *) "self",(char *) "count", NULL
26209 };
26210
26211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26213 if (SWIG_arg_fail(1)) SWIG_fail;
26214 {
26215 arg2 = (long)(SWIG_As_long(obj1));
26216 if (SWIG_arg_fail(2)) SWIG_fail;
26217 }
26218 {
26219 PyThreadState* __tstate = wxPyBeginAllowThreads();
26220 (arg1)->SetItemCount(arg2);
26221
26222 wxPyEndAllowThreads(__tstate);
26223 if (PyErr_Occurred()) SWIG_fail;
26224 }
26225 Py_INCREF(Py_None); resultobj = Py_None;
26226 return resultobj;
26227 fail:
26228 return NULL;
26229 }
26230
26231
26232 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26233 PyObject *resultobj;
26234 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26235 int arg2 ;
26236 int arg3 ;
26237 bool result;
26238 PyObject * obj0 = 0 ;
26239 PyObject * obj1 = 0 ;
26240 PyObject * obj2 = 0 ;
26241 char *kwnames[] = {
26242 (char *) "self",(char *) "dx",(char *) "dy", NULL
26243 };
26244
26245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26247 if (SWIG_arg_fail(1)) SWIG_fail;
26248 {
26249 arg2 = (int)(SWIG_As_int(obj1));
26250 if (SWIG_arg_fail(2)) SWIG_fail;
26251 }
26252 {
26253 arg3 = (int)(SWIG_As_int(obj2));
26254 if (SWIG_arg_fail(3)) SWIG_fail;
26255 }
26256 {
26257 PyThreadState* __tstate = wxPyBeginAllowThreads();
26258 result = (bool)(arg1)->ScrollList(arg2,arg3);
26259
26260 wxPyEndAllowThreads(__tstate);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 {
26264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26265 }
26266 return resultobj;
26267 fail:
26268 return NULL;
26269 }
26270
26271
26272 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26273 PyObject *resultobj;
26274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26275 long arg2 ;
26276 wxColour *arg3 = 0 ;
26277 wxColour temp3 ;
26278 PyObject * obj0 = 0 ;
26279 PyObject * obj1 = 0 ;
26280 PyObject * obj2 = 0 ;
26281 char *kwnames[] = {
26282 (char *) "self",(char *) "item",(char *) "col", NULL
26283 };
26284
26285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26287 if (SWIG_arg_fail(1)) SWIG_fail;
26288 {
26289 arg2 = (long)(SWIG_As_long(obj1));
26290 if (SWIG_arg_fail(2)) SWIG_fail;
26291 }
26292 {
26293 arg3 = &temp3;
26294 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26295 }
26296 {
26297 PyThreadState* __tstate = wxPyBeginAllowThreads();
26298 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26299
26300 wxPyEndAllowThreads(__tstate);
26301 if (PyErr_Occurred()) SWIG_fail;
26302 }
26303 Py_INCREF(Py_None); resultobj = Py_None;
26304 return resultobj;
26305 fail:
26306 return NULL;
26307 }
26308
26309
26310 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26311 PyObject *resultobj;
26312 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26313 long arg2 ;
26314 wxColour result;
26315 PyObject * obj0 = 0 ;
26316 PyObject * obj1 = 0 ;
26317 char *kwnames[] = {
26318 (char *) "self",(char *) "item", NULL
26319 };
26320
26321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26323 if (SWIG_arg_fail(1)) SWIG_fail;
26324 {
26325 arg2 = (long)(SWIG_As_long(obj1));
26326 if (SWIG_arg_fail(2)) SWIG_fail;
26327 }
26328 {
26329 PyThreadState* __tstate = wxPyBeginAllowThreads();
26330 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26331
26332 wxPyEndAllowThreads(__tstate);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 }
26335 {
26336 wxColour * resultptr;
26337 resultptr = new wxColour((wxColour &)(result));
26338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26339 }
26340 return resultobj;
26341 fail:
26342 return NULL;
26343 }
26344
26345
26346 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26347 PyObject *resultobj;
26348 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26349 long arg2 ;
26350 wxColour *arg3 = 0 ;
26351 wxColour temp3 ;
26352 PyObject * obj0 = 0 ;
26353 PyObject * obj1 = 0 ;
26354 PyObject * obj2 = 0 ;
26355 char *kwnames[] = {
26356 (char *) "self",(char *) "item",(char *) "col", NULL
26357 };
26358
26359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail;
26362 {
26363 arg2 = (long)(SWIG_As_long(obj1));
26364 if (SWIG_arg_fail(2)) SWIG_fail;
26365 }
26366 {
26367 arg3 = &temp3;
26368 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26369 }
26370 {
26371 PyThreadState* __tstate = wxPyBeginAllowThreads();
26372 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26373
26374 wxPyEndAllowThreads(__tstate);
26375 if (PyErr_Occurred()) SWIG_fail;
26376 }
26377 Py_INCREF(Py_None); resultobj = Py_None;
26378 return resultobj;
26379 fail:
26380 return NULL;
26381 }
26382
26383
26384 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26385 PyObject *resultobj;
26386 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26387 long arg2 ;
26388 wxColour result;
26389 PyObject * obj0 = 0 ;
26390 PyObject * obj1 = 0 ;
26391 char *kwnames[] = {
26392 (char *) "self",(char *) "item", NULL
26393 };
26394
26395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26397 if (SWIG_arg_fail(1)) SWIG_fail;
26398 {
26399 arg2 = (long)(SWIG_As_long(obj1));
26400 if (SWIG_arg_fail(2)) SWIG_fail;
26401 }
26402 {
26403 PyThreadState* __tstate = wxPyBeginAllowThreads();
26404 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26405
26406 wxPyEndAllowThreads(__tstate);
26407 if (PyErr_Occurred()) SWIG_fail;
26408 }
26409 {
26410 wxColour * resultptr;
26411 resultptr = new wxColour((wxColour &)(result));
26412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26413 }
26414 return resultobj;
26415 fail:
26416 return NULL;
26417 }
26418
26419
26420 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26421 PyObject *resultobj;
26422 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26423 PyObject *arg2 = (PyObject *) 0 ;
26424 bool result;
26425 PyObject * obj0 = 0 ;
26426 PyObject * obj1 = 0 ;
26427 char *kwnames[] = {
26428 (char *) "self",(char *) "func", NULL
26429 };
26430
26431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26433 if (SWIG_arg_fail(1)) SWIG_fail;
26434 arg2 = obj1;
26435 {
26436 PyThreadState* __tstate = wxPyBeginAllowThreads();
26437 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26438
26439 wxPyEndAllowThreads(__tstate);
26440 if (PyErr_Occurred()) SWIG_fail;
26441 }
26442 {
26443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26444 }
26445 return resultobj;
26446 fail:
26447 return NULL;
26448 }
26449
26450
26451 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26452 PyObject *resultobj;
26453 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26454 wxWindow *result;
26455 PyObject * obj0 = 0 ;
26456 char *kwnames[] = {
26457 (char *) "self", NULL
26458 };
26459
26460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26462 if (SWIG_arg_fail(1)) SWIG_fail;
26463 {
26464 PyThreadState* __tstate = wxPyBeginAllowThreads();
26465 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26466
26467 wxPyEndAllowThreads(__tstate);
26468 if (PyErr_Occurred()) SWIG_fail;
26469 }
26470 {
26471 resultobj = wxPyMake_wxObject(result, 0);
26472 }
26473 return resultobj;
26474 fail:
26475 return NULL;
26476 }
26477
26478
26479 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26480 PyObject *resultobj;
26481 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26482 wxVisualAttributes result;
26483 PyObject * obj0 = 0 ;
26484 char *kwnames[] = {
26485 (char *) "variant", NULL
26486 };
26487
26488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26489 if (obj0) {
26490 {
26491 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26492 if (SWIG_arg_fail(1)) SWIG_fail;
26493 }
26494 }
26495 {
26496 if (!wxPyCheckForApp()) SWIG_fail;
26497 PyThreadState* __tstate = wxPyBeginAllowThreads();
26498 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26499
26500 wxPyEndAllowThreads(__tstate);
26501 if (PyErr_Occurred()) SWIG_fail;
26502 }
26503 {
26504 wxVisualAttributes * resultptr;
26505 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
26506 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26507 }
26508 return resultobj;
26509 fail:
26510 return NULL;
26511 }
26512
26513
26514 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26515 PyObject *obj;
26516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26517 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26518 Py_INCREF(obj);
26519 return Py_BuildValue((char *)"");
26520 }
26521 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26522 PyObject *resultobj;
26523 wxWindow *arg1 = (wxWindow *) 0 ;
26524 int arg2 = (int) -1 ;
26525 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26526 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26527 wxSize const &arg4_defvalue = wxDefaultSize ;
26528 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26529 long arg5 = (long) wxLC_REPORT ;
26530 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26531 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26532 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26533 wxString *arg7 = (wxString *) &arg7_defvalue ;
26534 wxListView *result;
26535 wxPoint temp3 ;
26536 wxSize temp4 ;
26537 bool temp7 = false ;
26538 PyObject * obj0 = 0 ;
26539 PyObject * obj1 = 0 ;
26540 PyObject * obj2 = 0 ;
26541 PyObject * obj3 = 0 ;
26542 PyObject * obj4 = 0 ;
26543 PyObject * obj5 = 0 ;
26544 PyObject * obj6 = 0 ;
26545 char *kwnames[] = {
26546 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26547 };
26548
26549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26551 if (SWIG_arg_fail(1)) SWIG_fail;
26552 if (obj1) {
26553 {
26554 arg2 = (int)(SWIG_As_int(obj1));
26555 if (SWIG_arg_fail(2)) SWIG_fail;
26556 }
26557 }
26558 if (obj2) {
26559 {
26560 arg3 = &temp3;
26561 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26562 }
26563 }
26564 if (obj3) {
26565 {
26566 arg4 = &temp4;
26567 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26568 }
26569 }
26570 if (obj4) {
26571 {
26572 arg5 = (long)(SWIG_As_long(obj4));
26573 if (SWIG_arg_fail(5)) SWIG_fail;
26574 }
26575 }
26576 if (obj5) {
26577 {
26578 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26579 if (SWIG_arg_fail(6)) SWIG_fail;
26580 if (arg6 == NULL) {
26581 SWIG_null_ref("wxValidator");
26582 }
26583 if (SWIG_arg_fail(6)) SWIG_fail;
26584 }
26585 }
26586 if (obj6) {
26587 {
26588 arg7 = wxString_in_helper(obj6);
26589 if (arg7 == NULL) SWIG_fail;
26590 temp7 = true;
26591 }
26592 }
26593 {
26594 if (!wxPyCheckForApp()) SWIG_fail;
26595 PyThreadState* __tstate = wxPyBeginAllowThreads();
26596 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26597
26598 wxPyEndAllowThreads(__tstate);
26599 if (PyErr_Occurred()) SWIG_fail;
26600 }
26601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26602 {
26603 if (temp7)
26604 delete arg7;
26605 }
26606 return resultobj;
26607 fail:
26608 {
26609 if (temp7)
26610 delete arg7;
26611 }
26612 return NULL;
26613 }
26614
26615
26616 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26617 PyObject *resultobj;
26618 wxListView *result;
26619 char *kwnames[] = {
26620 NULL
26621 };
26622
26623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26624 {
26625 if (!wxPyCheckForApp()) SWIG_fail;
26626 PyThreadState* __tstate = wxPyBeginAllowThreads();
26627 result = (wxListView *)new wxListView();
26628
26629 wxPyEndAllowThreads(__tstate);
26630 if (PyErr_Occurred()) SWIG_fail;
26631 }
26632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26633 return resultobj;
26634 fail:
26635 return NULL;
26636 }
26637
26638
26639 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26640 PyObject *resultobj;
26641 wxListView *arg1 = (wxListView *) 0 ;
26642 wxWindow *arg2 = (wxWindow *) 0 ;
26643 int arg3 = (int) -1 ;
26644 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26645 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26646 wxSize const &arg5_defvalue = wxDefaultSize ;
26647 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26648 long arg6 = (long) wxLC_REPORT ;
26649 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26650 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26651 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26652 wxString *arg8 = (wxString *) &arg8_defvalue ;
26653 bool result;
26654 wxPoint temp4 ;
26655 wxSize temp5 ;
26656 bool temp8 = false ;
26657 PyObject * obj0 = 0 ;
26658 PyObject * obj1 = 0 ;
26659 PyObject * obj2 = 0 ;
26660 PyObject * obj3 = 0 ;
26661 PyObject * obj4 = 0 ;
26662 PyObject * obj5 = 0 ;
26663 PyObject * obj6 = 0 ;
26664 PyObject * obj7 = 0 ;
26665 char *kwnames[] = {
26666 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26667 };
26668
26669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26671 if (SWIG_arg_fail(1)) SWIG_fail;
26672 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26673 if (SWIG_arg_fail(2)) SWIG_fail;
26674 if (obj2) {
26675 {
26676 arg3 = (int)(SWIG_As_int(obj2));
26677 if (SWIG_arg_fail(3)) SWIG_fail;
26678 }
26679 }
26680 if (obj3) {
26681 {
26682 arg4 = &temp4;
26683 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26684 }
26685 }
26686 if (obj4) {
26687 {
26688 arg5 = &temp5;
26689 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26690 }
26691 }
26692 if (obj5) {
26693 {
26694 arg6 = (long)(SWIG_As_long(obj5));
26695 if (SWIG_arg_fail(6)) SWIG_fail;
26696 }
26697 }
26698 if (obj6) {
26699 {
26700 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26701 if (SWIG_arg_fail(7)) SWIG_fail;
26702 if (arg7 == NULL) {
26703 SWIG_null_ref("wxValidator");
26704 }
26705 if (SWIG_arg_fail(7)) SWIG_fail;
26706 }
26707 }
26708 if (obj7) {
26709 {
26710 arg8 = wxString_in_helper(obj7);
26711 if (arg8 == NULL) SWIG_fail;
26712 temp8 = true;
26713 }
26714 }
26715 {
26716 PyThreadState* __tstate = wxPyBeginAllowThreads();
26717 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26718
26719 wxPyEndAllowThreads(__tstate);
26720 if (PyErr_Occurred()) SWIG_fail;
26721 }
26722 {
26723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26724 }
26725 {
26726 if (temp8)
26727 delete arg8;
26728 }
26729 return resultobj;
26730 fail:
26731 {
26732 if (temp8)
26733 delete arg8;
26734 }
26735 return NULL;
26736 }
26737
26738
26739 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26740 PyObject *resultobj;
26741 wxListView *arg1 = (wxListView *) 0 ;
26742 long arg2 ;
26743 bool arg3 = (bool) true ;
26744 PyObject * obj0 = 0 ;
26745 PyObject * obj1 = 0 ;
26746 PyObject * obj2 = 0 ;
26747 char *kwnames[] = {
26748 (char *) "self",(char *) "n",(char *) "on", NULL
26749 };
26750
26751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26753 if (SWIG_arg_fail(1)) SWIG_fail;
26754 {
26755 arg2 = (long)(SWIG_As_long(obj1));
26756 if (SWIG_arg_fail(2)) SWIG_fail;
26757 }
26758 if (obj2) {
26759 {
26760 arg3 = (bool)(SWIG_As_bool(obj2));
26761 if (SWIG_arg_fail(3)) SWIG_fail;
26762 }
26763 }
26764 {
26765 PyThreadState* __tstate = wxPyBeginAllowThreads();
26766 (arg1)->Select(arg2,arg3);
26767
26768 wxPyEndAllowThreads(__tstate);
26769 if (PyErr_Occurred()) SWIG_fail;
26770 }
26771 Py_INCREF(Py_None); resultobj = Py_None;
26772 return resultobj;
26773 fail:
26774 return NULL;
26775 }
26776
26777
26778 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26779 PyObject *resultobj;
26780 wxListView *arg1 = (wxListView *) 0 ;
26781 long arg2 ;
26782 PyObject * obj0 = 0 ;
26783 PyObject * obj1 = 0 ;
26784 char *kwnames[] = {
26785 (char *) "self",(char *) "index", NULL
26786 };
26787
26788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26790 if (SWIG_arg_fail(1)) SWIG_fail;
26791 {
26792 arg2 = (long)(SWIG_As_long(obj1));
26793 if (SWIG_arg_fail(2)) SWIG_fail;
26794 }
26795 {
26796 PyThreadState* __tstate = wxPyBeginAllowThreads();
26797 (arg1)->Focus(arg2);
26798
26799 wxPyEndAllowThreads(__tstate);
26800 if (PyErr_Occurred()) SWIG_fail;
26801 }
26802 Py_INCREF(Py_None); resultobj = Py_None;
26803 return resultobj;
26804 fail:
26805 return NULL;
26806 }
26807
26808
26809 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26810 PyObject *resultobj;
26811 wxListView *arg1 = (wxListView *) 0 ;
26812 long result;
26813 PyObject * obj0 = 0 ;
26814 char *kwnames[] = {
26815 (char *) "self", NULL
26816 };
26817
26818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26820 if (SWIG_arg_fail(1)) SWIG_fail;
26821 {
26822 PyThreadState* __tstate = wxPyBeginAllowThreads();
26823 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26824
26825 wxPyEndAllowThreads(__tstate);
26826 if (PyErr_Occurred()) SWIG_fail;
26827 }
26828 {
26829 resultobj = SWIG_From_long((long)(result));
26830 }
26831 return resultobj;
26832 fail:
26833 return NULL;
26834 }
26835
26836
26837 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26838 PyObject *resultobj;
26839 wxListView *arg1 = (wxListView *) 0 ;
26840 long arg2 ;
26841 long result;
26842 PyObject * obj0 = 0 ;
26843 PyObject * obj1 = 0 ;
26844 char *kwnames[] = {
26845 (char *) "self",(char *) "item", NULL
26846 };
26847
26848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
26849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26850 if (SWIG_arg_fail(1)) SWIG_fail;
26851 {
26852 arg2 = (long)(SWIG_As_long(obj1));
26853 if (SWIG_arg_fail(2)) SWIG_fail;
26854 }
26855 {
26856 PyThreadState* __tstate = wxPyBeginAllowThreads();
26857 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26858
26859 wxPyEndAllowThreads(__tstate);
26860 if (PyErr_Occurred()) SWIG_fail;
26861 }
26862 {
26863 resultobj = SWIG_From_long((long)(result));
26864 }
26865 return resultobj;
26866 fail:
26867 return NULL;
26868 }
26869
26870
26871 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26872 PyObject *resultobj;
26873 wxListView *arg1 = (wxListView *) 0 ;
26874 long result;
26875 PyObject * obj0 = 0 ;
26876 char *kwnames[] = {
26877 (char *) "self", NULL
26878 };
26879
26880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
26881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail;
26883 {
26884 PyThreadState* __tstate = wxPyBeginAllowThreads();
26885 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26886
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 {
26891 resultobj = SWIG_From_long((long)(result));
26892 }
26893 return resultobj;
26894 fail:
26895 return NULL;
26896 }
26897
26898
26899 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26900 PyObject *resultobj;
26901 wxListView *arg1 = (wxListView *) 0 ;
26902 long arg2 ;
26903 bool result;
26904 PyObject * obj0 = 0 ;
26905 PyObject * obj1 = 0 ;
26906 char *kwnames[] = {
26907 (char *) "self",(char *) "index", NULL
26908 };
26909
26910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26912 if (SWIG_arg_fail(1)) SWIG_fail;
26913 {
26914 arg2 = (long)(SWIG_As_long(obj1));
26915 if (SWIG_arg_fail(2)) SWIG_fail;
26916 }
26917 {
26918 PyThreadState* __tstate = wxPyBeginAllowThreads();
26919 result = (bool)(arg1)->IsSelected(arg2);
26920
26921 wxPyEndAllowThreads(__tstate);
26922 if (PyErr_Occurred()) SWIG_fail;
26923 }
26924 {
26925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26926 }
26927 return resultobj;
26928 fail:
26929 return NULL;
26930 }
26931
26932
26933 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26934 PyObject *resultobj;
26935 wxListView *arg1 = (wxListView *) 0 ;
26936 int arg2 ;
26937 int arg3 ;
26938 PyObject * obj0 = 0 ;
26939 PyObject * obj1 = 0 ;
26940 PyObject * obj2 = 0 ;
26941 char *kwnames[] = {
26942 (char *) "self",(char *) "col",(char *) "image", NULL
26943 };
26944
26945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26947 if (SWIG_arg_fail(1)) SWIG_fail;
26948 {
26949 arg2 = (int)(SWIG_As_int(obj1));
26950 if (SWIG_arg_fail(2)) SWIG_fail;
26951 }
26952 {
26953 arg3 = (int)(SWIG_As_int(obj2));
26954 if (SWIG_arg_fail(3)) SWIG_fail;
26955 }
26956 {
26957 PyThreadState* __tstate = wxPyBeginAllowThreads();
26958 (arg1)->SetColumnImage(arg2,arg3);
26959
26960 wxPyEndAllowThreads(__tstate);
26961 if (PyErr_Occurred()) SWIG_fail;
26962 }
26963 Py_INCREF(Py_None); resultobj = Py_None;
26964 return resultobj;
26965 fail:
26966 return NULL;
26967 }
26968
26969
26970 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26971 PyObject *resultobj;
26972 wxListView *arg1 = (wxListView *) 0 ;
26973 int arg2 ;
26974 PyObject * obj0 = 0 ;
26975 PyObject * obj1 = 0 ;
26976 char *kwnames[] = {
26977 (char *) "self",(char *) "col", NULL
26978 };
26979
26980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
26981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26982 if (SWIG_arg_fail(1)) SWIG_fail;
26983 {
26984 arg2 = (int)(SWIG_As_int(obj1));
26985 if (SWIG_arg_fail(2)) SWIG_fail;
26986 }
26987 {
26988 PyThreadState* __tstate = wxPyBeginAllowThreads();
26989 (arg1)->ClearColumnImage(arg2);
26990
26991 wxPyEndAllowThreads(__tstate);
26992 if (PyErr_Occurred()) SWIG_fail;
26993 }
26994 Py_INCREF(Py_None); resultobj = Py_None;
26995 return resultobj;
26996 fail:
26997 return NULL;
26998 }
26999
27000
27001 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
27002 PyObject *obj;
27003 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27004 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27005 Py_INCREF(obj);
27006 return Py_BuildValue((char *)"");
27007 }
27008 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
27009 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27010 return 1;
27011 }
27012
27013
27014 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
27015 PyObject *pyobj;
27016
27017 {
27018 #if wxUSE_UNICODE
27019 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27020 #else
27021 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27022 #endif
27023 }
27024 return pyobj;
27025 }
27026
27027
27028 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27029 PyObject *resultobj;
27030 wxTreeItemId *result;
27031 char *kwnames[] = {
27032 NULL
27033 };
27034
27035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27036 {
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 result = (wxTreeItemId *)new wxTreeItemId();
27039
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27044 return resultobj;
27045 fail:
27046 return NULL;
27047 }
27048
27049
27050 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27051 PyObject *resultobj;
27052 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27053 PyObject * obj0 = 0 ;
27054 char *kwnames[] = {
27055 (char *) "self", NULL
27056 };
27057
27058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
27059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27060 if (SWIG_arg_fail(1)) SWIG_fail;
27061 {
27062 PyThreadState* __tstate = wxPyBeginAllowThreads();
27063 delete arg1;
27064
27065 wxPyEndAllowThreads(__tstate);
27066 if (PyErr_Occurred()) SWIG_fail;
27067 }
27068 Py_INCREF(Py_None); resultobj = Py_None;
27069 return resultobj;
27070 fail:
27071 return NULL;
27072 }
27073
27074
27075 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27076 PyObject *resultobj;
27077 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27078 bool result;
27079 PyObject * obj0 = 0 ;
27080 char *kwnames[] = {
27081 (char *) "self", NULL
27082 };
27083
27084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
27085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27086 if (SWIG_arg_fail(1)) SWIG_fail;
27087 {
27088 PyThreadState* __tstate = wxPyBeginAllowThreads();
27089 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27090
27091 wxPyEndAllowThreads(__tstate);
27092 if (PyErr_Occurred()) SWIG_fail;
27093 }
27094 {
27095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27096 }
27097 return resultobj;
27098 fail:
27099 return NULL;
27100 }
27101
27102
27103 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27104 PyObject *resultobj;
27105 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27106 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27107 bool result;
27108 PyObject * obj0 = 0 ;
27109 PyObject * obj1 = 0 ;
27110 char *kwnames[] = {
27111 (char *) "self",(char *) "other", NULL
27112 };
27113
27114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
27115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27116 if (SWIG_arg_fail(1)) SWIG_fail;
27117 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27118 if (SWIG_arg_fail(2)) SWIG_fail;
27119 {
27120 PyThreadState* __tstate = wxPyBeginAllowThreads();
27121 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27122
27123 wxPyEndAllowThreads(__tstate);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 }
27126 {
27127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27128 }
27129 return resultobj;
27130 fail:
27131 return NULL;
27132 }
27133
27134
27135 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27136 PyObject *resultobj;
27137 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27138 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27139 bool result;
27140 PyObject * obj0 = 0 ;
27141 PyObject * obj1 = 0 ;
27142 char *kwnames[] = {
27143 (char *) "self",(char *) "other", NULL
27144 };
27145
27146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
27147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27148 if (SWIG_arg_fail(1)) SWIG_fail;
27149 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27150 if (SWIG_arg_fail(2)) SWIG_fail;
27151 {
27152 PyThreadState* __tstate = wxPyBeginAllowThreads();
27153 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27154
27155 wxPyEndAllowThreads(__tstate);
27156 if (PyErr_Occurred()) SWIG_fail;
27157 }
27158 {
27159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27160 }
27161 return resultobj;
27162 fail:
27163 return NULL;
27164 }
27165
27166
27167 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27168 PyObject *resultobj;
27169 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27170 void *arg2 = (void *) 0 ;
27171 PyObject * obj0 = 0 ;
27172 PyObject * obj1 = 0 ;
27173 char *kwnames[] = {
27174 (char *) "self",(char *) "m_pItem", NULL
27175 };
27176
27177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27179 if (SWIG_arg_fail(1)) SWIG_fail;
27180 {
27181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27182 SWIG_arg_fail(2);SWIG_fail;
27183 }
27184 }
27185 if (arg1) (arg1)->m_pItem = arg2;
27186
27187 Py_INCREF(Py_None); resultobj = Py_None;
27188 return resultobj;
27189 fail:
27190 return NULL;
27191 }
27192
27193
27194 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27195 PyObject *resultobj;
27196 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27197 void *result;
27198 PyObject * obj0 = 0 ;
27199 char *kwnames[] = {
27200 (char *) "self", NULL
27201 };
27202
27203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27205 if (SWIG_arg_fail(1)) SWIG_fail;
27206 result = (void *) ((arg1)->m_pItem);
27207
27208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27209 return resultobj;
27210 fail:
27211 return NULL;
27212 }
27213
27214
27215 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27216 PyObject *obj;
27217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27218 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27219 Py_INCREF(obj);
27220 return Py_BuildValue((char *)"");
27221 }
27222 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27223 PyObject *resultobj;
27224 PyObject *arg1 = (PyObject *) NULL ;
27225 wxPyTreeItemData *result;
27226 PyObject * obj0 = 0 ;
27227 char *kwnames[] = {
27228 (char *) "obj", NULL
27229 };
27230
27231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27232 if (obj0) {
27233 arg1 = obj0;
27234 }
27235 {
27236 PyThreadState* __tstate = wxPyBeginAllowThreads();
27237 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27238
27239 wxPyEndAllowThreads(__tstate);
27240 if (PyErr_Occurred()) SWIG_fail;
27241 }
27242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27243 return resultobj;
27244 fail:
27245 return NULL;
27246 }
27247
27248
27249 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27250 PyObject *resultobj;
27251 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27252 PyObject *result;
27253 PyObject * obj0 = 0 ;
27254 char *kwnames[] = {
27255 (char *) "self", NULL
27256 };
27257
27258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
27263 result = (PyObject *)(arg1)->GetData();
27264
27265 wxPyEndAllowThreads(__tstate);
27266 if (PyErr_Occurred()) SWIG_fail;
27267 }
27268 resultobj = result;
27269 return resultobj;
27270 fail:
27271 return NULL;
27272 }
27273
27274
27275 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27276 PyObject *resultobj;
27277 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27278 PyObject *arg2 = (PyObject *) 0 ;
27279 PyObject * obj0 = 0 ;
27280 PyObject * obj1 = 0 ;
27281 char *kwnames[] = {
27282 (char *) "self",(char *) "obj", NULL
27283 };
27284
27285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27287 if (SWIG_arg_fail(1)) SWIG_fail;
27288 arg2 = obj1;
27289 {
27290 PyThreadState* __tstate = wxPyBeginAllowThreads();
27291 (arg1)->SetData(arg2);
27292
27293 wxPyEndAllowThreads(__tstate);
27294 if (PyErr_Occurred()) SWIG_fail;
27295 }
27296 Py_INCREF(Py_None); resultobj = Py_None;
27297 return resultobj;
27298 fail:
27299 return NULL;
27300 }
27301
27302
27303 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27304 PyObject *resultobj;
27305 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27306 wxTreeItemId *result;
27307 PyObject * obj0 = 0 ;
27308 char *kwnames[] = {
27309 (char *) "self", NULL
27310 };
27311
27312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27314 if (SWIG_arg_fail(1)) SWIG_fail;
27315 {
27316 PyThreadState* __tstate = wxPyBeginAllowThreads();
27317 {
27318 wxTreeItemId const &_result_ref = (arg1)->GetId();
27319 result = (wxTreeItemId *) &_result_ref;
27320 }
27321
27322 wxPyEndAllowThreads(__tstate);
27323 if (PyErr_Occurred()) SWIG_fail;
27324 }
27325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27326 return resultobj;
27327 fail:
27328 return NULL;
27329 }
27330
27331
27332 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27333 PyObject *resultobj;
27334 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27335 wxTreeItemId *arg2 = 0 ;
27336 PyObject * obj0 = 0 ;
27337 PyObject * obj1 = 0 ;
27338 char *kwnames[] = {
27339 (char *) "self",(char *) "id", NULL
27340 };
27341
27342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27344 if (SWIG_arg_fail(1)) SWIG_fail;
27345 {
27346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27347 if (SWIG_arg_fail(2)) SWIG_fail;
27348 if (arg2 == NULL) {
27349 SWIG_null_ref("wxTreeItemId");
27350 }
27351 if (SWIG_arg_fail(2)) SWIG_fail;
27352 }
27353 {
27354 PyThreadState* __tstate = wxPyBeginAllowThreads();
27355 (arg1)->SetId((wxTreeItemId const &)*arg2);
27356
27357 wxPyEndAllowThreads(__tstate);
27358 if (PyErr_Occurred()) SWIG_fail;
27359 }
27360 Py_INCREF(Py_None); resultobj = Py_None;
27361 return resultobj;
27362 fail:
27363 return NULL;
27364 }
27365
27366
27367 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27368 PyObject *resultobj;
27369 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27370 PyObject * obj0 = 0 ;
27371 char *kwnames[] = {
27372 (char *) "self", NULL
27373 };
27374
27375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27377 if (SWIG_arg_fail(1)) SWIG_fail;
27378 {
27379 PyThreadState* __tstate = wxPyBeginAllowThreads();
27380 wxPyTreeItemData_Destroy(arg1);
27381
27382 wxPyEndAllowThreads(__tstate);
27383 if (PyErr_Occurred()) SWIG_fail;
27384 }
27385 Py_INCREF(Py_None); resultobj = Py_None;
27386 return resultobj;
27387 fail:
27388 return NULL;
27389 }
27390
27391
27392 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27393 PyObject *obj;
27394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27395 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27396 Py_INCREF(obj);
27397 return Py_BuildValue((char *)"");
27398 }
27399 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27400 PyObject *resultobj;
27401 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27402 int arg2 = (int) 0 ;
27403 wxTreeEvent *result;
27404 PyObject * obj0 = 0 ;
27405 PyObject * obj1 = 0 ;
27406 char *kwnames[] = {
27407 (char *) "commandType",(char *) "id", NULL
27408 };
27409
27410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27411 if (obj0) {
27412 {
27413 arg1 = (wxEventType)(SWIG_As_int(obj0));
27414 if (SWIG_arg_fail(1)) SWIG_fail;
27415 }
27416 }
27417 if (obj1) {
27418 {
27419 arg2 = (int)(SWIG_As_int(obj1));
27420 if (SWIG_arg_fail(2)) SWIG_fail;
27421 }
27422 }
27423 {
27424 PyThreadState* __tstate = wxPyBeginAllowThreads();
27425 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27426
27427 wxPyEndAllowThreads(__tstate);
27428 if (PyErr_Occurred()) SWIG_fail;
27429 }
27430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27431 return resultobj;
27432 fail:
27433 return NULL;
27434 }
27435
27436
27437 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27438 PyObject *resultobj;
27439 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27440 wxTreeItemId result;
27441 PyObject * obj0 = 0 ;
27442 char *kwnames[] = {
27443 (char *) "self", NULL
27444 };
27445
27446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27448 if (SWIG_arg_fail(1)) SWIG_fail;
27449 {
27450 PyThreadState* __tstate = wxPyBeginAllowThreads();
27451 result = ((wxTreeEvent const *)arg1)->GetItem();
27452
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 {
27457 wxTreeItemId * resultptr;
27458 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27460 }
27461 return resultobj;
27462 fail:
27463 return NULL;
27464 }
27465
27466
27467 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27468 PyObject *resultobj;
27469 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27470 wxTreeItemId *arg2 = 0 ;
27471 PyObject * obj0 = 0 ;
27472 PyObject * obj1 = 0 ;
27473 char *kwnames[] = {
27474 (char *) "self",(char *) "item", NULL
27475 };
27476
27477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27479 if (SWIG_arg_fail(1)) SWIG_fail;
27480 {
27481 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27482 if (SWIG_arg_fail(2)) SWIG_fail;
27483 if (arg2 == NULL) {
27484 SWIG_null_ref("wxTreeItemId");
27485 }
27486 if (SWIG_arg_fail(2)) SWIG_fail;
27487 }
27488 {
27489 PyThreadState* __tstate = wxPyBeginAllowThreads();
27490 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27491
27492 wxPyEndAllowThreads(__tstate);
27493 if (PyErr_Occurred()) SWIG_fail;
27494 }
27495 Py_INCREF(Py_None); resultobj = Py_None;
27496 return resultobj;
27497 fail:
27498 return NULL;
27499 }
27500
27501
27502 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27503 PyObject *resultobj;
27504 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27505 wxTreeItemId result;
27506 PyObject * obj0 = 0 ;
27507 char *kwnames[] = {
27508 (char *) "self", NULL
27509 };
27510
27511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27513 if (SWIG_arg_fail(1)) SWIG_fail;
27514 {
27515 PyThreadState* __tstate = wxPyBeginAllowThreads();
27516 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27517
27518 wxPyEndAllowThreads(__tstate);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 }
27521 {
27522 wxTreeItemId * resultptr;
27523 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27525 }
27526 return resultobj;
27527 fail:
27528 return NULL;
27529 }
27530
27531
27532 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27533 PyObject *resultobj;
27534 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27535 wxTreeItemId *arg2 = 0 ;
27536 PyObject * obj0 = 0 ;
27537 PyObject * obj1 = 0 ;
27538 char *kwnames[] = {
27539 (char *) "self",(char *) "item", NULL
27540 };
27541
27542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27544 if (SWIG_arg_fail(1)) SWIG_fail;
27545 {
27546 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27547 if (SWIG_arg_fail(2)) SWIG_fail;
27548 if (arg2 == NULL) {
27549 SWIG_null_ref("wxTreeItemId");
27550 }
27551 if (SWIG_arg_fail(2)) SWIG_fail;
27552 }
27553 {
27554 PyThreadState* __tstate = wxPyBeginAllowThreads();
27555 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27556
27557 wxPyEndAllowThreads(__tstate);
27558 if (PyErr_Occurred()) SWIG_fail;
27559 }
27560 Py_INCREF(Py_None); resultobj = Py_None;
27561 return resultobj;
27562 fail:
27563 return NULL;
27564 }
27565
27566
27567 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27568 PyObject *resultobj;
27569 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27570 wxPoint result;
27571 PyObject * obj0 = 0 ;
27572 char *kwnames[] = {
27573 (char *) "self", NULL
27574 };
27575
27576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27578 if (SWIG_arg_fail(1)) SWIG_fail;
27579 {
27580 PyThreadState* __tstate = wxPyBeginAllowThreads();
27581 result = ((wxTreeEvent const *)arg1)->GetPoint();
27582
27583 wxPyEndAllowThreads(__tstate);
27584 if (PyErr_Occurred()) SWIG_fail;
27585 }
27586 {
27587 wxPoint * resultptr;
27588 resultptr = new wxPoint((wxPoint &)(result));
27589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27590 }
27591 return resultobj;
27592 fail:
27593 return NULL;
27594 }
27595
27596
27597 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27598 PyObject *resultobj;
27599 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27600 wxPoint *arg2 = 0 ;
27601 wxPoint temp2 ;
27602 PyObject * obj0 = 0 ;
27603 PyObject * obj1 = 0 ;
27604 char *kwnames[] = {
27605 (char *) "self",(char *) "pt", NULL
27606 };
27607
27608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27610 if (SWIG_arg_fail(1)) SWIG_fail;
27611 {
27612 arg2 = &temp2;
27613 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27614 }
27615 {
27616 PyThreadState* __tstate = wxPyBeginAllowThreads();
27617 (arg1)->SetPoint((wxPoint const &)*arg2);
27618
27619 wxPyEndAllowThreads(__tstate);
27620 if (PyErr_Occurred()) SWIG_fail;
27621 }
27622 Py_INCREF(Py_None); resultobj = Py_None;
27623 return resultobj;
27624 fail:
27625 return NULL;
27626 }
27627
27628
27629 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27630 PyObject *resultobj;
27631 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27632 wxKeyEvent *result;
27633 PyObject * obj0 = 0 ;
27634 char *kwnames[] = {
27635 (char *) "self", NULL
27636 };
27637
27638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27640 if (SWIG_arg_fail(1)) SWIG_fail;
27641 {
27642 PyThreadState* __tstate = wxPyBeginAllowThreads();
27643 {
27644 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27645 result = (wxKeyEvent *) &_result_ref;
27646 }
27647
27648 wxPyEndAllowThreads(__tstate);
27649 if (PyErr_Occurred()) SWIG_fail;
27650 }
27651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27652 return resultobj;
27653 fail:
27654 return NULL;
27655 }
27656
27657
27658 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27659 PyObject *resultobj;
27660 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27661 int result;
27662 PyObject * obj0 = 0 ;
27663 char *kwnames[] = {
27664 (char *) "self", NULL
27665 };
27666
27667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27669 if (SWIG_arg_fail(1)) SWIG_fail;
27670 {
27671 PyThreadState* __tstate = wxPyBeginAllowThreads();
27672 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27673
27674 wxPyEndAllowThreads(__tstate);
27675 if (PyErr_Occurred()) SWIG_fail;
27676 }
27677 {
27678 resultobj = SWIG_From_int((int)(result));
27679 }
27680 return resultobj;
27681 fail:
27682 return NULL;
27683 }
27684
27685
27686 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27687 PyObject *resultobj;
27688 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27689 wxKeyEvent *arg2 = 0 ;
27690 PyObject * obj0 = 0 ;
27691 PyObject * obj1 = 0 ;
27692 char *kwnames[] = {
27693 (char *) "self",(char *) "evt", NULL
27694 };
27695
27696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
27697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27698 if (SWIG_arg_fail(1)) SWIG_fail;
27699 {
27700 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27701 if (SWIG_arg_fail(2)) SWIG_fail;
27702 if (arg2 == NULL) {
27703 SWIG_null_ref("wxKeyEvent");
27704 }
27705 if (SWIG_arg_fail(2)) SWIG_fail;
27706 }
27707 {
27708 PyThreadState* __tstate = wxPyBeginAllowThreads();
27709 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27710
27711 wxPyEndAllowThreads(__tstate);
27712 if (PyErr_Occurred()) SWIG_fail;
27713 }
27714 Py_INCREF(Py_None); resultobj = Py_None;
27715 return resultobj;
27716 fail:
27717 return NULL;
27718 }
27719
27720
27721 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27722 PyObject *resultobj;
27723 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27724 wxString *result;
27725 PyObject * obj0 = 0 ;
27726 char *kwnames[] = {
27727 (char *) "self", NULL
27728 };
27729
27730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
27731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27732 if (SWIG_arg_fail(1)) SWIG_fail;
27733 {
27734 PyThreadState* __tstate = wxPyBeginAllowThreads();
27735 {
27736 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27737 result = (wxString *) &_result_ref;
27738 }
27739
27740 wxPyEndAllowThreads(__tstate);
27741 if (PyErr_Occurred()) SWIG_fail;
27742 }
27743 {
27744 #if wxUSE_UNICODE
27745 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27746 #else
27747 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27748 #endif
27749 }
27750 return resultobj;
27751 fail:
27752 return NULL;
27753 }
27754
27755
27756 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27757 PyObject *resultobj;
27758 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27759 wxString *arg2 = 0 ;
27760 bool temp2 = false ;
27761 PyObject * obj0 = 0 ;
27762 PyObject * obj1 = 0 ;
27763 char *kwnames[] = {
27764 (char *) "self",(char *) "label", NULL
27765 };
27766
27767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27769 if (SWIG_arg_fail(1)) SWIG_fail;
27770 {
27771 arg2 = wxString_in_helper(obj1);
27772 if (arg2 == NULL) SWIG_fail;
27773 temp2 = true;
27774 }
27775 {
27776 PyThreadState* __tstate = wxPyBeginAllowThreads();
27777 (arg1)->SetLabel((wxString const &)*arg2);
27778
27779 wxPyEndAllowThreads(__tstate);
27780 if (PyErr_Occurred()) SWIG_fail;
27781 }
27782 Py_INCREF(Py_None); resultobj = Py_None;
27783 {
27784 if (temp2)
27785 delete arg2;
27786 }
27787 return resultobj;
27788 fail:
27789 {
27790 if (temp2)
27791 delete arg2;
27792 }
27793 return NULL;
27794 }
27795
27796
27797 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27798 PyObject *resultobj;
27799 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27800 bool result;
27801 PyObject * obj0 = 0 ;
27802 char *kwnames[] = {
27803 (char *) "self", NULL
27804 };
27805
27806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27808 if (SWIG_arg_fail(1)) SWIG_fail;
27809 {
27810 PyThreadState* __tstate = wxPyBeginAllowThreads();
27811 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27812
27813 wxPyEndAllowThreads(__tstate);
27814 if (PyErr_Occurred()) SWIG_fail;
27815 }
27816 {
27817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27818 }
27819 return resultobj;
27820 fail:
27821 return NULL;
27822 }
27823
27824
27825 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27826 PyObject *resultobj;
27827 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27828 bool arg2 ;
27829 PyObject * obj0 = 0 ;
27830 PyObject * obj1 = 0 ;
27831 char *kwnames[] = {
27832 (char *) "self",(char *) "editCancelled", NULL
27833 };
27834
27835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
27836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27837 if (SWIG_arg_fail(1)) SWIG_fail;
27838 {
27839 arg2 = (bool)(SWIG_As_bool(obj1));
27840 if (SWIG_arg_fail(2)) SWIG_fail;
27841 }
27842 {
27843 PyThreadState* __tstate = wxPyBeginAllowThreads();
27844 (arg1)->SetEditCanceled(arg2);
27845
27846 wxPyEndAllowThreads(__tstate);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 }
27849 Py_INCREF(Py_None); resultobj = Py_None;
27850 return resultobj;
27851 fail:
27852 return NULL;
27853 }
27854
27855
27856 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27857 PyObject *resultobj;
27858 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27859 wxString *arg2 = 0 ;
27860 bool temp2 = false ;
27861 PyObject * obj0 = 0 ;
27862 PyObject * obj1 = 0 ;
27863 char *kwnames[] = {
27864 (char *) "self",(char *) "toolTip", NULL
27865 };
27866
27867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27869 if (SWIG_arg_fail(1)) SWIG_fail;
27870 {
27871 arg2 = wxString_in_helper(obj1);
27872 if (arg2 == NULL) SWIG_fail;
27873 temp2 = true;
27874 }
27875 {
27876 PyThreadState* __tstate = wxPyBeginAllowThreads();
27877 (arg1)->SetToolTip((wxString const &)*arg2);
27878
27879 wxPyEndAllowThreads(__tstate);
27880 if (PyErr_Occurred()) SWIG_fail;
27881 }
27882 Py_INCREF(Py_None); resultobj = Py_None;
27883 {
27884 if (temp2)
27885 delete arg2;
27886 }
27887 return resultobj;
27888 fail:
27889 {
27890 if (temp2)
27891 delete arg2;
27892 }
27893 return NULL;
27894 }
27895
27896
27897 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
27898 PyObject *obj;
27899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27900 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27901 Py_INCREF(obj);
27902 return Py_BuildValue((char *)"");
27903 }
27904 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27905 PyObject *resultobj;
27906 wxWindow *arg1 = (wxWindow *) 0 ;
27907 int arg2 = (int) -1 ;
27908 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27909 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27910 wxSize const &arg4_defvalue = wxDefaultSize ;
27911 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27912 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27913 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27914 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27915 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27916 wxString *arg7 = (wxString *) &arg7_defvalue ;
27917 wxPyTreeCtrl *result;
27918 wxPoint temp3 ;
27919 wxSize temp4 ;
27920 bool temp7 = false ;
27921 PyObject * obj0 = 0 ;
27922 PyObject * obj1 = 0 ;
27923 PyObject * obj2 = 0 ;
27924 PyObject * obj3 = 0 ;
27925 PyObject * obj4 = 0 ;
27926 PyObject * obj5 = 0 ;
27927 PyObject * obj6 = 0 ;
27928 char *kwnames[] = {
27929 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27930 };
27931
27932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27934 if (SWIG_arg_fail(1)) SWIG_fail;
27935 if (obj1) {
27936 {
27937 arg2 = (int)(SWIG_As_int(obj1));
27938 if (SWIG_arg_fail(2)) SWIG_fail;
27939 }
27940 }
27941 if (obj2) {
27942 {
27943 arg3 = &temp3;
27944 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27945 }
27946 }
27947 if (obj3) {
27948 {
27949 arg4 = &temp4;
27950 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27951 }
27952 }
27953 if (obj4) {
27954 {
27955 arg5 = (long)(SWIG_As_long(obj4));
27956 if (SWIG_arg_fail(5)) SWIG_fail;
27957 }
27958 }
27959 if (obj5) {
27960 {
27961 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27962 if (SWIG_arg_fail(6)) SWIG_fail;
27963 if (arg6 == NULL) {
27964 SWIG_null_ref("wxValidator");
27965 }
27966 if (SWIG_arg_fail(6)) SWIG_fail;
27967 }
27968 }
27969 if (obj6) {
27970 {
27971 arg7 = wxString_in_helper(obj6);
27972 if (arg7 == NULL) SWIG_fail;
27973 temp7 = true;
27974 }
27975 }
27976 {
27977 if (!wxPyCheckForApp()) SWIG_fail;
27978 PyThreadState* __tstate = wxPyBeginAllowThreads();
27979 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27980
27981 wxPyEndAllowThreads(__tstate);
27982 if (PyErr_Occurred()) SWIG_fail;
27983 }
27984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
27985 {
27986 if (temp7)
27987 delete arg7;
27988 }
27989 return resultobj;
27990 fail:
27991 {
27992 if (temp7)
27993 delete arg7;
27994 }
27995 return NULL;
27996 }
27997
27998
27999 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28000 PyObject *resultobj;
28001 wxPyTreeCtrl *result;
28002 char *kwnames[] = {
28003 NULL
28004 };
28005
28006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28007 {
28008 if (!wxPyCheckForApp()) SWIG_fail;
28009 PyThreadState* __tstate = wxPyBeginAllowThreads();
28010 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28011
28012 wxPyEndAllowThreads(__tstate);
28013 if (PyErr_Occurred()) SWIG_fail;
28014 }
28015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28016 return resultobj;
28017 fail:
28018 return NULL;
28019 }
28020
28021
28022 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28023 PyObject *resultobj;
28024 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28025 wxWindow *arg2 = (wxWindow *) 0 ;
28026 int arg3 = (int) -1 ;
28027 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28028 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28029 wxSize const &arg5_defvalue = wxDefaultSize ;
28030 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28031 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28032 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28033 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28034 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28035 wxString *arg8 = (wxString *) &arg8_defvalue ;
28036 bool result;
28037 wxPoint temp4 ;
28038 wxSize temp5 ;
28039 bool temp8 = false ;
28040 PyObject * obj0 = 0 ;
28041 PyObject * obj1 = 0 ;
28042 PyObject * obj2 = 0 ;
28043 PyObject * obj3 = 0 ;
28044 PyObject * obj4 = 0 ;
28045 PyObject * obj5 = 0 ;
28046 PyObject * obj6 = 0 ;
28047 PyObject * obj7 = 0 ;
28048 char *kwnames[] = {
28049 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28050 };
28051
28052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28054 if (SWIG_arg_fail(1)) SWIG_fail;
28055 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28056 if (SWIG_arg_fail(2)) SWIG_fail;
28057 if (obj2) {
28058 {
28059 arg3 = (int)(SWIG_As_int(obj2));
28060 if (SWIG_arg_fail(3)) SWIG_fail;
28061 }
28062 }
28063 if (obj3) {
28064 {
28065 arg4 = &temp4;
28066 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28067 }
28068 }
28069 if (obj4) {
28070 {
28071 arg5 = &temp5;
28072 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28073 }
28074 }
28075 if (obj5) {
28076 {
28077 arg6 = (long)(SWIG_As_long(obj5));
28078 if (SWIG_arg_fail(6)) SWIG_fail;
28079 }
28080 }
28081 if (obj6) {
28082 {
28083 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28084 if (SWIG_arg_fail(7)) SWIG_fail;
28085 if (arg7 == NULL) {
28086 SWIG_null_ref("wxValidator");
28087 }
28088 if (SWIG_arg_fail(7)) SWIG_fail;
28089 }
28090 }
28091 if (obj7) {
28092 {
28093 arg8 = wxString_in_helper(obj7);
28094 if (arg8 == NULL) SWIG_fail;
28095 temp8 = true;
28096 }
28097 }
28098 {
28099 PyThreadState* __tstate = wxPyBeginAllowThreads();
28100 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28101
28102 wxPyEndAllowThreads(__tstate);
28103 if (PyErr_Occurred()) SWIG_fail;
28104 }
28105 {
28106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28107 }
28108 {
28109 if (temp8)
28110 delete arg8;
28111 }
28112 return resultobj;
28113 fail:
28114 {
28115 if (temp8)
28116 delete arg8;
28117 }
28118 return NULL;
28119 }
28120
28121
28122 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28123 PyObject *resultobj;
28124 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28125 PyObject *arg2 = (PyObject *) 0 ;
28126 PyObject *arg3 = (PyObject *) 0 ;
28127 PyObject * obj0 = 0 ;
28128 PyObject * obj1 = 0 ;
28129 PyObject * obj2 = 0 ;
28130 char *kwnames[] = {
28131 (char *) "self",(char *) "self",(char *) "_class", NULL
28132 };
28133
28134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28136 if (SWIG_arg_fail(1)) SWIG_fail;
28137 arg2 = obj1;
28138 arg3 = obj2;
28139 {
28140 PyThreadState* __tstate = wxPyBeginAllowThreads();
28141 (arg1)->_setCallbackInfo(arg2,arg3);
28142
28143 wxPyEndAllowThreads(__tstate);
28144 if (PyErr_Occurred()) SWIG_fail;
28145 }
28146 Py_INCREF(Py_None); resultobj = Py_None;
28147 return resultobj;
28148 fail:
28149 return NULL;
28150 }
28151
28152
28153 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28154 PyObject *resultobj;
28155 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28156 size_t result;
28157 PyObject * obj0 = 0 ;
28158 char *kwnames[] = {
28159 (char *) "self", NULL
28160 };
28161
28162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28164 if (SWIG_arg_fail(1)) SWIG_fail;
28165 {
28166 PyThreadState* __tstate = wxPyBeginAllowThreads();
28167 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28168
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 {
28173 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28174 }
28175 return resultobj;
28176 fail:
28177 return NULL;
28178 }
28179
28180
28181 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28182 PyObject *resultobj;
28183 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28184 unsigned int result;
28185 PyObject * obj0 = 0 ;
28186 char *kwnames[] = {
28187 (char *) "self", NULL
28188 };
28189
28190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28192 if (SWIG_arg_fail(1)) SWIG_fail;
28193 {
28194 PyThreadState* __tstate = wxPyBeginAllowThreads();
28195 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28196
28197 wxPyEndAllowThreads(__tstate);
28198 if (PyErr_Occurred()) SWIG_fail;
28199 }
28200 {
28201 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28202 }
28203 return resultobj;
28204 fail:
28205 return NULL;
28206 }
28207
28208
28209 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28210 PyObject *resultobj;
28211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28212 unsigned int arg2 ;
28213 PyObject * obj0 = 0 ;
28214 PyObject * obj1 = 0 ;
28215 char *kwnames[] = {
28216 (char *) "self",(char *) "indent", NULL
28217 };
28218
28219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28221 if (SWIG_arg_fail(1)) SWIG_fail;
28222 {
28223 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28224 if (SWIG_arg_fail(2)) SWIG_fail;
28225 }
28226 {
28227 PyThreadState* __tstate = wxPyBeginAllowThreads();
28228 (arg1)->SetIndent(arg2);
28229
28230 wxPyEndAllowThreads(__tstate);
28231 if (PyErr_Occurred()) SWIG_fail;
28232 }
28233 Py_INCREF(Py_None); resultobj = Py_None;
28234 return resultobj;
28235 fail:
28236 return NULL;
28237 }
28238
28239
28240 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28241 PyObject *resultobj;
28242 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28243 unsigned int result;
28244 PyObject * obj0 = 0 ;
28245 char *kwnames[] = {
28246 (char *) "self", NULL
28247 };
28248
28249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28251 if (SWIG_arg_fail(1)) SWIG_fail;
28252 {
28253 PyThreadState* __tstate = wxPyBeginAllowThreads();
28254 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28255
28256 wxPyEndAllowThreads(__tstate);
28257 if (PyErr_Occurred()) SWIG_fail;
28258 }
28259 {
28260 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28261 }
28262 return resultobj;
28263 fail:
28264 return NULL;
28265 }
28266
28267
28268 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28269 PyObject *resultobj;
28270 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28271 unsigned int arg2 ;
28272 PyObject * obj0 = 0 ;
28273 PyObject * obj1 = 0 ;
28274 char *kwnames[] = {
28275 (char *) "self",(char *) "spacing", NULL
28276 };
28277
28278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
28279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28280 if (SWIG_arg_fail(1)) SWIG_fail;
28281 {
28282 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28283 if (SWIG_arg_fail(2)) SWIG_fail;
28284 }
28285 {
28286 PyThreadState* __tstate = wxPyBeginAllowThreads();
28287 (arg1)->SetSpacing(arg2);
28288
28289 wxPyEndAllowThreads(__tstate);
28290 if (PyErr_Occurred()) SWIG_fail;
28291 }
28292 Py_INCREF(Py_None); resultobj = Py_None;
28293 return resultobj;
28294 fail:
28295 return NULL;
28296 }
28297
28298
28299 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28300 PyObject *resultobj;
28301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28302 wxImageList *result;
28303 PyObject * obj0 = 0 ;
28304 char *kwnames[] = {
28305 (char *) "self", NULL
28306 };
28307
28308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28310 if (SWIG_arg_fail(1)) SWIG_fail;
28311 {
28312 PyThreadState* __tstate = wxPyBeginAllowThreads();
28313 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28314
28315 wxPyEndAllowThreads(__tstate);
28316 if (PyErr_Occurred()) SWIG_fail;
28317 }
28318 {
28319 resultobj = wxPyMake_wxObject(result, 0);
28320 }
28321 return resultobj;
28322 fail:
28323 return NULL;
28324 }
28325
28326
28327 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28328 PyObject *resultobj;
28329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28330 wxImageList *result;
28331 PyObject * obj0 = 0 ;
28332 char *kwnames[] = {
28333 (char *) "self", NULL
28334 };
28335
28336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28338 if (SWIG_arg_fail(1)) SWIG_fail;
28339 {
28340 PyThreadState* __tstate = wxPyBeginAllowThreads();
28341 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28342
28343 wxPyEndAllowThreads(__tstate);
28344 if (PyErr_Occurred()) SWIG_fail;
28345 }
28346 {
28347 resultobj = wxPyMake_wxObject(result, 0);
28348 }
28349 return resultobj;
28350 fail:
28351 return NULL;
28352 }
28353
28354
28355 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28356 PyObject *resultobj;
28357 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28358 wxImageList *arg2 = (wxImageList *) 0 ;
28359 PyObject * obj0 = 0 ;
28360 PyObject * obj1 = 0 ;
28361 char *kwnames[] = {
28362 (char *) "self",(char *) "imageList", NULL
28363 };
28364
28365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28367 if (SWIG_arg_fail(1)) SWIG_fail;
28368 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28369 if (SWIG_arg_fail(2)) SWIG_fail;
28370 {
28371 PyThreadState* __tstate = wxPyBeginAllowThreads();
28372 (arg1)->SetImageList(arg2);
28373
28374 wxPyEndAllowThreads(__tstate);
28375 if (PyErr_Occurred()) SWIG_fail;
28376 }
28377 Py_INCREF(Py_None); resultobj = Py_None;
28378 return resultobj;
28379 fail:
28380 return NULL;
28381 }
28382
28383
28384 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28385 PyObject *resultobj;
28386 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28387 wxImageList *arg2 = (wxImageList *) 0 ;
28388 PyObject * obj0 = 0 ;
28389 PyObject * obj1 = 0 ;
28390 char *kwnames[] = {
28391 (char *) "self",(char *) "imageList", NULL
28392 };
28393
28394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28396 if (SWIG_arg_fail(1)) SWIG_fail;
28397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28398 if (SWIG_arg_fail(2)) SWIG_fail;
28399 {
28400 PyThreadState* __tstate = wxPyBeginAllowThreads();
28401 (arg1)->SetStateImageList(arg2);
28402
28403 wxPyEndAllowThreads(__tstate);
28404 if (PyErr_Occurred()) SWIG_fail;
28405 }
28406 Py_INCREF(Py_None); resultobj = Py_None;
28407 return resultobj;
28408 fail:
28409 return NULL;
28410 }
28411
28412
28413 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28414 PyObject *resultobj;
28415 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28416 wxImageList *arg2 = (wxImageList *) 0 ;
28417 PyObject * obj0 = 0 ;
28418 PyObject * obj1 = 0 ;
28419 char *kwnames[] = {
28420 (char *) "self",(char *) "imageList", NULL
28421 };
28422
28423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28425 if (SWIG_arg_fail(1)) SWIG_fail;
28426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28427 if (SWIG_arg_fail(2)) SWIG_fail;
28428 {
28429 PyThreadState* __tstate = wxPyBeginAllowThreads();
28430 (arg1)->AssignImageList(arg2);
28431
28432 wxPyEndAllowThreads(__tstate);
28433 if (PyErr_Occurred()) SWIG_fail;
28434 }
28435 Py_INCREF(Py_None); resultobj = Py_None;
28436 return resultobj;
28437 fail:
28438 return NULL;
28439 }
28440
28441
28442 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28443 PyObject *resultobj;
28444 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28445 wxImageList *arg2 = (wxImageList *) 0 ;
28446 PyObject * obj0 = 0 ;
28447 PyObject * obj1 = 0 ;
28448 char *kwnames[] = {
28449 (char *) "self",(char *) "imageList", NULL
28450 };
28451
28452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
28453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28454 if (SWIG_arg_fail(1)) SWIG_fail;
28455 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28456 if (SWIG_arg_fail(2)) SWIG_fail;
28457 {
28458 PyThreadState* __tstate = wxPyBeginAllowThreads();
28459 (arg1)->AssignStateImageList(arg2);
28460
28461 wxPyEndAllowThreads(__tstate);
28462 if (PyErr_Occurred()) SWIG_fail;
28463 }
28464 Py_INCREF(Py_None); resultobj = Py_None;
28465 return resultobj;
28466 fail:
28467 return NULL;
28468 }
28469
28470
28471 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28472 PyObject *resultobj;
28473 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28474 wxTreeItemId *arg2 = 0 ;
28475 wxString result;
28476 PyObject * obj0 = 0 ;
28477 PyObject * obj1 = 0 ;
28478 char *kwnames[] = {
28479 (char *) "self",(char *) "item", NULL
28480 };
28481
28482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28484 if (SWIG_arg_fail(1)) SWIG_fail;
28485 {
28486 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28487 if (SWIG_arg_fail(2)) SWIG_fail;
28488 if (arg2 == NULL) {
28489 SWIG_null_ref("wxTreeItemId");
28490 }
28491 if (SWIG_arg_fail(2)) SWIG_fail;
28492 }
28493 {
28494 PyThreadState* __tstate = wxPyBeginAllowThreads();
28495 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28496
28497 wxPyEndAllowThreads(__tstate);
28498 if (PyErr_Occurred()) SWIG_fail;
28499 }
28500 {
28501 #if wxUSE_UNICODE
28502 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28503 #else
28504 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28505 #endif
28506 }
28507 return resultobj;
28508 fail:
28509 return NULL;
28510 }
28511
28512
28513 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28514 PyObject *resultobj;
28515 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28516 wxTreeItemId *arg2 = 0 ;
28517 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28518 int result;
28519 PyObject * obj0 = 0 ;
28520 PyObject * obj1 = 0 ;
28521 PyObject * obj2 = 0 ;
28522 char *kwnames[] = {
28523 (char *) "self",(char *) "item",(char *) "which", NULL
28524 };
28525
28526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28528 if (SWIG_arg_fail(1)) SWIG_fail;
28529 {
28530 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28531 if (SWIG_arg_fail(2)) SWIG_fail;
28532 if (arg2 == NULL) {
28533 SWIG_null_ref("wxTreeItemId");
28534 }
28535 if (SWIG_arg_fail(2)) SWIG_fail;
28536 }
28537 if (obj2) {
28538 {
28539 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28540 if (SWIG_arg_fail(3)) SWIG_fail;
28541 }
28542 }
28543 {
28544 PyThreadState* __tstate = wxPyBeginAllowThreads();
28545 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28546
28547 wxPyEndAllowThreads(__tstate);
28548 if (PyErr_Occurred()) SWIG_fail;
28549 }
28550 {
28551 resultobj = SWIG_From_int((int)(result));
28552 }
28553 return resultobj;
28554 fail:
28555 return NULL;
28556 }
28557
28558
28559 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28560 PyObject *resultobj;
28561 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28562 wxTreeItemId *arg2 = 0 ;
28563 wxPyTreeItemData *result;
28564 PyObject * obj0 = 0 ;
28565 PyObject * obj1 = 0 ;
28566 char *kwnames[] = {
28567 (char *) "self",(char *) "item", NULL
28568 };
28569
28570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28572 if (SWIG_arg_fail(1)) SWIG_fail;
28573 {
28574 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28575 if (SWIG_arg_fail(2)) SWIG_fail;
28576 if (arg2 == NULL) {
28577 SWIG_null_ref("wxTreeItemId");
28578 }
28579 if (SWIG_arg_fail(2)) SWIG_fail;
28580 }
28581 {
28582 PyThreadState* __tstate = wxPyBeginAllowThreads();
28583 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28584
28585 wxPyEndAllowThreads(__tstate);
28586 if (PyErr_Occurred()) SWIG_fail;
28587 }
28588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28589 return resultobj;
28590 fail:
28591 return NULL;
28592 }
28593
28594
28595 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28596 PyObject *resultobj;
28597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28598 wxTreeItemId *arg2 = 0 ;
28599 PyObject *result;
28600 PyObject * obj0 = 0 ;
28601 PyObject * obj1 = 0 ;
28602 char *kwnames[] = {
28603 (char *) "self",(char *) "item", NULL
28604 };
28605
28606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28608 if (SWIG_arg_fail(1)) SWIG_fail;
28609 {
28610 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28611 if (SWIG_arg_fail(2)) SWIG_fail;
28612 if (arg2 == NULL) {
28613 SWIG_null_ref("wxTreeItemId");
28614 }
28615 if (SWIG_arg_fail(2)) SWIG_fail;
28616 }
28617 {
28618 PyThreadState* __tstate = wxPyBeginAllowThreads();
28619 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28620
28621 wxPyEndAllowThreads(__tstate);
28622 if (PyErr_Occurred()) SWIG_fail;
28623 }
28624 resultobj = result;
28625 return resultobj;
28626 fail:
28627 return NULL;
28628 }
28629
28630
28631 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28632 PyObject *resultobj;
28633 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28634 wxTreeItemId *arg2 = 0 ;
28635 wxColour result;
28636 PyObject * obj0 = 0 ;
28637 PyObject * obj1 = 0 ;
28638 char *kwnames[] = {
28639 (char *) "self",(char *) "item", NULL
28640 };
28641
28642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
28643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28644 if (SWIG_arg_fail(1)) SWIG_fail;
28645 {
28646 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28647 if (SWIG_arg_fail(2)) SWIG_fail;
28648 if (arg2 == NULL) {
28649 SWIG_null_ref("wxTreeItemId");
28650 }
28651 if (SWIG_arg_fail(2)) SWIG_fail;
28652 }
28653 {
28654 PyThreadState* __tstate = wxPyBeginAllowThreads();
28655 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28656
28657 wxPyEndAllowThreads(__tstate);
28658 if (PyErr_Occurred()) SWIG_fail;
28659 }
28660 {
28661 wxColour * resultptr;
28662 resultptr = new wxColour((wxColour &)(result));
28663 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28664 }
28665 return resultobj;
28666 fail:
28667 return NULL;
28668 }
28669
28670
28671 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28672 PyObject *resultobj;
28673 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28674 wxTreeItemId *arg2 = 0 ;
28675 wxColour result;
28676 PyObject * obj0 = 0 ;
28677 PyObject * obj1 = 0 ;
28678 char *kwnames[] = {
28679 (char *) "self",(char *) "item", NULL
28680 };
28681
28682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28684 if (SWIG_arg_fail(1)) SWIG_fail;
28685 {
28686 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28687 if (SWIG_arg_fail(2)) SWIG_fail;
28688 if (arg2 == NULL) {
28689 SWIG_null_ref("wxTreeItemId");
28690 }
28691 if (SWIG_arg_fail(2)) SWIG_fail;
28692 }
28693 {
28694 PyThreadState* __tstate = wxPyBeginAllowThreads();
28695 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28696
28697 wxPyEndAllowThreads(__tstate);
28698 if (PyErr_Occurred()) SWIG_fail;
28699 }
28700 {
28701 wxColour * resultptr;
28702 resultptr = new wxColour((wxColour &)(result));
28703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28704 }
28705 return resultobj;
28706 fail:
28707 return NULL;
28708 }
28709
28710
28711 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28712 PyObject *resultobj;
28713 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28714 wxTreeItemId *arg2 = 0 ;
28715 wxFont result;
28716 PyObject * obj0 = 0 ;
28717 PyObject * obj1 = 0 ;
28718 char *kwnames[] = {
28719 (char *) "self",(char *) "item", NULL
28720 };
28721
28722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28724 if (SWIG_arg_fail(1)) SWIG_fail;
28725 {
28726 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28727 if (SWIG_arg_fail(2)) SWIG_fail;
28728 if (arg2 == NULL) {
28729 SWIG_null_ref("wxTreeItemId");
28730 }
28731 if (SWIG_arg_fail(2)) SWIG_fail;
28732 }
28733 {
28734 PyThreadState* __tstate = wxPyBeginAllowThreads();
28735 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28736
28737 wxPyEndAllowThreads(__tstate);
28738 if (PyErr_Occurred()) SWIG_fail;
28739 }
28740 {
28741 wxFont * resultptr;
28742 resultptr = new wxFont((wxFont &)(result));
28743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28744 }
28745 return resultobj;
28746 fail:
28747 return NULL;
28748 }
28749
28750
28751 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28752 PyObject *resultobj;
28753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28754 wxTreeItemId *arg2 = 0 ;
28755 wxString *arg3 = 0 ;
28756 bool temp3 = false ;
28757 PyObject * obj0 = 0 ;
28758 PyObject * obj1 = 0 ;
28759 PyObject * obj2 = 0 ;
28760 char *kwnames[] = {
28761 (char *) "self",(char *) "item",(char *) "text", NULL
28762 };
28763
28764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) 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 = wxString_in_helper(obj2);
28777 if (arg3 == NULL) SWIG_fail;
28778 temp3 = true;
28779 }
28780 {
28781 PyThreadState* __tstate = wxPyBeginAllowThreads();
28782 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28783
28784 wxPyEndAllowThreads(__tstate);
28785 if (PyErr_Occurred()) SWIG_fail;
28786 }
28787 Py_INCREF(Py_None); resultobj = Py_None;
28788 {
28789 if (temp3)
28790 delete arg3;
28791 }
28792 return resultobj;
28793 fail:
28794 {
28795 if (temp3)
28796 delete arg3;
28797 }
28798 return NULL;
28799 }
28800
28801
28802 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28803 PyObject *resultobj;
28804 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28805 wxTreeItemId *arg2 = 0 ;
28806 int arg3 ;
28807 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28808 PyObject * obj0 = 0 ;
28809 PyObject * obj1 = 0 ;
28810 PyObject * obj2 = 0 ;
28811 PyObject * obj3 = 0 ;
28812 char *kwnames[] = {
28813 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28814 };
28815
28816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28818 if (SWIG_arg_fail(1)) SWIG_fail;
28819 {
28820 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28821 if (SWIG_arg_fail(2)) SWIG_fail;
28822 if (arg2 == NULL) {
28823 SWIG_null_ref("wxTreeItemId");
28824 }
28825 if (SWIG_arg_fail(2)) SWIG_fail;
28826 }
28827 {
28828 arg3 = (int)(SWIG_As_int(obj2));
28829 if (SWIG_arg_fail(3)) SWIG_fail;
28830 }
28831 if (obj3) {
28832 {
28833 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28834 if (SWIG_arg_fail(4)) SWIG_fail;
28835 }
28836 }
28837 {
28838 PyThreadState* __tstate = wxPyBeginAllowThreads();
28839 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28840
28841 wxPyEndAllowThreads(__tstate);
28842 if (PyErr_Occurred()) SWIG_fail;
28843 }
28844 Py_INCREF(Py_None); resultobj = Py_None;
28845 return resultobj;
28846 fail:
28847 return NULL;
28848 }
28849
28850
28851 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28852 PyObject *resultobj;
28853 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28854 wxTreeItemId *arg2 = 0 ;
28855 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28856 PyObject * obj0 = 0 ;
28857 PyObject * obj1 = 0 ;
28858 PyObject * obj2 = 0 ;
28859 char *kwnames[] = {
28860 (char *) "self",(char *) "item",(char *) "data", NULL
28861 };
28862
28863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28865 if (SWIG_arg_fail(1)) SWIG_fail;
28866 {
28867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28868 if (SWIG_arg_fail(2)) SWIG_fail;
28869 if (arg2 == NULL) {
28870 SWIG_null_ref("wxTreeItemId");
28871 }
28872 if (SWIG_arg_fail(2)) SWIG_fail;
28873 }
28874 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28875 if (SWIG_arg_fail(3)) SWIG_fail;
28876 {
28877 PyThreadState* __tstate = wxPyBeginAllowThreads();
28878 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28879
28880 wxPyEndAllowThreads(__tstate);
28881 if (PyErr_Occurred()) SWIG_fail;
28882 }
28883 Py_INCREF(Py_None); resultobj = Py_None;
28884 return resultobj;
28885 fail:
28886 return NULL;
28887 }
28888
28889
28890 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28891 PyObject *resultobj;
28892 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28893 wxTreeItemId *arg2 = 0 ;
28894 PyObject *arg3 = (PyObject *) 0 ;
28895 PyObject * obj0 = 0 ;
28896 PyObject * obj1 = 0 ;
28897 PyObject * obj2 = 0 ;
28898 char *kwnames[] = {
28899 (char *) "self",(char *) "item",(char *) "obj", NULL
28900 };
28901
28902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28904 if (SWIG_arg_fail(1)) SWIG_fail;
28905 {
28906 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28907 if (SWIG_arg_fail(2)) SWIG_fail;
28908 if (arg2 == NULL) {
28909 SWIG_null_ref("wxTreeItemId");
28910 }
28911 if (SWIG_arg_fail(2)) SWIG_fail;
28912 }
28913 arg3 = obj2;
28914 {
28915 PyThreadState* __tstate = wxPyBeginAllowThreads();
28916 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28917
28918 wxPyEndAllowThreads(__tstate);
28919 if (PyErr_Occurred()) SWIG_fail;
28920 }
28921 Py_INCREF(Py_None); resultobj = Py_None;
28922 return resultobj;
28923 fail:
28924 return NULL;
28925 }
28926
28927
28928 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28929 PyObject *resultobj;
28930 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28931 wxTreeItemId *arg2 = 0 ;
28932 bool arg3 = (bool) true ;
28933 PyObject * obj0 = 0 ;
28934 PyObject * obj1 = 0 ;
28935 PyObject * obj2 = 0 ;
28936 char *kwnames[] = {
28937 (char *) "self",(char *) "item",(char *) "has", NULL
28938 };
28939
28940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
28941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28942 if (SWIG_arg_fail(1)) SWIG_fail;
28943 {
28944 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28945 if (SWIG_arg_fail(2)) SWIG_fail;
28946 if (arg2 == NULL) {
28947 SWIG_null_ref("wxTreeItemId");
28948 }
28949 if (SWIG_arg_fail(2)) SWIG_fail;
28950 }
28951 if (obj2) {
28952 {
28953 arg3 = (bool)(SWIG_As_bool(obj2));
28954 if (SWIG_arg_fail(3)) SWIG_fail;
28955 }
28956 }
28957 {
28958 PyThreadState* __tstate = wxPyBeginAllowThreads();
28959 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28960
28961 wxPyEndAllowThreads(__tstate);
28962 if (PyErr_Occurred()) SWIG_fail;
28963 }
28964 Py_INCREF(Py_None); resultobj = Py_None;
28965 return resultobj;
28966 fail:
28967 return NULL;
28968 }
28969
28970
28971 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
28972 PyObject *resultobj;
28973 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28974 wxTreeItemId *arg2 = 0 ;
28975 bool arg3 = (bool) true ;
28976 PyObject * obj0 = 0 ;
28977 PyObject * obj1 = 0 ;
28978 PyObject * obj2 = 0 ;
28979 char *kwnames[] = {
28980 (char *) "self",(char *) "item",(char *) "bold", NULL
28981 };
28982
28983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
28984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28985 if (SWIG_arg_fail(1)) SWIG_fail;
28986 {
28987 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28988 if (SWIG_arg_fail(2)) SWIG_fail;
28989 if (arg2 == NULL) {
28990 SWIG_null_ref("wxTreeItemId");
28991 }
28992 if (SWIG_arg_fail(2)) SWIG_fail;
28993 }
28994 if (obj2) {
28995 {
28996 arg3 = (bool)(SWIG_As_bool(obj2));
28997 if (SWIG_arg_fail(3)) SWIG_fail;
28998 }
28999 }
29000 {
29001 PyThreadState* __tstate = wxPyBeginAllowThreads();
29002 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29003
29004 wxPyEndAllowThreads(__tstate);
29005 if (PyErr_Occurred()) SWIG_fail;
29006 }
29007 Py_INCREF(Py_None); resultobj = Py_None;
29008 return resultobj;
29009 fail:
29010 return NULL;
29011 }
29012
29013
29014 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29015 PyObject *resultobj;
29016 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29017 wxTreeItemId *arg2 = 0 ;
29018 wxColour *arg3 = 0 ;
29019 wxColour temp3 ;
29020 PyObject * obj0 = 0 ;
29021 PyObject * obj1 = 0 ;
29022 PyObject * obj2 = 0 ;
29023 char *kwnames[] = {
29024 (char *) "self",(char *) "item",(char *) "col", NULL
29025 };
29026
29027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29029 if (SWIG_arg_fail(1)) SWIG_fail;
29030 {
29031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29032 if (SWIG_arg_fail(2)) SWIG_fail;
29033 if (arg2 == NULL) {
29034 SWIG_null_ref("wxTreeItemId");
29035 }
29036 if (SWIG_arg_fail(2)) SWIG_fail;
29037 }
29038 {
29039 arg3 = &temp3;
29040 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29041 }
29042 {
29043 PyThreadState* __tstate = wxPyBeginAllowThreads();
29044 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29045
29046 wxPyEndAllowThreads(__tstate);
29047 if (PyErr_Occurred()) SWIG_fail;
29048 }
29049 Py_INCREF(Py_None); resultobj = Py_None;
29050 return resultobj;
29051 fail:
29052 return NULL;
29053 }
29054
29055
29056 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29057 PyObject *resultobj;
29058 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29059 wxTreeItemId *arg2 = 0 ;
29060 wxColour *arg3 = 0 ;
29061 wxColour temp3 ;
29062 PyObject * obj0 = 0 ;
29063 PyObject * obj1 = 0 ;
29064 PyObject * obj2 = 0 ;
29065 char *kwnames[] = {
29066 (char *) "self",(char *) "item",(char *) "col", NULL
29067 };
29068
29069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29071 if (SWIG_arg_fail(1)) SWIG_fail;
29072 {
29073 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29074 if (SWIG_arg_fail(2)) SWIG_fail;
29075 if (arg2 == NULL) {
29076 SWIG_null_ref("wxTreeItemId");
29077 }
29078 if (SWIG_arg_fail(2)) SWIG_fail;
29079 }
29080 {
29081 arg3 = &temp3;
29082 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29083 }
29084 {
29085 PyThreadState* __tstate = wxPyBeginAllowThreads();
29086 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29087
29088 wxPyEndAllowThreads(__tstate);
29089 if (PyErr_Occurred()) SWIG_fail;
29090 }
29091 Py_INCREF(Py_None); resultobj = Py_None;
29092 return resultobj;
29093 fail:
29094 return NULL;
29095 }
29096
29097
29098 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29099 PyObject *resultobj;
29100 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29101 wxTreeItemId *arg2 = 0 ;
29102 wxFont *arg3 = 0 ;
29103 PyObject * obj0 = 0 ;
29104 PyObject * obj1 = 0 ;
29105 PyObject * obj2 = 0 ;
29106 char *kwnames[] = {
29107 (char *) "self",(char *) "item",(char *) "font", NULL
29108 };
29109
29110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29112 if (SWIG_arg_fail(1)) SWIG_fail;
29113 {
29114 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29115 if (SWIG_arg_fail(2)) SWIG_fail;
29116 if (arg2 == NULL) {
29117 SWIG_null_ref("wxTreeItemId");
29118 }
29119 if (SWIG_arg_fail(2)) SWIG_fail;
29120 }
29121 {
29122 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29123 if (SWIG_arg_fail(3)) SWIG_fail;
29124 if (arg3 == NULL) {
29125 SWIG_null_ref("wxFont");
29126 }
29127 if (SWIG_arg_fail(3)) SWIG_fail;
29128 }
29129 {
29130 PyThreadState* __tstate = wxPyBeginAllowThreads();
29131 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29132
29133 wxPyEndAllowThreads(__tstate);
29134 if (PyErr_Occurred()) SWIG_fail;
29135 }
29136 Py_INCREF(Py_None); resultobj = Py_None;
29137 return resultobj;
29138 fail:
29139 return NULL;
29140 }
29141
29142
29143 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29144 PyObject *resultobj;
29145 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29146 wxTreeItemId *arg2 = 0 ;
29147 bool result;
29148 PyObject * obj0 = 0 ;
29149 PyObject * obj1 = 0 ;
29150 char *kwnames[] = {
29151 (char *) "self",(char *) "item", NULL
29152 };
29153
29154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
29155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29156 if (SWIG_arg_fail(1)) SWIG_fail;
29157 {
29158 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29159 if (SWIG_arg_fail(2)) SWIG_fail;
29160 if (arg2 == NULL) {
29161 SWIG_null_ref("wxTreeItemId");
29162 }
29163 if (SWIG_arg_fail(2)) SWIG_fail;
29164 }
29165 {
29166 PyThreadState* __tstate = wxPyBeginAllowThreads();
29167 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29168
29169 wxPyEndAllowThreads(__tstate);
29170 if (PyErr_Occurred()) SWIG_fail;
29171 }
29172 {
29173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29174 }
29175 return resultobj;
29176 fail:
29177 return NULL;
29178 }
29179
29180
29181 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29182 PyObject *resultobj;
29183 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29184 wxTreeItemId *arg2 = 0 ;
29185 bool result;
29186 PyObject * obj0 = 0 ;
29187 PyObject * obj1 = 0 ;
29188 char *kwnames[] = {
29189 (char *) "self",(char *) "item", NULL
29190 };
29191
29192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
29193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29194 if (SWIG_arg_fail(1)) SWIG_fail;
29195 {
29196 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29197 if (SWIG_arg_fail(2)) SWIG_fail;
29198 if (arg2 == NULL) {
29199 SWIG_null_ref("wxTreeItemId");
29200 }
29201 if (SWIG_arg_fail(2)) SWIG_fail;
29202 }
29203 {
29204 PyThreadState* __tstate = wxPyBeginAllowThreads();
29205 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29206
29207 wxPyEndAllowThreads(__tstate);
29208 if (PyErr_Occurred()) SWIG_fail;
29209 }
29210 {
29211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29212 }
29213 return resultobj;
29214 fail:
29215 return NULL;
29216 }
29217
29218
29219 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
29220 PyObject *resultobj;
29221 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29222 wxTreeItemId *arg2 = 0 ;
29223 bool result;
29224 PyObject * obj0 = 0 ;
29225 PyObject * obj1 = 0 ;
29226 char *kwnames[] = {
29227 (char *) "self",(char *) "item", NULL
29228 };
29229
29230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
29231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29232 if (SWIG_arg_fail(1)) SWIG_fail;
29233 {
29234 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29235 if (SWIG_arg_fail(2)) SWIG_fail;
29236 if (arg2 == NULL) {
29237 SWIG_null_ref("wxTreeItemId");
29238 }
29239 if (SWIG_arg_fail(2)) SWIG_fail;
29240 }
29241 {
29242 PyThreadState* __tstate = wxPyBeginAllowThreads();
29243 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29244
29245 wxPyEndAllowThreads(__tstate);
29246 if (PyErr_Occurred()) SWIG_fail;
29247 }
29248 {
29249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29250 }
29251 return resultobj;
29252 fail:
29253 return NULL;
29254 }
29255
29256
29257 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
29258 PyObject *resultobj;
29259 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29260 wxTreeItemId *arg2 = 0 ;
29261 bool result;
29262 PyObject * obj0 = 0 ;
29263 PyObject * obj1 = 0 ;
29264 char *kwnames[] = {
29265 (char *) "self",(char *) "item", NULL
29266 };
29267
29268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
29269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29270 if (SWIG_arg_fail(1)) SWIG_fail;
29271 {
29272 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29273 if (SWIG_arg_fail(2)) SWIG_fail;
29274 if (arg2 == NULL) {
29275 SWIG_null_ref("wxTreeItemId");
29276 }
29277 if (SWIG_arg_fail(2)) SWIG_fail;
29278 }
29279 {
29280 PyThreadState* __tstate = wxPyBeginAllowThreads();
29281 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29282
29283 wxPyEndAllowThreads(__tstate);
29284 if (PyErr_Occurred()) SWIG_fail;
29285 }
29286 {
29287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29288 }
29289 return resultobj;
29290 fail:
29291 return NULL;
29292 }
29293
29294
29295 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29296 PyObject *resultobj;
29297 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29298 wxTreeItemId *arg2 = 0 ;
29299 bool result;
29300 PyObject * obj0 = 0 ;
29301 PyObject * obj1 = 0 ;
29302 char *kwnames[] = {
29303 (char *) "self",(char *) "item", NULL
29304 };
29305
29306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29308 if (SWIG_arg_fail(1)) SWIG_fail;
29309 {
29310 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29311 if (SWIG_arg_fail(2)) SWIG_fail;
29312 if (arg2 == NULL) {
29313 SWIG_null_ref("wxTreeItemId");
29314 }
29315 if (SWIG_arg_fail(2)) SWIG_fail;
29316 }
29317 {
29318 PyThreadState* __tstate = wxPyBeginAllowThreads();
29319 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29320
29321 wxPyEndAllowThreads(__tstate);
29322 if (PyErr_Occurred()) SWIG_fail;
29323 }
29324 {
29325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29326 }
29327 return resultobj;
29328 fail:
29329 return NULL;
29330 }
29331
29332
29333 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29334 PyObject *resultobj;
29335 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29336 wxTreeItemId *arg2 = 0 ;
29337 bool arg3 = (bool) true ;
29338 size_t result;
29339 PyObject * obj0 = 0 ;
29340 PyObject * obj1 = 0 ;
29341 PyObject * obj2 = 0 ;
29342 char *kwnames[] = {
29343 (char *) "self",(char *) "item",(char *) "recursively", NULL
29344 };
29345
29346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29348 if (SWIG_arg_fail(1)) SWIG_fail;
29349 {
29350 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29351 if (SWIG_arg_fail(2)) SWIG_fail;
29352 if (arg2 == NULL) {
29353 SWIG_null_ref("wxTreeItemId");
29354 }
29355 if (SWIG_arg_fail(2)) SWIG_fail;
29356 }
29357 if (obj2) {
29358 {
29359 arg3 = (bool)(SWIG_As_bool(obj2));
29360 if (SWIG_arg_fail(3)) SWIG_fail;
29361 }
29362 }
29363 {
29364 PyThreadState* __tstate = wxPyBeginAllowThreads();
29365 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29366
29367 wxPyEndAllowThreads(__tstate);
29368 if (PyErr_Occurred()) SWIG_fail;
29369 }
29370 {
29371 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29372 }
29373 return resultobj;
29374 fail:
29375 return NULL;
29376 }
29377
29378
29379 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29380 PyObject *resultobj;
29381 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29382 wxTreeItemId result;
29383 PyObject * obj0 = 0 ;
29384 char *kwnames[] = {
29385 (char *) "self", NULL
29386 };
29387
29388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29390 if (SWIG_arg_fail(1)) SWIG_fail;
29391 {
29392 PyThreadState* __tstate = wxPyBeginAllowThreads();
29393 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29394
29395 wxPyEndAllowThreads(__tstate);
29396 if (PyErr_Occurred()) SWIG_fail;
29397 }
29398 {
29399 wxTreeItemId * resultptr;
29400 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29401 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29402 }
29403 return resultobj;
29404 fail:
29405 return NULL;
29406 }
29407
29408
29409 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29410 PyObject *resultobj;
29411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29412 wxTreeItemId result;
29413 PyObject * obj0 = 0 ;
29414 char *kwnames[] = {
29415 (char *) "self", NULL
29416 };
29417
29418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29420 if (SWIG_arg_fail(1)) SWIG_fail;
29421 {
29422 PyThreadState* __tstate = wxPyBeginAllowThreads();
29423 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29424
29425 wxPyEndAllowThreads(__tstate);
29426 if (PyErr_Occurred()) SWIG_fail;
29427 }
29428 {
29429 wxTreeItemId * resultptr;
29430 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29432 }
29433 return resultobj;
29434 fail:
29435 return NULL;
29436 }
29437
29438
29439 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29440 PyObject *resultobj;
29441 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29442 PyObject *result;
29443 PyObject * obj0 = 0 ;
29444 char *kwnames[] = {
29445 (char *) "self", NULL
29446 };
29447
29448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29450 if (SWIG_arg_fail(1)) SWIG_fail;
29451 {
29452 PyThreadState* __tstate = wxPyBeginAllowThreads();
29453 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29454
29455 wxPyEndAllowThreads(__tstate);
29456 if (PyErr_Occurred()) SWIG_fail;
29457 }
29458 resultobj = result;
29459 return resultobj;
29460 fail:
29461 return NULL;
29462 }
29463
29464
29465 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29466 PyObject *resultobj;
29467 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29468 wxTreeItemId *arg2 = 0 ;
29469 wxTreeItemId result;
29470 PyObject * obj0 = 0 ;
29471 PyObject * obj1 = 0 ;
29472 char *kwnames[] = {
29473 (char *) "self",(char *) "item", NULL
29474 };
29475
29476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29478 if (SWIG_arg_fail(1)) SWIG_fail;
29479 {
29480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29481 if (SWIG_arg_fail(2)) SWIG_fail;
29482 if (arg2 == NULL) {
29483 SWIG_null_ref("wxTreeItemId");
29484 }
29485 if (SWIG_arg_fail(2)) SWIG_fail;
29486 }
29487 {
29488 PyThreadState* __tstate = wxPyBeginAllowThreads();
29489 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29490
29491 wxPyEndAllowThreads(__tstate);
29492 if (PyErr_Occurred()) SWIG_fail;
29493 }
29494 {
29495 wxTreeItemId * resultptr;
29496 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29498 }
29499 return resultobj;
29500 fail:
29501 return NULL;
29502 }
29503
29504
29505 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29506 PyObject *resultobj;
29507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29508 wxTreeItemId *arg2 = 0 ;
29509 PyObject *result;
29510 PyObject * obj0 = 0 ;
29511 PyObject * obj1 = 0 ;
29512 char *kwnames[] = {
29513 (char *) "self",(char *) "item", NULL
29514 };
29515
29516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
29517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29518 if (SWIG_arg_fail(1)) SWIG_fail;
29519 {
29520 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29521 if (SWIG_arg_fail(2)) SWIG_fail;
29522 if (arg2 == NULL) {
29523 SWIG_null_ref("wxTreeItemId");
29524 }
29525 if (SWIG_arg_fail(2)) SWIG_fail;
29526 }
29527 {
29528 PyThreadState* __tstate = wxPyBeginAllowThreads();
29529 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29530
29531 wxPyEndAllowThreads(__tstate);
29532 if (PyErr_Occurred()) SWIG_fail;
29533 }
29534 resultobj = result;
29535 return resultobj;
29536 fail:
29537 return NULL;
29538 }
29539
29540
29541 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29542 PyObject *resultobj;
29543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29544 wxTreeItemId *arg2 = 0 ;
29545 void *arg3 = (void *) 0 ;
29546 PyObject *result;
29547 PyObject * obj0 = 0 ;
29548 PyObject * obj1 = 0 ;
29549 PyObject * obj2 = 0 ;
29550 char *kwnames[] = {
29551 (char *) "self",(char *) "item",(char *) "cookie", NULL
29552 };
29553
29554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29556 if (SWIG_arg_fail(1)) SWIG_fail;
29557 {
29558 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29559 if (SWIG_arg_fail(2)) SWIG_fail;
29560 if (arg2 == NULL) {
29561 SWIG_null_ref("wxTreeItemId");
29562 }
29563 if (SWIG_arg_fail(2)) SWIG_fail;
29564 }
29565 {
29566 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29567 SWIG_arg_fail(3);SWIG_fail;
29568 }
29569 }
29570 {
29571 PyThreadState* __tstate = wxPyBeginAllowThreads();
29572 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29573
29574 wxPyEndAllowThreads(__tstate);
29575 if (PyErr_Occurred()) SWIG_fail;
29576 }
29577 resultobj = result;
29578 return resultobj;
29579 fail:
29580 return NULL;
29581 }
29582
29583
29584 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29585 PyObject *resultobj;
29586 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29587 wxTreeItemId *arg2 = 0 ;
29588 wxTreeItemId result;
29589 PyObject * obj0 = 0 ;
29590 PyObject * obj1 = 0 ;
29591 char *kwnames[] = {
29592 (char *) "self",(char *) "item", NULL
29593 };
29594
29595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29597 if (SWIG_arg_fail(1)) SWIG_fail;
29598 {
29599 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29600 if (SWIG_arg_fail(2)) SWIG_fail;
29601 if (arg2 == NULL) {
29602 SWIG_null_ref("wxTreeItemId");
29603 }
29604 if (SWIG_arg_fail(2)) SWIG_fail;
29605 }
29606 {
29607 PyThreadState* __tstate = wxPyBeginAllowThreads();
29608 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29609
29610 wxPyEndAllowThreads(__tstate);
29611 if (PyErr_Occurred()) SWIG_fail;
29612 }
29613 {
29614 wxTreeItemId * resultptr;
29615 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29617 }
29618 return resultobj;
29619 fail:
29620 return NULL;
29621 }
29622
29623
29624 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29625 PyObject *resultobj;
29626 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29627 wxTreeItemId *arg2 = 0 ;
29628 wxTreeItemId result;
29629 PyObject * obj0 = 0 ;
29630 PyObject * obj1 = 0 ;
29631 char *kwnames[] = {
29632 (char *) "self",(char *) "item", NULL
29633 };
29634
29635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29637 if (SWIG_arg_fail(1)) SWIG_fail;
29638 {
29639 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29640 if (SWIG_arg_fail(2)) SWIG_fail;
29641 if (arg2 == NULL) {
29642 SWIG_null_ref("wxTreeItemId");
29643 }
29644 if (SWIG_arg_fail(2)) SWIG_fail;
29645 }
29646 {
29647 PyThreadState* __tstate = wxPyBeginAllowThreads();
29648 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29649
29650 wxPyEndAllowThreads(__tstate);
29651 if (PyErr_Occurred()) SWIG_fail;
29652 }
29653 {
29654 wxTreeItemId * resultptr;
29655 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29657 }
29658 return resultobj;
29659 fail:
29660 return NULL;
29661 }
29662
29663
29664 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29665 PyObject *resultobj;
29666 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29667 wxTreeItemId *arg2 = 0 ;
29668 wxTreeItemId result;
29669 PyObject * obj0 = 0 ;
29670 PyObject * obj1 = 0 ;
29671 char *kwnames[] = {
29672 (char *) "self",(char *) "item", NULL
29673 };
29674
29675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
29676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29677 if (SWIG_arg_fail(1)) SWIG_fail;
29678 {
29679 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29680 if (SWIG_arg_fail(2)) SWIG_fail;
29681 if (arg2 == NULL) {
29682 SWIG_null_ref("wxTreeItemId");
29683 }
29684 if (SWIG_arg_fail(2)) SWIG_fail;
29685 }
29686 {
29687 PyThreadState* __tstate = wxPyBeginAllowThreads();
29688 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29689
29690 wxPyEndAllowThreads(__tstate);
29691 if (PyErr_Occurred()) SWIG_fail;
29692 }
29693 {
29694 wxTreeItemId * resultptr;
29695 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29697 }
29698 return resultobj;
29699 fail:
29700 return NULL;
29701 }
29702
29703
29704 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29705 PyObject *resultobj;
29706 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29707 wxTreeItemId result;
29708 PyObject * obj0 = 0 ;
29709 char *kwnames[] = {
29710 (char *) "self", NULL
29711 };
29712
29713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29715 if (SWIG_arg_fail(1)) SWIG_fail;
29716 {
29717 PyThreadState* __tstate = wxPyBeginAllowThreads();
29718 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29719
29720 wxPyEndAllowThreads(__tstate);
29721 if (PyErr_Occurred()) SWIG_fail;
29722 }
29723 {
29724 wxTreeItemId * resultptr;
29725 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29726 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29727 }
29728 return resultobj;
29729 fail:
29730 return NULL;
29731 }
29732
29733
29734 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29735 PyObject *resultobj;
29736 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29737 wxTreeItemId *arg2 = 0 ;
29738 wxTreeItemId result;
29739 PyObject * obj0 = 0 ;
29740 PyObject * obj1 = 0 ;
29741 char *kwnames[] = {
29742 (char *) "self",(char *) "item", NULL
29743 };
29744
29745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29747 if (SWIG_arg_fail(1)) SWIG_fail;
29748 {
29749 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29750 if (SWIG_arg_fail(2)) SWIG_fail;
29751 if (arg2 == NULL) {
29752 SWIG_null_ref("wxTreeItemId");
29753 }
29754 if (SWIG_arg_fail(2)) SWIG_fail;
29755 }
29756 {
29757 PyThreadState* __tstate = wxPyBeginAllowThreads();
29758 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29759
29760 wxPyEndAllowThreads(__tstate);
29761 if (PyErr_Occurred()) SWIG_fail;
29762 }
29763 {
29764 wxTreeItemId * resultptr;
29765 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29767 }
29768 return resultobj;
29769 fail:
29770 return NULL;
29771 }
29772
29773
29774 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29775 PyObject *resultobj;
29776 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29777 wxTreeItemId *arg2 = 0 ;
29778 wxTreeItemId result;
29779 PyObject * obj0 = 0 ;
29780 PyObject * obj1 = 0 ;
29781 char *kwnames[] = {
29782 (char *) "self",(char *) "item", NULL
29783 };
29784
29785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
29786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29787 if (SWIG_arg_fail(1)) SWIG_fail;
29788 {
29789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29790 if (SWIG_arg_fail(2)) SWIG_fail;
29791 if (arg2 == NULL) {
29792 SWIG_null_ref("wxTreeItemId");
29793 }
29794 if (SWIG_arg_fail(2)) SWIG_fail;
29795 }
29796 {
29797 PyThreadState* __tstate = wxPyBeginAllowThreads();
29798 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29799
29800 wxPyEndAllowThreads(__tstate);
29801 if (PyErr_Occurred()) SWIG_fail;
29802 }
29803 {
29804 wxTreeItemId * resultptr;
29805 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29807 }
29808 return resultobj;
29809 fail:
29810 return NULL;
29811 }
29812
29813
29814 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
29815 PyObject *resultobj;
29816 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29817 wxString *arg2 = 0 ;
29818 int arg3 = (int) -1 ;
29819 int arg4 = (int) -1 ;
29820 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29821 wxTreeItemId result;
29822 bool temp2 = false ;
29823 PyObject * obj0 = 0 ;
29824 PyObject * obj1 = 0 ;
29825 PyObject * obj2 = 0 ;
29826 PyObject * obj3 = 0 ;
29827 PyObject * obj4 = 0 ;
29828 char *kwnames[] = {
29829 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29830 };
29831
29832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29834 if (SWIG_arg_fail(1)) SWIG_fail;
29835 {
29836 arg2 = wxString_in_helper(obj1);
29837 if (arg2 == NULL) SWIG_fail;
29838 temp2 = true;
29839 }
29840 if (obj2) {
29841 {
29842 arg3 = (int)(SWIG_As_int(obj2));
29843 if (SWIG_arg_fail(3)) SWIG_fail;
29844 }
29845 }
29846 if (obj3) {
29847 {
29848 arg4 = (int)(SWIG_As_int(obj3));
29849 if (SWIG_arg_fail(4)) SWIG_fail;
29850 }
29851 }
29852 if (obj4) {
29853 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29854 if (SWIG_arg_fail(5)) SWIG_fail;
29855 }
29856 {
29857 PyThreadState* __tstate = wxPyBeginAllowThreads();
29858 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29859
29860 wxPyEndAllowThreads(__tstate);
29861 if (PyErr_Occurred()) SWIG_fail;
29862 }
29863 {
29864 wxTreeItemId * resultptr;
29865 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29867 }
29868 {
29869 if (temp2)
29870 delete arg2;
29871 }
29872 return resultobj;
29873 fail:
29874 {
29875 if (temp2)
29876 delete arg2;
29877 }
29878 return NULL;
29879 }
29880
29881
29882 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
29883 PyObject *resultobj;
29884 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29885 wxTreeItemId *arg2 = 0 ;
29886 wxString *arg3 = 0 ;
29887 int arg4 = (int) -1 ;
29888 int arg5 = (int) -1 ;
29889 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29890 wxTreeItemId result;
29891 bool temp3 = false ;
29892 PyObject * obj0 = 0 ;
29893 PyObject * obj1 = 0 ;
29894 PyObject * obj2 = 0 ;
29895 PyObject * obj3 = 0 ;
29896 PyObject * obj4 = 0 ;
29897 PyObject * obj5 = 0 ;
29898 char *kwnames[] = {
29899 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29900 };
29901
29902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29904 if (SWIG_arg_fail(1)) SWIG_fail;
29905 {
29906 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29907 if (SWIG_arg_fail(2)) SWIG_fail;
29908 if (arg2 == NULL) {
29909 SWIG_null_ref("wxTreeItemId");
29910 }
29911 if (SWIG_arg_fail(2)) SWIG_fail;
29912 }
29913 {
29914 arg3 = wxString_in_helper(obj2);
29915 if (arg3 == NULL) SWIG_fail;
29916 temp3 = true;
29917 }
29918 if (obj3) {
29919 {
29920 arg4 = (int)(SWIG_As_int(obj3));
29921 if (SWIG_arg_fail(4)) SWIG_fail;
29922 }
29923 }
29924 if (obj4) {
29925 {
29926 arg5 = (int)(SWIG_As_int(obj4));
29927 if (SWIG_arg_fail(5)) SWIG_fail;
29928 }
29929 }
29930 if (obj5) {
29931 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29932 if (SWIG_arg_fail(6)) SWIG_fail;
29933 }
29934 {
29935 PyThreadState* __tstate = wxPyBeginAllowThreads();
29936 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
29937
29938 wxPyEndAllowThreads(__tstate);
29939 if (PyErr_Occurred()) SWIG_fail;
29940 }
29941 {
29942 wxTreeItemId * resultptr;
29943 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29944 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29945 }
29946 {
29947 if (temp3)
29948 delete arg3;
29949 }
29950 return resultobj;
29951 fail:
29952 {
29953 if (temp3)
29954 delete arg3;
29955 }
29956 return NULL;
29957 }
29958
29959
29960 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
29961 PyObject *resultobj;
29962 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29963 wxTreeItemId *arg2 = 0 ;
29964 wxTreeItemId *arg3 = 0 ;
29965 wxString *arg4 = 0 ;
29966 int arg5 = (int) -1 ;
29967 int arg6 = (int) -1 ;
29968 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
29969 wxTreeItemId result;
29970 bool temp4 = false ;
29971 PyObject * obj0 = 0 ;
29972 PyObject * obj1 = 0 ;
29973 PyObject * obj2 = 0 ;
29974 PyObject * obj3 = 0 ;
29975 PyObject * obj4 = 0 ;
29976 PyObject * obj5 = 0 ;
29977 PyObject * obj6 = 0 ;
29978 char *kwnames[] = {
29979 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29980 };
29981
29982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29984 if (SWIG_arg_fail(1)) SWIG_fail;
29985 {
29986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29987 if (SWIG_arg_fail(2)) SWIG_fail;
29988 if (arg2 == NULL) {
29989 SWIG_null_ref("wxTreeItemId");
29990 }
29991 if (SWIG_arg_fail(2)) SWIG_fail;
29992 }
29993 {
29994 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29995 if (SWIG_arg_fail(3)) SWIG_fail;
29996 if (arg3 == NULL) {
29997 SWIG_null_ref("wxTreeItemId");
29998 }
29999 if (SWIG_arg_fail(3)) SWIG_fail;
30000 }
30001 {
30002 arg4 = wxString_in_helper(obj3);
30003 if (arg4 == NULL) SWIG_fail;
30004 temp4 = true;
30005 }
30006 if (obj4) {
30007 {
30008 arg5 = (int)(SWIG_As_int(obj4));
30009 if (SWIG_arg_fail(5)) SWIG_fail;
30010 }
30011 }
30012 if (obj5) {
30013 {
30014 arg6 = (int)(SWIG_As_int(obj5));
30015 if (SWIG_arg_fail(6)) SWIG_fail;
30016 }
30017 }
30018 if (obj6) {
30019 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30020 if (SWIG_arg_fail(7)) SWIG_fail;
30021 }
30022 {
30023 PyThreadState* __tstate = wxPyBeginAllowThreads();
30024 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30025
30026 wxPyEndAllowThreads(__tstate);
30027 if (PyErr_Occurred()) SWIG_fail;
30028 }
30029 {
30030 wxTreeItemId * resultptr;
30031 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30033 }
30034 {
30035 if (temp4)
30036 delete arg4;
30037 }
30038 return resultobj;
30039 fail:
30040 {
30041 if (temp4)
30042 delete arg4;
30043 }
30044 return NULL;
30045 }
30046
30047
30048 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
30049 PyObject *resultobj;
30050 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30051 wxTreeItemId *arg2 = 0 ;
30052 size_t arg3 ;
30053 wxString *arg4 = 0 ;
30054 int arg5 = (int) -1 ;
30055 int arg6 = (int) -1 ;
30056 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30057 wxTreeItemId result;
30058 bool temp4 = false ;
30059 PyObject * obj0 = 0 ;
30060 PyObject * obj1 = 0 ;
30061 PyObject * obj2 = 0 ;
30062 PyObject * obj3 = 0 ;
30063 PyObject * obj4 = 0 ;
30064 PyObject * obj5 = 0 ;
30065 PyObject * obj6 = 0 ;
30066 char *kwnames[] = {
30067 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30068 };
30069
30070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30072 if (SWIG_arg_fail(1)) SWIG_fail;
30073 {
30074 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30075 if (SWIG_arg_fail(2)) SWIG_fail;
30076 if (arg2 == NULL) {
30077 SWIG_null_ref("wxTreeItemId");
30078 }
30079 if (SWIG_arg_fail(2)) SWIG_fail;
30080 }
30081 {
30082 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30083 if (SWIG_arg_fail(3)) SWIG_fail;
30084 }
30085 {
30086 arg4 = wxString_in_helper(obj3);
30087 if (arg4 == NULL) SWIG_fail;
30088 temp4 = true;
30089 }
30090 if (obj4) {
30091 {
30092 arg5 = (int)(SWIG_As_int(obj4));
30093 if (SWIG_arg_fail(5)) SWIG_fail;
30094 }
30095 }
30096 if (obj5) {
30097 {
30098 arg6 = (int)(SWIG_As_int(obj5));
30099 if (SWIG_arg_fail(6)) SWIG_fail;
30100 }
30101 }
30102 if (obj6) {
30103 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30104 if (SWIG_arg_fail(7)) SWIG_fail;
30105 }
30106 {
30107 PyThreadState* __tstate = wxPyBeginAllowThreads();
30108 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30109
30110 wxPyEndAllowThreads(__tstate);
30111 if (PyErr_Occurred()) SWIG_fail;
30112 }
30113 {
30114 wxTreeItemId * resultptr;
30115 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30116 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30117 }
30118 {
30119 if (temp4)
30120 delete arg4;
30121 }
30122 return resultobj;
30123 fail:
30124 {
30125 if (temp4)
30126 delete arg4;
30127 }
30128 return NULL;
30129 }
30130
30131
30132 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30133 PyObject *resultobj;
30134 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30135 wxTreeItemId *arg2 = 0 ;
30136 wxString *arg3 = 0 ;
30137 int arg4 = (int) -1 ;
30138 int arg5 = (int) -1 ;
30139 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30140 wxTreeItemId result;
30141 bool temp3 = false ;
30142 PyObject * obj0 = 0 ;
30143 PyObject * obj1 = 0 ;
30144 PyObject * obj2 = 0 ;
30145 PyObject * obj3 = 0 ;
30146 PyObject * obj4 = 0 ;
30147 PyObject * obj5 = 0 ;
30148 char *kwnames[] = {
30149 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30150 };
30151
30152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30154 if (SWIG_arg_fail(1)) SWIG_fail;
30155 {
30156 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30157 if (SWIG_arg_fail(2)) SWIG_fail;
30158 if (arg2 == NULL) {
30159 SWIG_null_ref("wxTreeItemId");
30160 }
30161 if (SWIG_arg_fail(2)) SWIG_fail;
30162 }
30163 {
30164 arg3 = wxString_in_helper(obj2);
30165 if (arg3 == NULL) SWIG_fail;
30166 temp3 = true;
30167 }
30168 if (obj3) {
30169 {
30170 arg4 = (int)(SWIG_As_int(obj3));
30171 if (SWIG_arg_fail(4)) SWIG_fail;
30172 }
30173 }
30174 if (obj4) {
30175 {
30176 arg5 = (int)(SWIG_As_int(obj4));
30177 if (SWIG_arg_fail(5)) SWIG_fail;
30178 }
30179 }
30180 if (obj5) {
30181 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30182 if (SWIG_arg_fail(6)) SWIG_fail;
30183 }
30184 {
30185 PyThreadState* __tstate = wxPyBeginAllowThreads();
30186 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30187
30188 wxPyEndAllowThreads(__tstate);
30189 if (PyErr_Occurred()) SWIG_fail;
30190 }
30191 {
30192 wxTreeItemId * resultptr;
30193 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30195 }
30196 {
30197 if (temp3)
30198 delete arg3;
30199 }
30200 return resultobj;
30201 fail:
30202 {
30203 if (temp3)
30204 delete arg3;
30205 }
30206 return NULL;
30207 }
30208
30209
30210 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30211 PyObject *resultobj;
30212 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30213 wxTreeItemId *arg2 = 0 ;
30214 PyObject * obj0 = 0 ;
30215 PyObject * obj1 = 0 ;
30216 char *kwnames[] = {
30217 (char *) "self",(char *) "item", NULL
30218 };
30219
30220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30222 if (SWIG_arg_fail(1)) SWIG_fail;
30223 {
30224 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30225 if (SWIG_arg_fail(2)) SWIG_fail;
30226 if (arg2 == NULL) {
30227 SWIG_null_ref("wxTreeItemId");
30228 }
30229 if (SWIG_arg_fail(2)) SWIG_fail;
30230 }
30231 {
30232 PyThreadState* __tstate = wxPyBeginAllowThreads();
30233 (arg1)->Delete((wxTreeItemId const &)*arg2);
30234
30235 wxPyEndAllowThreads(__tstate);
30236 if (PyErr_Occurred()) SWIG_fail;
30237 }
30238 Py_INCREF(Py_None); resultobj = Py_None;
30239 return resultobj;
30240 fail:
30241 return NULL;
30242 }
30243
30244
30245 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30246 PyObject *resultobj;
30247 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30248 wxTreeItemId *arg2 = 0 ;
30249 PyObject * obj0 = 0 ;
30250 PyObject * obj1 = 0 ;
30251 char *kwnames[] = {
30252 (char *) "self",(char *) "item", NULL
30253 };
30254
30255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30257 if (SWIG_arg_fail(1)) SWIG_fail;
30258 {
30259 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30260 if (SWIG_arg_fail(2)) SWIG_fail;
30261 if (arg2 == NULL) {
30262 SWIG_null_ref("wxTreeItemId");
30263 }
30264 if (SWIG_arg_fail(2)) SWIG_fail;
30265 }
30266 {
30267 PyThreadState* __tstate = wxPyBeginAllowThreads();
30268 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30269
30270 wxPyEndAllowThreads(__tstate);
30271 if (PyErr_Occurred()) SWIG_fail;
30272 }
30273 Py_INCREF(Py_None); resultobj = Py_None;
30274 return resultobj;
30275 fail:
30276 return NULL;
30277 }
30278
30279
30280 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30281 PyObject *resultobj;
30282 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30283 PyObject * obj0 = 0 ;
30284 char *kwnames[] = {
30285 (char *) "self", NULL
30286 };
30287
30288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30290 if (SWIG_arg_fail(1)) SWIG_fail;
30291 {
30292 PyThreadState* __tstate = wxPyBeginAllowThreads();
30293 (arg1)->DeleteAllItems();
30294
30295 wxPyEndAllowThreads(__tstate);
30296 if (PyErr_Occurred()) SWIG_fail;
30297 }
30298 Py_INCREF(Py_None); resultobj = Py_None;
30299 return resultobj;
30300 fail:
30301 return NULL;
30302 }
30303
30304
30305 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30306 PyObject *resultobj;
30307 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30308 wxTreeItemId *arg2 = 0 ;
30309 PyObject * obj0 = 0 ;
30310 PyObject * obj1 = 0 ;
30311 char *kwnames[] = {
30312 (char *) "self",(char *) "item", NULL
30313 };
30314
30315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30317 if (SWIG_arg_fail(1)) SWIG_fail;
30318 {
30319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30320 if (SWIG_arg_fail(2)) SWIG_fail;
30321 if (arg2 == NULL) {
30322 SWIG_null_ref("wxTreeItemId");
30323 }
30324 if (SWIG_arg_fail(2)) SWIG_fail;
30325 }
30326 {
30327 PyThreadState* __tstate = wxPyBeginAllowThreads();
30328 (arg1)->Expand((wxTreeItemId const &)*arg2);
30329
30330 wxPyEndAllowThreads(__tstate);
30331 if (PyErr_Occurred()) SWIG_fail;
30332 }
30333 Py_INCREF(Py_None); resultobj = Py_None;
30334 return resultobj;
30335 fail:
30336 return NULL;
30337 }
30338
30339
30340 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30341 PyObject *resultobj;
30342 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30343 wxTreeItemId *arg2 = 0 ;
30344 PyObject * obj0 = 0 ;
30345 PyObject * obj1 = 0 ;
30346 char *kwnames[] = {
30347 (char *) "self",(char *) "item", NULL
30348 };
30349
30350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30352 if (SWIG_arg_fail(1)) SWIG_fail;
30353 {
30354 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30355 if (SWIG_arg_fail(2)) SWIG_fail;
30356 if (arg2 == NULL) {
30357 SWIG_null_ref("wxTreeItemId");
30358 }
30359 if (SWIG_arg_fail(2)) SWIG_fail;
30360 }
30361 {
30362 PyThreadState* __tstate = wxPyBeginAllowThreads();
30363 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30364
30365 wxPyEndAllowThreads(__tstate);
30366 if (PyErr_Occurred()) SWIG_fail;
30367 }
30368 Py_INCREF(Py_None); resultobj = Py_None;
30369 return resultobj;
30370 fail:
30371 return NULL;
30372 }
30373
30374
30375 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30376 PyObject *resultobj;
30377 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30378 wxTreeItemId *arg2 = 0 ;
30379 PyObject * obj0 = 0 ;
30380 PyObject * obj1 = 0 ;
30381 char *kwnames[] = {
30382 (char *) "self",(char *) "item", NULL
30383 };
30384
30385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30387 if (SWIG_arg_fail(1)) SWIG_fail;
30388 {
30389 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30390 if (SWIG_arg_fail(2)) SWIG_fail;
30391 if (arg2 == NULL) {
30392 SWIG_null_ref("wxTreeItemId");
30393 }
30394 if (SWIG_arg_fail(2)) SWIG_fail;
30395 }
30396 {
30397 PyThreadState* __tstate = wxPyBeginAllowThreads();
30398 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30399
30400 wxPyEndAllowThreads(__tstate);
30401 if (PyErr_Occurred()) SWIG_fail;
30402 }
30403 Py_INCREF(Py_None); resultobj = Py_None;
30404 return resultobj;
30405 fail:
30406 return NULL;
30407 }
30408
30409
30410 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30411 PyObject *resultobj;
30412 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30413 wxTreeItemId *arg2 = 0 ;
30414 PyObject * obj0 = 0 ;
30415 PyObject * obj1 = 0 ;
30416 char *kwnames[] = {
30417 (char *) "self",(char *) "item", NULL
30418 };
30419
30420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30422 if (SWIG_arg_fail(1)) SWIG_fail;
30423 {
30424 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30425 if (SWIG_arg_fail(2)) SWIG_fail;
30426 if (arg2 == NULL) {
30427 SWIG_null_ref("wxTreeItemId");
30428 }
30429 if (SWIG_arg_fail(2)) SWIG_fail;
30430 }
30431 {
30432 PyThreadState* __tstate = wxPyBeginAllowThreads();
30433 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30434
30435 wxPyEndAllowThreads(__tstate);
30436 if (PyErr_Occurred()) SWIG_fail;
30437 }
30438 Py_INCREF(Py_None); resultobj = Py_None;
30439 return resultobj;
30440 fail:
30441 return NULL;
30442 }
30443
30444
30445 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30446 PyObject *resultobj;
30447 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30448 PyObject * obj0 = 0 ;
30449 char *kwnames[] = {
30450 (char *) "self", NULL
30451 };
30452
30453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30455 if (SWIG_arg_fail(1)) SWIG_fail;
30456 {
30457 PyThreadState* __tstate = wxPyBeginAllowThreads();
30458 (arg1)->Unselect();
30459
30460 wxPyEndAllowThreads(__tstate);
30461 if (PyErr_Occurred()) SWIG_fail;
30462 }
30463 Py_INCREF(Py_None); resultobj = Py_None;
30464 return resultobj;
30465 fail:
30466 return NULL;
30467 }
30468
30469
30470 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30471 PyObject *resultobj;
30472 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30473 wxTreeItemId *arg2 = 0 ;
30474 PyObject * obj0 = 0 ;
30475 PyObject * obj1 = 0 ;
30476 char *kwnames[] = {
30477 (char *) "self",(char *) "item", NULL
30478 };
30479
30480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30482 if (SWIG_arg_fail(1)) SWIG_fail;
30483 {
30484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30485 if (SWIG_arg_fail(2)) SWIG_fail;
30486 if (arg2 == NULL) {
30487 SWIG_null_ref("wxTreeItemId");
30488 }
30489 if (SWIG_arg_fail(2)) SWIG_fail;
30490 }
30491 {
30492 PyThreadState* __tstate = wxPyBeginAllowThreads();
30493 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30494
30495 wxPyEndAllowThreads(__tstate);
30496 if (PyErr_Occurred()) SWIG_fail;
30497 }
30498 Py_INCREF(Py_None); resultobj = Py_None;
30499 return resultobj;
30500 fail:
30501 return NULL;
30502 }
30503
30504
30505 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30506 PyObject *resultobj;
30507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30508 PyObject * obj0 = 0 ;
30509 char *kwnames[] = {
30510 (char *) "self", NULL
30511 };
30512
30513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30515 if (SWIG_arg_fail(1)) SWIG_fail;
30516 {
30517 PyThreadState* __tstate = wxPyBeginAllowThreads();
30518 (arg1)->UnselectAll();
30519
30520 wxPyEndAllowThreads(__tstate);
30521 if (PyErr_Occurred()) SWIG_fail;
30522 }
30523 Py_INCREF(Py_None); resultobj = Py_None;
30524 return resultobj;
30525 fail:
30526 return NULL;
30527 }
30528
30529
30530 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30531 PyObject *resultobj;
30532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30533 wxTreeItemId *arg2 = 0 ;
30534 bool arg3 = (bool) true ;
30535 PyObject * obj0 = 0 ;
30536 PyObject * obj1 = 0 ;
30537 PyObject * obj2 = 0 ;
30538 char *kwnames[] = {
30539 (char *) "self",(char *) "item",(char *) "select", NULL
30540 };
30541
30542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30544 if (SWIG_arg_fail(1)) SWIG_fail;
30545 {
30546 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30547 if (SWIG_arg_fail(2)) SWIG_fail;
30548 if (arg2 == NULL) {
30549 SWIG_null_ref("wxTreeItemId");
30550 }
30551 if (SWIG_arg_fail(2)) SWIG_fail;
30552 }
30553 if (obj2) {
30554 {
30555 arg3 = (bool)(SWIG_As_bool(obj2));
30556 if (SWIG_arg_fail(3)) SWIG_fail;
30557 }
30558 }
30559 {
30560 PyThreadState* __tstate = wxPyBeginAllowThreads();
30561 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30562
30563 wxPyEndAllowThreads(__tstate);
30564 if (PyErr_Occurred()) SWIG_fail;
30565 }
30566 Py_INCREF(Py_None); resultobj = Py_None;
30567 return resultobj;
30568 fail:
30569 return NULL;
30570 }
30571
30572
30573 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30574 PyObject *resultobj;
30575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30576 wxTreeItemId *arg2 = 0 ;
30577 PyObject * obj0 = 0 ;
30578 PyObject * obj1 = 0 ;
30579 char *kwnames[] = {
30580 (char *) "self",(char *) "item", NULL
30581 };
30582
30583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30585 if (SWIG_arg_fail(1)) SWIG_fail;
30586 {
30587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30588 if (SWIG_arg_fail(2)) SWIG_fail;
30589 if (arg2 == NULL) {
30590 SWIG_null_ref("wxTreeItemId");
30591 }
30592 if (SWIG_arg_fail(2)) SWIG_fail;
30593 }
30594 {
30595 PyThreadState* __tstate = wxPyBeginAllowThreads();
30596 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30597
30598 wxPyEndAllowThreads(__tstate);
30599 if (PyErr_Occurred()) SWIG_fail;
30600 }
30601 Py_INCREF(Py_None); resultobj = Py_None;
30602 return resultobj;
30603 fail:
30604 return NULL;
30605 }
30606
30607
30608 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30609 PyObject *resultobj;
30610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30611 wxTreeItemId *arg2 = 0 ;
30612 PyObject * obj0 = 0 ;
30613 PyObject * obj1 = 0 ;
30614 char *kwnames[] = {
30615 (char *) "self",(char *) "item", NULL
30616 };
30617
30618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
30619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30620 if (SWIG_arg_fail(1)) SWIG_fail;
30621 {
30622 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30623 if (SWIG_arg_fail(2)) SWIG_fail;
30624 if (arg2 == NULL) {
30625 SWIG_null_ref("wxTreeItemId");
30626 }
30627 if (SWIG_arg_fail(2)) SWIG_fail;
30628 }
30629 {
30630 PyThreadState* __tstate = wxPyBeginAllowThreads();
30631 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30632
30633 wxPyEndAllowThreads(__tstate);
30634 if (PyErr_Occurred()) SWIG_fail;
30635 }
30636 Py_INCREF(Py_None); resultobj = Py_None;
30637 return resultobj;
30638 fail:
30639 return NULL;
30640 }
30641
30642
30643 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30644 PyObject *resultobj;
30645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30646 wxTreeItemId *arg2 = 0 ;
30647 PyObject * obj0 = 0 ;
30648 PyObject * obj1 = 0 ;
30649 char *kwnames[] = {
30650 (char *) "self",(char *) "item", NULL
30651 };
30652
30653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30655 if (SWIG_arg_fail(1)) SWIG_fail;
30656 {
30657 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30658 if (SWIG_arg_fail(2)) SWIG_fail;
30659 if (arg2 == NULL) {
30660 SWIG_null_ref("wxTreeItemId");
30661 }
30662 if (SWIG_arg_fail(2)) SWIG_fail;
30663 }
30664 {
30665 PyThreadState* __tstate = wxPyBeginAllowThreads();
30666 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30667
30668 wxPyEndAllowThreads(__tstate);
30669 if (PyErr_Occurred()) SWIG_fail;
30670 }
30671 Py_INCREF(Py_None); resultobj = Py_None;
30672 return resultobj;
30673 fail:
30674 return NULL;
30675 }
30676
30677
30678 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30679 PyObject *resultobj;
30680 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30681 wxTreeItemId *arg2 = 0 ;
30682 PyObject * obj0 = 0 ;
30683 PyObject * obj1 = 0 ;
30684 char *kwnames[] = {
30685 (char *) "self",(char *) "item", NULL
30686 };
30687
30688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30690 if (SWIG_arg_fail(1)) SWIG_fail;
30691 {
30692 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30693 if (SWIG_arg_fail(2)) SWIG_fail;
30694 if (arg2 == NULL) {
30695 SWIG_null_ref("wxTreeItemId");
30696 }
30697 if (SWIG_arg_fail(2)) SWIG_fail;
30698 }
30699 {
30700 PyThreadState* __tstate = wxPyBeginAllowThreads();
30701 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30702
30703 wxPyEndAllowThreads(__tstate);
30704 if (PyErr_Occurred()) SWIG_fail;
30705 }
30706 Py_INCREF(Py_None); resultobj = Py_None;
30707 return resultobj;
30708 fail:
30709 return NULL;
30710 }
30711
30712
30713 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30714 PyObject *resultobj;
30715 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30716 wxTextCtrl *result;
30717 PyObject * obj0 = 0 ;
30718 char *kwnames[] = {
30719 (char *) "self", NULL
30720 };
30721
30722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30724 if (SWIG_arg_fail(1)) SWIG_fail;
30725 {
30726 PyThreadState* __tstate = wxPyBeginAllowThreads();
30727 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30728
30729 wxPyEndAllowThreads(__tstate);
30730 if (PyErr_Occurred()) SWIG_fail;
30731 }
30732 {
30733 resultobj = wxPyMake_wxObject(result, 0);
30734 }
30735 return resultobj;
30736 fail:
30737 return NULL;
30738 }
30739
30740
30741 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30742 PyObject *resultobj;
30743 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30744 wxTreeItemId *arg2 = 0 ;
30745 PyObject * obj0 = 0 ;
30746 PyObject * obj1 = 0 ;
30747 char *kwnames[] = {
30748 (char *) "self",(char *) "item", NULL
30749 };
30750
30751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
30752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30753 if (SWIG_arg_fail(1)) SWIG_fail;
30754 {
30755 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30756 if (SWIG_arg_fail(2)) SWIG_fail;
30757 if (arg2 == NULL) {
30758 SWIG_null_ref("wxTreeItemId");
30759 }
30760 if (SWIG_arg_fail(2)) SWIG_fail;
30761 }
30762 {
30763 PyThreadState* __tstate = wxPyBeginAllowThreads();
30764 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30765
30766 wxPyEndAllowThreads(__tstate);
30767 if (PyErr_Occurred()) SWIG_fail;
30768 }
30769 Py_INCREF(Py_None); resultobj = Py_None;
30770 return resultobj;
30771 fail:
30772 return NULL;
30773 }
30774
30775
30776 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
30777 PyObject *resultobj;
30778 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30779 wxPoint *arg2 = 0 ;
30780 int *arg3 = 0 ;
30781 wxTreeItemId result;
30782 wxPoint temp2 ;
30783 int temp3 ;
30784 int res3 = 0 ;
30785 PyObject * obj0 = 0 ;
30786 PyObject * obj1 = 0 ;
30787 char *kwnames[] = {
30788 (char *) "self",(char *) "point", NULL
30789 };
30790
30791 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
30793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30794 if (SWIG_arg_fail(1)) SWIG_fail;
30795 {
30796 arg2 = &temp2;
30797 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30798 }
30799 {
30800 PyThreadState* __tstate = wxPyBeginAllowThreads();
30801 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30802
30803 wxPyEndAllowThreads(__tstate);
30804 if (PyErr_Occurred()) SWIG_fail;
30805 }
30806 {
30807 wxTreeItemId * resultptr;
30808 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30809 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30810 }
30811 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30812 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30813 return resultobj;
30814 fail:
30815 return NULL;
30816 }
30817
30818
30819 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
30820 PyObject *resultobj;
30821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30822 wxTreeItemId *arg2 = 0 ;
30823 bool arg3 = (bool) false ;
30824 PyObject *result;
30825 PyObject * obj0 = 0 ;
30826 PyObject * obj1 = 0 ;
30827 PyObject * obj2 = 0 ;
30828 char *kwnames[] = {
30829 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30830 };
30831
30832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
30833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30834 if (SWIG_arg_fail(1)) SWIG_fail;
30835 {
30836 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30837 if (SWIG_arg_fail(2)) SWIG_fail;
30838 if (arg2 == NULL) {
30839 SWIG_null_ref("wxTreeItemId");
30840 }
30841 if (SWIG_arg_fail(2)) SWIG_fail;
30842 }
30843 if (obj2) {
30844 {
30845 arg3 = (bool)(SWIG_As_bool(obj2));
30846 if (SWIG_arg_fail(3)) SWIG_fail;
30847 }
30848 }
30849 {
30850 PyThreadState* __tstate = wxPyBeginAllowThreads();
30851 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30852
30853 wxPyEndAllowThreads(__tstate);
30854 if (PyErr_Occurred()) SWIG_fail;
30855 }
30856 resultobj = result;
30857 return resultobj;
30858 fail:
30859 return NULL;
30860 }
30861
30862
30863 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30864 PyObject *resultobj;
30865 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
30866 wxVisualAttributes result;
30867 PyObject * obj0 = 0 ;
30868 char *kwnames[] = {
30869 (char *) "variant", NULL
30870 };
30871
30872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30873 if (obj0) {
30874 {
30875 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30876 if (SWIG_arg_fail(1)) SWIG_fail;
30877 }
30878 }
30879 {
30880 if (!wxPyCheckForApp()) SWIG_fail;
30881 PyThreadState* __tstate = wxPyBeginAllowThreads();
30882 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30883
30884 wxPyEndAllowThreads(__tstate);
30885 if (PyErr_Occurred()) SWIG_fail;
30886 }
30887 {
30888 wxVisualAttributes * resultptr;
30889 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
30890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30891 }
30892 return resultobj;
30893 fail:
30894 return NULL;
30895 }
30896
30897
30898 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
30899 PyObject *obj;
30900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30901 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30902 Py_INCREF(obj);
30903 return Py_BuildValue((char *)"");
30904 }
30905 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
30906 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30907 return 1;
30908 }
30909
30910
30911 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
30912 PyObject *pyobj;
30913
30914 {
30915 #if wxUSE_UNICODE
30916 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30917 #else
30918 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30919 #endif
30920 }
30921 return pyobj;
30922 }
30923
30924
30925 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
30926 PyObject *resultobj;
30927 wxWindow *arg1 = (wxWindow *) 0 ;
30928 int arg2 = (int) (int)-1 ;
30929 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30930 wxString *arg3 = (wxString *) &arg3_defvalue ;
30931 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30932 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30933 wxSize const &arg5_defvalue = wxDefaultSize ;
30934 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30935 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
30936 wxString const &arg7_defvalue = wxPyEmptyString ;
30937 wxString *arg7 = (wxString *) &arg7_defvalue ;
30938 int arg8 = (int) 0 ;
30939 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
30940 wxString *arg9 = (wxString *) &arg9_defvalue ;
30941 wxGenericDirCtrl *result;
30942 bool temp3 = false ;
30943 wxPoint temp4 ;
30944 wxSize temp5 ;
30945 bool temp7 = false ;
30946 bool temp9 = false ;
30947 PyObject * obj0 = 0 ;
30948 PyObject * obj1 = 0 ;
30949 PyObject * obj2 = 0 ;
30950 PyObject * obj3 = 0 ;
30951 PyObject * obj4 = 0 ;
30952 PyObject * obj5 = 0 ;
30953 PyObject * obj6 = 0 ;
30954 PyObject * obj7 = 0 ;
30955 PyObject * obj8 = 0 ;
30956 char *kwnames[] = {
30957 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30958 };
30959
30960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
30961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30962 if (SWIG_arg_fail(1)) SWIG_fail;
30963 if (obj1) {
30964 {
30965 arg2 = (int const)(SWIG_As_int(obj1));
30966 if (SWIG_arg_fail(2)) SWIG_fail;
30967 }
30968 }
30969 if (obj2) {
30970 {
30971 arg3 = wxString_in_helper(obj2);
30972 if (arg3 == NULL) SWIG_fail;
30973 temp3 = true;
30974 }
30975 }
30976 if (obj3) {
30977 {
30978 arg4 = &temp4;
30979 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30980 }
30981 }
30982 if (obj4) {
30983 {
30984 arg5 = &temp5;
30985 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30986 }
30987 }
30988 if (obj5) {
30989 {
30990 arg6 = (long)(SWIG_As_long(obj5));
30991 if (SWIG_arg_fail(6)) SWIG_fail;
30992 }
30993 }
30994 if (obj6) {
30995 {
30996 arg7 = wxString_in_helper(obj6);
30997 if (arg7 == NULL) SWIG_fail;
30998 temp7 = true;
30999 }
31000 }
31001 if (obj7) {
31002 {
31003 arg8 = (int)(SWIG_As_int(obj7));
31004 if (SWIG_arg_fail(8)) SWIG_fail;
31005 }
31006 }
31007 if (obj8) {
31008 {
31009 arg9 = wxString_in_helper(obj8);
31010 if (arg9 == NULL) SWIG_fail;
31011 temp9 = true;
31012 }
31013 }
31014 {
31015 if (!wxPyCheckForApp()) SWIG_fail;
31016 PyThreadState* __tstate = wxPyBeginAllowThreads();
31017 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31018
31019 wxPyEndAllowThreads(__tstate);
31020 if (PyErr_Occurred()) SWIG_fail;
31021 }
31022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31023 {
31024 if (temp3)
31025 delete arg3;
31026 }
31027 {
31028 if (temp7)
31029 delete arg7;
31030 }
31031 {
31032 if (temp9)
31033 delete arg9;
31034 }
31035 return resultobj;
31036 fail:
31037 {
31038 if (temp3)
31039 delete arg3;
31040 }
31041 {
31042 if (temp7)
31043 delete arg7;
31044 }
31045 {
31046 if (temp9)
31047 delete arg9;
31048 }
31049 return NULL;
31050 }
31051
31052
31053 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31054 PyObject *resultobj;
31055 wxGenericDirCtrl *result;
31056 char *kwnames[] = {
31057 NULL
31058 };
31059
31060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31061 {
31062 if (!wxPyCheckForApp()) SWIG_fail;
31063 PyThreadState* __tstate = wxPyBeginAllowThreads();
31064 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31065
31066 wxPyEndAllowThreads(__tstate);
31067 if (PyErr_Occurred()) SWIG_fail;
31068 }
31069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31070 return resultobj;
31071 fail:
31072 return NULL;
31073 }
31074
31075
31076 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31077 PyObject *resultobj;
31078 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31079 wxWindow *arg2 = (wxWindow *) 0 ;
31080 int arg3 = (int) (int)-1 ;
31081 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31082 wxString *arg4 = (wxString *) &arg4_defvalue ;
31083 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31084 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31085 wxSize const &arg6_defvalue = wxDefaultSize ;
31086 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31087 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31088 wxString const &arg8_defvalue = wxPyEmptyString ;
31089 wxString *arg8 = (wxString *) &arg8_defvalue ;
31090 int arg9 = (int) 0 ;
31091 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31092 wxString *arg10 = (wxString *) &arg10_defvalue ;
31093 bool result;
31094 bool temp4 = false ;
31095 wxPoint temp5 ;
31096 wxSize temp6 ;
31097 bool temp8 = false ;
31098 bool temp10 = false ;
31099 PyObject * obj0 = 0 ;
31100 PyObject * obj1 = 0 ;
31101 PyObject * obj2 = 0 ;
31102 PyObject * obj3 = 0 ;
31103 PyObject * obj4 = 0 ;
31104 PyObject * obj5 = 0 ;
31105 PyObject * obj6 = 0 ;
31106 PyObject * obj7 = 0 ;
31107 PyObject * obj8 = 0 ;
31108 PyObject * obj9 = 0 ;
31109 char *kwnames[] = {
31110 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31111 };
31112
31113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31115 if (SWIG_arg_fail(1)) SWIG_fail;
31116 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31117 if (SWIG_arg_fail(2)) SWIG_fail;
31118 if (obj2) {
31119 {
31120 arg3 = (int const)(SWIG_As_int(obj2));
31121 if (SWIG_arg_fail(3)) SWIG_fail;
31122 }
31123 }
31124 if (obj3) {
31125 {
31126 arg4 = wxString_in_helper(obj3);
31127 if (arg4 == NULL) SWIG_fail;
31128 temp4 = true;
31129 }
31130 }
31131 if (obj4) {
31132 {
31133 arg5 = &temp5;
31134 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31135 }
31136 }
31137 if (obj5) {
31138 {
31139 arg6 = &temp6;
31140 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31141 }
31142 }
31143 if (obj6) {
31144 {
31145 arg7 = (long)(SWIG_As_long(obj6));
31146 if (SWIG_arg_fail(7)) SWIG_fail;
31147 }
31148 }
31149 if (obj7) {
31150 {
31151 arg8 = wxString_in_helper(obj7);
31152 if (arg8 == NULL) SWIG_fail;
31153 temp8 = true;
31154 }
31155 }
31156 if (obj8) {
31157 {
31158 arg9 = (int)(SWIG_As_int(obj8));
31159 if (SWIG_arg_fail(9)) SWIG_fail;
31160 }
31161 }
31162 if (obj9) {
31163 {
31164 arg10 = wxString_in_helper(obj9);
31165 if (arg10 == NULL) SWIG_fail;
31166 temp10 = true;
31167 }
31168 }
31169 {
31170 PyThreadState* __tstate = wxPyBeginAllowThreads();
31171 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31172
31173 wxPyEndAllowThreads(__tstate);
31174 if (PyErr_Occurred()) SWIG_fail;
31175 }
31176 {
31177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31178 }
31179 {
31180 if (temp4)
31181 delete arg4;
31182 }
31183 {
31184 if (temp8)
31185 delete arg8;
31186 }
31187 {
31188 if (temp10)
31189 delete arg10;
31190 }
31191 return resultobj;
31192 fail:
31193 {
31194 if (temp4)
31195 delete arg4;
31196 }
31197 {
31198 if (temp8)
31199 delete arg8;
31200 }
31201 {
31202 if (temp10)
31203 delete arg10;
31204 }
31205 return NULL;
31206 }
31207
31208
31209 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31210 PyObject *resultobj;
31211 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31212 wxString *arg2 = 0 ;
31213 bool result;
31214 bool temp2 = false ;
31215 PyObject * obj0 = 0 ;
31216 PyObject * obj1 = 0 ;
31217 char *kwnames[] = {
31218 (char *) "self",(char *) "path", NULL
31219 };
31220
31221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31223 if (SWIG_arg_fail(1)) SWIG_fail;
31224 {
31225 arg2 = wxString_in_helper(obj1);
31226 if (arg2 == NULL) SWIG_fail;
31227 temp2 = true;
31228 }
31229 {
31230 PyThreadState* __tstate = wxPyBeginAllowThreads();
31231 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31232
31233 wxPyEndAllowThreads(__tstate);
31234 if (PyErr_Occurred()) SWIG_fail;
31235 }
31236 {
31237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31238 }
31239 {
31240 if (temp2)
31241 delete arg2;
31242 }
31243 return resultobj;
31244 fail:
31245 {
31246 if (temp2)
31247 delete arg2;
31248 }
31249 return NULL;
31250 }
31251
31252
31253 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31254 PyObject *resultobj;
31255 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31256 wxString result;
31257 PyObject * obj0 = 0 ;
31258 char *kwnames[] = {
31259 (char *) "self", NULL
31260 };
31261
31262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31264 if (SWIG_arg_fail(1)) SWIG_fail;
31265 {
31266 PyThreadState* __tstate = wxPyBeginAllowThreads();
31267 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31268
31269 wxPyEndAllowThreads(__tstate);
31270 if (PyErr_Occurred()) SWIG_fail;
31271 }
31272 {
31273 #if wxUSE_UNICODE
31274 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31275 #else
31276 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31277 #endif
31278 }
31279 return resultobj;
31280 fail:
31281 return NULL;
31282 }
31283
31284
31285 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31286 PyObject *resultobj;
31287 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31288 wxString *arg2 = 0 ;
31289 bool temp2 = false ;
31290 PyObject * obj0 = 0 ;
31291 PyObject * obj1 = 0 ;
31292 char *kwnames[] = {
31293 (char *) "self",(char *) "path", NULL
31294 };
31295
31296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31298 if (SWIG_arg_fail(1)) SWIG_fail;
31299 {
31300 arg2 = wxString_in_helper(obj1);
31301 if (arg2 == NULL) SWIG_fail;
31302 temp2 = true;
31303 }
31304 {
31305 PyThreadState* __tstate = wxPyBeginAllowThreads();
31306 (arg1)->SetDefaultPath((wxString const &)*arg2);
31307
31308 wxPyEndAllowThreads(__tstate);
31309 if (PyErr_Occurred()) SWIG_fail;
31310 }
31311 Py_INCREF(Py_None); resultobj = Py_None;
31312 {
31313 if (temp2)
31314 delete arg2;
31315 }
31316 return resultobj;
31317 fail:
31318 {
31319 if (temp2)
31320 delete arg2;
31321 }
31322 return NULL;
31323 }
31324
31325
31326 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31327 PyObject *resultobj;
31328 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31329 wxString result;
31330 PyObject * obj0 = 0 ;
31331 char *kwnames[] = {
31332 (char *) "self", NULL
31333 };
31334
31335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31337 if (SWIG_arg_fail(1)) SWIG_fail;
31338 {
31339 PyThreadState* __tstate = wxPyBeginAllowThreads();
31340 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31341
31342 wxPyEndAllowThreads(__tstate);
31343 if (PyErr_Occurred()) SWIG_fail;
31344 }
31345 {
31346 #if wxUSE_UNICODE
31347 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31348 #else
31349 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31350 #endif
31351 }
31352 return resultobj;
31353 fail:
31354 return NULL;
31355 }
31356
31357
31358 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31359 PyObject *resultobj;
31360 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31361 wxString result;
31362 PyObject * obj0 = 0 ;
31363 char *kwnames[] = {
31364 (char *) "self", NULL
31365 };
31366
31367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31369 if (SWIG_arg_fail(1)) SWIG_fail;
31370 {
31371 PyThreadState* __tstate = wxPyBeginAllowThreads();
31372 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31373
31374 wxPyEndAllowThreads(__tstate);
31375 if (PyErr_Occurred()) SWIG_fail;
31376 }
31377 {
31378 #if wxUSE_UNICODE
31379 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31380 #else
31381 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31382 #endif
31383 }
31384 return resultobj;
31385 fail:
31386 return NULL;
31387 }
31388
31389
31390 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31391 PyObject *resultobj;
31392 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31393 wxString *arg2 = 0 ;
31394 bool temp2 = false ;
31395 PyObject * obj0 = 0 ;
31396 PyObject * obj1 = 0 ;
31397 char *kwnames[] = {
31398 (char *) "self",(char *) "path", NULL
31399 };
31400
31401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31403 if (SWIG_arg_fail(1)) SWIG_fail;
31404 {
31405 arg2 = wxString_in_helper(obj1);
31406 if (arg2 == NULL) SWIG_fail;
31407 temp2 = true;
31408 }
31409 {
31410 PyThreadState* __tstate = wxPyBeginAllowThreads();
31411 (arg1)->SetPath((wxString const &)*arg2);
31412
31413 wxPyEndAllowThreads(__tstate);
31414 if (PyErr_Occurred()) SWIG_fail;
31415 }
31416 Py_INCREF(Py_None); resultobj = Py_None;
31417 {
31418 if (temp2)
31419 delete arg2;
31420 }
31421 return resultobj;
31422 fail:
31423 {
31424 if (temp2)
31425 delete arg2;
31426 }
31427 return NULL;
31428 }
31429
31430
31431 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31432 PyObject *resultobj;
31433 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31434 bool arg2 ;
31435 PyObject * obj0 = 0 ;
31436 PyObject * obj1 = 0 ;
31437 char *kwnames[] = {
31438 (char *) "self",(char *) "show", NULL
31439 };
31440
31441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31443 if (SWIG_arg_fail(1)) SWIG_fail;
31444 {
31445 arg2 = (bool)(SWIG_As_bool(obj1));
31446 if (SWIG_arg_fail(2)) SWIG_fail;
31447 }
31448 {
31449 PyThreadState* __tstate = wxPyBeginAllowThreads();
31450 (arg1)->ShowHidden(arg2);
31451
31452 wxPyEndAllowThreads(__tstate);
31453 if (PyErr_Occurred()) SWIG_fail;
31454 }
31455 Py_INCREF(Py_None); resultobj = Py_None;
31456 return resultobj;
31457 fail:
31458 return NULL;
31459 }
31460
31461
31462 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31463 PyObject *resultobj;
31464 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31465 bool result;
31466 PyObject * obj0 = 0 ;
31467 char *kwnames[] = {
31468 (char *) "self", NULL
31469 };
31470
31471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31473 if (SWIG_arg_fail(1)) SWIG_fail;
31474 {
31475 PyThreadState* __tstate = wxPyBeginAllowThreads();
31476 result = (bool)(arg1)->GetShowHidden();
31477
31478 wxPyEndAllowThreads(__tstate);
31479 if (PyErr_Occurred()) SWIG_fail;
31480 }
31481 {
31482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31483 }
31484 return resultobj;
31485 fail:
31486 return NULL;
31487 }
31488
31489
31490 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31491 PyObject *resultobj;
31492 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31493 wxString result;
31494 PyObject * obj0 = 0 ;
31495 char *kwnames[] = {
31496 (char *) "self", NULL
31497 };
31498
31499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31501 if (SWIG_arg_fail(1)) SWIG_fail;
31502 {
31503 PyThreadState* __tstate = wxPyBeginAllowThreads();
31504 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31505
31506 wxPyEndAllowThreads(__tstate);
31507 if (PyErr_Occurred()) SWIG_fail;
31508 }
31509 {
31510 #if wxUSE_UNICODE
31511 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31512 #else
31513 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31514 #endif
31515 }
31516 return resultobj;
31517 fail:
31518 return NULL;
31519 }
31520
31521
31522 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31523 PyObject *resultobj;
31524 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31525 wxString *arg2 = 0 ;
31526 bool temp2 = false ;
31527 PyObject * obj0 = 0 ;
31528 PyObject * obj1 = 0 ;
31529 char *kwnames[] = {
31530 (char *) "self",(char *) "filter", NULL
31531 };
31532
31533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31535 if (SWIG_arg_fail(1)) SWIG_fail;
31536 {
31537 arg2 = wxString_in_helper(obj1);
31538 if (arg2 == NULL) SWIG_fail;
31539 temp2 = true;
31540 }
31541 {
31542 PyThreadState* __tstate = wxPyBeginAllowThreads();
31543 (arg1)->SetFilter((wxString const &)*arg2);
31544
31545 wxPyEndAllowThreads(__tstate);
31546 if (PyErr_Occurred()) SWIG_fail;
31547 }
31548 Py_INCREF(Py_None); resultobj = Py_None;
31549 {
31550 if (temp2)
31551 delete arg2;
31552 }
31553 return resultobj;
31554 fail:
31555 {
31556 if (temp2)
31557 delete arg2;
31558 }
31559 return NULL;
31560 }
31561
31562
31563 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31564 PyObject *resultobj;
31565 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31566 int result;
31567 PyObject * obj0 = 0 ;
31568 char *kwnames[] = {
31569 (char *) "self", NULL
31570 };
31571
31572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31574 if (SWIG_arg_fail(1)) SWIG_fail;
31575 {
31576 PyThreadState* __tstate = wxPyBeginAllowThreads();
31577 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31578
31579 wxPyEndAllowThreads(__tstate);
31580 if (PyErr_Occurred()) SWIG_fail;
31581 }
31582 {
31583 resultobj = SWIG_From_int((int)(result));
31584 }
31585 return resultobj;
31586 fail:
31587 return NULL;
31588 }
31589
31590
31591 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31592 PyObject *resultobj;
31593 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31594 int arg2 ;
31595 PyObject * obj0 = 0 ;
31596 PyObject * obj1 = 0 ;
31597 char *kwnames[] = {
31598 (char *) "self",(char *) "n", NULL
31599 };
31600
31601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
31602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31603 if (SWIG_arg_fail(1)) SWIG_fail;
31604 {
31605 arg2 = (int)(SWIG_As_int(obj1));
31606 if (SWIG_arg_fail(2)) SWIG_fail;
31607 }
31608 {
31609 PyThreadState* __tstate = wxPyBeginAllowThreads();
31610 (arg1)->SetFilterIndex(arg2);
31611
31612 wxPyEndAllowThreads(__tstate);
31613 if (PyErr_Occurred()) SWIG_fail;
31614 }
31615 Py_INCREF(Py_None); resultobj = Py_None;
31616 return resultobj;
31617 fail:
31618 return NULL;
31619 }
31620
31621
31622 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31623 PyObject *resultobj;
31624 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31625 wxTreeItemId result;
31626 PyObject * obj0 = 0 ;
31627 char *kwnames[] = {
31628 (char *) "self", NULL
31629 };
31630
31631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
31632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31633 if (SWIG_arg_fail(1)) SWIG_fail;
31634 {
31635 PyThreadState* __tstate = wxPyBeginAllowThreads();
31636 result = (arg1)->GetRootId();
31637
31638 wxPyEndAllowThreads(__tstate);
31639 if (PyErr_Occurred()) SWIG_fail;
31640 }
31641 {
31642 wxTreeItemId * resultptr;
31643 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31644 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31645 }
31646 return resultobj;
31647 fail:
31648 return NULL;
31649 }
31650
31651
31652 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31653 PyObject *resultobj;
31654 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31655 wxPyTreeCtrl *result;
31656 PyObject * obj0 = 0 ;
31657 char *kwnames[] = {
31658 (char *) "self", NULL
31659 };
31660
31661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
31662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31663 if (SWIG_arg_fail(1)) SWIG_fail;
31664 {
31665 PyThreadState* __tstate = wxPyBeginAllowThreads();
31666 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31667
31668 wxPyEndAllowThreads(__tstate);
31669 if (PyErr_Occurred()) SWIG_fail;
31670 }
31671 {
31672 resultobj = wxPyMake_wxObject(result, 0);
31673 }
31674 return resultobj;
31675 fail:
31676 return NULL;
31677 }
31678
31679
31680 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31681 PyObject *resultobj;
31682 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31683 wxDirFilterListCtrl *result;
31684 PyObject * obj0 = 0 ;
31685 char *kwnames[] = {
31686 (char *) "self", NULL
31687 };
31688
31689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
31690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31691 if (SWIG_arg_fail(1)) SWIG_fail;
31692 {
31693 PyThreadState* __tstate = wxPyBeginAllowThreads();
31694 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31695
31696 wxPyEndAllowThreads(__tstate);
31697 if (PyErr_Occurred()) SWIG_fail;
31698 }
31699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31700 return resultobj;
31701 fail:
31702 return NULL;
31703 }
31704
31705
31706 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
31707 PyObject *resultobj;
31708 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31709 wxTreeItemId arg2 ;
31710 wxString *arg3 = 0 ;
31711 bool *arg4 = 0 ;
31712 wxTreeItemId result;
31713 bool temp3 = false ;
31714 bool temp4 ;
31715 int res4 = 0 ;
31716 PyObject * obj0 = 0 ;
31717 PyObject * obj1 = 0 ;
31718 PyObject * obj2 = 0 ;
31719 char *kwnames[] = {
31720 (char *) "self",(char *) "parentId",(char *) "path", NULL
31721 };
31722
31723 arg4 = &temp4; res4 = SWIG_NEWOBJ;
31724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
31725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31726 if (SWIG_arg_fail(1)) SWIG_fail;
31727 {
31728 wxTreeItemId * argp;
31729 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31730 if (SWIG_arg_fail(2)) SWIG_fail;
31731 if (argp == NULL) {
31732 SWIG_null_ref("wxTreeItemId");
31733 }
31734 if (SWIG_arg_fail(2)) SWIG_fail;
31735 arg2 = *argp;
31736 }
31737 {
31738 arg3 = wxString_in_helper(obj2);
31739 if (arg3 == NULL) SWIG_fail;
31740 temp3 = true;
31741 }
31742 {
31743 PyThreadState* __tstate = wxPyBeginAllowThreads();
31744 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31745
31746 wxPyEndAllowThreads(__tstate);
31747 if (PyErr_Occurred()) SWIG_fail;
31748 }
31749 {
31750 wxTreeItemId * resultptr;
31751 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31753 }
31754 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31755 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
31756 {
31757 if (temp3)
31758 delete arg3;
31759 }
31760 return resultobj;
31761 fail:
31762 {
31763 if (temp3)
31764 delete arg3;
31765 }
31766 return NULL;
31767 }
31768
31769
31770 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
31771 PyObject *resultobj;
31772 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31773 PyObject * obj0 = 0 ;
31774 char *kwnames[] = {
31775 (char *) "self", NULL
31776 };
31777
31778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
31779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31780 if (SWIG_arg_fail(1)) SWIG_fail;
31781 {
31782 PyThreadState* __tstate = wxPyBeginAllowThreads();
31783 (arg1)->DoResize();
31784
31785 wxPyEndAllowThreads(__tstate);
31786 if (PyErr_Occurred()) SWIG_fail;
31787 }
31788 Py_INCREF(Py_None); resultobj = Py_None;
31789 return resultobj;
31790 fail:
31791 return NULL;
31792 }
31793
31794
31795 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
31796 PyObject *resultobj;
31797 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31798 PyObject * obj0 = 0 ;
31799 char *kwnames[] = {
31800 (char *) "self", NULL
31801 };
31802
31803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
31804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31805 if (SWIG_arg_fail(1)) SWIG_fail;
31806 {
31807 PyThreadState* __tstate = wxPyBeginAllowThreads();
31808 (arg1)->ReCreateTree();
31809
31810 wxPyEndAllowThreads(__tstate);
31811 if (PyErr_Occurred()) SWIG_fail;
31812 }
31813 Py_INCREF(Py_None); resultobj = Py_None;
31814 return resultobj;
31815 fail:
31816 return NULL;
31817 }
31818
31819
31820 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
31821 PyObject *obj;
31822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31823 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31824 Py_INCREF(obj);
31825 return Py_BuildValue((char *)"");
31826 }
31827 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31828 PyObject *resultobj;
31829 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31830 int arg2 = (int) (int)-1 ;
31831 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31832 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31833 wxSize const &arg4_defvalue = wxDefaultSize ;
31834 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31835 long arg5 = (long) 0 ;
31836 wxDirFilterListCtrl *result;
31837 wxPoint temp3 ;
31838 wxSize temp4 ;
31839 PyObject * obj0 = 0 ;
31840 PyObject * obj1 = 0 ;
31841 PyObject * obj2 = 0 ;
31842 PyObject * obj3 = 0 ;
31843 PyObject * obj4 = 0 ;
31844 char *kwnames[] = {
31845 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31846 };
31847
31848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31850 if (SWIG_arg_fail(1)) SWIG_fail;
31851 if (obj1) {
31852 {
31853 arg2 = (int const)(SWIG_As_int(obj1));
31854 if (SWIG_arg_fail(2)) SWIG_fail;
31855 }
31856 }
31857 if (obj2) {
31858 {
31859 arg3 = &temp3;
31860 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31861 }
31862 }
31863 if (obj3) {
31864 {
31865 arg4 = &temp4;
31866 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31867 }
31868 }
31869 if (obj4) {
31870 {
31871 arg5 = (long)(SWIG_As_long(obj4));
31872 if (SWIG_arg_fail(5)) SWIG_fail;
31873 }
31874 }
31875 {
31876 if (!wxPyCheckForApp()) SWIG_fail;
31877 PyThreadState* __tstate = wxPyBeginAllowThreads();
31878 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31879
31880 wxPyEndAllowThreads(__tstate);
31881 if (PyErr_Occurred()) SWIG_fail;
31882 }
31883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31884 return resultobj;
31885 fail:
31886 return NULL;
31887 }
31888
31889
31890 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31891 PyObject *resultobj;
31892 wxDirFilterListCtrl *result;
31893 char *kwnames[] = {
31894 NULL
31895 };
31896
31897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31898 {
31899 if (!wxPyCheckForApp()) SWIG_fail;
31900 PyThreadState* __tstate = wxPyBeginAllowThreads();
31901 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31902
31903 wxPyEndAllowThreads(__tstate);
31904 if (PyErr_Occurred()) SWIG_fail;
31905 }
31906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31907 return resultobj;
31908 fail:
31909 return NULL;
31910 }
31911
31912
31913 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31914 PyObject *resultobj;
31915 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31916 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
31917 int arg3 = (int) (int)-1 ;
31918 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31919 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31920 wxSize const &arg5_defvalue = wxDefaultSize ;
31921 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31922 long arg6 = (long) 0 ;
31923 bool result;
31924 wxPoint temp4 ;
31925 wxSize temp5 ;
31926 PyObject * obj0 = 0 ;
31927 PyObject * obj1 = 0 ;
31928 PyObject * obj2 = 0 ;
31929 PyObject * obj3 = 0 ;
31930 PyObject * obj4 = 0 ;
31931 PyObject * obj5 = 0 ;
31932 char *kwnames[] = {
31933 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31934 };
31935
31936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31938 if (SWIG_arg_fail(1)) SWIG_fail;
31939 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31940 if (SWIG_arg_fail(2)) SWIG_fail;
31941 if (obj2) {
31942 {
31943 arg3 = (int const)(SWIG_As_int(obj2));
31944 if (SWIG_arg_fail(3)) SWIG_fail;
31945 }
31946 }
31947 if (obj3) {
31948 {
31949 arg4 = &temp4;
31950 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31951 }
31952 }
31953 if (obj4) {
31954 {
31955 arg5 = &temp5;
31956 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31957 }
31958 }
31959 if (obj5) {
31960 {
31961 arg6 = (long)(SWIG_As_long(obj5));
31962 if (SWIG_arg_fail(6)) SWIG_fail;
31963 }
31964 }
31965 {
31966 PyThreadState* __tstate = wxPyBeginAllowThreads();
31967 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
31968
31969 wxPyEndAllowThreads(__tstate);
31970 if (PyErr_Occurred()) SWIG_fail;
31971 }
31972 {
31973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31974 }
31975 return resultobj;
31976 fail:
31977 return NULL;
31978 }
31979
31980
31981 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
31982 PyObject *resultobj;
31983 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31984 wxString *arg2 = 0 ;
31985 int arg3 ;
31986 bool temp2 = false ;
31987 PyObject * obj0 = 0 ;
31988 PyObject * obj1 = 0 ;
31989 PyObject * obj2 = 0 ;
31990 char *kwnames[] = {
31991 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31992 };
31993
31994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
31995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31996 if (SWIG_arg_fail(1)) SWIG_fail;
31997 {
31998 arg2 = wxString_in_helper(obj1);
31999 if (arg2 == NULL) SWIG_fail;
32000 temp2 = true;
32001 }
32002 {
32003 arg3 = (int)(SWIG_As_int(obj2));
32004 if (SWIG_arg_fail(3)) SWIG_fail;
32005 }
32006 {
32007 PyThreadState* __tstate = wxPyBeginAllowThreads();
32008 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32009
32010 wxPyEndAllowThreads(__tstate);
32011 if (PyErr_Occurred()) SWIG_fail;
32012 }
32013 Py_INCREF(Py_None); resultobj = Py_None;
32014 {
32015 if (temp2)
32016 delete arg2;
32017 }
32018 return resultobj;
32019 fail:
32020 {
32021 if (temp2)
32022 delete arg2;
32023 }
32024 return NULL;
32025 }
32026
32027
32028 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32029 PyObject *obj;
32030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32031 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32032 Py_INCREF(obj);
32033 return Py_BuildValue((char *)"");
32034 }
32035 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32036 PyObject *resultobj;
32037 wxWindow *arg1 = (wxWindow *) 0 ;
32038 int arg2 = (int) (int)-1 ;
32039 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32040 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32041 wxSize const &arg4_defvalue = wxDefaultSize ;
32042 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32043 long arg5 = (long) 0 ;
32044 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32045 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32046 wxString const &arg7_defvalue = wxPyControlNameStr ;
32047 wxString *arg7 = (wxString *) &arg7_defvalue ;
32048 wxPyControl *result;
32049 wxPoint temp3 ;
32050 wxSize temp4 ;
32051 bool temp7 = false ;
32052 PyObject * obj0 = 0 ;
32053 PyObject * obj1 = 0 ;
32054 PyObject * obj2 = 0 ;
32055 PyObject * obj3 = 0 ;
32056 PyObject * obj4 = 0 ;
32057 PyObject * obj5 = 0 ;
32058 PyObject * obj6 = 0 ;
32059 char *kwnames[] = {
32060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32061 };
32062
32063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32065 if (SWIG_arg_fail(1)) SWIG_fail;
32066 if (obj1) {
32067 {
32068 arg2 = (int const)(SWIG_As_int(obj1));
32069 if (SWIG_arg_fail(2)) SWIG_fail;
32070 }
32071 }
32072 if (obj2) {
32073 {
32074 arg3 = &temp3;
32075 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32076 }
32077 }
32078 if (obj3) {
32079 {
32080 arg4 = &temp4;
32081 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32082 }
32083 }
32084 if (obj4) {
32085 {
32086 arg5 = (long)(SWIG_As_long(obj4));
32087 if (SWIG_arg_fail(5)) SWIG_fail;
32088 }
32089 }
32090 if (obj5) {
32091 {
32092 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32093 if (SWIG_arg_fail(6)) SWIG_fail;
32094 if (arg6 == NULL) {
32095 SWIG_null_ref("wxValidator");
32096 }
32097 if (SWIG_arg_fail(6)) SWIG_fail;
32098 }
32099 }
32100 if (obj6) {
32101 {
32102 arg7 = wxString_in_helper(obj6);
32103 if (arg7 == NULL) SWIG_fail;
32104 temp7 = true;
32105 }
32106 }
32107 {
32108 if (!wxPyCheckForApp()) SWIG_fail;
32109 PyThreadState* __tstate = wxPyBeginAllowThreads();
32110 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32111
32112 wxPyEndAllowThreads(__tstate);
32113 if (PyErr_Occurred()) SWIG_fail;
32114 }
32115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32116 {
32117 if (temp7)
32118 delete arg7;
32119 }
32120 return resultobj;
32121 fail:
32122 {
32123 if (temp7)
32124 delete arg7;
32125 }
32126 return NULL;
32127 }
32128
32129
32130 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32131 PyObject *resultobj;
32132 wxPyControl *result;
32133 char *kwnames[] = {
32134 NULL
32135 };
32136
32137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32138 {
32139 if (!wxPyCheckForApp()) SWIG_fail;
32140 PyThreadState* __tstate = wxPyBeginAllowThreads();
32141 result = (wxPyControl *)new wxPyControl();
32142
32143 wxPyEndAllowThreads(__tstate);
32144 if (PyErr_Occurred()) SWIG_fail;
32145 }
32146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32147 return resultobj;
32148 fail:
32149 return NULL;
32150 }
32151
32152
32153 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32154 PyObject *resultobj;
32155 wxPyControl *arg1 = (wxPyControl *) 0 ;
32156 PyObject *arg2 = (PyObject *) 0 ;
32157 PyObject *arg3 = (PyObject *) 0 ;
32158 PyObject * obj0 = 0 ;
32159 PyObject * obj1 = 0 ;
32160 PyObject * obj2 = 0 ;
32161 char *kwnames[] = {
32162 (char *) "self",(char *) "self",(char *) "_class", NULL
32163 };
32164
32165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32167 if (SWIG_arg_fail(1)) SWIG_fail;
32168 arg2 = obj1;
32169 arg3 = obj2;
32170 {
32171 PyThreadState* __tstate = wxPyBeginAllowThreads();
32172 (arg1)->_setCallbackInfo(arg2,arg3);
32173
32174 wxPyEndAllowThreads(__tstate);
32175 if (PyErr_Occurred()) SWIG_fail;
32176 }
32177 Py_INCREF(Py_None); resultobj = Py_None;
32178 return resultobj;
32179 fail:
32180 return NULL;
32181 }
32182
32183
32184 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32185 PyObject *resultobj;
32186 wxPyControl *arg1 = (wxPyControl *) 0 ;
32187 wxSize *arg2 = 0 ;
32188 wxSize temp2 ;
32189 PyObject * obj0 = 0 ;
32190 PyObject * obj1 = 0 ;
32191 char *kwnames[] = {
32192 (char *) "self",(char *) "size", NULL
32193 };
32194
32195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32197 if (SWIG_arg_fail(1)) SWIG_fail;
32198 {
32199 arg2 = &temp2;
32200 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32201 }
32202 {
32203 PyThreadState* __tstate = wxPyBeginAllowThreads();
32204 (arg1)->SetBestSize((wxSize const &)*arg2);
32205
32206 wxPyEndAllowThreads(__tstate);
32207 if (PyErr_Occurred()) SWIG_fail;
32208 }
32209 Py_INCREF(Py_None); resultobj = Py_None;
32210 return resultobj;
32211 fail:
32212 return NULL;
32213 }
32214
32215
32216 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32217 PyObject *resultobj;
32218 wxPyControl *arg1 = (wxPyControl *) 0 ;
32219 int arg2 ;
32220 int arg3 ;
32221 int arg4 ;
32222 int arg5 ;
32223 PyObject * obj0 = 0 ;
32224 PyObject * obj1 = 0 ;
32225 PyObject * obj2 = 0 ;
32226 PyObject * obj3 = 0 ;
32227 PyObject * obj4 = 0 ;
32228 char *kwnames[] = {
32229 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32230 };
32231
32232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32234 if (SWIG_arg_fail(1)) SWIG_fail;
32235 {
32236 arg2 = (int)(SWIG_As_int(obj1));
32237 if (SWIG_arg_fail(2)) SWIG_fail;
32238 }
32239 {
32240 arg3 = (int)(SWIG_As_int(obj2));
32241 if (SWIG_arg_fail(3)) SWIG_fail;
32242 }
32243 {
32244 arg4 = (int)(SWIG_As_int(obj3));
32245 if (SWIG_arg_fail(4)) SWIG_fail;
32246 }
32247 {
32248 arg5 = (int)(SWIG_As_int(obj4));
32249 if (SWIG_arg_fail(5)) SWIG_fail;
32250 }
32251 {
32252 PyThreadState* __tstate = wxPyBeginAllowThreads();
32253 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32254
32255 wxPyEndAllowThreads(__tstate);
32256 if (PyErr_Occurred()) SWIG_fail;
32257 }
32258 Py_INCREF(Py_None); resultobj = Py_None;
32259 return resultobj;
32260 fail:
32261 return NULL;
32262 }
32263
32264
32265 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32266 PyObject *resultobj;
32267 wxPyControl *arg1 = (wxPyControl *) 0 ;
32268 int arg2 ;
32269 int arg3 ;
32270 int arg4 ;
32271 int arg5 ;
32272 int arg6 = (int) wxSIZE_AUTO ;
32273 PyObject * obj0 = 0 ;
32274 PyObject * obj1 = 0 ;
32275 PyObject * obj2 = 0 ;
32276 PyObject * obj3 = 0 ;
32277 PyObject * obj4 = 0 ;
32278 PyObject * obj5 = 0 ;
32279 char *kwnames[] = {
32280 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32281 };
32282
32283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32285 if (SWIG_arg_fail(1)) SWIG_fail;
32286 {
32287 arg2 = (int)(SWIG_As_int(obj1));
32288 if (SWIG_arg_fail(2)) SWIG_fail;
32289 }
32290 {
32291 arg3 = (int)(SWIG_As_int(obj2));
32292 if (SWIG_arg_fail(3)) SWIG_fail;
32293 }
32294 {
32295 arg4 = (int)(SWIG_As_int(obj3));
32296 if (SWIG_arg_fail(4)) SWIG_fail;
32297 }
32298 {
32299 arg5 = (int)(SWIG_As_int(obj4));
32300 if (SWIG_arg_fail(5)) SWIG_fail;
32301 }
32302 if (obj5) {
32303 {
32304 arg6 = (int)(SWIG_As_int(obj5));
32305 if (SWIG_arg_fail(6)) SWIG_fail;
32306 }
32307 }
32308 {
32309 PyThreadState* __tstate = wxPyBeginAllowThreads();
32310 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32311
32312 wxPyEndAllowThreads(__tstate);
32313 if (PyErr_Occurred()) SWIG_fail;
32314 }
32315 Py_INCREF(Py_None); resultobj = Py_None;
32316 return resultobj;
32317 fail:
32318 return NULL;
32319 }
32320
32321
32322 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32323 PyObject *resultobj;
32324 wxPyControl *arg1 = (wxPyControl *) 0 ;
32325 int arg2 ;
32326 int arg3 ;
32327 PyObject * obj0 = 0 ;
32328 PyObject * obj1 = 0 ;
32329 PyObject * obj2 = 0 ;
32330 char *kwnames[] = {
32331 (char *) "self",(char *) "width",(char *) "height", NULL
32332 };
32333
32334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32336 if (SWIG_arg_fail(1)) SWIG_fail;
32337 {
32338 arg2 = (int)(SWIG_As_int(obj1));
32339 if (SWIG_arg_fail(2)) SWIG_fail;
32340 }
32341 {
32342 arg3 = (int)(SWIG_As_int(obj2));
32343 if (SWIG_arg_fail(3)) SWIG_fail;
32344 }
32345 {
32346 PyThreadState* __tstate = wxPyBeginAllowThreads();
32347 (arg1)->base_DoSetClientSize(arg2,arg3);
32348
32349 wxPyEndAllowThreads(__tstate);
32350 if (PyErr_Occurred()) SWIG_fail;
32351 }
32352 Py_INCREF(Py_None); resultobj = Py_None;
32353 return resultobj;
32354 fail:
32355 return NULL;
32356 }
32357
32358
32359 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32360 PyObject *resultobj;
32361 wxPyControl *arg1 = (wxPyControl *) 0 ;
32362 int arg2 ;
32363 int arg3 ;
32364 PyObject * obj0 = 0 ;
32365 PyObject * obj1 = 0 ;
32366 PyObject * obj2 = 0 ;
32367 char *kwnames[] = {
32368 (char *) "self",(char *) "x",(char *) "y", NULL
32369 };
32370
32371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32373 if (SWIG_arg_fail(1)) SWIG_fail;
32374 {
32375 arg2 = (int)(SWIG_As_int(obj1));
32376 if (SWIG_arg_fail(2)) SWIG_fail;
32377 }
32378 {
32379 arg3 = (int)(SWIG_As_int(obj2));
32380 if (SWIG_arg_fail(3)) SWIG_fail;
32381 }
32382 {
32383 PyThreadState* __tstate = wxPyBeginAllowThreads();
32384 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32385
32386 wxPyEndAllowThreads(__tstate);
32387 if (PyErr_Occurred()) SWIG_fail;
32388 }
32389 Py_INCREF(Py_None); resultobj = Py_None;
32390 return resultobj;
32391 fail:
32392 return NULL;
32393 }
32394
32395
32396 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32397 PyObject *resultobj;
32398 wxPyControl *arg1 = (wxPyControl *) 0 ;
32399 int *arg2 = (int *) 0 ;
32400 int *arg3 = (int *) 0 ;
32401 int temp2 ;
32402 int res2 = 0 ;
32403 int temp3 ;
32404 int res3 = 0 ;
32405 PyObject * obj0 = 0 ;
32406 char *kwnames[] = {
32407 (char *) "self", NULL
32408 };
32409
32410 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32411 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32414 if (SWIG_arg_fail(1)) SWIG_fail;
32415 {
32416 PyThreadState* __tstate = wxPyBeginAllowThreads();
32417 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32418
32419 wxPyEndAllowThreads(__tstate);
32420 if (PyErr_Occurred()) SWIG_fail;
32421 }
32422 Py_INCREF(Py_None); resultobj = Py_None;
32423 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32424 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32425 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32426 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32427 return resultobj;
32428 fail:
32429 return NULL;
32430 }
32431
32432
32433 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32434 PyObject *resultobj;
32435 wxPyControl *arg1 = (wxPyControl *) 0 ;
32436 int *arg2 = (int *) 0 ;
32437 int *arg3 = (int *) 0 ;
32438 int temp2 ;
32439 int res2 = 0 ;
32440 int temp3 ;
32441 int res3 = 0 ;
32442 PyObject * obj0 = 0 ;
32443 char *kwnames[] = {
32444 (char *) "self", NULL
32445 };
32446
32447 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32448 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32451 if (SWIG_arg_fail(1)) SWIG_fail;
32452 {
32453 PyThreadState* __tstate = wxPyBeginAllowThreads();
32454 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32455
32456 wxPyEndAllowThreads(__tstate);
32457 if (PyErr_Occurred()) SWIG_fail;
32458 }
32459 Py_INCREF(Py_None); resultobj = Py_None;
32460 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32461 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32462 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32463 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32464 return resultobj;
32465 fail:
32466 return NULL;
32467 }
32468
32469
32470 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32471 PyObject *resultobj;
32472 wxPyControl *arg1 = (wxPyControl *) 0 ;
32473 int *arg2 = (int *) 0 ;
32474 int *arg3 = (int *) 0 ;
32475 int temp2 ;
32476 int res2 = 0 ;
32477 int temp3 ;
32478 int res3 = 0 ;
32479 PyObject * obj0 = 0 ;
32480 char *kwnames[] = {
32481 (char *) "self", NULL
32482 };
32483
32484 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32485 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
32487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32488 if (SWIG_arg_fail(1)) SWIG_fail;
32489 {
32490 PyThreadState* __tstate = wxPyBeginAllowThreads();
32491 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32492
32493 wxPyEndAllowThreads(__tstate);
32494 if (PyErr_Occurred()) SWIG_fail;
32495 }
32496 Py_INCREF(Py_None); resultobj = Py_None;
32497 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32498 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32499 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32500 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32501 return resultobj;
32502 fail:
32503 return NULL;
32504 }
32505
32506
32507 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32508 PyObject *resultobj;
32509 wxPyControl *arg1 = (wxPyControl *) 0 ;
32510 wxSize result;
32511 PyObject * obj0 = 0 ;
32512 char *kwnames[] = {
32513 (char *) "self", NULL
32514 };
32515
32516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32518 if (SWIG_arg_fail(1)) SWIG_fail;
32519 {
32520 PyThreadState* __tstate = wxPyBeginAllowThreads();
32521 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32522
32523 wxPyEndAllowThreads(__tstate);
32524 if (PyErr_Occurred()) SWIG_fail;
32525 }
32526 {
32527 wxSize * resultptr;
32528 resultptr = new wxSize((wxSize &)(result));
32529 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32530 }
32531 return resultobj;
32532 fail:
32533 return NULL;
32534 }
32535
32536
32537 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32538 PyObject *resultobj;
32539 wxPyControl *arg1 = (wxPyControl *) 0 ;
32540 wxSize result;
32541 PyObject * obj0 = 0 ;
32542 char *kwnames[] = {
32543 (char *) "self", NULL
32544 };
32545
32546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
32547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32548 if (SWIG_arg_fail(1)) SWIG_fail;
32549 {
32550 PyThreadState* __tstate = wxPyBeginAllowThreads();
32551 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32552
32553 wxPyEndAllowThreads(__tstate);
32554 if (PyErr_Occurred()) SWIG_fail;
32555 }
32556 {
32557 wxSize * resultptr;
32558 resultptr = new wxSize((wxSize &)(result));
32559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32560 }
32561 return resultobj;
32562 fail:
32563 return NULL;
32564 }
32565
32566
32567 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32568 PyObject *resultobj;
32569 wxPyControl *arg1 = (wxPyControl *) 0 ;
32570 PyObject * obj0 = 0 ;
32571 char *kwnames[] = {
32572 (char *) "self", NULL
32573 };
32574
32575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32577 if (SWIG_arg_fail(1)) SWIG_fail;
32578 {
32579 PyThreadState* __tstate = wxPyBeginAllowThreads();
32580 (arg1)->base_InitDialog();
32581
32582 wxPyEndAllowThreads(__tstate);
32583 if (PyErr_Occurred()) SWIG_fail;
32584 }
32585 Py_INCREF(Py_None); resultobj = Py_None;
32586 return resultobj;
32587 fail:
32588 return NULL;
32589 }
32590
32591
32592 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32593 PyObject *resultobj;
32594 wxPyControl *arg1 = (wxPyControl *) 0 ;
32595 bool result;
32596 PyObject * obj0 = 0 ;
32597 char *kwnames[] = {
32598 (char *) "self", NULL
32599 };
32600
32601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
32602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32603 if (SWIG_arg_fail(1)) SWIG_fail;
32604 {
32605 PyThreadState* __tstate = wxPyBeginAllowThreads();
32606 result = (bool)(arg1)->base_TransferDataToWindow();
32607
32608 wxPyEndAllowThreads(__tstate);
32609 if (PyErr_Occurred()) SWIG_fail;
32610 }
32611 {
32612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32613 }
32614 return resultobj;
32615 fail:
32616 return NULL;
32617 }
32618
32619
32620 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32621 PyObject *resultobj;
32622 wxPyControl *arg1 = (wxPyControl *) 0 ;
32623 bool result;
32624 PyObject * obj0 = 0 ;
32625 char *kwnames[] = {
32626 (char *) "self", NULL
32627 };
32628
32629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
32630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32631 if (SWIG_arg_fail(1)) SWIG_fail;
32632 {
32633 PyThreadState* __tstate = wxPyBeginAllowThreads();
32634 result = (bool)(arg1)->base_TransferDataFromWindow();
32635
32636 wxPyEndAllowThreads(__tstate);
32637 if (PyErr_Occurred()) SWIG_fail;
32638 }
32639 {
32640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32641 }
32642 return resultobj;
32643 fail:
32644 return NULL;
32645 }
32646
32647
32648 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32649 PyObject *resultobj;
32650 wxPyControl *arg1 = (wxPyControl *) 0 ;
32651 bool result;
32652 PyObject * obj0 = 0 ;
32653 char *kwnames[] = {
32654 (char *) "self", NULL
32655 };
32656
32657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
32658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32659 if (SWIG_arg_fail(1)) SWIG_fail;
32660 {
32661 PyThreadState* __tstate = wxPyBeginAllowThreads();
32662 result = (bool)(arg1)->base_Validate();
32663
32664 wxPyEndAllowThreads(__tstate);
32665 if (PyErr_Occurred()) SWIG_fail;
32666 }
32667 {
32668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32669 }
32670 return resultobj;
32671 fail:
32672 return NULL;
32673 }
32674
32675
32676 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32677 PyObject *resultobj;
32678 wxPyControl *arg1 = (wxPyControl *) 0 ;
32679 bool result;
32680 PyObject * obj0 = 0 ;
32681 char *kwnames[] = {
32682 (char *) "self", NULL
32683 };
32684
32685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
32686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32687 if (SWIG_arg_fail(1)) SWIG_fail;
32688 {
32689 PyThreadState* __tstate = wxPyBeginAllowThreads();
32690 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32691
32692 wxPyEndAllowThreads(__tstate);
32693 if (PyErr_Occurred()) SWIG_fail;
32694 }
32695 {
32696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32697 }
32698 return resultobj;
32699 fail:
32700 return NULL;
32701 }
32702
32703
32704 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32705 PyObject *resultobj;
32706 wxPyControl *arg1 = (wxPyControl *) 0 ;
32707 bool result;
32708 PyObject * obj0 = 0 ;
32709 char *kwnames[] = {
32710 (char *) "self", NULL
32711 };
32712
32713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
32714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32715 if (SWIG_arg_fail(1)) SWIG_fail;
32716 {
32717 PyThreadState* __tstate = wxPyBeginAllowThreads();
32718 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32719
32720 wxPyEndAllowThreads(__tstate);
32721 if (PyErr_Occurred()) SWIG_fail;
32722 }
32723 {
32724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32725 }
32726 return resultobj;
32727 fail:
32728 return NULL;
32729 }
32730
32731
32732 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32733 PyObject *resultobj;
32734 wxPyControl *arg1 = (wxPyControl *) 0 ;
32735 wxSize result;
32736 PyObject * obj0 = 0 ;
32737 char *kwnames[] = {
32738 (char *) "self", NULL
32739 };
32740
32741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
32742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32743 if (SWIG_arg_fail(1)) SWIG_fail;
32744 {
32745 PyThreadState* __tstate = wxPyBeginAllowThreads();
32746 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32747
32748 wxPyEndAllowThreads(__tstate);
32749 if (PyErr_Occurred()) SWIG_fail;
32750 }
32751 {
32752 wxSize * resultptr;
32753 resultptr = new wxSize((wxSize &)(result));
32754 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32755 }
32756 return resultobj;
32757 fail:
32758 return NULL;
32759 }
32760
32761
32762 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32763 PyObject *resultobj;
32764 wxPyControl *arg1 = (wxPyControl *) 0 ;
32765 wxWindow *arg2 = (wxWindow *) 0 ;
32766 PyObject * obj0 = 0 ;
32767 PyObject * obj1 = 0 ;
32768 char *kwnames[] = {
32769 (char *) "self",(char *) "child", NULL
32770 };
32771
32772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
32773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32774 if (SWIG_arg_fail(1)) SWIG_fail;
32775 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32776 if (SWIG_arg_fail(2)) SWIG_fail;
32777 {
32778 PyThreadState* __tstate = wxPyBeginAllowThreads();
32779 (arg1)->base_AddChild(arg2);
32780
32781 wxPyEndAllowThreads(__tstate);
32782 if (PyErr_Occurred()) SWIG_fail;
32783 }
32784 Py_INCREF(Py_None); resultobj = Py_None;
32785 return resultobj;
32786 fail:
32787 return NULL;
32788 }
32789
32790
32791 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32792 PyObject *resultobj;
32793 wxPyControl *arg1 = (wxPyControl *) 0 ;
32794 wxWindow *arg2 = (wxWindow *) 0 ;
32795 PyObject * obj0 = 0 ;
32796 PyObject * obj1 = 0 ;
32797 char *kwnames[] = {
32798 (char *) "self",(char *) "child", NULL
32799 };
32800
32801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
32802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32803 if (SWIG_arg_fail(1)) SWIG_fail;
32804 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32805 if (SWIG_arg_fail(2)) SWIG_fail;
32806 {
32807 PyThreadState* __tstate = wxPyBeginAllowThreads();
32808 (arg1)->base_RemoveChild(arg2);
32809
32810 wxPyEndAllowThreads(__tstate);
32811 if (PyErr_Occurred()) SWIG_fail;
32812 }
32813 Py_INCREF(Py_None); resultobj = Py_None;
32814 return resultobj;
32815 fail:
32816 return NULL;
32817 }
32818
32819
32820 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32821 PyObject *resultobj;
32822 wxPyControl *arg1 = (wxPyControl *) 0 ;
32823 bool result;
32824 PyObject * obj0 = 0 ;
32825 char *kwnames[] = {
32826 (char *) "self", NULL
32827 };
32828
32829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
32830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32831 if (SWIG_arg_fail(1)) SWIG_fail;
32832 {
32833 PyThreadState* __tstate = wxPyBeginAllowThreads();
32834 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
32835
32836 wxPyEndAllowThreads(__tstate);
32837 if (PyErr_Occurred()) SWIG_fail;
32838 }
32839 {
32840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32841 }
32842 return resultobj;
32843 fail:
32844 return NULL;
32845 }
32846
32847
32848 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32849 PyObject *resultobj;
32850 wxPyControl *arg1 = (wxPyControl *) 0 ;
32851 wxColour *arg2 = 0 ;
32852 wxColour temp2 ;
32853 PyObject * obj0 = 0 ;
32854 PyObject * obj1 = 0 ;
32855 char *kwnames[] = {
32856 (char *) "self",(char *) "c", NULL
32857 };
32858
32859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
32860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32861 if (SWIG_arg_fail(1)) SWIG_fail;
32862 {
32863 arg2 = &temp2;
32864 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32865 }
32866 {
32867 PyThreadState* __tstate = wxPyBeginAllowThreads();
32868 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
32869
32870 wxPyEndAllowThreads(__tstate);
32871 if (PyErr_Occurred()) SWIG_fail;
32872 }
32873 Py_INCREF(Py_None); resultobj = Py_None;
32874 return resultobj;
32875 fail:
32876 return NULL;
32877 }
32878
32879
32880 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32881 PyObject *resultobj;
32882 wxPyControl *arg1 = (wxPyControl *) 0 ;
32883 wxVisualAttributes result;
32884 PyObject * obj0 = 0 ;
32885 char *kwnames[] = {
32886 (char *) "self", NULL
32887 };
32888
32889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
32890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32891 if (SWIG_arg_fail(1)) SWIG_fail;
32892 {
32893 PyThreadState* __tstate = wxPyBeginAllowThreads();
32894 result = (arg1)->base_GetDefaultAttributes();
32895
32896 wxPyEndAllowThreads(__tstate);
32897 if (PyErr_Occurred()) SWIG_fail;
32898 }
32899 {
32900 wxVisualAttributes * resultptr;
32901 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
32902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32903 }
32904 return resultobj;
32905 fail:
32906 return NULL;
32907 }
32908
32909
32910 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
32911 PyObject *obj;
32912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32913 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32914 Py_INCREF(obj);
32915 return Py_BuildValue((char *)"");
32916 }
32917 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32918 PyObject *resultobj;
32919 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32920 int arg2 = (int) 0 ;
32921 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32922 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32923 wxHelpEvent *result;
32924 wxPoint temp3 ;
32925 PyObject * obj0 = 0 ;
32926 PyObject * obj1 = 0 ;
32927 PyObject * obj2 = 0 ;
32928 char *kwnames[] = {
32929 (char *) "type",(char *) "winid",(char *) "pt", NULL
32930 };
32931
32932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
32933 if (obj0) {
32934 {
32935 arg1 = (wxEventType)(SWIG_As_int(obj0));
32936 if (SWIG_arg_fail(1)) SWIG_fail;
32937 }
32938 }
32939 if (obj1) {
32940 {
32941 arg2 = (int)(SWIG_As_int(obj1));
32942 if (SWIG_arg_fail(2)) SWIG_fail;
32943 }
32944 }
32945 if (obj2) {
32946 {
32947 arg3 = &temp3;
32948 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32949 }
32950 }
32951 {
32952 PyThreadState* __tstate = wxPyBeginAllowThreads();
32953 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
32954
32955 wxPyEndAllowThreads(__tstate);
32956 if (PyErr_Occurred()) SWIG_fail;
32957 }
32958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
32959 return resultobj;
32960 fail:
32961 return NULL;
32962 }
32963
32964
32965 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32966 PyObject *resultobj;
32967 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32968 wxPoint result;
32969 PyObject * obj0 = 0 ;
32970 char *kwnames[] = {
32971 (char *) "self", NULL
32972 };
32973
32974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
32975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
32976 if (SWIG_arg_fail(1)) SWIG_fail;
32977 {
32978 PyThreadState* __tstate = wxPyBeginAllowThreads();
32979 result = ((wxHelpEvent const *)arg1)->GetPosition();
32980
32981 wxPyEndAllowThreads(__tstate);
32982 if (PyErr_Occurred()) SWIG_fail;
32983 }
32984 {
32985 wxPoint * resultptr;
32986 resultptr = new wxPoint((wxPoint const &)(result));
32987 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
32988 }
32989 return resultobj;
32990 fail:
32991 return NULL;
32992 }
32993
32994
32995 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32996 PyObject *resultobj;
32997 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32998 wxPoint *arg2 = 0 ;
32999 wxPoint temp2 ;
33000 PyObject * obj0 = 0 ;
33001 PyObject * obj1 = 0 ;
33002 char *kwnames[] = {
33003 (char *) "self",(char *) "pos", NULL
33004 };
33005
33006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33008 if (SWIG_arg_fail(1)) SWIG_fail;
33009 {
33010 arg2 = &temp2;
33011 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33012 }
33013 {
33014 PyThreadState* __tstate = wxPyBeginAllowThreads();
33015 (arg1)->SetPosition((wxPoint const &)*arg2);
33016
33017 wxPyEndAllowThreads(__tstate);
33018 if (PyErr_Occurred()) SWIG_fail;
33019 }
33020 Py_INCREF(Py_None); resultobj = Py_None;
33021 return resultobj;
33022 fail:
33023 return NULL;
33024 }
33025
33026
33027 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33028 PyObject *resultobj;
33029 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33030 wxString *result;
33031 PyObject * obj0 = 0 ;
33032 char *kwnames[] = {
33033 (char *) "self", NULL
33034 };
33035
33036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33038 if (SWIG_arg_fail(1)) SWIG_fail;
33039 {
33040 PyThreadState* __tstate = wxPyBeginAllowThreads();
33041 {
33042 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33043 result = (wxString *) &_result_ref;
33044 }
33045
33046 wxPyEndAllowThreads(__tstate);
33047 if (PyErr_Occurred()) SWIG_fail;
33048 }
33049 {
33050 #if wxUSE_UNICODE
33051 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33052 #else
33053 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33054 #endif
33055 }
33056 return resultobj;
33057 fail:
33058 return NULL;
33059 }
33060
33061
33062 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33063 PyObject *resultobj;
33064 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33065 wxString *arg2 = 0 ;
33066 bool temp2 = false ;
33067 PyObject * obj0 = 0 ;
33068 PyObject * obj1 = 0 ;
33069 char *kwnames[] = {
33070 (char *) "self",(char *) "link", NULL
33071 };
33072
33073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33075 if (SWIG_arg_fail(1)) SWIG_fail;
33076 {
33077 arg2 = wxString_in_helper(obj1);
33078 if (arg2 == NULL) SWIG_fail;
33079 temp2 = true;
33080 }
33081 {
33082 PyThreadState* __tstate = wxPyBeginAllowThreads();
33083 (arg1)->SetLink((wxString const &)*arg2);
33084
33085 wxPyEndAllowThreads(__tstate);
33086 if (PyErr_Occurred()) SWIG_fail;
33087 }
33088 Py_INCREF(Py_None); resultobj = Py_None;
33089 {
33090 if (temp2)
33091 delete arg2;
33092 }
33093 return resultobj;
33094 fail:
33095 {
33096 if (temp2)
33097 delete arg2;
33098 }
33099 return NULL;
33100 }
33101
33102
33103 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33104 PyObject *resultobj;
33105 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33106 wxString *result;
33107 PyObject * obj0 = 0 ;
33108 char *kwnames[] = {
33109 (char *) "self", NULL
33110 };
33111
33112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33114 if (SWIG_arg_fail(1)) SWIG_fail;
33115 {
33116 PyThreadState* __tstate = wxPyBeginAllowThreads();
33117 {
33118 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33119 result = (wxString *) &_result_ref;
33120 }
33121
33122 wxPyEndAllowThreads(__tstate);
33123 if (PyErr_Occurred()) SWIG_fail;
33124 }
33125 {
33126 #if wxUSE_UNICODE
33127 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33128 #else
33129 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33130 #endif
33131 }
33132 return resultobj;
33133 fail:
33134 return NULL;
33135 }
33136
33137
33138 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33139 PyObject *resultobj;
33140 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33141 wxString *arg2 = 0 ;
33142 bool temp2 = false ;
33143 PyObject * obj0 = 0 ;
33144 PyObject * obj1 = 0 ;
33145 char *kwnames[] = {
33146 (char *) "self",(char *) "target", NULL
33147 };
33148
33149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33151 if (SWIG_arg_fail(1)) SWIG_fail;
33152 {
33153 arg2 = wxString_in_helper(obj1);
33154 if (arg2 == NULL) SWIG_fail;
33155 temp2 = true;
33156 }
33157 {
33158 PyThreadState* __tstate = wxPyBeginAllowThreads();
33159 (arg1)->SetTarget((wxString const &)*arg2);
33160
33161 wxPyEndAllowThreads(__tstate);
33162 if (PyErr_Occurred()) SWIG_fail;
33163 }
33164 Py_INCREF(Py_None); resultobj = Py_None;
33165 {
33166 if (temp2)
33167 delete arg2;
33168 }
33169 return resultobj;
33170 fail:
33171 {
33172 if (temp2)
33173 delete arg2;
33174 }
33175 return NULL;
33176 }
33177
33178
33179 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33180 PyObject *obj;
33181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33182 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33183 Py_INCREF(obj);
33184 return Py_BuildValue((char *)"");
33185 }
33186 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33187 PyObject *resultobj;
33188 wxWindow *arg1 = (wxWindow *) NULL ;
33189 bool arg2 = (bool) true ;
33190 wxContextHelp *result;
33191 PyObject * obj0 = 0 ;
33192 PyObject * obj1 = 0 ;
33193 char *kwnames[] = {
33194 (char *) "window",(char *) "doNow", NULL
33195 };
33196
33197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33198 if (obj0) {
33199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33200 if (SWIG_arg_fail(1)) SWIG_fail;
33201 }
33202 if (obj1) {
33203 {
33204 arg2 = (bool)(SWIG_As_bool(obj1));
33205 if (SWIG_arg_fail(2)) SWIG_fail;
33206 }
33207 }
33208 {
33209 if (!wxPyCheckForApp()) SWIG_fail;
33210 PyThreadState* __tstate = wxPyBeginAllowThreads();
33211 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33212
33213 wxPyEndAllowThreads(__tstate);
33214 if (PyErr_Occurred()) SWIG_fail;
33215 }
33216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33217 return resultobj;
33218 fail:
33219 return NULL;
33220 }
33221
33222
33223 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33224 PyObject *resultobj;
33225 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33226 PyObject * obj0 = 0 ;
33227 char *kwnames[] = {
33228 (char *) "self", NULL
33229 };
33230
33231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33233 if (SWIG_arg_fail(1)) SWIG_fail;
33234 {
33235 PyThreadState* __tstate = wxPyBeginAllowThreads();
33236 delete arg1;
33237
33238 wxPyEndAllowThreads(__tstate);
33239 if (PyErr_Occurred()) SWIG_fail;
33240 }
33241 Py_INCREF(Py_None); resultobj = Py_None;
33242 return resultobj;
33243 fail:
33244 return NULL;
33245 }
33246
33247
33248 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33249 PyObject *resultobj;
33250 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33251 wxWindow *arg2 = (wxWindow *) NULL ;
33252 bool result;
33253 PyObject * obj0 = 0 ;
33254 PyObject * obj1 = 0 ;
33255 char *kwnames[] = {
33256 (char *) "self",(char *) "window", NULL
33257 };
33258
33259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33261 if (SWIG_arg_fail(1)) SWIG_fail;
33262 if (obj1) {
33263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33264 if (SWIG_arg_fail(2)) SWIG_fail;
33265 }
33266 {
33267 PyThreadState* __tstate = wxPyBeginAllowThreads();
33268 result = (bool)(arg1)->BeginContextHelp(arg2);
33269
33270 wxPyEndAllowThreads(__tstate);
33271 if (PyErr_Occurred()) SWIG_fail;
33272 }
33273 {
33274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33275 }
33276 return resultobj;
33277 fail:
33278 return NULL;
33279 }
33280
33281
33282 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33283 PyObject *resultobj;
33284 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33285 bool result;
33286 PyObject * obj0 = 0 ;
33287 char *kwnames[] = {
33288 (char *) "self", NULL
33289 };
33290
33291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33293 if (SWIG_arg_fail(1)) SWIG_fail;
33294 {
33295 PyThreadState* __tstate = wxPyBeginAllowThreads();
33296 result = (bool)(arg1)->EndContextHelp();
33297
33298 wxPyEndAllowThreads(__tstate);
33299 if (PyErr_Occurred()) SWIG_fail;
33300 }
33301 {
33302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33303 }
33304 return resultobj;
33305 fail:
33306 return NULL;
33307 }
33308
33309
33310 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33311 PyObject *obj;
33312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33313 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33314 Py_INCREF(obj);
33315 return Py_BuildValue((char *)"");
33316 }
33317 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33318 PyObject *resultobj;
33319 wxWindow *arg1 = (wxWindow *) 0 ;
33320 int arg2 = (int) wxID_CONTEXT_HELP ;
33321 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33322 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33323 wxSize const &arg4_defvalue = wxDefaultSize ;
33324 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33325 long arg5 = (long) wxBU_AUTODRAW ;
33326 wxContextHelpButton *result;
33327 wxPoint temp3 ;
33328 wxSize temp4 ;
33329 PyObject * obj0 = 0 ;
33330 PyObject * obj1 = 0 ;
33331 PyObject * obj2 = 0 ;
33332 PyObject * obj3 = 0 ;
33333 PyObject * obj4 = 0 ;
33334 char *kwnames[] = {
33335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33336 };
33337
33338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33340 if (SWIG_arg_fail(1)) SWIG_fail;
33341 if (obj1) {
33342 {
33343 arg2 = (int)(SWIG_As_int(obj1));
33344 if (SWIG_arg_fail(2)) SWIG_fail;
33345 }
33346 }
33347 if (obj2) {
33348 {
33349 arg3 = &temp3;
33350 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33351 }
33352 }
33353 if (obj3) {
33354 {
33355 arg4 = &temp4;
33356 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33357 }
33358 }
33359 if (obj4) {
33360 {
33361 arg5 = (long)(SWIG_As_long(obj4));
33362 if (SWIG_arg_fail(5)) SWIG_fail;
33363 }
33364 }
33365 {
33366 if (!wxPyCheckForApp()) SWIG_fail;
33367 PyThreadState* __tstate = wxPyBeginAllowThreads();
33368 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33369
33370 wxPyEndAllowThreads(__tstate);
33371 if (PyErr_Occurred()) SWIG_fail;
33372 }
33373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33374 return resultobj;
33375 fail:
33376 return NULL;
33377 }
33378
33379
33380 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33381 PyObject *obj;
33382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33383 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33384 Py_INCREF(obj);
33385 return Py_BuildValue((char *)"");
33386 }
33387 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33388 PyObject *resultobj;
33389 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33390 wxHelpProvider *result;
33391 PyObject * obj0 = 0 ;
33392 char *kwnames[] = {
33393 (char *) "helpProvider", NULL
33394 };
33395
33396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33398 if (SWIG_arg_fail(1)) SWIG_fail;
33399 {
33400 PyThreadState* __tstate = wxPyBeginAllowThreads();
33401 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33402
33403 wxPyEndAllowThreads(__tstate);
33404 if (PyErr_Occurred()) SWIG_fail;
33405 }
33406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33407 return resultobj;
33408 fail:
33409 return NULL;
33410 }
33411
33412
33413 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33414 PyObject *resultobj;
33415 wxHelpProvider *result;
33416 char *kwnames[] = {
33417 NULL
33418 };
33419
33420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33421 {
33422 PyThreadState* __tstate = wxPyBeginAllowThreads();
33423 result = (wxHelpProvider *)wxHelpProvider::Get();
33424
33425 wxPyEndAllowThreads(__tstate);
33426 if (PyErr_Occurred()) SWIG_fail;
33427 }
33428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33429 return resultobj;
33430 fail:
33431 return NULL;
33432 }
33433
33434
33435 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33436 PyObject *resultobj;
33437 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33438 wxWindow *arg2 = (wxWindow *) 0 ;
33439 wxString result;
33440 PyObject * obj0 = 0 ;
33441 PyObject * obj1 = 0 ;
33442 char *kwnames[] = {
33443 (char *) "self",(char *) "window", NULL
33444 };
33445
33446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33448 if (SWIG_arg_fail(1)) SWIG_fail;
33449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33450 if (SWIG_arg_fail(2)) SWIG_fail;
33451 {
33452 PyThreadState* __tstate = wxPyBeginAllowThreads();
33453 result = (arg1)->GetHelp((wxWindow const *)arg2);
33454
33455 wxPyEndAllowThreads(__tstate);
33456 if (PyErr_Occurred()) SWIG_fail;
33457 }
33458 {
33459 #if wxUSE_UNICODE
33460 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33461 #else
33462 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33463 #endif
33464 }
33465 return resultobj;
33466 fail:
33467 return NULL;
33468 }
33469
33470
33471 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33472 PyObject *resultobj;
33473 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33474 wxWindow *arg2 = (wxWindow *) 0 ;
33475 bool result;
33476 PyObject * obj0 = 0 ;
33477 PyObject * obj1 = 0 ;
33478 char *kwnames[] = {
33479 (char *) "self",(char *) "window", NULL
33480 };
33481
33482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33484 if (SWIG_arg_fail(1)) SWIG_fail;
33485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33486 if (SWIG_arg_fail(2)) SWIG_fail;
33487 {
33488 PyThreadState* __tstate = wxPyBeginAllowThreads();
33489 result = (bool)(arg1)->ShowHelp(arg2);
33490
33491 wxPyEndAllowThreads(__tstate);
33492 if (PyErr_Occurred()) SWIG_fail;
33493 }
33494 {
33495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33496 }
33497 return resultobj;
33498 fail:
33499 return NULL;
33500 }
33501
33502
33503 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33504 PyObject *resultobj;
33505 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33506 wxWindow *arg2 = (wxWindow *) 0 ;
33507 wxString *arg3 = 0 ;
33508 bool temp3 = false ;
33509 PyObject * obj0 = 0 ;
33510 PyObject * obj1 = 0 ;
33511 PyObject * obj2 = 0 ;
33512 char *kwnames[] = {
33513 (char *) "self",(char *) "window",(char *) "text", NULL
33514 };
33515
33516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33518 if (SWIG_arg_fail(1)) SWIG_fail;
33519 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33520 if (SWIG_arg_fail(2)) SWIG_fail;
33521 {
33522 arg3 = wxString_in_helper(obj2);
33523 if (arg3 == NULL) SWIG_fail;
33524 temp3 = true;
33525 }
33526 {
33527 PyThreadState* __tstate = wxPyBeginAllowThreads();
33528 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33529
33530 wxPyEndAllowThreads(__tstate);
33531 if (PyErr_Occurred()) SWIG_fail;
33532 }
33533 Py_INCREF(Py_None); resultobj = Py_None;
33534 {
33535 if (temp3)
33536 delete arg3;
33537 }
33538 return resultobj;
33539 fail:
33540 {
33541 if (temp3)
33542 delete arg3;
33543 }
33544 return NULL;
33545 }
33546
33547
33548 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33549 PyObject *resultobj;
33550 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33551 int arg2 ;
33552 wxString *arg3 = 0 ;
33553 bool temp3 = false ;
33554 PyObject * obj0 = 0 ;
33555 PyObject * obj1 = 0 ;
33556 PyObject * obj2 = 0 ;
33557 char *kwnames[] = {
33558 (char *) "self",(char *) "id",(char *) "text", NULL
33559 };
33560
33561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33563 if (SWIG_arg_fail(1)) SWIG_fail;
33564 {
33565 arg2 = (int)(SWIG_As_int(obj1));
33566 if (SWIG_arg_fail(2)) SWIG_fail;
33567 }
33568 {
33569 arg3 = wxString_in_helper(obj2);
33570 if (arg3 == NULL) SWIG_fail;
33571 temp3 = true;
33572 }
33573 {
33574 PyThreadState* __tstate = wxPyBeginAllowThreads();
33575 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33576
33577 wxPyEndAllowThreads(__tstate);
33578 if (PyErr_Occurred()) SWIG_fail;
33579 }
33580 Py_INCREF(Py_None); resultobj = Py_None;
33581 {
33582 if (temp3)
33583 delete arg3;
33584 }
33585 return resultobj;
33586 fail:
33587 {
33588 if (temp3)
33589 delete arg3;
33590 }
33591 return NULL;
33592 }
33593
33594
33595 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33596 PyObject *resultobj;
33597 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33598 wxWindow *arg2 = (wxWindow *) 0 ;
33599 PyObject * obj0 = 0 ;
33600 PyObject * obj1 = 0 ;
33601 char *kwnames[] = {
33602 (char *) "self",(char *) "window", NULL
33603 };
33604
33605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33607 if (SWIG_arg_fail(1)) SWIG_fail;
33608 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33609 if (SWIG_arg_fail(2)) SWIG_fail;
33610 {
33611 PyThreadState* __tstate = wxPyBeginAllowThreads();
33612 (arg1)->RemoveHelp(arg2);
33613
33614 wxPyEndAllowThreads(__tstate);
33615 if (PyErr_Occurred()) SWIG_fail;
33616 }
33617 Py_INCREF(Py_None); resultobj = Py_None;
33618 return resultobj;
33619 fail:
33620 return NULL;
33621 }
33622
33623
33624 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
33625 PyObject *resultobj;
33626 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33627 PyObject * obj0 = 0 ;
33628 char *kwnames[] = {
33629 (char *) "self", NULL
33630 };
33631
33632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
33633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33634 if (SWIG_arg_fail(1)) SWIG_fail;
33635 {
33636 PyThreadState* __tstate = wxPyBeginAllowThreads();
33637 wxHelpProvider_Destroy(arg1);
33638
33639 wxPyEndAllowThreads(__tstate);
33640 if (PyErr_Occurred()) SWIG_fail;
33641 }
33642 Py_INCREF(Py_None); resultobj = Py_None;
33643 return resultobj;
33644 fail:
33645 return NULL;
33646 }
33647
33648
33649 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
33650 PyObject *obj;
33651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33652 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33653 Py_INCREF(obj);
33654 return Py_BuildValue((char *)"");
33655 }
33656 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
33657 PyObject *resultobj;
33658 wxSimpleHelpProvider *result;
33659 char *kwnames[] = {
33660 NULL
33661 };
33662
33663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33664 {
33665 PyThreadState* __tstate = wxPyBeginAllowThreads();
33666 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33667
33668 wxPyEndAllowThreads(__tstate);
33669 if (PyErr_Occurred()) SWIG_fail;
33670 }
33671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33672 return resultobj;
33673 fail:
33674 return NULL;
33675 }
33676
33677
33678 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
33679 PyObject *obj;
33680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33681 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33682 Py_INCREF(obj);
33683 return Py_BuildValue((char *)"");
33684 }
33685 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33686 PyObject *resultobj;
33687 wxBitmap *arg1 = 0 ;
33688 wxCursor const &arg2_defvalue = wxNullCursor ;
33689 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33690 wxGenericDragImage *result;
33691 PyObject * obj0 = 0 ;
33692 PyObject * obj1 = 0 ;
33693 char *kwnames[] = {
33694 (char *) "image",(char *) "cursor", NULL
33695 };
33696
33697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
33698 {
33699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33700 if (SWIG_arg_fail(1)) SWIG_fail;
33701 if (arg1 == NULL) {
33702 SWIG_null_ref("wxBitmap");
33703 }
33704 if (SWIG_arg_fail(1)) SWIG_fail;
33705 }
33706 if (obj1) {
33707 {
33708 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33709 if (SWIG_arg_fail(2)) SWIG_fail;
33710 if (arg2 == NULL) {
33711 SWIG_null_ref("wxCursor");
33712 }
33713 if (SWIG_arg_fail(2)) SWIG_fail;
33714 }
33715 }
33716 {
33717 if (!wxPyCheckForApp()) SWIG_fail;
33718 PyThreadState* __tstate = wxPyBeginAllowThreads();
33719 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33720
33721 wxPyEndAllowThreads(__tstate);
33722 if (PyErr_Occurred()) SWIG_fail;
33723 }
33724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33725 return resultobj;
33726 fail:
33727 return NULL;
33728 }
33729
33730
33731 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
33732 PyObject *resultobj;
33733 wxIcon *arg1 = 0 ;
33734 wxCursor const &arg2_defvalue = wxNullCursor ;
33735 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33736 wxGenericDragImage *result;
33737 PyObject * obj0 = 0 ;
33738 PyObject * obj1 = 0 ;
33739 char *kwnames[] = {
33740 (char *) "image",(char *) "cursor", NULL
33741 };
33742
33743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
33744 {
33745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33746 if (SWIG_arg_fail(1)) SWIG_fail;
33747 if (arg1 == NULL) {
33748 SWIG_null_ref("wxIcon");
33749 }
33750 if (SWIG_arg_fail(1)) SWIG_fail;
33751 }
33752 if (obj1) {
33753 {
33754 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33755 if (SWIG_arg_fail(2)) SWIG_fail;
33756 if (arg2 == NULL) {
33757 SWIG_null_ref("wxCursor");
33758 }
33759 if (SWIG_arg_fail(2)) SWIG_fail;
33760 }
33761 }
33762 {
33763 if (!wxPyCheckForApp()) SWIG_fail;
33764 PyThreadState* __tstate = wxPyBeginAllowThreads();
33765 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33766
33767 wxPyEndAllowThreads(__tstate);
33768 if (PyErr_Occurred()) SWIG_fail;
33769 }
33770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33771 return resultobj;
33772 fail:
33773 return NULL;
33774 }
33775
33776
33777 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
33778 PyObject *resultobj;
33779 wxString *arg1 = 0 ;
33780 wxCursor const &arg2_defvalue = wxNullCursor ;
33781 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33782 wxGenericDragImage *result;
33783 bool temp1 = false ;
33784 PyObject * obj0 = 0 ;
33785 PyObject * obj1 = 0 ;
33786 char *kwnames[] = {
33787 (char *) "str",(char *) "cursor", NULL
33788 };
33789
33790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33791 {
33792 arg1 = wxString_in_helper(obj0);
33793 if (arg1 == NULL) SWIG_fail;
33794 temp1 = true;
33795 }
33796 if (obj1) {
33797 {
33798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33799 if (SWIG_arg_fail(2)) SWIG_fail;
33800 if (arg2 == NULL) {
33801 SWIG_null_ref("wxCursor");
33802 }
33803 if (SWIG_arg_fail(2)) SWIG_fail;
33804 }
33805 }
33806 {
33807 if (!wxPyCheckForApp()) SWIG_fail;
33808 PyThreadState* __tstate = wxPyBeginAllowThreads();
33809 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33810
33811 wxPyEndAllowThreads(__tstate);
33812 if (PyErr_Occurred()) SWIG_fail;
33813 }
33814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33815 {
33816 if (temp1)
33817 delete arg1;
33818 }
33819 return resultobj;
33820 fail:
33821 {
33822 if (temp1)
33823 delete arg1;
33824 }
33825 return NULL;
33826 }
33827
33828
33829 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
33830 PyObject *resultobj;
33831 wxPyTreeCtrl *arg1 = 0 ;
33832 wxTreeItemId *arg2 = 0 ;
33833 wxGenericDragImage *result;
33834 PyObject * obj0 = 0 ;
33835 PyObject * obj1 = 0 ;
33836 char *kwnames[] = {
33837 (char *) "treeCtrl",(char *) "id", NULL
33838 };
33839
33840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
33841 {
33842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33843 if (SWIG_arg_fail(1)) SWIG_fail;
33844 if (arg1 == NULL) {
33845 SWIG_null_ref("wxPyTreeCtrl");
33846 }
33847 if (SWIG_arg_fail(1)) SWIG_fail;
33848 }
33849 {
33850 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33851 if (SWIG_arg_fail(2)) SWIG_fail;
33852 if (arg2 == NULL) {
33853 SWIG_null_ref("wxTreeItemId");
33854 }
33855 if (SWIG_arg_fail(2)) SWIG_fail;
33856 }
33857 {
33858 if (!wxPyCheckForApp()) SWIG_fail;
33859 PyThreadState* __tstate = wxPyBeginAllowThreads();
33860 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33861
33862 wxPyEndAllowThreads(__tstate);
33863 if (PyErr_Occurred()) SWIG_fail;
33864 }
33865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33866 return resultobj;
33867 fail:
33868 return NULL;
33869 }
33870
33871
33872 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
33873 PyObject *resultobj;
33874 wxPyListCtrl *arg1 = 0 ;
33875 long arg2 ;
33876 wxGenericDragImage *result;
33877 PyObject * obj0 = 0 ;
33878 PyObject * obj1 = 0 ;
33879 char *kwnames[] = {
33880 (char *) "listCtrl",(char *) "id", NULL
33881 };
33882
33883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
33884 {
33885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33886 if (SWIG_arg_fail(1)) SWIG_fail;
33887 if (arg1 == NULL) {
33888 SWIG_null_ref("wxPyListCtrl");
33889 }
33890 if (SWIG_arg_fail(1)) SWIG_fail;
33891 }
33892 {
33893 arg2 = (long)(SWIG_As_long(obj1));
33894 if (SWIG_arg_fail(2)) SWIG_fail;
33895 }
33896 {
33897 if (!wxPyCheckForApp()) SWIG_fail;
33898 PyThreadState* __tstate = wxPyBeginAllowThreads();
33899 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33900
33901 wxPyEndAllowThreads(__tstate);
33902 if (PyErr_Occurred()) SWIG_fail;
33903 }
33904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33905 return resultobj;
33906 fail:
33907 return NULL;
33908 }
33909
33910
33911 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33912 PyObject *resultobj;
33913 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33914 PyObject * obj0 = 0 ;
33915 char *kwnames[] = {
33916 (char *) "self", NULL
33917 };
33918
33919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
33920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33921 if (SWIG_arg_fail(1)) SWIG_fail;
33922 {
33923 PyThreadState* __tstate = wxPyBeginAllowThreads();
33924 delete arg1;
33925
33926 wxPyEndAllowThreads(__tstate);
33927 if (PyErr_Occurred()) SWIG_fail;
33928 }
33929 Py_INCREF(Py_None); resultobj = Py_None;
33930 return resultobj;
33931 fail:
33932 return NULL;
33933 }
33934
33935
33936 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
33937 PyObject *resultobj;
33938 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33939 wxBitmap *arg2 = (wxBitmap *) 0 ;
33940 PyObject * obj0 = 0 ;
33941 PyObject * obj1 = 0 ;
33942 char *kwnames[] = {
33943 (char *) "self",(char *) "bitmap", NULL
33944 };
33945
33946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
33947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33948 if (SWIG_arg_fail(1)) SWIG_fail;
33949 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33950 if (SWIG_arg_fail(2)) SWIG_fail;
33951 {
33952 PyThreadState* __tstate = wxPyBeginAllowThreads();
33953 (arg1)->SetBackingBitmap(arg2);
33954
33955 wxPyEndAllowThreads(__tstate);
33956 if (PyErr_Occurred()) SWIG_fail;
33957 }
33958 Py_INCREF(Py_None); resultobj = Py_None;
33959 return resultobj;
33960 fail:
33961 return NULL;
33962 }
33963
33964
33965 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
33966 PyObject *resultobj;
33967 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33968 wxPoint *arg2 = 0 ;
33969 wxWindow *arg3 = (wxWindow *) 0 ;
33970 bool arg4 = (bool) false ;
33971 wxRect *arg5 = (wxRect *) NULL ;
33972 bool result;
33973 wxPoint temp2 ;
33974 PyObject * obj0 = 0 ;
33975 PyObject * obj1 = 0 ;
33976 PyObject * obj2 = 0 ;
33977 PyObject * obj3 = 0 ;
33978 PyObject * obj4 = 0 ;
33979 char *kwnames[] = {
33980 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33981 };
33982
33983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33985 if (SWIG_arg_fail(1)) SWIG_fail;
33986 {
33987 arg2 = &temp2;
33988 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33989 }
33990 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33991 if (SWIG_arg_fail(3)) SWIG_fail;
33992 if (obj3) {
33993 {
33994 arg4 = (bool)(SWIG_As_bool(obj3));
33995 if (SWIG_arg_fail(4)) SWIG_fail;
33996 }
33997 }
33998 if (obj4) {
33999 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34000 if (SWIG_arg_fail(5)) SWIG_fail;
34001 }
34002 {
34003 PyThreadState* __tstate = wxPyBeginAllowThreads();
34004 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34005
34006 wxPyEndAllowThreads(__tstate);
34007 if (PyErr_Occurred()) SWIG_fail;
34008 }
34009 {
34010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34011 }
34012 return resultobj;
34013 fail:
34014 return NULL;
34015 }
34016
34017
34018 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34019 PyObject *resultobj;
34020 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34021 wxPoint *arg2 = 0 ;
34022 wxWindow *arg3 = (wxWindow *) 0 ;
34023 wxWindow *arg4 = (wxWindow *) 0 ;
34024 bool result;
34025 wxPoint temp2 ;
34026 PyObject * obj0 = 0 ;
34027 PyObject * obj1 = 0 ;
34028 PyObject * obj2 = 0 ;
34029 PyObject * obj3 = 0 ;
34030 char *kwnames[] = {
34031 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34032 };
34033
34034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34036 if (SWIG_arg_fail(1)) SWIG_fail;
34037 {
34038 arg2 = &temp2;
34039 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34040 }
34041 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34042 if (SWIG_arg_fail(3)) SWIG_fail;
34043 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34044 if (SWIG_arg_fail(4)) SWIG_fail;
34045 {
34046 PyThreadState* __tstate = wxPyBeginAllowThreads();
34047 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34048
34049 wxPyEndAllowThreads(__tstate);
34050 if (PyErr_Occurred()) SWIG_fail;
34051 }
34052 {
34053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34054 }
34055 return resultobj;
34056 fail:
34057 return NULL;
34058 }
34059
34060
34061 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34062 PyObject *resultobj;
34063 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34064 bool result;
34065 PyObject * obj0 = 0 ;
34066 char *kwnames[] = {
34067 (char *) "self", NULL
34068 };
34069
34070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34072 if (SWIG_arg_fail(1)) SWIG_fail;
34073 {
34074 PyThreadState* __tstate = wxPyBeginAllowThreads();
34075 result = (bool)(arg1)->EndDrag();
34076
34077 wxPyEndAllowThreads(__tstate);
34078 if (PyErr_Occurred()) SWIG_fail;
34079 }
34080 {
34081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34082 }
34083 return resultobj;
34084 fail:
34085 return NULL;
34086 }
34087
34088
34089 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34090 PyObject *resultobj;
34091 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34092 wxPoint *arg2 = 0 ;
34093 bool result;
34094 wxPoint temp2 ;
34095 PyObject * obj0 = 0 ;
34096 PyObject * obj1 = 0 ;
34097 char *kwnames[] = {
34098 (char *) "self",(char *) "pt", NULL
34099 };
34100
34101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34103 if (SWIG_arg_fail(1)) SWIG_fail;
34104 {
34105 arg2 = &temp2;
34106 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34107 }
34108 {
34109 PyThreadState* __tstate = wxPyBeginAllowThreads();
34110 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34111
34112 wxPyEndAllowThreads(__tstate);
34113 if (PyErr_Occurred()) SWIG_fail;
34114 }
34115 {
34116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34117 }
34118 return resultobj;
34119 fail:
34120 return NULL;
34121 }
34122
34123
34124 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34125 PyObject *resultobj;
34126 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34127 bool result;
34128 PyObject * obj0 = 0 ;
34129 char *kwnames[] = {
34130 (char *) "self", NULL
34131 };
34132
34133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34135 if (SWIG_arg_fail(1)) SWIG_fail;
34136 {
34137 PyThreadState* __tstate = wxPyBeginAllowThreads();
34138 result = (bool)(arg1)->Show();
34139
34140 wxPyEndAllowThreads(__tstate);
34141 if (PyErr_Occurred()) SWIG_fail;
34142 }
34143 {
34144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34145 }
34146 return resultobj;
34147 fail:
34148 return NULL;
34149 }
34150
34151
34152 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34153 PyObject *resultobj;
34154 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34155 bool result;
34156 PyObject * obj0 = 0 ;
34157 char *kwnames[] = {
34158 (char *) "self", NULL
34159 };
34160
34161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34163 if (SWIG_arg_fail(1)) SWIG_fail;
34164 {
34165 PyThreadState* __tstate = wxPyBeginAllowThreads();
34166 result = (bool)(arg1)->Hide();
34167
34168 wxPyEndAllowThreads(__tstate);
34169 if (PyErr_Occurred()) SWIG_fail;
34170 }
34171 {
34172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34173 }
34174 return resultobj;
34175 fail:
34176 return NULL;
34177 }
34178
34179
34180 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34181 PyObject *resultobj;
34182 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34183 wxPoint *arg2 = 0 ;
34184 wxRect result;
34185 wxPoint temp2 ;
34186 PyObject * obj0 = 0 ;
34187 PyObject * obj1 = 0 ;
34188 char *kwnames[] = {
34189 (char *) "self",(char *) "pos", NULL
34190 };
34191
34192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34194 if (SWIG_arg_fail(1)) SWIG_fail;
34195 {
34196 arg2 = &temp2;
34197 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34198 }
34199 {
34200 PyThreadState* __tstate = wxPyBeginAllowThreads();
34201 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34202
34203 wxPyEndAllowThreads(__tstate);
34204 if (PyErr_Occurred()) SWIG_fail;
34205 }
34206 {
34207 wxRect * resultptr;
34208 resultptr = new wxRect((wxRect &)(result));
34209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34210 }
34211 return resultobj;
34212 fail:
34213 return NULL;
34214 }
34215
34216
34217 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34218 PyObject *resultobj;
34219 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34220 wxDC *arg2 = 0 ;
34221 wxPoint *arg3 = 0 ;
34222 bool result;
34223 wxPoint temp3 ;
34224 PyObject * obj0 = 0 ;
34225 PyObject * obj1 = 0 ;
34226 PyObject * obj2 = 0 ;
34227 char *kwnames[] = {
34228 (char *) "self",(char *) "dc",(char *) "pos", NULL
34229 };
34230
34231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34233 if (SWIG_arg_fail(1)) SWIG_fail;
34234 {
34235 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34236 if (SWIG_arg_fail(2)) SWIG_fail;
34237 if (arg2 == NULL) {
34238 SWIG_null_ref("wxDC");
34239 }
34240 if (SWIG_arg_fail(2)) SWIG_fail;
34241 }
34242 {
34243 arg3 = &temp3;
34244 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34245 }
34246 {
34247 PyThreadState* __tstate = wxPyBeginAllowThreads();
34248 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34249
34250 wxPyEndAllowThreads(__tstate);
34251 if (PyErr_Occurred()) SWIG_fail;
34252 }
34253 {
34254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34255 }
34256 return resultobj;
34257 fail:
34258 return NULL;
34259 }
34260
34261
34262 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34263 PyObject *resultobj;
34264 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34265 wxDC *arg2 = 0 ;
34266 wxMemoryDC *arg3 = 0 ;
34267 wxRect *arg4 = 0 ;
34268 wxRect *arg5 = 0 ;
34269 bool result;
34270 wxRect temp4 ;
34271 wxRect temp5 ;
34272 PyObject * obj0 = 0 ;
34273 PyObject * obj1 = 0 ;
34274 PyObject * obj2 = 0 ;
34275 PyObject * obj3 = 0 ;
34276 PyObject * obj4 = 0 ;
34277 char *kwnames[] = {
34278 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34279 };
34280
34281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34283 if (SWIG_arg_fail(1)) SWIG_fail;
34284 {
34285 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34286 if (SWIG_arg_fail(2)) SWIG_fail;
34287 if (arg2 == NULL) {
34288 SWIG_null_ref("wxDC");
34289 }
34290 if (SWIG_arg_fail(2)) SWIG_fail;
34291 }
34292 {
34293 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34294 if (SWIG_arg_fail(3)) SWIG_fail;
34295 if (arg3 == NULL) {
34296 SWIG_null_ref("wxMemoryDC");
34297 }
34298 if (SWIG_arg_fail(3)) SWIG_fail;
34299 }
34300 {
34301 arg4 = &temp4;
34302 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34303 }
34304 {
34305 arg5 = &temp5;
34306 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34307 }
34308 {
34309 PyThreadState* __tstate = wxPyBeginAllowThreads();
34310 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34311
34312 wxPyEndAllowThreads(__tstate);
34313 if (PyErr_Occurred()) SWIG_fail;
34314 }
34315 {
34316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34317 }
34318 return resultobj;
34319 fail:
34320 return NULL;
34321 }
34322
34323
34324 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34325 PyObject *resultobj;
34326 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34327 wxPoint *arg2 = 0 ;
34328 wxPoint *arg3 = 0 ;
34329 bool arg4 ;
34330 bool arg5 ;
34331 bool result;
34332 wxPoint temp2 ;
34333 wxPoint temp3 ;
34334 PyObject * obj0 = 0 ;
34335 PyObject * obj1 = 0 ;
34336 PyObject * obj2 = 0 ;
34337 PyObject * obj3 = 0 ;
34338 PyObject * obj4 = 0 ;
34339 char *kwnames[] = {
34340 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34341 };
34342
34343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34345 if (SWIG_arg_fail(1)) SWIG_fail;
34346 {
34347 arg2 = &temp2;
34348 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34349 }
34350 {
34351 arg3 = &temp3;
34352 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34353 }
34354 {
34355 arg4 = (bool)(SWIG_As_bool(obj3));
34356 if (SWIG_arg_fail(4)) SWIG_fail;
34357 }
34358 {
34359 arg5 = (bool)(SWIG_As_bool(obj4));
34360 if (SWIG_arg_fail(5)) SWIG_fail;
34361 }
34362 {
34363 PyThreadState* __tstate = wxPyBeginAllowThreads();
34364 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34365
34366 wxPyEndAllowThreads(__tstate);
34367 if (PyErr_Occurred()) SWIG_fail;
34368 }
34369 {
34370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34371 }
34372 return resultobj;
34373 fail:
34374 return NULL;
34375 }
34376
34377
34378 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34379 PyObject *obj;
34380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34381 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34382 Py_INCREF(obj);
34383 return Py_BuildValue((char *)"");
34384 }
34385 static PyMethodDef SwigMethods[] = {
34386 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34387 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34388 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34389 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34390 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34391 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34392 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34393 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34394 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34395 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34396 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34397 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34398 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34399 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34400 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34401 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34402 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34403 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34404 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34405 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34406 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34407 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34408 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34409 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34410 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34411 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34412 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34413 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34414 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34415 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34416 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34417 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34418 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34419 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34420 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34421 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34422 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34423 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34424 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34425 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34426 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34427 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34428 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34429 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34430 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34431 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34432 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34433 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34434 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34435 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34436 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34437 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34438 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34439 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34440 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34441 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34442 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34443 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34444 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34445 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34446 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34447 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34448 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34449 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34450 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34451 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34452 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34453 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34454 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34455 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34456 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34457 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34458 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34459 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34460 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34461 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34462 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34463 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34464 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34465 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34466 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34467 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34468 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34469 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34470 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34471 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34472 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34473 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34474 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34475 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34476 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34477 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34478 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34479 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34480 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34481 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34482 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34483 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34484 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34485 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34486 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34487 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34488 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34489 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34490 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34491 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34492 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34493 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34494 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34495 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34496 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34497 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34498 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34499 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34500 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
34501 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
34502 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
34503 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34504 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34505 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34506 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
34507 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34508 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34509 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34510 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
34511 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
34512 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34513 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34514 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
34515 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34516 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34517 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
34518 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34519 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
34520 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34521 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34522 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34523 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34524 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
34525 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34526 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
34527 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
34528 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34529 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34530 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
34531 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34532 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34533 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34534 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34535 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34536 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34537 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34538 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34539 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34540 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34541 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34542 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34543 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34544 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34545 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34546 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
34547 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34548 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34549 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34550 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34551 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34552 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34553 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34554 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34555 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34556 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34557 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
34558 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
34559 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34560 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34561 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34562 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34563 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34564 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34565 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
34566 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
34567 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
34568 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
34569 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34570 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
34571 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
34572 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34573 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34574 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
34575 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34576 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34577 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
34578 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
34579 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
34580 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
34581 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
34582 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
34583 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
34584 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
34585 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34586 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34587 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34588 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34589 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34590 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
34591 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34592 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34593 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
34594 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34595 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34596 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34597 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34598 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34599 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34600 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34601 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34602 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34603 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34604 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34605 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34606 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34607 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34608 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34609 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34610 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34611 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
34612 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
34613 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34614 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
34615 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34616 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34617 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
34618 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34619 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
34620 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
34621 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
34622 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34623 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34624 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
34625 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34626 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34627 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34628 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34629 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
34630 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34631 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
34632 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
34633 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
34634 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34635 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34636 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34637 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34638 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34639 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34640 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34641 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34642 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34643 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34644 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
34645 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34646 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34647 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34648 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34649 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34650 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
34651 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34652 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34653 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34654 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34655 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34656 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
34657 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34658 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34659 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34660 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
34661 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
34662 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
34663 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34664 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34665 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34666 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34667 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34668 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
34669 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
34670 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
34671 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34672 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
34673 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
34674 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34675 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34676 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
34677 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34678 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
34679 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
34680 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
34681 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34682 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34683 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34684 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34685 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
34686 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
34687 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
34688 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34689 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34690 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34691 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34692 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34693 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34694 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34695 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34696 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
34697 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34698 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
34699 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34700 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
34701 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
34702 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
34703 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
34704 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
34705 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
34706 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
34707 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34708 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
34709 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34710 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34711 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
34712 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
34713 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
34714 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34715 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34716 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34717 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34718 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34719 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
34720 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
34721 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
34722 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
34723 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34724 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
34725 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
34726 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34727 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34728 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34729 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
34730 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
34731 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34732 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34733 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
34734 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
34735 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34736 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
34737 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
34738 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34739 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34740 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34741 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
34742 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34743 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34744 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34745 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34746 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34747 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
34748 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
34749 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
34750 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34751 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34752 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
34753 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
34754 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34755 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34756 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34757 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
34758 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34759 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
34760 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
34761 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
34762 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34763 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34764 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
34765 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
34766 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34767 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
34768 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
34769 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
34770 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34771 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34772 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34773 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
34774 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34775 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
34776 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34777 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
34778 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
34779 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
34780 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
34781 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34782 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
34783 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
34784 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
34785 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
34786 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
34787 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
34788 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34789 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
34790 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
34791 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34792 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34793 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
34794 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
34795 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
34796 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
34797 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34798 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34799 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34800 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34801 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34802 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34803 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
34804 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
34805 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
34806 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34807 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34808 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34809 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34810 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34811 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
34812 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
34813 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34814 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34815 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
34816 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
34817 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
34818 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
34819 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
34820 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
34821 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
34822 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
34823 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34824 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34825 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
34826 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
34827 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
34828 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
34829 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
34830 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
34831 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
34832 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
34833 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34834 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34835 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
34836 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
34837 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
34838 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34839 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34840 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34841 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34842 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
34843 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34844 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
34845 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
34846 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34847 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34848 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
34849 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
34850 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
34851 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
34852 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
34853 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
34854 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
34855 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
34856 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
34857 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34858 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
34859 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34860 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
34861 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34862 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34863 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34864 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34865 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34866 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
34867 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34868 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34869 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34870 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34871 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34872 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34873 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34874 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34875 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34876 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34877 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
34878 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
34879 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
34880 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
34881 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
34882 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34883 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
34884 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
34885 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34886 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
34887 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
34889 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
34890 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
34893 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34894 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34895 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
34902 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34909 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
34914 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
34926 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
34931 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
34934 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
34958 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35029 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35041 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35049 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35056 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35072 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35147 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35169 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35174 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35200 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35208 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35213 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35215 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35224 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35226 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
35244 { NULL, NULL, 0, NULL }
35245 };
35246
35247
35248 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35249
35250 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35251 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35252 }
35253 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35254 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35255 }
35256 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35257 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35258 }
35259 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35260 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35261 }
35262 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35263 return (void *)((wxSizer *) ((wxGridSizer *) x));
35264 }
35265 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35266 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35267 }
35268 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35269 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35270 }
35271 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35272 return (void *)((wxSizer *) ((wxPySizer *) x));
35273 }
35274 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35275 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35276 }
35277 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35278 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35279 }
35280 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35281 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35282 }
35283 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35284 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35285 }
35286 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35287 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35288 }
35289 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35290 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35291 }
35292 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35293 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35294 }
35295 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35296 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35297 }
35298 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35299 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35300 }
35301 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35302 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35303 }
35304 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35305 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35306 }
35307 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35308 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35309 }
35310 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35311 return (void *)((wxEvent *) ((wxPyEvent *) x));
35312 }
35313 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35314 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35315 }
35316 static void *_p_wxListEventTo_p_wxEvent(void *x) {
35317 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35318 }
35319 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
35320 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
35321 }
35322 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
35323 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
35324 }
35325 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
35326 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35327 }
35328 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35329 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35330 }
35331 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35332 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35333 }
35334 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35335 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35336 }
35337 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35338 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35339 }
35340 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35341 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35342 }
35343 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35344 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35345 }
35346 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35347 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35348 }
35349 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35350 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35351 }
35352 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35353 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35354 }
35355 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35356 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35357 }
35358 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35359 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35360 }
35361 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35362 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35363 }
35364 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35365 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35366 }
35367 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35368 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35369 }
35370 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35371 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35372 }
35373 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35374 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35375 }
35376 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35377 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35378 }
35379 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35380 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35381 }
35382 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35383 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35384 }
35385 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35386 return (void *)((wxEvent *) ((wxShowEvent *) x));
35387 }
35388 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35389 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35390 }
35391 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35392 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35393 }
35394 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35395 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35396 }
35397 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35398 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35399 }
35400 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35401 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35402 }
35403 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35404 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35405 }
35406 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35407 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35408 }
35409 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35410 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35411 }
35412 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35413 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35414 }
35415 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35416 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35417 }
35418 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35419 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35420 }
35421 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35422 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35423 }
35424 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35425 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35426 }
35427 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35428 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35429 }
35430 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35431 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
35432 }
35433 static void *_p_wxToolBarTo_p_wxControl(void *x) {
35434 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35435 }
35436 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35437 return (void *)((wxControl *) ((wxToggleButton *) x));
35438 }
35439 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35440 return (void *)((wxControl *) ((wxRadioButton *) x));
35441 }
35442 static void *_p_wxPyControlTo_p_wxControl(void *x) {
35443 return (void *)((wxControl *) ((wxPyControl *) x));
35444 }
35445 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35446 return (void *)((wxControl *) ((wxToolBarBase *) x));
35447 }
35448 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35449 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35450 }
35451 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35452 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35453 }
35454 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35455 return (void *)((wxControl *) ((wxComboBox *) x));
35456 }
35457 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35458 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
35459 }
35460 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35461 return (void *)((wxControl *) ((wxScrollBar *) x));
35462 }
35463 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35464 return (void *)((wxControl *) ((wxControlWithItems *) x));
35465 }
35466 static void *_p_wxGaugeTo_p_wxControl(void *x) {
35467 return (void *)((wxControl *) ((wxGauge *) x));
35468 }
35469 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35470 return (void *)((wxControl *) ((wxStaticLine *) x));
35471 }
35472 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
35473 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
35474 }
35475 static void *_p_wxListbookTo_p_wxControl(void *x) {
35476 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
35477 }
35478 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35479 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
35480 }
35481 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35482 return (void *)((wxControl *) ((wxCheckBox *) x));
35483 }
35484 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
35485 return (void *)((wxControl *) ((wxRadioBox *) x));
35486 }
35487 static void *_p_wxChoiceTo_p_wxControl(void *x) {
35488 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
35489 }
35490 static void *_p_wxListBoxTo_p_wxControl(void *x) {
35491 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
35492 }
35493 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
35494 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35495 }
35496 static void *_p_wxListViewTo_p_wxControl(void *x) {
35497 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
35498 }
35499 static void *_p_wxNotebookTo_p_wxControl(void *x) {
35500 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
35501 }
35502 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
35503 return (void *)((wxControl *) ((wxStaticBitmap *) x));
35504 }
35505 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
35506 return (void *)((wxControl *) ((wxSpinCtrl *) x));
35507 }
35508 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
35509 return (void *)((wxControl *) ((wxStaticText *) x));
35510 }
35511 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
35512 return (void *)((wxControl *) ((wxStaticBox *) x));
35513 }
35514 static void *_p_wxSliderTo_p_wxControl(void *x) {
35515 return (void *)((wxControl *) ((wxSlider *) x));
35516 }
35517 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
35518 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
35519 }
35520 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
35521 return (void *)((wxControl *) ((wxSpinButton *) x));
35522 }
35523 static void *_p_wxButtonTo_p_wxControl(void *x) {
35524 return (void *)((wxControl *) ((wxButton *) x));
35525 }
35526 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
35527 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
35528 }
35529 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
35530 return (void *)((wxControl *) ((wxTextCtrl *) x));
35531 }
35532 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
35533 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
35534 }
35535 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
35536 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
35537 }
35538 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
35539 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35540 }
35541 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
35542 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
35543 }
35544 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
35545 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
35546 }
35547 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
35548 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
35549 }
35550 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
35551 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
35552 }
35553 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
35554 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
35555 }
35556 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
35557 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35558 }
35559 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
35560 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
35561 }
35562 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
35563 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
35564 }
35565 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
35566 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
35567 }
35568 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
35569 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
35570 }
35571 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
35572 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
35573 }
35574 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
35575 return (void *)((wxEvtHandler *) ((wxValidator *) x));
35576 }
35577 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
35578 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
35579 }
35580 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
35581 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
35582 }
35583 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
35584 return (void *)((wxEvtHandler *) ((wxMenu *) x));
35585 }
35586 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
35587 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
35588 }
35589 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
35590 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
35591 }
35592 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
35593 return (void *)((wxEvtHandler *) ((wxWindow *) x));
35594 }
35595 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
35596 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
35597 }
35598 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
35599 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
35600 }
35601 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
35602 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
35603 }
35604 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
35605 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
35606 }
35607 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
35608 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35609 }
35610 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
35611 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
35612 }
35613 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
35614 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
35615 }
35616 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
35617 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
35618 }
35619 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
35620 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
35621 }
35622 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
35623 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35624 }
35625 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
35626 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
35627 }
35628 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
35629 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
35630 }
35631 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
35632 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
35633 }
35634 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
35635 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
35636 }
35637 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
35638 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
35639 }
35640 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
35641 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
35642 }
35643 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
35644 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
35645 }
35646 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
35647 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35648 }
35649 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
35650 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
35651 }
35652 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
35653 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
35654 }
35655 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
35656 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
35657 }
35658 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
35659 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
35660 }
35661 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
35662 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
35663 }
35664 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
35665 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
35666 }
35667 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
35668 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
35669 }
35670 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
35671 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
35672 }
35673 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
35674 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
35675 }
35676 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
35677 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
35678 }
35679 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
35680 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
35681 }
35682 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
35683 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
35684 }
35685 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
35686 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
35687 }
35688 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
35689 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
35690 }
35691 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
35692 return (void *)((wxListBox *) ((wxCheckListBox *) x));
35693 }
35694 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
35695 return (void *)((wxButton *) ((wxBitmapButton *) x));
35696 }
35697 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
35698 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
35699 }
35700 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
35701 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
35702 }
35703 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
35704 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
35705 }
35706 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
35707 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
35708 }
35709 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
35710 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
35711 }
35712 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
35713 return (void *)((wxObject *) ((wxSizerItem *) x));
35714 }
35715 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
35716 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
35717 }
35718 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
35719 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
35720 }
35721 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
35722 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
35723 }
35724 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
35725 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
35726 }
35727 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
35728 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
35729 }
35730 static void *_p_wxSizerTo_p_wxObject(void *x) {
35731 return (void *)((wxObject *) ((wxSizer *) x));
35732 }
35733 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
35734 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35735 }
35736 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
35737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
35738 }
35739 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
35740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
35741 }
35742 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
35743 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
35744 }
35745 static void *_p_wxEventTo_p_wxObject(void *x) {
35746 return (void *)((wxObject *) ((wxEvent *) x));
35747 }
35748 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
35749 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
35750 }
35751 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
35752 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
35753 }
35754 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
35755 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
35756 }
35757 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
35758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
35759 }
35760 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
35761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
35762 }
35763 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
35764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35765 }
35766 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
35767 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
35768 }
35769 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
35770 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
35771 }
35772 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
35773 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
35774 }
35775 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
35776 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
35777 }
35778 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
35779 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35780 }
35781 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
35782 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
35783 }
35784 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
35785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
35786 }
35787 static void *_p_wxControlTo_p_wxObject(void *x) {
35788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
35789 }
35790 static void *_p_wxPyControlTo_p_wxObject(void *x) {
35791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
35792 }
35793 static void *_p_wxGaugeTo_p_wxObject(void *x) {
35794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
35795 }
35796 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
35797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
35798 }
35799 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
35800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
35801 }
35802 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
35803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
35804 }
35805 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
35806 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
35807 }
35808 static void *_p_wxChoiceTo_p_wxObject(void *x) {
35809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
35810 }
35811 static void *_p_wxFSFileTo_p_wxObject(void *x) {
35812 return (void *)((wxObject *) ((wxFSFile *) x));
35813 }
35814 static void *_p_wxPySizerTo_p_wxObject(void *x) {
35815 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
35816 }
35817 static void *_p_wxListViewTo_p_wxObject(void *x) {
35818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
35819 }
35820 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
35821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
35822 }
35823 static void *_p_wxNotebookTo_p_wxObject(void *x) {
35824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
35825 }
35826 static void *_p_wxPyEventTo_p_wxObject(void *x) {
35827 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
35828 }
35829 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
35830 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
35831 }
35832 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
35833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
35834 }
35835 static void *_p_wxListbookTo_p_wxObject(void *x) {
35836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
35837 }
35838 static void *_p_wxShowEventTo_p_wxObject(void *x) {
35839 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
35840 }
35841 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
35842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
35843 }
35844 static void *_p_wxSliderTo_p_wxObject(void *x) {
35845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
35846 }
35847 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
35848 return (void *)((wxObject *) ((wxMenuItem *) x));
35849 }
35850 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
35851 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
35852 }
35853 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
35854 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
35855 }
35856 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
35857 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
35858 }
35859 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
35860 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
35861 }
35862 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
35863 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
35864 }
35865 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
35866 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
35867 }
35868 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
35869 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
35870 }
35871 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
35872 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
35873 }
35874 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
35875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
35876 }
35877 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
35878 return (void *)((wxObject *) ((wxContextHelp *) x));
35879 }
35880 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
35881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
35882 }
35883 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
35884 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
35885 }
35886 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
35887 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
35888 }
35889 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
35890 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
35891 }
35892 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
35893 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
35894 }
35895 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
35896 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
35897 }
35898 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
35899 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
35900 }
35901 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
35902 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
35903 }
35904 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
35905 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
35906 }
35907 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
35908 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
35909 }
35910 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
35911 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
35912 }
35913 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
35914 return (void *)((wxObject *) ((wxImageHandler *) x));
35915 }
35916 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
35917 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
35918 }
35919 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
35920 return (void *)((wxObject *) ((wxEvtHandler *) x));
35921 }
35922 static void *_p_wxListEventTo_p_wxObject(void *x) {
35923 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35924 }
35925 static void *_p_wxListBoxTo_p_wxObject(void *x) {
35926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
35927 }
35928 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
35929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35930 }
35931 static void *_p_wxButtonTo_p_wxObject(void *x) {
35932 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
35933 }
35934 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
35935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
35936 }
35937 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
35938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
35939 }
35940 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
35941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
35942 }
35943 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
35944 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35945 }
35946 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
35947 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
35948 }
35949 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
35950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
35951 }
35952 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
35953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
35954 }
35955 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
35956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
35957 }
35958 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
35959 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
35960 }
35961 static void *_p_wxListItemTo_p_wxObject(void *x) {
35962 return (void *)((wxObject *) ((wxListItem *) x));
35963 }
35964 static void *_p_wxImageTo_p_wxObject(void *x) {
35965 return (void *)((wxObject *) ((wxImage *) x));
35966 }
35967 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
35968 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
35969 }
35970 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
35971 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
35972 }
35973 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
35974 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35975 }
35976 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
35977 return (void *)((wxObject *) ((wxGenericDragImage *) x));
35978 }
35979 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
35980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
35981 }
35982 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
35983 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
35984 }
35985 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
35986 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
35987 }
35988 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
35989 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35990 }
35991 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
35992 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35993 }
35994 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
35995 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
35996 }
35997 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
35998 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
35999 }
36000 static void *_p_wxWindowTo_p_wxObject(void *x) {
36001 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36002 }
36003 static void *_p_wxMenuTo_p_wxObject(void *x) {
36004 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36005 }
36006 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36007 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36008 }
36009 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36010 return (void *)((wxObject *) ((wxFileSystem *) x));
36011 }
36012 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36013 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36014 }
36015 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36016 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36017 }
36018 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36019 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36020 }
36021 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36022 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36023 }
36024 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36025 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36026 }
36027 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36028 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36029 }
36030 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36031 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36032 }
36033 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36034 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36035 }
36036 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36037 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36038 }
36039 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36040 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36041 }
36042 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36044 }
36045 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36046 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36047 }
36048 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36049 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36050 }
36051 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36052 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36053 }
36054 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36056 }
36057 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36058 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36059 }
36060 static void *_p_wxToolBarTo_p_wxObject(void *x) {
36061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36062 }
36063 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36064 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36065 }
36066 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36067 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36068 }
36069 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36070 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36071 }
36072 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36073 return (void *)((wxWindow *) ((wxMenuBar *) x));
36074 }
36075 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36076 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36077 }
36078 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36079 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36080 }
36081 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36082 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36083 }
36084 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36085 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36086 }
36087 static void *_p_wxControlTo_p_wxWindow(void *x) {
36088 return (void *)((wxWindow *) ((wxControl *) x));
36089 }
36090 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36091 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36092 }
36093 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36094 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36095 }
36096 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36097 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36098 }
36099 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36100 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36101 }
36102 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36103 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36104 }
36105 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36106 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36107 }
36108 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36109 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36110 }
36111 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36112 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36113 }
36114 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36115 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36116 }
36117 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36118 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36119 }
36120 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36121 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36122 }
36123 static void *_p_wxListbookTo_p_wxWindow(void *x) {
36124 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36125 }
36126 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36127 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36128 }
36129 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36130 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36131 }
36132 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36133 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36134 }
36135 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36136 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36137 }
36138 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36139 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36140 }
36141 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36142 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36143 }
36144 static void *_p_wxListViewTo_p_wxWindow(void *x) {
36145 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36146 }
36147 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36148 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36149 }
36150 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36151 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36152 }
36153 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36154 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36155 }
36156 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36157 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36158 }
36159 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36160 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36161 }
36162 static void *_p_wxSliderTo_p_wxWindow(void *x) {
36163 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36164 }
36165 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36166 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36167 }
36168 static void *_p_wxButtonTo_p_wxWindow(void *x) {
36169 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36170 }
36171 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36172 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36173 }
36174 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36175 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36176 }
36177 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36178 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36179 }
36180 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36181 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36182 }
36183 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36184 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36185 }
36186 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36187 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36188 }
36189 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36190 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36191 }
36192 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36193 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36194 }
36195 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36196 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36197 }
36198 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36199 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36200 }
36201 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36202 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36203 }
36204 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36205 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36206 }
36207 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36208 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36209 }
36210 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
36211 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36212 }
36213 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
36214 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36215 }
36216 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36217 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36218 }
36219 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36220 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36221 }
36222 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36223 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36224 }
36225 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36226 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36227 }
36228 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36229 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36230 }
36231 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36232 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36233 }
36234 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36235 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36236 }
36237 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36238 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36239 }
36240 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36241 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36242 }
36243 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36244 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36245 }
36246 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36247 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36248 }
36249 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36250 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36251 }
36252 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36253 return (void *)((wxValidator *) ((wxPyValidator *) x));
36254 }
36255 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}};
36256 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}};
36257 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}};
36258 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}};
36259 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_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_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_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}};
36260 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}};
36261 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}};
36262 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}};
36263 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}};
36264 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}};
36265 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}};
36266 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}};
36267 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_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36268 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}};
36269 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}};
36270 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}};
36271 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}};
36272 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}};
36273 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}};
36274 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}};
36275 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}};
36276 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}};
36277 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}};
36278 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}};
36279 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}};
36280 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}};
36281 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}};
36282 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}};
36283 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}};
36284 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}};
36285 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}};
36286 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}};
36287 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}};
36288 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}};
36289 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}};
36290 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}};
36291 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}};
36292 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}};
36293 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}};
36294 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}};
36295 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}};
36296 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}};
36297 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}};
36298 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}};
36299 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}};
36300 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}};
36301 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_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36302 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}};
36303 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}};
36304 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}};
36305 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}};
36306 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}};
36307 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}};
36308 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}};
36309 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}};
36310 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}};
36311 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}};
36312 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}};
36313 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}};
36314 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}};
36315 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}};
36316 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}};
36317 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}};
36318 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}};
36319 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}};
36320 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}};
36321 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}};
36322 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}};
36323 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}};
36324 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}};
36325 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}};
36326 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}};
36327 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}};
36328 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}};
36329 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}};
36330 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_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_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_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_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_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}};
36331 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}};
36332 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}};
36333 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}};
36334 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_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36335 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}};
36336 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}};
36337 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}};
36338 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}};
36339 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}};
36340 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}};
36341 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}};
36342 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}};
36343 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_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxListEvent", _p_wxListEventTo_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}};
36344 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}};
36345 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}};
36346 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}};
36347 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}};
36348 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}};
36349 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}};
36350 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}};
36351
36352 static swig_type_info *swig_types_initial[] = {
36353 _swigt__p_wxTextUrlEvent,
36354 _swigt__p_wxSizer,
36355 _swigt__p_wxCheckBox,
36356 _swigt__p_wxPyTreeCtrl,
36357 _swigt__p_wxEvent,
36358 _swigt__p_wxGenericDirCtrl,
36359 _swigt__p_bool,
36360 _swigt__p_wxItemContainer,
36361 _swigt__p_wxPyListCtrl,
36362 _swigt__p_wxPyTreeItemData,
36363 _swigt__p_wxDirFilterListCtrl,
36364 _swigt__p_wxStaticLine,
36365 _swigt__p_wxControl,
36366 _swigt__p_wxPyControl,
36367 _swigt__p_wxGauge,
36368 _swigt__p_wxToolBarBase,
36369 _swigt__p_wxFont,
36370 _swigt__p_wxToggleButton,
36371 _swigt__p_wxRadioButton,
36372 _swigt__p_wxChoice,
36373 _swigt__p_wxMemoryDC,
36374 _swigt__ptrdiff_t,
36375 _swigt__std__ptrdiff_t,
36376 _swigt__p_wxListItemAttr,
36377 _swigt__p_void,
36378 _swigt__p_int,
36379 _swigt__p_wxSize,
36380 _swigt__p_wxDC,
36381 _swigt__p_wxListView,
36382 _swigt__p_wxIcon,
36383 _swigt__p_wxVisualAttributes,
36384 _swigt__p_wxTextCtrl,
36385 _swigt__p_wxNotebook,
36386 _swigt__p_wxChoicebook,
36387 _swigt__p_wxNotifyEvent,
36388 _swigt__p_wxArrayString,
36389 _swigt__p_form_ops_t,
36390 _swigt__p_wxListbook,
36391 _swigt__p_wxStaticBitmap,
36392 _swigt__p_wxSlider,
36393 _swigt__p_wxStaticBox,
36394 _swigt__p_wxArrayInt,
36395 _swigt__p_wxContextHelp,
36396 _swigt__p_long,
36397 _swigt__p_wxDuplexMode,
36398 _swigt__p_wxBookCtrlBase,
36399 _swigt__p_wxEvtHandler,
36400 _swigt__p_wxListEvent,
36401 _swigt__p_wxCheckListBox,
36402 _swigt__p_wxListBox,
36403 _swigt__p_wxSpinButton,
36404 _swigt__p_wxButton,
36405 _swigt__p_wxBitmapButton,
36406 _swigt__p_wxRect,
36407 _swigt__p_wxContextHelpButton,
36408 _swigt__p_wxRadioBox,
36409 _swigt__p_wxScrollBar,
36410 _swigt__p_char,
36411 _swigt__p_wxComboBox,
36412 _swigt__p_wxTreeItemId,
36413 _swigt__p_wxHelpEvent,
36414 _swigt__p_wxListItem,
36415 _swigt__p_wxNotebookSizer,
36416 _swigt__p_wxSpinEvent,
36417 _swigt__p_wxGenericDragImage,
36418 _swigt__p_wxSpinCtrl,
36419 _swigt__p_wxPaperSize,
36420 _swigt__p_wxImageList,
36421 _swigt__p_wxHelpProvider,
36422 _swigt__p_wxTextAttr,
36423 _swigt__p_wxSimpleHelpProvider,
36424 _swigt__p_wxChoicebookEvent,
36425 _swigt__p_wxListbookEvent,
36426 _swigt__p_wxNotebookEvent,
36427 _swigt__p_wxPoint,
36428 _swigt__p_wxObject,
36429 _swigt__p_wxCursor,
36430 _swigt__p_wxKeyEvent,
36431 _swigt__p_unsigned_long,
36432 _swigt__p_wxWindow,
36433 _swigt__p_wxString,
36434 _swigt__p_wxBitmap,
36435 _swigt__unsigned_int,
36436 _swigt__p_unsigned_int,
36437 _swigt__p_unsigned_char,
36438 _swigt__p_wxMouseEvent,
36439 _swigt__p_wxBookCtrlBaseEvent,
36440 _swigt__p_wxTreeEvent,
36441 _swigt__p_wxCommandEvent,
36442 _swigt__p_wxStaticText,
36443 _swigt__p_wxControlWithItems,
36444 _swigt__p_wxToolBarToolBase,
36445 _swigt__p_wxColour,
36446 _swigt__p_wxToolBar,
36447 _swigt__p_wxBookCtrlSizer,
36448 _swigt__p_wxValidator,
36449 0
36450 };
36451
36452
36453 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36454
36455 static swig_const_info swig_const_table[] = {
36456 {0, 0, 0, 0.0, 0, 0}};
36457
36458 #ifdef __cplusplus
36459 }
36460 #endif
36461
36462
36463 #ifdef __cplusplus
36464 extern "C" {
36465 #endif
36466
36467 /* Python-specific SWIG API */
36468 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36469 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36470 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36471
36472 /* -----------------------------------------------------------------------------
36473 * global variable support code.
36474 * ----------------------------------------------------------------------------- */
36475
36476 typedef struct swig_globalvar {
36477 char *name; /* Name of global variable */
36478 PyObject *(*get_attr)(); /* Return the current value */
36479 int (*set_attr)(PyObject *); /* Set the value */
36480 struct swig_globalvar *next;
36481 } swig_globalvar;
36482
36483 typedef struct swig_varlinkobject {
36484 PyObject_HEAD
36485 swig_globalvar *vars;
36486 } swig_varlinkobject;
36487
36488 static PyObject *
36489 swig_varlink_repr(swig_varlinkobject *v) {
36490 v = v;
36491 return PyString_FromString("<Swig global variables>");
36492 }
36493
36494 static int
36495 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
36496 swig_globalvar *var;
36497 flags = flags;
36498 fprintf(fp,"Swig global variables { ");
36499 for (var = v->vars; var; var=var->next) {
36500 fprintf(fp,"%s", var->name);
36501 if (var->next) fprintf(fp,", ");
36502 }
36503 fprintf(fp," }\n");
36504 return 0;
36505 }
36506
36507 static PyObject *
36508 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36509 swig_globalvar *var = v->vars;
36510 while (var) {
36511 if (strcmp(var->name,n) == 0) {
36512 return (*var->get_attr)();
36513 }
36514 var = var->next;
36515 }
36516 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36517 return NULL;
36518 }
36519
36520 static int
36521 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36522 swig_globalvar *var = v->vars;
36523 while (var) {
36524 if (strcmp(var->name,n) == 0) {
36525 return (*var->set_attr)(p);
36526 }
36527 var = var->next;
36528 }
36529 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36530 return 1;
36531 }
36532
36533 static PyTypeObject varlinktype = {
36534 PyObject_HEAD_INIT(0)
36535 0, /* Number of items in variable part (ob_size) */
36536 (char *)"swigvarlink", /* Type name (tp_name) */
36537 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
36538 0, /* Itemsize (tp_itemsize) */
36539 0, /* Deallocator (tp_dealloc) */
36540 (printfunc) swig_varlink_print, /* Print (tp_print) */
36541 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
36542 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
36543 0, /* tp_compare */
36544 (reprfunc) swig_varlink_repr, /* tp_repr */
36545 0, /* tp_as_number */
36546 0, /* tp_as_sequence */
36547 0, /* tp_as_mapping */
36548 0, /* tp_hash */
36549 0, /* tp_call */
36550 0, /* tp_str */
36551 0, /* tp_getattro */
36552 0, /* tp_setattro */
36553 0, /* tp_as_buffer */
36554 0, /* tp_flags */
36555 0, /* tp_doc */
36556 #if PY_VERSION_HEX >= 0x02000000
36557 0, /* tp_traverse */
36558 0, /* tp_clear */
36559 #endif
36560 #if PY_VERSION_HEX >= 0x02010000
36561 0, /* tp_richcompare */
36562 0, /* tp_weaklistoffset */
36563 #endif
36564 #if PY_VERSION_HEX >= 0x02020000
36565 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36566 #endif
36567 #if PY_VERSION_HEX >= 0x02030000
36568 0, /* tp_del */
36569 #endif
36570 #ifdef COUNT_ALLOCS
36571 0,0,0,0 /* tp_alloc -> tp_next */
36572 #endif
36573 };
36574
36575 /* Create a variable linking object for use later */
36576 static PyObject *
36577 SWIG_Python_newvarlink(void) {
36578 swig_varlinkobject *result = 0;
36579 result = PyMem_NEW(swig_varlinkobject,1);
36580 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
36581 result->ob_type = &varlinktype;
36582 result->vars = 0;
36583 result->ob_refcnt = 0;
36584 Py_XINCREF((PyObject *) result);
36585 return ((PyObject*) result);
36586 }
36587
36588 static void
36589 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
36590 swig_varlinkobject *v;
36591 swig_globalvar *gv;
36592 v= (swig_varlinkobject *) p;
36593 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
36594 gv->name = (char *) malloc(strlen(name)+1);
36595 strcpy(gv->name,name);
36596 gv->get_attr = get_attr;
36597 gv->set_attr = set_attr;
36598 gv->next = v->vars;
36599 v->vars = gv;
36600 }
36601
36602 /* -----------------------------------------------------------------------------
36603 * constants/methods manipulation
36604 * ----------------------------------------------------------------------------- */
36605
36606 /* Install Constants */
36607 static void
36608 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
36609 PyObject *obj = 0;
36610 size_t i;
36611 for (i = 0; constants[i].type; i++) {
36612 switch(constants[i].type) {
36613 case SWIG_PY_INT:
36614 obj = PyInt_FromLong(constants[i].lvalue);
36615 break;
36616 case SWIG_PY_FLOAT:
36617 obj = PyFloat_FromDouble(constants[i].dvalue);
36618 break;
36619 case SWIG_PY_STRING:
36620 if (constants[i].pvalue) {
36621 obj = PyString_FromString((char *) constants[i].pvalue);
36622 } else {
36623 Py_INCREF(Py_None);
36624 obj = Py_None;
36625 }
36626 break;
36627 case SWIG_PY_POINTER:
36628 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
36629 break;
36630 case SWIG_PY_BINARY:
36631 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
36632 break;
36633 default:
36634 obj = 0;
36635 break;
36636 }
36637 if (obj) {
36638 PyDict_SetItemString(d,constants[i].name,obj);
36639 Py_DECREF(obj);
36640 }
36641 }
36642 }
36643
36644 /* -----------------------------------------------------------------------------*/
36645 /* Fix SwigMethods to carry the callback ptrs when needed */
36646 /* -----------------------------------------------------------------------------*/
36647
36648 static void
36649 SWIG_Python_FixMethods(PyMethodDef *methods,
36650 swig_const_info *const_table,
36651 swig_type_info **types,
36652 swig_type_info **types_initial) {
36653 size_t i;
36654 for (i = 0; methods[i].ml_name; ++i) {
36655 char *c = methods[i].ml_doc;
36656 if (c && (c = strstr(c, "swig_ptr: "))) {
36657 int j;
36658 swig_const_info *ci = 0;
36659 char *name = c + 10;
36660 for (j = 0; const_table[j].type; j++) {
36661 if (strncmp(const_table[j].name, name,
36662 strlen(const_table[j].name)) == 0) {
36663 ci = &(const_table[j]);
36664 break;
36665 }
36666 }
36667 if (ci) {
36668 size_t shift = (ci->ptype) - types;
36669 swig_type_info *ty = types_initial[shift];
36670 size_t ldoc = (c - methods[i].ml_doc);
36671 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
36672 char *ndoc = (char*)malloc(ldoc + lptr + 10);
36673 char *buff = ndoc;
36674 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
36675 strncpy(buff, methods[i].ml_doc, ldoc);
36676 buff += ldoc;
36677 strncpy(buff, "swig_ptr: ", 10);
36678 buff += 10;
36679 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
36680 methods[i].ml_doc = ndoc;
36681 }
36682 }
36683 }
36684 }
36685
36686 /* -----------------------------------------------------------------------------*
36687 * Initialize type list
36688 * -----------------------------------------------------------------------------*/
36689
36690 #if PY_MAJOR_VERSION < 2
36691 /* PyModule_AddObject function was introduced in Python 2.0. The following function
36692 is copied out of Python/modsupport.c in python version 2.3.4 */
36693 static int
36694 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
36695 {
36696 PyObject *dict;
36697 if (!PyModule_Check(m)) {
36698 PyErr_SetString(PyExc_TypeError,
36699 "PyModule_AddObject() needs module as first arg");
36700 return -1;
36701 }
36702 if (!o) {
36703 PyErr_SetString(PyExc_TypeError,
36704 "PyModule_AddObject() needs non-NULL value");
36705 return -1;
36706 }
36707
36708 dict = PyModule_GetDict(m);
36709 if (dict == NULL) {
36710 /* Internal error -- modules must have a dict! */
36711 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
36712 PyModule_GetName(m));
36713 return -1;
36714 }
36715 if (PyDict_SetItemString(dict, name, o))
36716 return -1;
36717 Py_DECREF(o);
36718 return 0;
36719 }
36720 #endif
36721
36722 static swig_type_info **
36723 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
36724 static PyMethodDef swig_empty_runtime_method_table[] = {
36725 {
36726 NULL, NULL, 0, NULL
36727 }
36728 };/* Sentinel */
36729
36730 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
36731 swig_empty_runtime_method_table);
36732 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
36733 if (pointer && module) {
36734 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
36735 }
36736 return type_list_handle;
36737 }
36738
36739 static swig_type_info **
36740 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
36741 swig_type_info **type_pointer;
36742
36743 /* first check if module already created */
36744 type_pointer = SWIG_Python_GetTypeListHandle();
36745 if (type_pointer) {
36746 return type_pointer;
36747 } else {
36748 /* create a new module and variable */
36749 return SWIG_Python_SetTypeListHandle(type_list_handle);
36750 }
36751 }
36752
36753 #ifdef __cplusplus
36754 }
36755 #endif
36756
36757 /* -----------------------------------------------------------------------------*
36758 * Partial Init method
36759 * -----------------------------------------------------------------------------*/
36760
36761 #ifdef SWIG_LINK_RUNTIME
36762 #ifdef __cplusplus
36763 extern "C"
36764 #endif
36765 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
36766 #endif
36767
36768 #ifdef __cplusplus
36769 extern "C"
36770 #endif
36771 SWIGEXPORT(void) SWIG_init(void) {
36772 static PyObject *SWIG_globals = 0;
36773 static int typeinit = 0;
36774 PyObject *m, *d;
36775 int i;
36776 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36777
36778 /* Fix SwigMethods to carry the callback ptrs when needed */
36779 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
36780
36781 m = Py_InitModule((char *) SWIG_name, SwigMethods);
36782 d = PyModule_GetDict(m);
36783
36784 if (!typeinit) {
36785 #ifdef SWIG_LINK_RUNTIME
36786 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
36787 #else
36788 # ifndef SWIG_STATIC_RUNTIME
36789 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
36790 # endif
36791 #endif
36792 for (i = 0; swig_types_initial[i]; i++) {
36793 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
36794 }
36795 typeinit = 1;
36796 }
36797 SWIG_InstallConstants(d,swig_const_table);
36798
36799 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
36800 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
36801 {
36802 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
36803 }
36804 {
36805 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
36806 }
36807 {
36808 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
36809 }
36810 {
36811 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
36812 }
36813 {
36814 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
36815 }
36816 {
36817 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
36818 }
36819 {
36820 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
36821 }
36822 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
36823 {
36824 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
36825 }
36826 {
36827 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
36828 }
36829 {
36830 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
36831 }
36832 {
36833 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
36834 }
36835 {
36836 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
36837 }
36838 {
36839 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
36840 }
36841 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
36842 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
36843 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
36844 {
36845 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
36846 }
36847 {
36848 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
36849 }
36850 {
36851 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
36852 }
36853 {
36854 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
36855 }
36856 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
36857 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
36858 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
36859 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
36860 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
36861 {
36862 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
36863 }
36864 {
36865 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
36866 }
36867 {
36868 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
36869 }
36870 {
36871 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
36872 }
36873 {
36874 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
36875 }
36876 {
36877 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
36878 }
36879 {
36880 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
36881 }
36882 {
36883 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
36884 }
36885 {
36886 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
36887 }
36888 {
36889 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
36890 }
36891 {
36892 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
36893 }
36894 {
36895 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
36896 }
36897 {
36898 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
36899 }
36900 {
36901 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
36902 }
36903 {
36904 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
36905 }
36906 {
36907 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
36908 }
36909 {
36910 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
36911 }
36912 {
36913 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
36914 }
36915 {
36916 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
36917 }
36918 {
36919 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
36920 }
36921 {
36922 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
36923 }
36924 {
36925 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
36926 }
36927 {
36928 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
36929 }
36930 {
36931 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
36932 }
36933 {
36934 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
36935 }
36936 {
36937 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
36938 }
36939 {
36940 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
36941 }
36942 {
36943 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
36944 }
36945 {
36946 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
36947 }
36948 {
36949 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
36950 }
36951 {
36952 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
36953 }
36954 {
36955 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
36956 }
36957 {
36958 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
36959 }
36960 {
36961 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
36962 }
36963 {
36964 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
36965 }
36966 {
36967 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
36968 }
36969 {
36970 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
36971 }
36972 {
36973 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
36974 }
36975 {
36976 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
36977 }
36978 {
36979 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
36980 }
36981 {
36982 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
36983 }
36984 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
36985 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
36986 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
36987 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
36988 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
36989 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
36990 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
36991 {
36992 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
36993 }
36994 {
36995 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
36996 }
36997 {
36998 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
36999 }
37000 {
37001 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37002 }
37003 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37004 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37005 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37006 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37007 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37008 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
37009 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
37010 {
37011 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37012 }
37013 {
37014 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37015 }
37016 {
37017 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37018 }
37019 {
37020 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37021 }
37022 {
37023 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37024 }
37025 {
37026 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37027 }
37028 {
37029 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37030 }
37031 {
37032 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37033 }
37034 {
37035 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37036 }
37037 {
37038 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37039 }
37040 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37041 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
37042 {
37043 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37044 }
37045 {
37046 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37047 }
37048 {
37049 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37050 }
37051 {
37052 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37053 }
37054 {
37055 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37056 }
37057 {
37058 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37059 }
37060 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37061 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
37062 {
37063 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37064 }
37065 {
37066 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37067 }
37068 {
37069 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37070 }
37071 {
37072 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37073 }
37074 {
37075 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37076 }
37077 {
37078 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37079 }
37080 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37081 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
37082 {
37083 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37084 }
37085 {
37086 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37087 }
37088 {
37089 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37090 }
37091 {
37092 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37093 }
37094 {
37095 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37096 }
37097 {
37098 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37099 }
37100 {
37101 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37102 }
37103 {
37104 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37105 }
37106 {
37107 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37108 }
37109 {
37110 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37111 }
37112 {
37113 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37114 }
37115 {
37116 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37117 }
37118 {
37119 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37120 }
37121 {
37122 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37123 }
37124 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
37125 {
37126 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37127 }
37128 {
37129 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37130 }
37131 {
37132 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37133 }
37134 {
37135 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37136 }
37137 {
37138 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37139 }
37140 {
37141 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37142 }
37143 {
37144 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37145 }
37146 {
37147 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37148 }
37149 {
37150 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37151 }
37152 {
37153 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37154 }
37155 {
37156 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37157 }
37158 {
37159 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37160 }
37161 {
37162 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37163 }
37164 {
37165 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37166 }
37167 {
37168 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37169 }
37170 {
37171 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37172 }
37173 {
37174 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37175 }
37176 {
37177 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37178 }
37179 {
37180 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37181 }
37182 {
37183 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37184 }
37185 {
37186 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37187 }
37188 {
37189 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37190 }
37191 {
37192 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37193 }
37194 {
37195 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37196 }
37197 {
37198 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37199 }
37200 {
37201 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37202 }
37203 {
37204 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37205 }
37206 {
37207 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37208 }
37209 {
37210 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37211 }
37212 {
37213 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37214 }
37215 {
37216 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37217 }
37218 {
37219 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37220 }
37221 {
37222 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37223 }
37224 {
37225 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37226 }
37227 {
37228 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37229 }
37230 {
37231 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37232 }
37233 {
37234 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37235 }
37236 {
37237 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37238 }
37239 {
37240 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37241 }
37242 {
37243 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37244 }
37245 {
37246 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37247 }
37248 {
37249 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37250 }
37251 {
37252 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37253 }
37254 {
37255 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37256 }
37257 {
37258 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37259 }
37260 {
37261 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37262 }
37263 {
37264 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37265 }
37266 {
37267 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37268 }
37269 {
37270 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37271 }
37272 {
37273 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37274 }
37275 {
37276 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37277 }
37278 {
37279 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37280 }
37281 {
37282 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37283 }
37284 {
37285 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37286 }
37287 {
37288 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37289 }
37290 {
37291 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37292 }
37293 {
37294 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37295 }
37296 {
37297 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37298 }
37299 {
37300 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37301 }
37302 {
37303 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37304 }
37305 {
37306 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37307 }
37308 {
37309 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37310 }
37311 {
37312 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37313 }
37314 {
37315 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37316 }
37317 {
37318 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37319 }
37320 {
37321 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37322 }
37323 {
37324 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37325 }
37326 {
37327 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37328 }
37329 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37330 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37331 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37332 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37333 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37334 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
37335 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37336 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
37337 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37338 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37339 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37340 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37341 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37342 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37343 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37344 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37345 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37346 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37347 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37348 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37349 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37350 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
37351
37352 // Map renamed classes back to their common name for OOR
37353 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37354
37355 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
37356 {
37357 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37358 }
37359 {
37360 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37361 }
37362 {
37363 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37364 }
37365 {
37366 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37367 }
37368 {
37369 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37370 }
37371 {
37372 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37373 }
37374 {
37375 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37376 }
37377 {
37378 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37379 }
37380 {
37381 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37382 }
37383 {
37384 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37385 }
37386 {
37387 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37388 }
37389 {
37390 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37391 }
37392 {
37393 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37394 }
37395 {
37396 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37397 }
37398 {
37399 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37400 }
37401 {
37402 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37403 }
37404 {
37405 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37406 }
37407 {
37408 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
37409 }
37410 {
37411 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
37412 }
37413 {
37414 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
37415 }
37416 {
37417 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
37418 }
37419 {
37420 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
37421 }
37422 {
37423 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
37424 }
37425 {
37426 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
37427 }
37428 {
37429 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
37430 }
37431 {
37432 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
37433 }
37434 {
37435 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
37436 }
37437 {
37438 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
37439 }
37440 {
37441 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
37442 }
37443 {
37444 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
37445 }
37446 {
37447 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
37448 }
37449 {
37450 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
37451 }
37452 {
37453 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
37454 }
37455 {
37456 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
37457 }
37458 {
37459 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
37460 }
37461 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
37462 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
37463 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
37464 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
37465 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
37466 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
37467 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
37468 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
37469 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
37470 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
37471 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
37472 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
37473 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
37474 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
37475 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
37476 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
37477 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
37478 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
37479 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
37480 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
37481 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
37482
37483 // Map renamed classes back to their common name for OOR
37484 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37485 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37486
37487 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
37488 {
37489 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
37490 }
37491 {
37492 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
37493 }
37494 {
37495 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
37496 }
37497 {
37498 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
37499 }
37500 {
37501 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
37502 }
37503 {
37504 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
37505 }
37506 {
37507 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
37508 }
37509 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
37510 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
37511
37512 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
37513
37514 }
37515