]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_controls_wrap.cpp
1b01aff04fea5ff41d1b459a2116f2c8f84258a0
[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 wxPyNotebookNameStr(wxNotebookNameStr);
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(wxListCtrlNameStr);
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 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2194
2195 PYPRIVATE;
2196 };
2197
2198 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2199
2200 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2201 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2202 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2203 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2204
2205 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2206 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2207 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2208
2209 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2210 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2211
2212 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2213 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2214 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2215 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2216
2217 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2218 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2219 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2220
2221 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2222 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2223
2224 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2225 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
2226 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2227
2228 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2229
2230
2231
2232 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2233
2234 #include <wx/generic/dragimgg.h>
2235
2236 #ifdef __cplusplus
2237 extern "C" {
2238 #endif
2239 static int _wrap_ButtonNameStr_set(PyObject *) {
2240 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2241 return 1;
2242 }
2243
2244
2245 static PyObject *_wrap_ButtonNameStr_get(void) {
2246 PyObject *pyobj;
2247
2248 {
2249 #if wxUSE_UNICODE
2250 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2251 #else
2252 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2253 #endif
2254 }
2255 return pyobj;
2256 }
2257
2258
2259 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxWindow *arg1 = (wxWindow *) 0 ;
2262 int arg2 = (int) -1 ;
2263 wxString const &arg3_defvalue = wxPyEmptyString ;
2264 wxString *arg3 = (wxString *) &arg3_defvalue ;
2265 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2266 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2267 wxSize const &arg5_defvalue = wxDefaultSize ;
2268 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2269 long arg6 = (long) 0 ;
2270 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2271 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2272 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2273 wxString *arg8 = (wxString *) &arg8_defvalue ;
2274 wxButton *result;
2275 bool temp3 = false ;
2276 wxPoint temp4 ;
2277 wxSize temp5 ;
2278 bool temp8 = false ;
2279 PyObject * obj0 = 0 ;
2280 PyObject * obj1 = 0 ;
2281 PyObject * obj2 = 0 ;
2282 PyObject * obj3 = 0 ;
2283 PyObject * obj4 = 0 ;
2284 PyObject * obj5 = 0 ;
2285 PyObject * obj6 = 0 ;
2286 PyObject * obj7 = 0 ;
2287 char *kwnames[] = {
2288 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2289 };
2290
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2293 if (SWIG_arg_fail(1)) SWIG_fail;
2294 if (obj1) {
2295 {
2296 arg2 = (int)(SWIG_As_int(obj1));
2297 if (SWIG_arg_fail(2)) SWIG_fail;
2298 }
2299 }
2300 if (obj2) {
2301 {
2302 arg3 = wxString_in_helper(obj2);
2303 if (arg3 == NULL) SWIG_fail;
2304 temp3 = true;
2305 }
2306 }
2307 if (obj3) {
2308 {
2309 arg4 = &temp4;
2310 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2311 }
2312 }
2313 if (obj4) {
2314 {
2315 arg5 = &temp5;
2316 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2317 }
2318 }
2319 if (obj5) {
2320 {
2321 arg6 = (long)(SWIG_As_long(obj5));
2322 if (SWIG_arg_fail(6)) SWIG_fail;
2323 }
2324 }
2325 if (obj6) {
2326 {
2327 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2328 if (SWIG_arg_fail(7)) SWIG_fail;
2329 if (arg7 == NULL) {
2330 SWIG_null_ref("wxValidator");
2331 }
2332 if (SWIG_arg_fail(7)) SWIG_fail;
2333 }
2334 }
2335 if (obj7) {
2336 {
2337 arg8 = wxString_in_helper(obj7);
2338 if (arg8 == NULL) SWIG_fail;
2339 temp8 = true;
2340 }
2341 }
2342 {
2343 if (!wxPyCheckForApp()) SWIG_fail;
2344 PyThreadState* __tstate = wxPyBeginAllowThreads();
2345 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2346
2347 wxPyEndAllowThreads(__tstate);
2348 if (PyErr_Occurred()) SWIG_fail;
2349 }
2350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2351 {
2352 if (temp3)
2353 delete arg3;
2354 }
2355 {
2356 if (temp8)
2357 delete arg8;
2358 }
2359 return resultobj;
2360 fail:
2361 {
2362 if (temp3)
2363 delete arg3;
2364 }
2365 {
2366 if (temp8)
2367 delete arg8;
2368 }
2369 return NULL;
2370 }
2371
2372
2373 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2374 PyObject *resultobj;
2375 wxButton *result;
2376 char *kwnames[] = {
2377 NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2381 {
2382 if (!wxPyCheckForApp()) SWIG_fail;
2383 PyThreadState* __tstate = wxPyBeginAllowThreads();
2384 result = (wxButton *)new wxButton();
2385
2386 wxPyEndAllowThreads(__tstate);
2387 if (PyErr_Occurred()) SWIG_fail;
2388 }
2389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2390 return resultobj;
2391 fail:
2392 return NULL;
2393 }
2394
2395
2396 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2397 PyObject *resultobj;
2398 wxButton *arg1 = (wxButton *) 0 ;
2399 wxWindow *arg2 = (wxWindow *) 0 ;
2400 int arg3 = (int) -1 ;
2401 wxString const &arg4_defvalue = wxPyEmptyString ;
2402 wxString *arg4 = (wxString *) &arg4_defvalue ;
2403 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2404 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2405 wxSize const &arg6_defvalue = wxDefaultSize ;
2406 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2407 long arg7 = (long) 0 ;
2408 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2409 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2410 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2411 wxString *arg9 = (wxString *) &arg9_defvalue ;
2412 bool result;
2413 bool temp4 = false ;
2414 wxPoint temp5 ;
2415 wxSize temp6 ;
2416 bool temp9 = false ;
2417 PyObject * obj0 = 0 ;
2418 PyObject * obj1 = 0 ;
2419 PyObject * obj2 = 0 ;
2420 PyObject * obj3 = 0 ;
2421 PyObject * obj4 = 0 ;
2422 PyObject * obj5 = 0 ;
2423 PyObject * obj6 = 0 ;
2424 PyObject * obj7 = 0 ;
2425 PyObject * obj8 = 0 ;
2426 char *kwnames[] = {
2427 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2428 };
2429
2430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2432 if (SWIG_arg_fail(1)) SWIG_fail;
2433 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2434 if (SWIG_arg_fail(2)) SWIG_fail;
2435 if (obj2) {
2436 {
2437 arg3 = (int)(SWIG_As_int(obj2));
2438 if (SWIG_arg_fail(3)) SWIG_fail;
2439 }
2440 }
2441 if (obj3) {
2442 {
2443 arg4 = wxString_in_helper(obj3);
2444 if (arg4 == NULL) SWIG_fail;
2445 temp4 = true;
2446 }
2447 }
2448 if (obj4) {
2449 {
2450 arg5 = &temp5;
2451 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2452 }
2453 }
2454 if (obj5) {
2455 {
2456 arg6 = &temp6;
2457 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2458 }
2459 }
2460 if (obj6) {
2461 {
2462 arg7 = (long)(SWIG_As_long(obj6));
2463 if (SWIG_arg_fail(7)) SWIG_fail;
2464 }
2465 }
2466 if (obj7) {
2467 {
2468 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2469 if (SWIG_arg_fail(8)) SWIG_fail;
2470 if (arg8 == NULL) {
2471 SWIG_null_ref("wxValidator");
2472 }
2473 if (SWIG_arg_fail(8)) SWIG_fail;
2474 }
2475 }
2476 if (obj8) {
2477 {
2478 arg9 = wxString_in_helper(obj8);
2479 if (arg9 == NULL) SWIG_fail;
2480 temp9 = true;
2481 }
2482 }
2483 {
2484 PyThreadState* __tstate = wxPyBeginAllowThreads();
2485 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2486
2487 wxPyEndAllowThreads(__tstate);
2488 if (PyErr_Occurred()) SWIG_fail;
2489 }
2490 {
2491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2492 }
2493 {
2494 if (temp4)
2495 delete arg4;
2496 }
2497 {
2498 if (temp9)
2499 delete arg9;
2500 }
2501 return resultobj;
2502 fail:
2503 {
2504 if (temp4)
2505 delete arg4;
2506 }
2507 {
2508 if (temp9)
2509 delete arg9;
2510 }
2511 return NULL;
2512 }
2513
2514
2515 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2516 PyObject *resultobj;
2517 wxButton *arg1 = (wxButton *) 0 ;
2518 PyObject * obj0 = 0 ;
2519 char *kwnames[] = {
2520 (char *) "self", NULL
2521 };
2522
2523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2525 if (SWIG_arg_fail(1)) SWIG_fail;
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 (arg1)->SetDefault();
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 }
2533 Py_INCREF(Py_None); resultobj = Py_None;
2534 return resultobj;
2535 fail:
2536 return NULL;
2537 }
2538
2539
2540 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2541 PyObject *resultobj;
2542 wxSize result;
2543 char *kwnames[] = {
2544 NULL
2545 };
2546
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2548 {
2549 PyThreadState* __tstate = wxPyBeginAllowThreads();
2550 result = wxButton::GetDefaultSize();
2551
2552 wxPyEndAllowThreads(__tstate);
2553 if (PyErr_Occurred()) SWIG_fail;
2554 }
2555 {
2556 wxSize * resultptr;
2557 resultptr = new wxSize((wxSize &)(result));
2558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2559 }
2560 return resultobj;
2561 fail:
2562 return NULL;
2563 }
2564
2565
2566 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2567 PyObject *resultobj;
2568 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2569 wxVisualAttributes result;
2570 PyObject * obj0 = 0 ;
2571 char *kwnames[] = {
2572 (char *) "variant", NULL
2573 };
2574
2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2576 if (obj0) {
2577 {
2578 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2579 if (SWIG_arg_fail(1)) SWIG_fail;
2580 }
2581 }
2582 {
2583 if (!wxPyCheckForApp()) SWIG_fail;
2584 PyThreadState* __tstate = wxPyBeginAllowThreads();
2585 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2586
2587 wxPyEndAllowThreads(__tstate);
2588 if (PyErr_Occurred()) SWIG_fail;
2589 }
2590 {
2591 wxVisualAttributes * resultptr;
2592 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2593 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2594 }
2595 return resultobj;
2596 fail:
2597 return NULL;
2598 }
2599
2600
2601 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2602 PyObject *obj;
2603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2604 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2605 Py_INCREF(obj);
2606 return Py_BuildValue((char *)"");
2607 }
2608 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2609 PyObject *resultobj;
2610 wxWindow *arg1 = (wxWindow *) 0 ;
2611 int arg2 = (int) -1 ;
2612 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2613 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2614 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2615 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2616 wxSize const &arg5_defvalue = wxDefaultSize ;
2617 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2618 long arg6 = (long) wxBU_AUTODRAW ;
2619 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2620 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2621 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2622 wxString *arg8 = (wxString *) &arg8_defvalue ;
2623 wxBitmapButton *result;
2624 wxPoint temp4 ;
2625 wxSize temp5 ;
2626 bool temp8 = false ;
2627 PyObject * obj0 = 0 ;
2628 PyObject * obj1 = 0 ;
2629 PyObject * obj2 = 0 ;
2630 PyObject * obj3 = 0 ;
2631 PyObject * obj4 = 0 ;
2632 PyObject * obj5 = 0 ;
2633 PyObject * obj6 = 0 ;
2634 PyObject * obj7 = 0 ;
2635 char *kwnames[] = {
2636 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2637 };
2638
2639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2641 if (SWIG_arg_fail(1)) SWIG_fail;
2642 if (obj1) {
2643 {
2644 arg2 = (int)(SWIG_As_int(obj1));
2645 if (SWIG_arg_fail(2)) SWIG_fail;
2646 }
2647 }
2648 if (obj2) {
2649 {
2650 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2651 if (SWIG_arg_fail(3)) SWIG_fail;
2652 if (arg3 == NULL) {
2653 SWIG_null_ref("wxBitmap");
2654 }
2655 if (SWIG_arg_fail(3)) SWIG_fail;
2656 }
2657 }
2658 if (obj3) {
2659 {
2660 arg4 = &temp4;
2661 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2662 }
2663 }
2664 if (obj4) {
2665 {
2666 arg5 = &temp5;
2667 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2668 }
2669 }
2670 if (obj5) {
2671 {
2672 arg6 = (long)(SWIG_As_long(obj5));
2673 if (SWIG_arg_fail(6)) SWIG_fail;
2674 }
2675 }
2676 if (obj6) {
2677 {
2678 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2679 if (SWIG_arg_fail(7)) SWIG_fail;
2680 if (arg7 == NULL) {
2681 SWIG_null_ref("wxValidator");
2682 }
2683 if (SWIG_arg_fail(7)) SWIG_fail;
2684 }
2685 }
2686 if (obj7) {
2687 {
2688 arg8 = wxString_in_helper(obj7);
2689 if (arg8 == NULL) SWIG_fail;
2690 temp8 = true;
2691 }
2692 }
2693 {
2694 if (!wxPyCheckForApp()) SWIG_fail;
2695 PyThreadState* __tstate = wxPyBeginAllowThreads();
2696 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2697
2698 wxPyEndAllowThreads(__tstate);
2699 if (PyErr_Occurred()) SWIG_fail;
2700 }
2701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2702 {
2703 if (temp8)
2704 delete arg8;
2705 }
2706 return resultobj;
2707 fail:
2708 {
2709 if (temp8)
2710 delete arg8;
2711 }
2712 return NULL;
2713 }
2714
2715
2716 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2717 PyObject *resultobj;
2718 wxBitmapButton *result;
2719 char *kwnames[] = {
2720 NULL
2721 };
2722
2723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2724 {
2725 if (!wxPyCheckForApp()) SWIG_fail;
2726 PyThreadState* __tstate = wxPyBeginAllowThreads();
2727 result = (wxBitmapButton *)new wxBitmapButton();
2728
2729 wxPyEndAllowThreads(__tstate);
2730 if (PyErr_Occurred()) SWIG_fail;
2731 }
2732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2733 return resultobj;
2734 fail:
2735 return NULL;
2736 }
2737
2738
2739 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2740 PyObject *resultobj;
2741 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2742 wxWindow *arg2 = (wxWindow *) 0 ;
2743 int arg3 = (int) -1 ;
2744 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2745 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2746 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2747 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2748 wxSize const &arg6_defvalue = wxDefaultSize ;
2749 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2750 long arg7 = (long) wxBU_AUTODRAW ;
2751 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2752 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2753 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2754 wxString *arg9 = (wxString *) &arg9_defvalue ;
2755 bool result;
2756 wxPoint temp5 ;
2757 wxSize temp6 ;
2758 bool temp9 = false ;
2759 PyObject * obj0 = 0 ;
2760 PyObject * obj1 = 0 ;
2761 PyObject * obj2 = 0 ;
2762 PyObject * obj3 = 0 ;
2763 PyObject * obj4 = 0 ;
2764 PyObject * obj5 = 0 ;
2765 PyObject * obj6 = 0 ;
2766 PyObject * obj7 = 0 ;
2767 PyObject * obj8 = 0 ;
2768 char *kwnames[] = {
2769 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2770 };
2771
2772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2774 if (SWIG_arg_fail(1)) SWIG_fail;
2775 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2776 if (SWIG_arg_fail(2)) SWIG_fail;
2777 if (obj2) {
2778 {
2779 arg3 = (int)(SWIG_As_int(obj2));
2780 if (SWIG_arg_fail(3)) SWIG_fail;
2781 }
2782 }
2783 if (obj3) {
2784 {
2785 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2786 if (SWIG_arg_fail(4)) SWIG_fail;
2787 if (arg4 == NULL) {
2788 SWIG_null_ref("wxBitmap");
2789 }
2790 if (SWIG_arg_fail(4)) SWIG_fail;
2791 }
2792 }
2793 if (obj4) {
2794 {
2795 arg5 = &temp5;
2796 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2797 }
2798 }
2799 if (obj5) {
2800 {
2801 arg6 = &temp6;
2802 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2803 }
2804 }
2805 if (obj6) {
2806 {
2807 arg7 = (long)(SWIG_As_long(obj6));
2808 if (SWIG_arg_fail(7)) SWIG_fail;
2809 }
2810 }
2811 if (obj7) {
2812 {
2813 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2814 if (SWIG_arg_fail(8)) SWIG_fail;
2815 if (arg8 == NULL) {
2816 SWIG_null_ref("wxValidator");
2817 }
2818 if (SWIG_arg_fail(8)) SWIG_fail;
2819 }
2820 }
2821 if (obj8) {
2822 {
2823 arg9 = wxString_in_helper(obj8);
2824 if (arg9 == NULL) SWIG_fail;
2825 temp9 = true;
2826 }
2827 }
2828 {
2829 PyThreadState* __tstate = wxPyBeginAllowThreads();
2830 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2831
2832 wxPyEndAllowThreads(__tstate);
2833 if (PyErr_Occurred()) SWIG_fail;
2834 }
2835 {
2836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2837 }
2838 {
2839 if (temp9)
2840 delete arg9;
2841 }
2842 return resultobj;
2843 fail:
2844 {
2845 if (temp9)
2846 delete arg9;
2847 }
2848 return NULL;
2849 }
2850
2851
2852 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2853 PyObject *resultobj;
2854 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2855 wxBitmap result;
2856 PyObject * obj0 = 0 ;
2857 char *kwnames[] = {
2858 (char *) "self", NULL
2859 };
2860
2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
2862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2863 if (SWIG_arg_fail(1)) SWIG_fail;
2864 {
2865 PyThreadState* __tstate = wxPyBeginAllowThreads();
2866 result = (arg1)->GetBitmapLabel();
2867
2868 wxPyEndAllowThreads(__tstate);
2869 if (PyErr_Occurred()) SWIG_fail;
2870 }
2871 {
2872 wxBitmap * resultptr;
2873 resultptr = new wxBitmap((wxBitmap &)(result));
2874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2875 }
2876 return resultobj;
2877 fail:
2878 return NULL;
2879 }
2880
2881
2882 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2883 PyObject *resultobj;
2884 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2885 wxBitmap result;
2886 PyObject * obj0 = 0 ;
2887 char *kwnames[] = {
2888 (char *) "self", NULL
2889 };
2890
2891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
2892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2893 if (SWIG_arg_fail(1)) SWIG_fail;
2894 {
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2896 result = (arg1)->GetBitmapDisabled();
2897
2898 wxPyEndAllowThreads(__tstate);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
2901 {
2902 wxBitmap * resultptr;
2903 resultptr = new wxBitmap((wxBitmap &)(result));
2904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2905 }
2906 return resultobj;
2907 fail:
2908 return NULL;
2909 }
2910
2911
2912 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2913 PyObject *resultobj;
2914 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2915 wxBitmap result;
2916 PyObject * obj0 = 0 ;
2917 char *kwnames[] = {
2918 (char *) "self", NULL
2919 };
2920
2921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
2922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2923 if (SWIG_arg_fail(1)) SWIG_fail;
2924 {
2925 PyThreadState* __tstate = wxPyBeginAllowThreads();
2926 result = (arg1)->GetBitmapFocus();
2927
2928 wxPyEndAllowThreads(__tstate);
2929 if (PyErr_Occurred()) SWIG_fail;
2930 }
2931 {
2932 wxBitmap * resultptr;
2933 resultptr = new wxBitmap((wxBitmap &)(result));
2934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2935 }
2936 return resultobj;
2937 fail:
2938 return NULL;
2939 }
2940
2941
2942 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
2943 PyObject *resultobj;
2944 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2945 wxBitmap result;
2946 PyObject * obj0 = 0 ;
2947 char *kwnames[] = {
2948 (char *) "self", NULL
2949 };
2950
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
2952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2953 if (SWIG_arg_fail(1)) SWIG_fail;
2954 {
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 result = (arg1)->GetBitmapSelected();
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 {
2962 wxBitmap * resultptr;
2963 resultptr = new wxBitmap((wxBitmap &)(result));
2964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2965 }
2966 return resultobj;
2967 fail:
2968 return NULL;
2969 }
2970
2971
2972 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2973 PyObject *resultobj;
2974 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2975 wxBitmap *arg2 = 0 ;
2976 PyObject * obj0 = 0 ;
2977 PyObject * obj1 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "self",(char *) "bitmap", NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
2983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2984 if (SWIG_arg_fail(1)) SWIG_fail;
2985 {
2986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2987 if (SWIG_arg_fail(2)) SWIG_fail;
2988 if (arg2 == NULL) {
2989 SWIG_null_ref("wxBitmap");
2990 }
2991 if (SWIG_arg_fail(2)) SWIG_fail;
2992 }
2993 {
2994 PyThreadState* __tstate = wxPyBeginAllowThreads();
2995 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
2996
2997 wxPyEndAllowThreads(__tstate);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 }
3000 Py_INCREF(Py_None); resultobj = Py_None;
3001 return resultobj;
3002 fail:
3003 return NULL;
3004 }
3005
3006
3007 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3008 PyObject *resultobj;
3009 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3010 wxBitmap *arg2 = 0 ;
3011 PyObject * obj0 = 0 ;
3012 PyObject * obj1 = 0 ;
3013 char *kwnames[] = {
3014 (char *) "self",(char *) "bitmap", NULL
3015 };
3016
3017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3019 if (SWIG_arg_fail(1)) SWIG_fail;
3020 {
3021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3022 if (SWIG_arg_fail(2)) SWIG_fail;
3023 if (arg2 == NULL) {
3024 SWIG_null_ref("wxBitmap");
3025 }
3026 if (SWIG_arg_fail(2)) SWIG_fail;
3027 }
3028 {
3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
3030 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3031
3032 wxPyEndAllowThreads(__tstate);
3033 if (PyErr_Occurred()) SWIG_fail;
3034 }
3035 Py_INCREF(Py_None); resultobj = Py_None;
3036 return resultobj;
3037 fail:
3038 return NULL;
3039 }
3040
3041
3042 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3043 PyObject *resultobj;
3044 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3045 wxBitmap *arg2 = 0 ;
3046 PyObject * obj0 = 0 ;
3047 PyObject * obj1 = 0 ;
3048 char *kwnames[] = {
3049 (char *) "self",(char *) "bitmap", NULL
3050 };
3051
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3054 if (SWIG_arg_fail(1)) SWIG_fail;
3055 {
3056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3057 if (SWIG_arg_fail(2)) SWIG_fail;
3058 if (arg2 == NULL) {
3059 SWIG_null_ref("wxBitmap");
3060 }
3061 if (SWIG_arg_fail(2)) SWIG_fail;
3062 }
3063 {
3064 PyThreadState* __tstate = wxPyBeginAllowThreads();
3065 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3066
3067 wxPyEndAllowThreads(__tstate);
3068 if (PyErr_Occurred()) SWIG_fail;
3069 }
3070 Py_INCREF(Py_None); resultobj = Py_None;
3071 return resultobj;
3072 fail:
3073 return NULL;
3074 }
3075
3076
3077 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3078 PyObject *resultobj;
3079 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3080 wxBitmap *arg2 = 0 ;
3081 PyObject * obj0 = 0 ;
3082 PyObject * obj1 = 0 ;
3083 char *kwnames[] = {
3084 (char *) "self",(char *) "bitmap", NULL
3085 };
3086
3087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3089 if (SWIG_arg_fail(1)) SWIG_fail;
3090 {
3091 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3092 if (SWIG_arg_fail(2)) SWIG_fail;
3093 if (arg2 == NULL) {
3094 SWIG_null_ref("wxBitmap");
3095 }
3096 if (SWIG_arg_fail(2)) SWIG_fail;
3097 }
3098 {
3099 PyThreadState* __tstate = wxPyBeginAllowThreads();
3100 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3101
3102 wxPyEndAllowThreads(__tstate);
3103 if (PyErr_Occurred()) SWIG_fail;
3104 }
3105 Py_INCREF(Py_None); resultobj = Py_None;
3106 return resultobj;
3107 fail:
3108 return NULL;
3109 }
3110
3111
3112 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3113 PyObject *resultobj;
3114 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3115 int arg2 ;
3116 int arg3 ;
3117 PyObject * obj0 = 0 ;
3118 PyObject * obj1 = 0 ;
3119 PyObject * obj2 = 0 ;
3120 char *kwnames[] = {
3121 (char *) "self",(char *) "x",(char *) "y", NULL
3122 };
3123
3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3126 if (SWIG_arg_fail(1)) SWIG_fail;
3127 {
3128 arg2 = (int)(SWIG_As_int(obj1));
3129 if (SWIG_arg_fail(2)) SWIG_fail;
3130 }
3131 {
3132 arg3 = (int)(SWIG_As_int(obj2));
3133 if (SWIG_arg_fail(3)) SWIG_fail;
3134 }
3135 {
3136 PyThreadState* __tstate = wxPyBeginAllowThreads();
3137 (arg1)->SetMargins(arg2,arg3);
3138
3139 wxPyEndAllowThreads(__tstate);
3140 if (PyErr_Occurred()) SWIG_fail;
3141 }
3142 Py_INCREF(Py_None); resultobj = Py_None;
3143 return resultobj;
3144 fail:
3145 return NULL;
3146 }
3147
3148
3149 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3150 PyObject *resultobj;
3151 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3152 int result;
3153 PyObject * obj0 = 0 ;
3154 char *kwnames[] = {
3155 (char *) "self", NULL
3156 };
3157
3158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3160 if (SWIG_arg_fail(1)) SWIG_fail;
3161 {
3162 PyThreadState* __tstate = wxPyBeginAllowThreads();
3163 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3164
3165 wxPyEndAllowThreads(__tstate);
3166 if (PyErr_Occurred()) SWIG_fail;
3167 }
3168 {
3169 resultobj = SWIG_From_int((int)(result));
3170 }
3171 return resultobj;
3172 fail:
3173 return NULL;
3174 }
3175
3176
3177 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3178 PyObject *resultobj;
3179 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3180 int result;
3181 PyObject * obj0 = 0 ;
3182 char *kwnames[] = {
3183 (char *) "self", NULL
3184 };
3185
3186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3188 if (SWIG_arg_fail(1)) SWIG_fail;
3189 {
3190 PyThreadState* __tstate = wxPyBeginAllowThreads();
3191 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3192
3193 wxPyEndAllowThreads(__tstate);
3194 if (PyErr_Occurred()) SWIG_fail;
3195 }
3196 {
3197 resultobj = SWIG_From_int((int)(result));
3198 }
3199 return resultobj;
3200 fail:
3201 return NULL;
3202 }
3203
3204
3205 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3206 PyObject *obj;
3207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3208 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3209 Py_INCREF(obj);
3210 return Py_BuildValue((char *)"");
3211 }
3212 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3213 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3214 return 1;
3215 }
3216
3217
3218 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3219 PyObject *pyobj;
3220
3221 {
3222 #if wxUSE_UNICODE
3223 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3224 #else
3225 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3226 #endif
3227 }
3228 return pyobj;
3229 }
3230
3231
3232 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3233 PyObject *resultobj;
3234 wxWindow *arg1 = (wxWindow *) 0 ;
3235 int arg2 = (int) -1 ;
3236 wxString const &arg3_defvalue = wxPyEmptyString ;
3237 wxString *arg3 = (wxString *) &arg3_defvalue ;
3238 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3239 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3240 wxSize const &arg5_defvalue = wxDefaultSize ;
3241 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3242 long arg6 = (long) 0 ;
3243 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3244 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3245 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3246 wxString *arg8 = (wxString *) &arg8_defvalue ;
3247 wxCheckBox *result;
3248 bool temp3 = false ;
3249 wxPoint temp4 ;
3250 wxSize temp5 ;
3251 bool temp8 = false ;
3252 PyObject * obj0 = 0 ;
3253 PyObject * obj1 = 0 ;
3254 PyObject * obj2 = 0 ;
3255 PyObject * obj3 = 0 ;
3256 PyObject * obj4 = 0 ;
3257 PyObject * obj5 = 0 ;
3258 PyObject * obj6 = 0 ;
3259 PyObject * obj7 = 0 ;
3260 char *kwnames[] = {
3261 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3262 };
3263
3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3266 if (SWIG_arg_fail(1)) SWIG_fail;
3267 if (obj1) {
3268 {
3269 arg2 = (int)(SWIG_As_int(obj1));
3270 if (SWIG_arg_fail(2)) SWIG_fail;
3271 }
3272 }
3273 if (obj2) {
3274 {
3275 arg3 = wxString_in_helper(obj2);
3276 if (arg3 == NULL) SWIG_fail;
3277 temp3 = true;
3278 }
3279 }
3280 if (obj3) {
3281 {
3282 arg4 = &temp4;
3283 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3284 }
3285 }
3286 if (obj4) {
3287 {
3288 arg5 = &temp5;
3289 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3290 }
3291 }
3292 if (obj5) {
3293 {
3294 arg6 = (long)(SWIG_As_long(obj5));
3295 if (SWIG_arg_fail(6)) SWIG_fail;
3296 }
3297 }
3298 if (obj6) {
3299 {
3300 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3301 if (SWIG_arg_fail(7)) SWIG_fail;
3302 if (arg7 == NULL) {
3303 SWIG_null_ref("wxValidator");
3304 }
3305 if (SWIG_arg_fail(7)) SWIG_fail;
3306 }
3307 }
3308 if (obj7) {
3309 {
3310 arg8 = wxString_in_helper(obj7);
3311 if (arg8 == NULL) SWIG_fail;
3312 temp8 = true;
3313 }
3314 }
3315 {
3316 if (!wxPyCheckForApp()) SWIG_fail;
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
3323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3324 {
3325 if (temp3)
3326 delete arg3;
3327 }
3328 {
3329 if (temp8)
3330 delete arg8;
3331 }
3332 return resultobj;
3333 fail:
3334 {
3335 if (temp3)
3336 delete arg3;
3337 }
3338 {
3339 if (temp8)
3340 delete arg8;
3341 }
3342 return NULL;
3343 }
3344
3345
3346 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3347 PyObject *resultobj;
3348 wxCheckBox *result;
3349 char *kwnames[] = {
3350 NULL
3351 };
3352
3353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3354 {
3355 if (!wxPyCheckForApp()) SWIG_fail;
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 result = (wxCheckBox *)new wxCheckBox();
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3363 return resultobj;
3364 fail:
3365 return NULL;
3366 }
3367
3368
3369 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3370 PyObject *resultobj;
3371 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3372 wxWindow *arg2 = (wxWindow *) 0 ;
3373 int arg3 = (int) -1 ;
3374 wxString const &arg4_defvalue = wxPyEmptyString ;
3375 wxString *arg4 = (wxString *) &arg4_defvalue ;
3376 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3377 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3378 wxSize const &arg6_defvalue = wxDefaultSize ;
3379 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3380 long arg7 = (long) 0 ;
3381 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3382 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3383 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3384 wxString *arg9 = (wxString *) &arg9_defvalue ;
3385 bool result;
3386 bool temp4 = false ;
3387 wxPoint temp5 ;
3388 wxSize temp6 ;
3389 bool temp9 = false ;
3390 PyObject * obj0 = 0 ;
3391 PyObject * obj1 = 0 ;
3392 PyObject * obj2 = 0 ;
3393 PyObject * obj3 = 0 ;
3394 PyObject * obj4 = 0 ;
3395 PyObject * obj5 = 0 ;
3396 PyObject * obj6 = 0 ;
3397 PyObject * obj7 = 0 ;
3398 PyObject * obj8 = 0 ;
3399 char *kwnames[] = {
3400 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3401 };
3402
3403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3405 if (SWIG_arg_fail(1)) SWIG_fail;
3406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3407 if (SWIG_arg_fail(2)) SWIG_fail;
3408 if (obj2) {
3409 {
3410 arg3 = (int)(SWIG_As_int(obj2));
3411 if (SWIG_arg_fail(3)) SWIG_fail;
3412 }
3413 }
3414 if (obj3) {
3415 {
3416 arg4 = wxString_in_helper(obj3);
3417 if (arg4 == NULL) SWIG_fail;
3418 temp4 = true;
3419 }
3420 }
3421 if (obj4) {
3422 {
3423 arg5 = &temp5;
3424 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3425 }
3426 }
3427 if (obj5) {
3428 {
3429 arg6 = &temp6;
3430 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3431 }
3432 }
3433 if (obj6) {
3434 {
3435 arg7 = (long)(SWIG_As_long(obj6));
3436 if (SWIG_arg_fail(7)) SWIG_fail;
3437 }
3438 }
3439 if (obj7) {
3440 {
3441 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3442 if (SWIG_arg_fail(8)) SWIG_fail;
3443 if (arg8 == NULL) {
3444 SWIG_null_ref("wxValidator");
3445 }
3446 if (SWIG_arg_fail(8)) SWIG_fail;
3447 }
3448 }
3449 if (obj8) {
3450 {
3451 arg9 = wxString_in_helper(obj8);
3452 if (arg9 == NULL) SWIG_fail;
3453 temp9 = true;
3454 }
3455 }
3456 {
3457 PyThreadState* __tstate = wxPyBeginAllowThreads();
3458 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3459
3460 wxPyEndAllowThreads(__tstate);
3461 if (PyErr_Occurred()) SWIG_fail;
3462 }
3463 {
3464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3465 }
3466 {
3467 if (temp4)
3468 delete arg4;
3469 }
3470 {
3471 if (temp9)
3472 delete arg9;
3473 }
3474 return resultobj;
3475 fail:
3476 {
3477 if (temp4)
3478 delete arg4;
3479 }
3480 {
3481 if (temp9)
3482 delete arg9;
3483 }
3484 return NULL;
3485 }
3486
3487
3488 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3489 PyObject *resultobj;
3490 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3491 bool result;
3492 PyObject * obj0 = 0 ;
3493 char *kwnames[] = {
3494 (char *) "self", NULL
3495 };
3496
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3499 if (SWIG_arg_fail(1)) SWIG_fail;
3500 {
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 result = (bool)(arg1)->GetValue();
3503
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 {
3508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3509 }
3510 return resultobj;
3511 fail:
3512 return NULL;
3513 }
3514
3515
3516 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3517 PyObject *resultobj;
3518 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3519 bool result;
3520 PyObject * obj0 = 0 ;
3521 char *kwnames[] = {
3522 (char *) "self", NULL
3523 };
3524
3525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3527 if (SWIG_arg_fail(1)) SWIG_fail;
3528 {
3529 PyThreadState* __tstate = wxPyBeginAllowThreads();
3530 result = (bool)(arg1)->IsChecked();
3531
3532 wxPyEndAllowThreads(__tstate);
3533 if (PyErr_Occurred()) SWIG_fail;
3534 }
3535 {
3536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3537 }
3538 return resultobj;
3539 fail:
3540 return NULL;
3541 }
3542
3543
3544 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3545 PyObject *resultobj;
3546 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3547 bool arg2 ;
3548 PyObject * obj0 = 0 ;
3549 PyObject * obj1 = 0 ;
3550 char *kwnames[] = {
3551 (char *) "self",(char *) "state", NULL
3552 };
3553
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3556 if (SWIG_arg_fail(1)) SWIG_fail;
3557 {
3558 arg2 = (bool const)(SWIG_As_bool(obj1));
3559 if (SWIG_arg_fail(2)) SWIG_fail;
3560 }
3561 {
3562 PyThreadState* __tstate = wxPyBeginAllowThreads();
3563 (arg1)->SetValue(arg2);
3564
3565 wxPyEndAllowThreads(__tstate);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 }
3568 Py_INCREF(Py_None); resultobj = Py_None;
3569 return resultobj;
3570 fail:
3571 return NULL;
3572 }
3573
3574
3575 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3576 PyObject *resultobj;
3577 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3578 wxCheckBoxState result;
3579 PyObject * obj0 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "self", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3586 if (SWIG_arg_fail(1)) SWIG_fail;
3587 {
3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
3589 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3590
3591 wxPyEndAllowThreads(__tstate);
3592 if (PyErr_Occurred()) SWIG_fail;
3593 }
3594 resultobj = SWIG_From_int((result));
3595 return resultobj;
3596 fail:
3597 return NULL;
3598 }
3599
3600
3601 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3602 PyObject *resultobj;
3603 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3604 wxCheckBoxState arg2 ;
3605 PyObject * obj0 = 0 ;
3606 PyObject * obj1 = 0 ;
3607 char *kwnames[] = {
3608 (char *) "self",(char *) "state", NULL
3609 };
3610
3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3613 if (SWIG_arg_fail(1)) SWIG_fail;
3614 {
3615 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3616 if (SWIG_arg_fail(2)) SWIG_fail;
3617 }
3618 {
3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
3620 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3621
3622 wxPyEndAllowThreads(__tstate);
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 Py_INCREF(Py_None); resultobj = Py_None;
3626 return resultobj;
3627 fail:
3628 return NULL;
3629 }
3630
3631
3632 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3633 PyObject *resultobj;
3634 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3635 bool result;
3636 PyObject * obj0 = 0 ;
3637 char *kwnames[] = {
3638 (char *) "self", NULL
3639 };
3640
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3643 if (SWIG_arg_fail(1)) SWIG_fail;
3644 {
3645 PyThreadState* __tstate = wxPyBeginAllowThreads();
3646 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3647
3648 wxPyEndAllowThreads(__tstate);
3649 if (PyErr_Occurred()) SWIG_fail;
3650 }
3651 {
3652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3653 }
3654 return resultobj;
3655 fail:
3656 return NULL;
3657 }
3658
3659
3660 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3661 PyObject *resultobj;
3662 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3663 bool result;
3664 PyObject * obj0 = 0 ;
3665 char *kwnames[] = {
3666 (char *) "self", NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3671 if (SWIG_arg_fail(1)) SWIG_fail;
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3675
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
3679 {
3680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3681 }
3682 return resultobj;
3683 fail:
3684 return NULL;
3685 }
3686
3687
3688 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3689 PyObject *resultobj;
3690 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3691 wxVisualAttributes result;
3692 PyObject * obj0 = 0 ;
3693 char *kwnames[] = {
3694 (char *) "variant", NULL
3695 };
3696
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3698 if (obj0) {
3699 {
3700 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3701 if (SWIG_arg_fail(1)) SWIG_fail;
3702 }
3703 }
3704 {
3705 if (!wxPyCheckForApp()) SWIG_fail;
3706 PyThreadState* __tstate = wxPyBeginAllowThreads();
3707 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3708
3709 wxPyEndAllowThreads(__tstate);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 }
3712 {
3713 wxVisualAttributes * resultptr;
3714 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3716 }
3717 return resultobj;
3718 fail:
3719 return NULL;
3720 }
3721
3722
3723 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3724 PyObject *obj;
3725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3726 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3727 Py_INCREF(obj);
3728 return Py_BuildValue((char *)"");
3729 }
3730 static int _wrap_ChoiceNameStr_set(PyObject *) {
3731 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3732 return 1;
3733 }
3734
3735
3736 static PyObject *_wrap_ChoiceNameStr_get(void) {
3737 PyObject *pyobj;
3738
3739 {
3740 #if wxUSE_UNICODE
3741 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3742 #else
3743 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3744 #endif
3745 }
3746 return pyobj;
3747 }
3748
3749
3750 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj;
3752 wxWindow *arg1 = (wxWindow *) 0 ;
3753 int arg2 = (int) -1 ;
3754 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3755 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3756 wxSize const &arg4_defvalue = wxDefaultSize ;
3757 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3758 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3759 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3760 long arg6 = (long) 0 ;
3761 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3762 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3763 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3764 wxString *arg8 = (wxString *) &arg8_defvalue ;
3765 wxChoice *result;
3766 wxPoint temp3 ;
3767 wxSize temp4 ;
3768 bool temp5 = false ;
3769 bool temp8 = false ;
3770 PyObject * obj0 = 0 ;
3771 PyObject * obj1 = 0 ;
3772 PyObject * obj2 = 0 ;
3773 PyObject * obj3 = 0 ;
3774 PyObject * obj4 = 0 ;
3775 PyObject * obj5 = 0 ;
3776 PyObject * obj6 = 0 ;
3777 PyObject * obj7 = 0 ;
3778 char *kwnames[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3780 };
3781
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3784 if (SWIG_arg_fail(1)) SWIG_fail;
3785 if (obj1) {
3786 {
3787 arg2 = (int)(SWIG_As_int(obj1));
3788 if (SWIG_arg_fail(2)) SWIG_fail;
3789 }
3790 }
3791 if (obj2) {
3792 {
3793 arg3 = &temp3;
3794 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3795 }
3796 }
3797 if (obj3) {
3798 {
3799 arg4 = &temp4;
3800 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3801 }
3802 }
3803 if (obj4) {
3804 {
3805 if (! PySequence_Check(obj4)) {
3806 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3807 SWIG_fail;
3808 }
3809 arg5 = new wxArrayString;
3810 temp5 = true;
3811 int i, len=PySequence_Length(obj4);
3812 for (i=0; i<len; i++) {
3813 PyObject* item = PySequence_GetItem(obj4, i);
3814 #if wxUSE_UNICODE
3815 PyObject* str = PyObject_Unicode(item);
3816 #else
3817 PyObject* str = PyObject_Str(item);
3818 #endif
3819 if (PyErr_Occurred()) SWIG_fail;
3820 arg5->Add(Py2wxString(str));
3821 Py_DECREF(item);
3822 Py_DECREF(str);
3823 }
3824 }
3825 }
3826 if (obj5) {
3827 {
3828 arg6 = (long)(SWIG_As_long(obj5));
3829 if (SWIG_arg_fail(6)) SWIG_fail;
3830 }
3831 }
3832 if (obj6) {
3833 {
3834 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3835 if (SWIG_arg_fail(7)) SWIG_fail;
3836 if (arg7 == NULL) {
3837 SWIG_null_ref("wxValidator");
3838 }
3839 if (SWIG_arg_fail(7)) SWIG_fail;
3840 }
3841 }
3842 if (obj7) {
3843 {
3844 arg8 = wxString_in_helper(obj7);
3845 if (arg8 == NULL) SWIG_fail;
3846 temp8 = true;
3847 }
3848 }
3849 {
3850 if (!wxPyCheckForApp()) SWIG_fail;
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3853
3854 wxPyEndAllowThreads(__tstate);
3855 if (PyErr_Occurred()) SWIG_fail;
3856 }
3857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3858 {
3859 if (temp5) delete arg5;
3860 }
3861 {
3862 if (temp8)
3863 delete arg8;
3864 }
3865 return resultobj;
3866 fail:
3867 {
3868 if (temp5) delete arg5;
3869 }
3870 {
3871 if (temp8)
3872 delete arg8;
3873 }
3874 return NULL;
3875 }
3876
3877
3878 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3879 PyObject *resultobj;
3880 wxChoice *result;
3881 char *kwnames[] = {
3882 NULL
3883 };
3884
3885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3886 {
3887 if (!wxPyCheckForApp()) SWIG_fail;
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 result = (wxChoice *)new wxChoice();
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3895 return resultobj;
3896 fail:
3897 return NULL;
3898 }
3899
3900
3901 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3902 PyObject *resultobj;
3903 wxChoice *arg1 = (wxChoice *) 0 ;
3904 wxWindow *arg2 = (wxWindow *) 0 ;
3905 int arg3 = (int) -1 ;
3906 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3907 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3908 wxSize const &arg5_defvalue = wxDefaultSize ;
3909 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3910 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3911 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3912 long arg7 = (long) 0 ;
3913 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3914 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3915 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3916 wxString *arg9 = (wxString *) &arg9_defvalue ;
3917 bool result;
3918 wxPoint temp4 ;
3919 wxSize temp5 ;
3920 bool temp6 = false ;
3921 bool temp9 = false ;
3922 PyObject * obj0 = 0 ;
3923 PyObject * obj1 = 0 ;
3924 PyObject * obj2 = 0 ;
3925 PyObject * obj3 = 0 ;
3926 PyObject * obj4 = 0 ;
3927 PyObject * obj5 = 0 ;
3928 PyObject * obj6 = 0 ;
3929 PyObject * obj7 = 0 ;
3930 PyObject * obj8 = 0 ;
3931 char *kwnames[] = {
3932 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3933 };
3934
3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3937 if (SWIG_arg_fail(1)) SWIG_fail;
3938 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3939 if (SWIG_arg_fail(2)) SWIG_fail;
3940 if (obj2) {
3941 {
3942 arg3 = (int)(SWIG_As_int(obj2));
3943 if (SWIG_arg_fail(3)) SWIG_fail;
3944 }
3945 }
3946 if (obj3) {
3947 {
3948 arg4 = &temp4;
3949 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3950 }
3951 }
3952 if (obj4) {
3953 {
3954 arg5 = &temp5;
3955 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3956 }
3957 }
3958 if (obj5) {
3959 {
3960 if (! PySequence_Check(obj5)) {
3961 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3962 SWIG_fail;
3963 }
3964 arg6 = new wxArrayString;
3965 temp6 = true;
3966 int i, len=PySequence_Length(obj5);
3967 for (i=0; i<len; i++) {
3968 PyObject* item = PySequence_GetItem(obj5, i);
3969 #if wxUSE_UNICODE
3970 PyObject* str = PyObject_Unicode(item);
3971 #else
3972 PyObject* str = PyObject_Str(item);
3973 #endif
3974 if (PyErr_Occurred()) SWIG_fail;
3975 arg6->Add(Py2wxString(str));
3976 Py_DECREF(item);
3977 Py_DECREF(str);
3978 }
3979 }
3980 }
3981 if (obj6) {
3982 {
3983 arg7 = (long)(SWIG_As_long(obj6));
3984 if (SWIG_arg_fail(7)) SWIG_fail;
3985 }
3986 }
3987 if (obj7) {
3988 {
3989 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3990 if (SWIG_arg_fail(8)) SWIG_fail;
3991 if (arg8 == NULL) {
3992 SWIG_null_ref("wxValidator");
3993 }
3994 if (SWIG_arg_fail(8)) SWIG_fail;
3995 }
3996 }
3997 if (obj8) {
3998 {
3999 arg9 = wxString_in_helper(obj8);
4000 if (arg9 == NULL) SWIG_fail;
4001 temp9 = true;
4002 }
4003 }
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 {
4012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4013 }
4014 {
4015 if (temp6) delete arg6;
4016 }
4017 {
4018 if (temp9)
4019 delete arg9;
4020 }
4021 return resultobj;
4022 fail:
4023 {
4024 if (temp6) delete arg6;
4025 }
4026 {
4027 if (temp9)
4028 delete arg9;
4029 }
4030 return NULL;
4031 }
4032
4033
4034 static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4035 PyObject *resultobj;
4036 wxChoice *arg1 = (wxChoice *) 0 ;
4037 int arg2 ;
4038 PyObject * obj0 = 0 ;
4039 PyObject * obj1 = 0 ;
4040 char *kwnames[] = {
4041 (char *) "self",(char *) "n", NULL
4042 };
4043
4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4046 if (SWIG_arg_fail(1)) SWIG_fail;
4047 {
4048 arg2 = (int const)(SWIG_As_int(obj1));
4049 if (SWIG_arg_fail(2)) SWIG_fail;
4050 }
4051 {
4052 PyThreadState* __tstate = wxPyBeginAllowThreads();
4053 (arg1)->SetSelection(arg2);
4054
4055 wxPyEndAllowThreads(__tstate);
4056 if (PyErr_Occurred()) SWIG_fail;
4057 }
4058 Py_INCREF(Py_None); resultobj = Py_None;
4059 return resultobj;
4060 fail:
4061 return NULL;
4062 }
4063
4064
4065 static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4066 PyObject *resultobj;
4067 wxChoice *arg1 = (wxChoice *) 0 ;
4068 wxString *arg2 = 0 ;
4069 bool result;
4070 bool temp2 = false ;
4071 PyObject * obj0 = 0 ;
4072 PyObject * obj1 = 0 ;
4073 char *kwnames[] = {
4074 (char *) "self",(char *) "string", NULL
4075 };
4076
4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4079 if (SWIG_arg_fail(1)) SWIG_fail;
4080 {
4081 arg2 = wxString_in_helper(obj1);
4082 if (arg2 == NULL) SWIG_fail;
4083 temp2 = true;
4084 }
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
4092 {
4093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4094 }
4095 {
4096 if (temp2)
4097 delete arg2;
4098 }
4099 return resultobj;
4100 fail:
4101 {
4102 if (temp2)
4103 delete arg2;
4104 }
4105 return NULL;
4106 }
4107
4108
4109 static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4110 PyObject *resultobj;
4111 wxChoice *arg1 = (wxChoice *) 0 ;
4112 int arg2 ;
4113 wxString *arg3 = 0 ;
4114 bool temp3 = false ;
4115 PyObject * obj0 = 0 ;
4116 PyObject * obj1 = 0 ;
4117 PyObject * obj2 = 0 ;
4118 char *kwnames[] = {
4119 (char *) "self",(char *) "n",(char *) "string", NULL
4120 };
4121
4122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
4124 if (SWIG_arg_fail(1)) SWIG_fail;
4125 {
4126 arg2 = (int)(SWIG_As_int(obj1));
4127 if (SWIG_arg_fail(2)) SWIG_fail;
4128 }
4129 {
4130 arg3 = wxString_in_helper(obj2);
4131 if (arg3 == NULL) SWIG_fail;
4132 temp3 = true;
4133 }
4134 {
4135 PyThreadState* __tstate = wxPyBeginAllowThreads();
4136 (arg1)->SetString(arg2,(wxString const &)*arg3);
4137
4138 wxPyEndAllowThreads(__tstate);
4139 if (PyErr_Occurred()) SWIG_fail;
4140 }
4141 Py_INCREF(Py_None); resultobj = Py_None;
4142 {
4143 if (temp3)
4144 delete arg3;
4145 }
4146 return resultobj;
4147 fail:
4148 {
4149 if (temp3)
4150 delete arg3;
4151 }
4152 return NULL;
4153 }
4154
4155
4156 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4157 PyObject *resultobj;
4158 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4159 wxVisualAttributes result;
4160 PyObject * obj0 = 0 ;
4161 char *kwnames[] = {
4162 (char *) "variant", NULL
4163 };
4164
4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4166 if (obj0) {
4167 {
4168 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4169 if (SWIG_arg_fail(1)) SWIG_fail;
4170 }
4171 }
4172 {
4173 if (!wxPyCheckForApp()) SWIG_fail;
4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4175 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4176
4177 wxPyEndAllowThreads(__tstate);
4178 if (PyErr_Occurred()) SWIG_fail;
4179 }
4180 {
4181 wxVisualAttributes * resultptr;
4182 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4184 }
4185 return resultobj;
4186 fail:
4187 return NULL;
4188 }
4189
4190
4191 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4192 PyObject *obj;
4193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4194 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4195 Py_INCREF(obj);
4196 return Py_BuildValue((char *)"");
4197 }
4198 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4199 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4200 return 1;
4201 }
4202
4203
4204 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4205 PyObject *pyobj;
4206
4207 {
4208 #if wxUSE_UNICODE
4209 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4210 #else
4211 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4212 #endif
4213 }
4214 return pyobj;
4215 }
4216
4217
4218 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4219 PyObject *resultobj;
4220 wxWindow *arg1 = (wxWindow *) 0 ;
4221 int arg2 = (int) -1 ;
4222 wxString const &arg3_defvalue = wxPyEmptyString ;
4223 wxString *arg3 = (wxString *) &arg3_defvalue ;
4224 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4225 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4226 wxSize const &arg5_defvalue = wxDefaultSize ;
4227 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4228 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4229 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4230 long arg7 = (long) 0 ;
4231 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4232 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4233 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4234 wxString *arg9 = (wxString *) &arg9_defvalue ;
4235 wxComboBox *result;
4236 bool temp3 = false ;
4237 wxPoint temp4 ;
4238 wxSize temp5 ;
4239 bool temp6 = false ;
4240 bool temp9 = false ;
4241 PyObject * obj0 = 0 ;
4242 PyObject * obj1 = 0 ;
4243 PyObject * obj2 = 0 ;
4244 PyObject * obj3 = 0 ;
4245 PyObject * obj4 = 0 ;
4246 PyObject * obj5 = 0 ;
4247 PyObject * obj6 = 0 ;
4248 PyObject * obj7 = 0 ;
4249 PyObject * obj8 = 0 ;
4250 char *kwnames[] = {
4251 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4252 };
4253
4254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4256 if (SWIG_arg_fail(1)) SWIG_fail;
4257 if (obj1) {
4258 {
4259 arg2 = (int)(SWIG_As_int(obj1));
4260 if (SWIG_arg_fail(2)) SWIG_fail;
4261 }
4262 }
4263 if (obj2) {
4264 {
4265 arg3 = wxString_in_helper(obj2);
4266 if (arg3 == NULL) SWIG_fail;
4267 temp3 = true;
4268 }
4269 }
4270 if (obj3) {
4271 {
4272 arg4 = &temp4;
4273 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4274 }
4275 }
4276 if (obj4) {
4277 {
4278 arg5 = &temp5;
4279 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4280 }
4281 }
4282 if (obj5) {
4283 {
4284 if (! PySequence_Check(obj5)) {
4285 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4286 SWIG_fail;
4287 }
4288 arg6 = new wxArrayString;
4289 temp6 = true;
4290 int i, len=PySequence_Length(obj5);
4291 for (i=0; i<len; i++) {
4292 PyObject* item = PySequence_GetItem(obj5, i);
4293 #if wxUSE_UNICODE
4294 PyObject* str = PyObject_Unicode(item);
4295 #else
4296 PyObject* str = PyObject_Str(item);
4297 #endif
4298 if (PyErr_Occurred()) SWIG_fail;
4299 arg6->Add(Py2wxString(str));
4300 Py_DECREF(item);
4301 Py_DECREF(str);
4302 }
4303 }
4304 }
4305 if (obj6) {
4306 {
4307 arg7 = (long)(SWIG_As_long(obj6));
4308 if (SWIG_arg_fail(7)) SWIG_fail;
4309 }
4310 }
4311 if (obj7) {
4312 {
4313 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4314 if (SWIG_arg_fail(8)) SWIG_fail;
4315 if (arg8 == NULL) {
4316 SWIG_null_ref("wxValidator");
4317 }
4318 if (SWIG_arg_fail(8)) SWIG_fail;
4319 }
4320 }
4321 if (obj8) {
4322 {
4323 arg9 = wxString_in_helper(obj8);
4324 if (arg9 == NULL) SWIG_fail;
4325 temp9 = true;
4326 }
4327 }
4328 {
4329 if (!wxPyCheckForApp()) SWIG_fail;
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 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);
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4337 {
4338 if (temp3)
4339 delete arg3;
4340 }
4341 {
4342 if (temp6) delete arg6;
4343 }
4344 {
4345 if (temp9)
4346 delete arg9;
4347 }
4348 return resultobj;
4349 fail:
4350 {
4351 if (temp3)
4352 delete arg3;
4353 }
4354 {
4355 if (temp6) delete arg6;
4356 }
4357 {
4358 if (temp9)
4359 delete arg9;
4360 }
4361 return NULL;
4362 }
4363
4364
4365 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4366 PyObject *resultobj;
4367 wxComboBox *result;
4368 char *kwnames[] = {
4369 NULL
4370 };
4371
4372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4373 {
4374 if (!wxPyCheckForApp()) SWIG_fail;
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 result = (wxComboBox *)new wxComboBox();
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
4381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4382 return resultobj;
4383 fail:
4384 return NULL;
4385 }
4386
4387
4388 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4389 PyObject *resultobj;
4390 wxComboBox *arg1 = (wxComboBox *) 0 ;
4391 wxWindow *arg2 = (wxWindow *) 0 ;
4392 int arg3 = (int) -1 ;
4393 wxString const &arg4_defvalue = wxPyEmptyString ;
4394 wxString *arg4 = (wxString *) &arg4_defvalue ;
4395 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4396 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4397 wxSize const &arg6_defvalue = wxDefaultSize ;
4398 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4399 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4400 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4401 long arg8 = (long) 0 ;
4402 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4403 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4404 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4405 wxString *arg10 = (wxString *) &arg10_defvalue ;
4406 bool result;
4407 bool temp4 = false ;
4408 wxPoint temp5 ;
4409 wxSize temp6 ;
4410 bool temp7 = false ;
4411 bool temp10 = false ;
4412 PyObject * obj0 = 0 ;
4413 PyObject * obj1 = 0 ;
4414 PyObject * obj2 = 0 ;
4415 PyObject * obj3 = 0 ;
4416 PyObject * obj4 = 0 ;
4417 PyObject * obj5 = 0 ;
4418 PyObject * obj6 = 0 ;
4419 PyObject * obj7 = 0 ;
4420 PyObject * obj8 = 0 ;
4421 PyObject * obj9 = 0 ;
4422 char *kwnames[] = {
4423 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4424 };
4425
4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4428 if (SWIG_arg_fail(1)) SWIG_fail;
4429 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4430 if (SWIG_arg_fail(2)) SWIG_fail;
4431 if (obj2) {
4432 {
4433 arg3 = (int)(SWIG_As_int(obj2));
4434 if (SWIG_arg_fail(3)) SWIG_fail;
4435 }
4436 }
4437 if (obj3) {
4438 {
4439 arg4 = wxString_in_helper(obj3);
4440 if (arg4 == NULL) SWIG_fail;
4441 temp4 = true;
4442 }
4443 }
4444 if (obj4) {
4445 {
4446 arg5 = &temp5;
4447 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4448 }
4449 }
4450 if (obj5) {
4451 {
4452 arg6 = &temp6;
4453 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4454 }
4455 }
4456 if (obj6) {
4457 {
4458 if (! PySequence_Check(obj6)) {
4459 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4460 SWIG_fail;
4461 }
4462 arg7 = new wxArrayString;
4463 temp7 = true;
4464 int i, len=PySequence_Length(obj6);
4465 for (i=0; i<len; i++) {
4466 PyObject* item = PySequence_GetItem(obj6, i);
4467 #if wxUSE_UNICODE
4468 PyObject* str = PyObject_Unicode(item);
4469 #else
4470 PyObject* str = PyObject_Str(item);
4471 #endif
4472 if (PyErr_Occurred()) SWIG_fail;
4473 arg7->Add(Py2wxString(str));
4474 Py_DECREF(item);
4475 Py_DECREF(str);
4476 }
4477 }
4478 }
4479 if (obj7) {
4480 {
4481 arg8 = (long)(SWIG_As_long(obj7));
4482 if (SWIG_arg_fail(8)) SWIG_fail;
4483 }
4484 }
4485 if (obj8) {
4486 {
4487 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4488 if (SWIG_arg_fail(9)) SWIG_fail;
4489 if (arg9 == NULL) {
4490 SWIG_null_ref("wxValidator");
4491 }
4492 if (SWIG_arg_fail(9)) SWIG_fail;
4493 }
4494 }
4495 if (obj9) {
4496 {
4497 arg10 = wxString_in_helper(obj9);
4498 if (arg10 == NULL) SWIG_fail;
4499 temp10 = true;
4500 }
4501 }
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 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);
4505
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 {
4510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4511 }
4512 {
4513 if (temp4)
4514 delete arg4;
4515 }
4516 {
4517 if (temp7) delete arg7;
4518 }
4519 {
4520 if (temp10)
4521 delete arg10;
4522 }
4523 return resultobj;
4524 fail:
4525 {
4526 if (temp4)
4527 delete arg4;
4528 }
4529 {
4530 if (temp7) delete arg7;
4531 }
4532 {
4533 if (temp10)
4534 delete arg10;
4535 }
4536 return NULL;
4537 }
4538
4539
4540 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4541 PyObject *resultobj;
4542 wxComboBox *arg1 = (wxComboBox *) 0 ;
4543 wxString result;
4544 PyObject * obj0 = 0 ;
4545 char *kwnames[] = {
4546 (char *) "self", NULL
4547 };
4548
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4551 if (SWIG_arg_fail(1)) SWIG_fail;
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 result = ((wxComboBox const *)arg1)->GetValue();
4555
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4559 {
4560 #if wxUSE_UNICODE
4561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4562 #else
4563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4564 #endif
4565 }
4566 return resultobj;
4567 fail:
4568 return NULL;
4569 }
4570
4571
4572 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxComboBox *arg1 = (wxComboBox *) 0 ;
4575 wxString *arg2 = 0 ;
4576 bool temp2 = false ;
4577 PyObject * obj0 = 0 ;
4578 PyObject * obj1 = 0 ;
4579 char *kwnames[] = {
4580 (char *) "self",(char *) "value", NULL
4581 };
4582
4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4585 if (SWIG_arg_fail(1)) SWIG_fail;
4586 {
4587 arg2 = wxString_in_helper(obj1);
4588 if (arg2 == NULL) SWIG_fail;
4589 temp2 = true;
4590 }
4591 {
4592 PyThreadState* __tstate = wxPyBeginAllowThreads();
4593 (arg1)->SetValue((wxString const &)*arg2);
4594
4595 wxPyEndAllowThreads(__tstate);
4596 if (PyErr_Occurred()) SWIG_fail;
4597 }
4598 Py_INCREF(Py_None); resultobj = Py_None;
4599 {
4600 if (temp2)
4601 delete arg2;
4602 }
4603 return resultobj;
4604 fail:
4605 {
4606 if (temp2)
4607 delete arg2;
4608 }
4609 return NULL;
4610 }
4611
4612
4613 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4614 PyObject *resultobj;
4615 wxComboBox *arg1 = (wxComboBox *) 0 ;
4616 PyObject * obj0 = 0 ;
4617 char *kwnames[] = {
4618 (char *) "self", NULL
4619 };
4620
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4623 if (SWIG_arg_fail(1)) SWIG_fail;
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 (arg1)->Copy();
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 Py_INCREF(Py_None); resultobj = Py_None;
4632 return resultobj;
4633 fail:
4634 return NULL;
4635 }
4636
4637
4638 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4639 PyObject *resultobj;
4640 wxComboBox *arg1 = (wxComboBox *) 0 ;
4641 PyObject * obj0 = 0 ;
4642 char *kwnames[] = {
4643 (char *) "self", NULL
4644 };
4645
4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4648 if (SWIG_arg_fail(1)) SWIG_fail;
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 (arg1)->Cut();
4652
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 Py_INCREF(Py_None); resultobj = Py_None;
4657 return resultobj;
4658 fail:
4659 return NULL;
4660 }
4661
4662
4663 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4664 PyObject *resultobj;
4665 wxComboBox *arg1 = (wxComboBox *) 0 ;
4666 PyObject * obj0 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "self", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4673 if (SWIG_arg_fail(1)) SWIG_fail;
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 (arg1)->Paste();
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 Py_INCREF(Py_None); resultobj = Py_None;
4682 return resultobj;
4683 fail:
4684 return NULL;
4685 }
4686
4687
4688 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4689 PyObject *resultobj;
4690 wxComboBox *arg1 = (wxComboBox *) 0 ;
4691 long arg2 ;
4692 PyObject * obj0 = 0 ;
4693 PyObject * obj1 = 0 ;
4694 char *kwnames[] = {
4695 (char *) "self",(char *) "pos", NULL
4696 };
4697
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4700 if (SWIG_arg_fail(1)) SWIG_fail;
4701 {
4702 arg2 = (long)(SWIG_As_long(obj1));
4703 if (SWIG_arg_fail(2)) SWIG_fail;
4704 }
4705 {
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 (arg1)->SetInsertionPoint(arg2);
4708
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 Py_INCREF(Py_None); resultobj = Py_None;
4713 return resultobj;
4714 fail:
4715 return NULL;
4716 }
4717
4718
4719 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj;
4721 wxComboBox *arg1 = (wxComboBox *) 0 ;
4722 long result;
4723 PyObject * obj0 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail;
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 {
4739 resultobj = SWIG_From_long((long)(result));
4740 }
4741 return resultobj;
4742 fail:
4743 return NULL;
4744 }
4745
4746
4747 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4748 PyObject *resultobj;
4749 wxComboBox *arg1 = (wxComboBox *) 0 ;
4750 long result;
4751 PyObject * obj0 = 0 ;
4752 char *kwnames[] = {
4753 (char *) "self", NULL
4754 };
4755
4756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4758 if (SWIG_arg_fail(1)) SWIG_fail;
4759 {
4760 PyThreadState* __tstate = wxPyBeginAllowThreads();
4761 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4762
4763 wxPyEndAllowThreads(__tstate);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 }
4766 {
4767 resultobj = SWIG_From_long((long)(result));
4768 }
4769 return resultobj;
4770 fail:
4771 return NULL;
4772 }
4773
4774
4775 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4776 PyObject *resultobj;
4777 wxComboBox *arg1 = (wxComboBox *) 0 ;
4778 long arg2 ;
4779 long arg3 ;
4780 wxString *arg4 = 0 ;
4781 bool temp4 = false ;
4782 PyObject * obj0 = 0 ;
4783 PyObject * obj1 = 0 ;
4784 PyObject * obj2 = 0 ;
4785 PyObject * obj3 = 0 ;
4786 char *kwnames[] = {
4787 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4788 };
4789
4790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4792 if (SWIG_arg_fail(1)) SWIG_fail;
4793 {
4794 arg2 = (long)(SWIG_As_long(obj1));
4795 if (SWIG_arg_fail(2)) SWIG_fail;
4796 }
4797 {
4798 arg3 = (long)(SWIG_As_long(obj2));
4799 if (SWIG_arg_fail(3)) SWIG_fail;
4800 }
4801 {
4802 arg4 = wxString_in_helper(obj3);
4803 if (arg4 == NULL) SWIG_fail;
4804 temp4 = true;
4805 }
4806 {
4807 PyThreadState* __tstate = wxPyBeginAllowThreads();
4808 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4809
4810 wxPyEndAllowThreads(__tstate);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 Py_INCREF(Py_None); resultobj = Py_None;
4814 {
4815 if (temp4)
4816 delete arg4;
4817 }
4818 return resultobj;
4819 fail:
4820 {
4821 if (temp4)
4822 delete arg4;
4823 }
4824 return NULL;
4825 }
4826
4827
4828 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4829 PyObject *resultobj;
4830 wxComboBox *arg1 = (wxComboBox *) 0 ;
4831 int arg2 ;
4832 PyObject * obj0 = 0 ;
4833 PyObject * obj1 = 0 ;
4834 char *kwnames[] = {
4835 (char *) "self",(char *) "n", NULL
4836 };
4837
4838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4840 if (SWIG_arg_fail(1)) SWIG_fail;
4841 {
4842 arg2 = (int)(SWIG_As_int(obj1));
4843 if (SWIG_arg_fail(2)) SWIG_fail;
4844 }
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 (arg1)->SetSelection(arg2);
4848
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 Py_INCREF(Py_None); resultobj = Py_None;
4853 return resultobj;
4854 fail:
4855 return NULL;
4856 }
4857
4858
4859 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4860 PyObject *resultobj;
4861 wxComboBox *arg1 = (wxComboBox *) 0 ;
4862 long arg2 ;
4863 long arg3 ;
4864 PyObject * obj0 = 0 ;
4865 PyObject * obj1 = 0 ;
4866 PyObject * obj2 = 0 ;
4867 char *kwnames[] = {
4868 (char *) "self",(char *) "from",(char *) "to", NULL
4869 };
4870
4871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4873 if (SWIG_arg_fail(1)) SWIG_fail;
4874 {
4875 arg2 = (long)(SWIG_As_long(obj1));
4876 if (SWIG_arg_fail(2)) SWIG_fail;
4877 }
4878 {
4879 arg3 = (long)(SWIG_As_long(obj2));
4880 if (SWIG_arg_fail(3)) SWIG_fail;
4881 }
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 (arg1)->SetSelection(arg2,arg3);
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 Py_INCREF(Py_None); resultobj = Py_None;
4890 return resultobj;
4891 fail:
4892 return NULL;
4893 }
4894
4895
4896 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4897 PyObject *resultobj;
4898 wxComboBox *arg1 = (wxComboBox *) 0 ;
4899 wxString *arg2 = 0 ;
4900 bool result;
4901 bool temp2 = false ;
4902 PyObject * obj0 = 0 ;
4903 PyObject * obj1 = 0 ;
4904 char *kwnames[] = {
4905 (char *) "self",(char *) "string", NULL
4906 };
4907
4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4910 if (SWIG_arg_fail(1)) SWIG_fail;
4911 {
4912 arg2 = wxString_in_helper(obj1);
4913 if (arg2 == NULL) SWIG_fail;
4914 temp2 = true;
4915 }
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 {
4924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4925 }
4926 {
4927 if (temp2)
4928 delete arg2;
4929 }
4930 return resultobj;
4931 fail:
4932 {
4933 if (temp2)
4934 delete arg2;
4935 }
4936 return NULL;
4937 }
4938
4939
4940 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4941 PyObject *resultobj;
4942 wxComboBox *arg1 = (wxComboBox *) 0 ;
4943 int arg2 ;
4944 wxString *arg3 = 0 ;
4945 bool temp3 = false ;
4946 PyObject * obj0 = 0 ;
4947 PyObject * obj1 = 0 ;
4948 PyObject * obj2 = 0 ;
4949 char *kwnames[] = {
4950 (char *) "self",(char *) "n",(char *) "string", NULL
4951 };
4952
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4955 if (SWIG_arg_fail(1)) SWIG_fail;
4956 {
4957 arg2 = (int)(SWIG_As_int(obj1));
4958 if (SWIG_arg_fail(2)) SWIG_fail;
4959 }
4960 {
4961 arg3 = wxString_in_helper(obj2);
4962 if (arg3 == NULL) SWIG_fail;
4963 temp3 = true;
4964 }
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 (arg1)->SetString(arg2,(wxString const &)*arg3);
4968
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 Py_INCREF(Py_None); resultobj = Py_None;
4973 {
4974 if (temp3)
4975 delete arg3;
4976 }
4977 return resultobj;
4978 fail:
4979 {
4980 if (temp3)
4981 delete arg3;
4982 }
4983 return NULL;
4984 }
4985
4986
4987 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4988 PyObject *resultobj;
4989 wxComboBox *arg1 = (wxComboBox *) 0 ;
4990 bool arg2 ;
4991 PyObject * obj0 = 0 ;
4992 PyObject * obj1 = 0 ;
4993 char *kwnames[] = {
4994 (char *) "self",(char *) "editable", NULL
4995 };
4996
4997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
4998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4999 if (SWIG_arg_fail(1)) SWIG_fail;
5000 {
5001 arg2 = (bool)(SWIG_As_bool(obj1));
5002 if (SWIG_arg_fail(2)) SWIG_fail;
5003 }
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 (arg1)->SetEditable(arg2);
5007
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 Py_INCREF(Py_None); resultobj = Py_None;
5012 return resultobj;
5013 fail:
5014 return NULL;
5015 }
5016
5017
5018 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj;
5020 wxComboBox *arg1 = (wxComboBox *) 0 ;
5021 PyObject * obj0 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self", NULL
5024 };
5025
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
5027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5028 if (SWIG_arg_fail(1)) SWIG_fail;
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 (arg1)->SetInsertionPointEnd();
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 Py_INCREF(Py_None); resultobj = Py_None;
5037 return resultobj;
5038 fail:
5039 return NULL;
5040 }
5041
5042
5043 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
5044 PyObject *resultobj;
5045 wxComboBox *arg1 = (wxComboBox *) 0 ;
5046 long arg2 ;
5047 long arg3 ;
5048 PyObject * obj0 = 0 ;
5049 PyObject * obj1 = 0 ;
5050 PyObject * obj2 = 0 ;
5051 char *kwnames[] = {
5052 (char *) "self",(char *) "from",(char *) "to", NULL
5053 };
5054
5055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
5056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5057 if (SWIG_arg_fail(1)) SWIG_fail;
5058 {
5059 arg2 = (long)(SWIG_As_long(obj1));
5060 if (SWIG_arg_fail(2)) SWIG_fail;
5061 }
5062 {
5063 arg3 = (long)(SWIG_As_long(obj2));
5064 if (SWIG_arg_fail(3)) SWIG_fail;
5065 }
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 (arg1)->Remove(arg2,arg3);
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 Py_INCREF(Py_None); resultobj = Py_None;
5074 return resultobj;
5075 fail:
5076 return NULL;
5077 }
5078
5079
5080 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj;
5082 wxComboBox *arg1 = (wxComboBox *) 0 ;
5083 bool result;
5084 PyObject * obj0 = 0 ;
5085 char *kwnames[] = {
5086 (char *) "self", NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5091 if (SWIG_arg_fail(1)) SWIG_fail;
5092 {
5093 PyThreadState* __tstate = wxPyBeginAllowThreads();
5094 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5095
5096 wxPyEndAllowThreads(__tstate);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 {
5100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5101 }
5102 return resultobj;
5103 fail:
5104 return NULL;
5105 }
5106
5107
5108 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5109 PyObject *resultobj;
5110 wxComboBox *arg1 = (wxComboBox *) 0 ;
5111 PyObject * obj0 = 0 ;
5112 char *kwnames[] = {
5113 (char *) "self", NULL
5114 };
5115
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5118 if (SWIG_arg_fail(1)) SWIG_fail;
5119 {
5120 PyThreadState* __tstate = wxPyBeginAllowThreads();
5121 (arg1)->Undo();
5122
5123 wxPyEndAllowThreads(__tstate);
5124 if (PyErr_Occurred()) SWIG_fail;
5125 }
5126 Py_INCREF(Py_None); resultobj = Py_None;
5127 return resultobj;
5128 fail:
5129 return NULL;
5130 }
5131
5132
5133 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5134 PyObject *resultobj;
5135 wxComboBox *arg1 = (wxComboBox *) 0 ;
5136 PyObject * obj0 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail;
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 (arg1)->Redo();
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 Py_INCREF(Py_None); resultobj = Py_None;
5152 return resultobj;
5153 fail:
5154 return NULL;
5155 }
5156
5157
5158 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5159 PyObject *resultobj;
5160 wxComboBox *arg1 = (wxComboBox *) 0 ;
5161 PyObject * obj0 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail;
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 (arg1)->SelectAll();
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 Py_INCREF(Py_None); resultobj = Py_None;
5177 return resultobj;
5178 fail:
5179 return NULL;
5180 }
5181
5182
5183 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5184 PyObject *resultobj;
5185 wxComboBox *arg1 = (wxComboBox *) 0 ;
5186 bool result;
5187 PyObject * obj0 = 0 ;
5188 char *kwnames[] = {
5189 (char *) "self", NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail;
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 {
5203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5204 }
5205 return resultobj;
5206 fail:
5207 return NULL;
5208 }
5209
5210
5211 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj;
5213 wxComboBox *arg1 = (wxComboBox *) 0 ;
5214 bool result;
5215 PyObject * obj0 = 0 ;
5216 char *kwnames[] = {
5217 (char *) "self", NULL
5218 };
5219
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5222 if (SWIG_arg_fail(1)) SWIG_fail;
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 result = (bool)((wxComboBox const *)arg1)->CanCut();
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 {
5231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5232 }
5233 return resultobj;
5234 fail:
5235 return NULL;
5236 }
5237
5238
5239 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5240 PyObject *resultobj;
5241 wxComboBox *arg1 = (wxComboBox *) 0 ;
5242 bool result;
5243 PyObject * obj0 = 0 ;
5244 char *kwnames[] = {
5245 (char *) "self", NULL
5246 };
5247
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5250 if (SWIG_arg_fail(1)) SWIG_fail;
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 {
5259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5260 }
5261 return resultobj;
5262 fail:
5263 return NULL;
5264 }
5265
5266
5267 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxComboBox *arg1 = (wxComboBox *) 0 ;
5270 bool result;
5271 PyObject * obj0 = 0 ;
5272 char *kwnames[] = {
5273 (char *) "self", NULL
5274 };
5275
5276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5278 if (SWIG_arg_fail(1)) SWIG_fail;
5279 {
5280 PyThreadState* __tstate = wxPyBeginAllowThreads();
5281 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5282
5283 wxPyEndAllowThreads(__tstate);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 {
5287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5288 }
5289 return resultobj;
5290 fail:
5291 return NULL;
5292 }
5293
5294
5295 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5296 PyObject *resultobj;
5297 wxComboBox *arg1 = (wxComboBox *) 0 ;
5298 bool result;
5299 PyObject * obj0 = 0 ;
5300 char *kwnames[] = {
5301 (char *) "self", NULL
5302 };
5303
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5306 if (SWIG_arg_fail(1)) SWIG_fail;
5307 {
5308 PyThreadState* __tstate = wxPyBeginAllowThreads();
5309 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5310
5311 wxPyEndAllowThreads(__tstate);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 }
5314 {
5315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5316 }
5317 return resultobj;
5318 fail:
5319 return NULL;
5320 }
5321
5322
5323 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5324 PyObject *resultobj;
5325 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5326 wxVisualAttributes result;
5327 PyObject * obj0 = 0 ;
5328 char *kwnames[] = {
5329 (char *) "variant", NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5333 if (obj0) {
5334 {
5335 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5336 if (SWIG_arg_fail(1)) SWIG_fail;
5337 }
5338 }
5339 {
5340 if (!wxPyCheckForApp()) SWIG_fail;
5341 PyThreadState* __tstate = wxPyBeginAllowThreads();
5342 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5343
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
5347 {
5348 wxVisualAttributes * resultptr;
5349 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5351 }
5352 return resultobj;
5353 fail:
5354 return NULL;
5355 }
5356
5357
5358 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5359 PyObject *obj;
5360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5361 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5362 Py_INCREF(obj);
5363 return Py_BuildValue((char *)"");
5364 }
5365 static int _wrap_GaugeNameStr_set(PyObject *) {
5366 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5367 return 1;
5368 }
5369
5370
5371 static PyObject *_wrap_GaugeNameStr_get(void) {
5372 PyObject *pyobj;
5373
5374 {
5375 #if wxUSE_UNICODE
5376 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5377 #else
5378 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5379 #endif
5380 }
5381 return pyobj;
5382 }
5383
5384
5385 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5386 PyObject *resultobj;
5387 wxWindow *arg1 = (wxWindow *) 0 ;
5388 int arg2 = (int) -1 ;
5389 int arg3 = (int) 100 ;
5390 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5391 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5392 wxSize const &arg5_defvalue = wxDefaultSize ;
5393 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5394 long arg6 = (long) wxGA_HORIZONTAL ;
5395 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5396 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5397 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5398 wxString *arg8 = (wxString *) &arg8_defvalue ;
5399 wxGauge *result;
5400 wxPoint temp4 ;
5401 wxSize temp5 ;
5402 bool temp8 = false ;
5403 PyObject * obj0 = 0 ;
5404 PyObject * obj1 = 0 ;
5405 PyObject * obj2 = 0 ;
5406 PyObject * obj3 = 0 ;
5407 PyObject * obj4 = 0 ;
5408 PyObject * obj5 = 0 ;
5409 PyObject * obj6 = 0 ;
5410 PyObject * obj7 = 0 ;
5411 char *kwnames[] = {
5412 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5413 };
5414
5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5417 if (SWIG_arg_fail(1)) SWIG_fail;
5418 if (obj1) {
5419 {
5420 arg2 = (int)(SWIG_As_int(obj1));
5421 if (SWIG_arg_fail(2)) SWIG_fail;
5422 }
5423 }
5424 if (obj2) {
5425 {
5426 arg3 = (int)(SWIG_As_int(obj2));
5427 if (SWIG_arg_fail(3)) SWIG_fail;
5428 }
5429 }
5430 if (obj3) {
5431 {
5432 arg4 = &temp4;
5433 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5434 }
5435 }
5436 if (obj4) {
5437 {
5438 arg5 = &temp5;
5439 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5440 }
5441 }
5442 if (obj5) {
5443 {
5444 arg6 = (long)(SWIG_As_long(obj5));
5445 if (SWIG_arg_fail(6)) SWIG_fail;
5446 }
5447 }
5448 if (obj6) {
5449 {
5450 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5451 if (SWIG_arg_fail(7)) SWIG_fail;
5452 if (arg7 == NULL) {
5453 SWIG_null_ref("wxValidator");
5454 }
5455 if (SWIG_arg_fail(7)) SWIG_fail;
5456 }
5457 }
5458 if (obj7) {
5459 {
5460 arg8 = wxString_in_helper(obj7);
5461 if (arg8 == NULL) SWIG_fail;
5462 temp8 = true;
5463 }
5464 }
5465 {
5466 if (!wxPyCheckForApp()) SWIG_fail;
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5469
5470 wxPyEndAllowThreads(__tstate);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
5473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5474 {
5475 if (temp8)
5476 delete arg8;
5477 }
5478 return resultobj;
5479 fail:
5480 {
5481 if (temp8)
5482 delete arg8;
5483 }
5484 return NULL;
5485 }
5486
5487
5488 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5489 PyObject *resultobj;
5490 wxGauge *result;
5491 char *kwnames[] = {
5492 NULL
5493 };
5494
5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5496 {
5497 if (!wxPyCheckForApp()) SWIG_fail;
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 result = (wxGauge *)new wxGauge();
5500
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5505 return resultobj;
5506 fail:
5507 return NULL;
5508 }
5509
5510
5511 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5512 PyObject *resultobj;
5513 wxGauge *arg1 = (wxGauge *) 0 ;
5514 wxWindow *arg2 = (wxWindow *) 0 ;
5515 int arg3 = (int) -1 ;
5516 int arg4 = (int) 100 ;
5517 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5518 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5519 wxSize const &arg6_defvalue = wxDefaultSize ;
5520 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5521 long arg7 = (long) wxGA_HORIZONTAL ;
5522 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5523 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5524 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5525 wxString *arg9 = (wxString *) &arg9_defvalue ;
5526 bool result;
5527 wxPoint temp5 ;
5528 wxSize temp6 ;
5529 bool temp9 = false ;
5530 PyObject * obj0 = 0 ;
5531 PyObject * obj1 = 0 ;
5532 PyObject * obj2 = 0 ;
5533 PyObject * obj3 = 0 ;
5534 PyObject * obj4 = 0 ;
5535 PyObject * obj5 = 0 ;
5536 PyObject * obj6 = 0 ;
5537 PyObject * obj7 = 0 ;
5538 PyObject * obj8 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5541 };
5542
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5545 if (SWIG_arg_fail(1)) SWIG_fail;
5546 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5547 if (SWIG_arg_fail(2)) SWIG_fail;
5548 if (obj2) {
5549 {
5550 arg3 = (int)(SWIG_As_int(obj2));
5551 if (SWIG_arg_fail(3)) SWIG_fail;
5552 }
5553 }
5554 if (obj3) {
5555 {
5556 arg4 = (int)(SWIG_As_int(obj3));
5557 if (SWIG_arg_fail(4)) SWIG_fail;
5558 }
5559 }
5560 if (obj4) {
5561 {
5562 arg5 = &temp5;
5563 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5564 }
5565 }
5566 if (obj5) {
5567 {
5568 arg6 = &temp6;
5569 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5570 }
5571 }
5572 if (obj6) {
5573 {
5574 arg7 = (long)(SWIG_As_long(obj6));
5575 if (SWIG_arg_fail(7)) SWIG_fail;
5576 }
5577 }
5578 if (obj7) {
5579 {
5580 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5581 if (SWIG_arg_fail(8)) SWIG_fail;
5582 if (arg8 == NULL) {
5583 SWIG_null_ref("wxValidator");
5584 }
5585 if (SWIG_arg_fail(8)) SWIG_fail;
5586 }
5587 }
5588 if (obj8) {
5589 {
5590 arg9 = wxString_in_helper(obj8);
5591 if (arg9 == NULL) SWIG_fail;
5592 temp9 = true;
5593 }
5594 }
5595 {
5596 PyThreadState* __tstate = wxPyBeginAllowThreads();
5597 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5598
5599 wxPyEndAllowThreads(__tstate);
5600 if (PyErr_Occurred()) SWIG_fail;
5601 }
5602 {
5603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5604 }
5605 {
5606 if (temp9)
5607 delete arg9;
5608 }
5609 return resultobj;
5610 fail:
5611 {
5612 if (temp9)
5613 delete arg9;
5614 }
5615 return NULL;
5616 }
5617
5618
5619 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5620 PyObject *resultobj;
5621 wxGauge *arg1 = (wxGauge *) 0 ;
5622 int arg2 ;
5623 PyObject * obj0 = 0 ;
5624 PyObject * obj1 = 0 ;
5625 char *kwnames[] = {
5626 (char *) "self",(char *) "range", NULL
5627 };
5628
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5631 if (SWIG_arg_fail(1)) SWIG_fail;
5632 {
5633 arg2 = (int)(SWIG_As_int(obj1));
5634 if (SWIG_arg_fail(2)) SWIG_fail;
5635 }
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 (arg1)->SetRange(arg2);
5639
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 Py_INCREF(Py_None); resultobj = Py_None;
5644 return resultobj;
5645 fail:
5646 return NULL;
5647 }
5648
5649
5650 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5651 PyObject *resultobj;
5652 wxGauge *arg1 = (wxGauge *) 0 ;
5653 int result;
5654 PyObject * obj0 = 0 ;
5655 char *kwnames[] = {
5656 (char *) "self", NULL
5657 };
5658
5659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5661 if (SWIG_arg_fail(1)) SWIG_fail;
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 result = (int)((wxGauge const *)arg1)->GetRange();
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 {
5670 resultobj = SWIG_From_int((int)(result));
5671 }
5672 return resultobj;
5673 fail:
5674 return NULL;
5675 }
5676
5677
5678 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5679 PyObject *resultobj;
5680 wxGauge *arg1 = (wxGauge *) 0 ;
5681 int arg2 ;
5682 PyObject * obj0 = 0 ;
5683 PyObject * obj1 = 0 ;
5684 char *kwnames[] = {
5685 (char *) "self",(char *) "pos", NULL
5686 };
5687
5688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5690 if (SWIG_arg_fail(1)) SWIG_fail;
5691 {
5692 arg2 = (int)(SWIG_As_int(obj1));
5693 if (SWIG_arg_fail(2)) SWIG_fail;
5694 }
5695 {
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 (arg1)->SetValue(arg2);
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
5702 Py_INCREF(Py_None); resultobj = Py_None;
5703 return resultobj;
5704 fail:
5705 return NULL;
5706 }
5707
5708
5709 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj;
5711 wxGauge *arg1 = (wxGauge *) 0 ;
5712 int result;
5713 PyObject * obj0 = 0 ;
5714 char *kwnames[] = {
5715 (char *) "self", NULL
5716 };
5717
5718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5720 if (SWIG_arg_fail(1)) SWIG_fail;
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 result = (int)((wxGauge const *)arg1)->GetValue();
5724
5725 wxPyEndAllowThreads(__tstate);
5726 if (PyErr_Occurred()) SWIG_fail;
5727 }
5728 {
5729 resultobj = SWIG_From_int((int)(result));
5730 }
5731 return resultobj;
5732 fail:
5733 return NULL;
5734 }
5735
5736
5737 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5738 PyObject *resultobj;
5739 wxGauge *arg1 = (wxGauge *) 0 ;
5740 bool result;
5741 PyObject * obj0 = 0 ;
5742 char *kwnames[] = {
5743 (char *) "self", NULL
5744 };
5745
5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail;
5749 {
5750 PyThreadState* __tstate = wxPyBeginAllowThreads();
5751 result = (bool)((wxGauge const *)arg1)->IsVertical();
5752
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
5756 {
5757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5758 }
5759 return resultobj;
5760 fail:
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxGauge *arg1 = (wxGauge *) 0 ;
5768 int arg2 ;
5769 PyObject * obj0 = 0 ;
5770 PyObject * obj1 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self",(char *) "w", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5777 if (SWIG_arg_fail(1)) SWIG_fail;
5778 {
5779 arg2 = (int)(SWIG_As_int(obj1));
5780 if (SWIG_arg_fail(2)) SWIG_fail;
5781 }
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 (arg1)->SetShadowWidth(arg2);
5785
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 Py_INCREF(Py_None); resultobj = Py_None;
5790 return resultobj;
5791 fail:
5792 return NULL;
5793 }
5794
5795
5796 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5797 PyObject *resultobj;
5798 wxGauge *arg1 = (wxGauge *) 0 ;
5799 int result;
5800 PyObject * obj0 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5807 if (SWIG_arg_fail(1)) SWIG_fail;
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 {
5816 resultobj = SWIG_From_int((int)(result));
5817 }
5818 return resultobj;
5819 fail:
5820 return NULL;
5821 }
5822
5823
5824 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5825 PyObject *resultobj;
5826 wxGauge *arg1 = (wxGauge *) 0 ;
5827 int arg2 ;
5828 PyObject * obj0 = 0 ;
5829 PyObject * obj1 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "self",(char *) "w", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail;
5837 {
5838 arg2 = (int)(SWIG_As_int(obj1));
5839 if (SWIG_arg_fail(2)) SWIG_fail;
5840 }
5841 {
5842 PyThreadState* __tstate = wxPyBeginAllowThreads();
5843 (arg1)->SetBezelFace(arg2);
5844
5845 wxPyEndAllowThreads(__tstate);
5846 if (PyErr_Occurred()) SWIG_fail;
5847 }
5848 Py_INCREF(Py_None); resultobj = Py_None;
5849 return resultobj;
5850 fail:
5851 return NULL;
5852 }
5853
5854
5855 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5856 PyObject *resultobj;
5857 wxGauge *arg1 = (wxGauge *) 0 ;
5858 int result;
5859 PyObject * obj0 = 0 ;
5860 char *kwnames[] = {
5861 (char *) "self", NULL
5862 };
5863
5864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5866 if (SWIG_arg_fail(1)) SWIG_fail;
5867 {
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
5874 {
5875 resultobj = SWIG_From_int((int)(result));
5876 }
5877 return resultobj;
5878 fail:
5879 return NULL;
5880 }
5881
5882
5883 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj;
5885 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5886 wxVisualAttributes result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "variant", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5893 if (obj0) {
5894 {
5895 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5896 if (SWIG_arg_fail(1)) SWIG_fail;
5897 }
5898 }
5899 {
5900 if (!wxPyCheckForApp()) SWIG_fail;
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5903
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 {
5908 wxVisualAttributes * resultptr;
5909 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5910 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5911 }
5912 return resultobj;
5913 fail:
5914 return NULL;
5915 }
5916
5917
5918 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
5919 PyObject *obj;
5920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5921 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5922 Py_INCREF(obj);
5923 return Py_BuildValue((char *)"");
5924 }
5925 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
5926 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5927 return 1;
5928 }
5929
5930
5931 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
5932 PyObject *pyobj;
5933
5934 {
5935 #if wxUSE_UNICODE
5936 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5937 #else
5938 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5939 #endif
5940 }
5941 return pyobj;
5942 }
5943
5944
5945 static int _wrap_StaticBoxNameStr_set(PyObject *) {
5946 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5947 return 1;
5948 }
5949
5950
5951 static PyObject *_wrap_StaticBoxNameStr_get(void) {
5952 PyObject *pyobj;
5953
5954 {
5955 #if wxUSE_UNICODE
5956 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5957 #else
5958 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5959 #endif
5960 }
5961 return pyobj;
5962 }
5963
5964
5965 static int _wrap_StaticTextNameStr_set(PyObject *) {
5966 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5967 return 1;
5968 }
5969
5970
5971 static PyObject *_wrap_StaticTextNameStr_get(void) {
5972 PyObject *pyobj;
5973
5974 {
5975 #if wxUSE_UNICODE
5976 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5977 #else
5978 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5979 #endif
5980 }
5981 return pyobj;
5982 }
5983
5984
5985 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5986 PyObject *resultobj;
5987 wxWindow *arg1 = (wxWindow *) 0 ;
5988 int arg2 = (int) -1 ;
5989 wxString const &arg3_defvalue = wxPyEmptyString ;
5990 wxString *arg3 = (wxString *) &arg3_defvalue ;
5991 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5992 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5993 wxSize const &arg5_defvalue = wxDefaultSize ;
5994 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5995 long arg6 = (long) 0 ;
5996 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5997 wxString *arg7 = (wxString *) &arg7_defvalue ;
5998 wxStaticBox *result;
5999 bool temp3 = false ;
6000 wxPoint temp4 ;
6001 wxSize temp5 ;
6002 bool temp7 = false ;
6003 PyObject * obj0 = 0 ;
6004 PyObject * obj1 = 0 ;
6005 PyObject * obj2 = 0 ;
6006 PyObject * obj3 = 0 ;
6007 PyObject * obj4 = 0 ;
6008 PyObject * obj5 = 0 ;
6009 PyObject * obj6 = 0 ;
6010 char *kwnames[] = {
6011 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6012 };
6013
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6016 if (SWIG_arg_fail(1)) SWIG_fail;
6017 if (obj1) {
6018 {
6019 arg2 = (int)(SWIG_As_int(obj1));
6020 if (SWIG_arg_fail(2)) SWIG_fail;
6021 }
6022 }
6023 if (obj2) {
6024 {
6025 arg3 = wxString_in_helper(obj2);
6026 if (arg3 == NULL) SWIG_fail;
6027 temp3 = true;
6028 }
6029 }
6030 if (obj3) {
6031 {
6032 arg4 = &temp4;
6033 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6034 }
6035 }
6036 if (obj4) {
6037 {
6038 arg5 = &temp5;
6039 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6040 }
6041 }
6042 if (obj5) {
6043 {
6044 arg6 = (long)(SWIG_As_long(obj5));
6045 if (SWIG_arg_fail(6)) SWIG_fail;
6046 }
6047 }
6048 if (obj6) {
6049 {
6050 arg7 = wxString_in_helper(obj6);
6051 if (arg7 == NULL) SWIG_fail;
6052 temp7 = true;
6053 }
6054 }
6055 {
6056 if (!wxPyCheckForApp()) SWIG_fail;
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6059
6060 wxPyEndAllowThreads(__tstate);
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6064 {
6065 if (temp3)
6066 delete arg3;
6067 }
6068 {
6069 if (temp7)
6070 delete arg7;
6071 }
6072 return resultobj;
6073 fail:
6074 {
6075 if (temp3)
6076 delete arg3;
6077 }
6078 {
6079 if (temp7)
6080 delete arg7;
6081 }
6082 return NULL;
6083 }
6084
6085
6086 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
6087 PyObject *resultobj;
6088 wxStaticBox *result;
6089 char *kwnames[] = {
6090 NULL
6091 };
6092
6093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6094 {
6095 if (!wxPyCheckForApp()) SWIG_fail;
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 result = (wxStaticBox *)new wxStaticBox();
6098
6099 wxPyEndAllowThreads(__tstate);
6100 if (PyErr_Occurred()) SWIG_fail;
6101 }
6102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6103 return resultobj;
6104 fail:
6105 return NULL;
6106 }
6107
6108
6109 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6110 PyObject *resultobj;
6111 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6112 wxWindow *arg2 = (wxWindow *) 0 ;
6113 int arg3 = (int) -1 ;
6114 wxString const &arg4_defvalue = wxPyEmptyString ;
6115 wxString *arg4 = (wxString *) &arg4_defvalue ;
6116 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6117 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6118 wxSize const &arg6_defvalue = wxDefaultSize ;
6119 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6120 long arg7 = (long) 0 ;
6121 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6122 wxString *arg8 = (wxString *) &arg8_defvalue ;
6123 bool result;
6124 bool temp4 = false ;
6125 wxPoint temp5 ;
6126 wxSize temp6 ;
6127 bool temp8 = false ;
6128 PyObject * obj0 = 0 ;
6129 PyObject * obj1 = 0 ;
6130 PyObject * obj2 = 0 ;
6131 PyObject * obj3 = 0 ;
6132 PyObject * obj4 = 0 ;
6133 PyObject * obj5 = 0 ;
6134 PyObject * obj6 = 0 ;
6135 PyObject * obj7 = 0 ;
6136 char *kwnames[] = {
6137 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6138 };
6139
6140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6142 if (SWIG_arg_fail(1)) SWIG_fail;
6143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6144 if (SWIG_arg_fail(2)) SWIG_fail;
6145 if (obj2) {
6146 {
6147 arg3 = (int)(SWIG_As_int(obj2));
6148 if (SWIG_arg_fail(3)) SWIG_fail;
6149 }
6150 }
6151 if (obj3) {
6152 {
6153 arg4 = wxString_in_helper(obj3);
6154 if (arg4 == NULL) SWIG_fail;
6155 temp4 = true;
6156 }
6157 }
6158 if (obj4) {
6159 {
6160 arg5 = &temp5;
6161 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6162 }
6163 }
6164 if (obj5) {
6165 {
6166 arg6 = &temp6;
6167 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6168 }
6169 }
6170 if (obj6) {
6171 {
6172 arg7 = (long)(SWIG_As_long(obj6));
6173 if (SWIG_arg_fail(7)) SWIG_fail;
6174 }
6175 }
6176 if (obj7) {
6177 {
6178 arg8 = wxString_in_helper(obj7);
6179 if (arg8 == NULL) SWIG_fail;
6180 temp8 = true;
6181 }
6182 }
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 {
6191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6192 }
6193 {
6194 if (temp4)
6195 delete arg4;
6196 }
6197 {
6198 if (temp8)
6199 delete arg8;
6200 }
6201 return resultobj;
6202 fail:
6203 {
6204 if (temp4)
6205 delete arg4;
6206 }
6207 {
6208 if (temp8)
6209 delete arg8;
6210 }
6211 return NULL;
6212 }
6213
6214
6215 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6216 PyObject *resultobj;
6217 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6218 wxVisualAttributes result;
6219 PyObject * obj0 = 0 ;
6220 char *kwnames[] = {
6221 (char *) "variant", NULL
6222 };
6223
6224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6225 if (obj0) {
6226 {
6227 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6228 if (SWIG_arg_fail(1)) SWIG_fail;
6229 }
6230 }
6231 {
6232 if (!wxPyCheckForApp()) SWIG_fail;
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6235
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 {
6240 wxVisualAttributes * resultptr;
6241 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6242 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6243 }
6244 return resultobj;
6245 fail:
6246 return NULL;
6247 }
6248
6249
6250 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6251 PyObject *obj;
6252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6253 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6254 Py_INCREF(obj);
6255 return Py_BuildValue((char *)"");
6256 }
6257 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6258 PyObject *resultobj;
6259 wxWindow *arg1 = (wxWindow *) 0 ;
6260 int arg2 = (int) -1 ;
6261 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6262 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6263 wxSize const &arg4_defvalue = wxDefaultSize ;
6264 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6265 long arg5 = (long) wxLI_HORIZONTAL ;
6266 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6267 wxString *arg6 = (wxString *) &arg6_defvalue ;
6268 wxStaticLine *result;
6269 wxPoint temp3 ;
6270 wxSize temp4 ;
6271 bool temp6 = false ;
6272 PyObject * obj0 = 0 ;
6273 PyObject * obj1 = 0 ;
6274 PyObject * obj2 = 0 ;
6275 PyObject * obj3 = 0 ;
6276 PyObject * obj4 = 0 ;
6277 PyObject * obj5 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6284 if (SWIG_arg_fail(1)) SWIG_fail;
6285 if (obj1) {
6286 {
6287 arg2 = (int)(SWIG_As_int(obj1));
6288 if (SWIG_arg_fail(2)) SWIG_fail;
6289 }
6290 }
6291 if (obj2) {
6292 {
6293 arg3 = &temp3;
6294 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6295 }
6296 }
6297 if (obj3) {
6298 {
6299 arg4 = &temp4;
6300 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6301 }
6302 }
6303 if (obj4) {
6304 {
6305 arg5 = (long)(SWIG_As_long(obj4));
6306 if (SWIG_arg_fail(5)) SWIG_fail;
6307 }
6308 }
6309 if (obj5) {
6310 {
6311 arg6 = wxString_in_helper(obj5);
6312 if (arg6 == NULL) SWIG_fail;
6313 temp6 = true;
6314 }
6315 }
6316 {
6317 if (!wxPyCheckForApp()) SWIG_fail;
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6320
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) SWIG_fail;
6323 }
6324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6325 {
6326 if (temp6)
6327 delete arg6;
6328 }
6329 return resultobj;
6330 fail:
6331 {
6332 if (temp6)
6333 delete arg6;
6334 }
6335 return NULL;
6336 }
6337
6338
6339 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 wxStaticLine *result;
6342 char *kwnames[] = {
6343 NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6347 {
6348 if (!wxPyCheckForApp()) SWIG_fail;
6349 PyThreadState* __tstate = wxPyBeginAllowThreads();
6350 result = (wxStaticLine *)new wxStaticLine();
6351
6352 wxPyEndAllowThreads(__tstate);
6353 if (PyErr_Occurred()) SWIG_fail;
6354 }
6355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6356 return resultobj;
6357 fail:
6358 return NULL;
6359 }
6360
6361
6362 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6363 PyObject *resultobj;
6364 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6365 wxWindow *arg2 = (wxWindow *) 0 ;
6366 int arg3 = (int) -1 ;
6367 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6368 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6369 wxSize const &arg5_defvalue = wxDefaultSize ;
6370 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6371 long arg6 = (long) wxLI_HORIZONTAL ;
6372 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6373 wxString *arg7 = (wxString *) &arg7_defvalue ;
6374 bool result;
6375 wxPoint temp4 ;
6376 wxSize temp5 ;
6377 bool temp7 = false ;
6378 PyObject * obj0 = 0 ;
6379 PyObject * obj1 = 0 ;
6380 PyObject * obj2 = 0 ;
6381 PyObject * obj3 = 0 ;
6382 PyObject * obj4 = 0 ;
6383 PyObject * obj5 = 0 ;
6384 PyObject * obj6 = 0 ;
6385 char *kwnames[] = {
6386 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6387 };
6388
6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6391 if (SWIG_arg_fail(1)) SWIG_fail;
6392 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6393 if (SWIG_arg_fail(2)) SWIG_fail;
6394 if (obj2) {
6395 {
6396 arg3 = (int)(SWIG_As_int(obj2));
6397 if (SWIG_arg_fail(3)) SWIG_fail;
6398 }
6399 }
6400 if (obj3) {
6401 {
6402 arg4 = &temp4;
6403 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6404 }
6405 }
6406 if (obj4) {
6407 {
6408 arg5 = &temp5;
6409 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6410 }
6411 }
6412 if (obj5) {
6413 {
6414 arg6 = (long)(SWIG_As_long(obj5));
6415 if (SWIG_arg_fail(6)) SWIG_fail;
6416 }
6417 }
6418 if (obj6) {
6419 {
6420 arg7 = wxString_in_helper(obj6);
6421 if (arg7 == NULL) SWIG_fail;
6422 temp7 = true;
6423 }
6424 }
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6428
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
6432 {
6433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6434 }
6435 {
6436 if (temp7)
6437 delete arg7;
6438 }
6439 return resultobj;
6440 fail:
6441 {
6442 if (temp7)
6443 delete arg7;
6444 }
6445 return NULL;
6446 }
6447
6448
6449 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6450 PyObject *resultobj;
6451 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6452 bool result;
6453 PyObject * obj0 = 0 ;
6454 char *kwnames[] = {
6455 (char *) "self", NULL
6456 };
6457
6458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6460 if (SWIG_arg_fail(1)) SWIG_fail;
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6464
6465 wxPyEndAllowThreads(__tstate);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 }
6468 {
6469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6470 }
6471 return resultobj;
6472 fail:
6473 return NULL;
6474 }
6475
6476
6477 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6478 PyObject *resultobj;
6479 int result;
6480 char *kwnames[] = {
6481 NULL
6482 };
6483
6484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6485 {
6486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6487 result = (int)wxStaticLine::GetDefaultSize();
6488
6489 wxPyEndAllowThreads(__tstate);
6490 if (PyErr_Occurred()) SWIG_fail;
6491 }
6492 {
6493 resultobj = SWIG_From_int((int)(result));
6494 }
6495 return resultobj;
6496 fail:
6497 return NULL;
6498 }
6499
6500
6501 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6502 PyObject *resultobj;
6503 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6504 wxVisualAttributes result;
6505 PyObject * obj0 = 0 ;
6506 char *kwnames[] = {
6507 (char *) "variant", NULL
6508 };
6509
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6511 if (obj0) {
6512 {
6513 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6514 if (SWIG_arg_fail(1)) SWIG_fail;
6515 }
6516 }
6517 {
6518 if (!wxPyCheckForApp()) SWIG_fail;
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6521
6522 wxPyEndAllowThreads(__tstate);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
6525 {
6526 wxVisualAttributes * resultptr;
6527 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6529 }
6530 return resultobj;
6531 fail:
6532 return NULL;
6533 }
6534
6535
6536 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6537 PyObject *obj;
6538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6539 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6540 Py_INCREF(obj);
6541 return Py_BuildValue((char *)"");
6542 }
6543 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6544 PyObject *resultobj;
6545 wxWindow *arg1 = (wxWindow *) 0 ;
6546 int arg2 = (int) -1 ;
6547 wxString const &arg3_defvalue = wxPyEmptyString ;
6548 wxString *arg3 = (wxString *) &arg3_defvalue ;
6549 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6550 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6551 wxSize const &arg5_defvalue = wxDefaultSize ;
6552 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6553 long arg6 = (long) 0 ;
6554 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6555 wxString *arg7 = (wxString *) &arg7_defvalue ;
6556 wxStaticText *result;
6557 bool temp3 = false ;
6558 wxPoint temp4 ;
6559 wxSize temp5 ;
6560 bool temp7 = false ;
6561 PyObject * obj0 = 0 ;
6562 PyObject * obj1 = 0 ;
6563 PyObject * obj2 = 0 ;
6564 PyObject * obj3 = 0 ;
6565 PyObject * obj4 = 0 ;
6566 PyObject * obj5 = 0 ;
6567 PyObject * obj6 = 0 ;
6568 char *kwnames[] = {
6569 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6574 if (SWIG_arg_fail(1)) SWIG_fail;
6575 if (obj1) {
6576 {
6577 arg2 = (int)(SWIG_As_int(obj1));
6578 if (SWIG_arg_fail(2)) SWIG_fail;
6579 }
6580 }
6581 if (obj2) {
6582 {
6583 arg3 = wxString_in_helper(obj2);
6584 if (arg3 == NULL) SWIG_fail;
6585 temp3 = true;
6586 }
6587 }
6588 if (obj3) {
6589 {
6590 arg4 = &temp4;
6591 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6592 }
6593 }
6594 if (obj4) {
6595 {
6596 arg5 = &temp5;
6597 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6598 }
6599 }
6600 if (obj5) {
6601 {
6602 arg6 = (long)(SWIG_As_long(obj5));
6603 if (SWIG_arg_fail(6)) SWIG_fail;
6604 }
6605 }
6606 if (obj6) {
6607 {
6608 arg7 = wxString_in_helper(obj6);
6609 if (arg7 == NULL) SWIG_fail;
6610 temp7 = true;
6611 }
6612 }
6613 {
6614 if (!wxPyCheckForApp()) SWIG_fail;
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6622 {
6623 if (temp3)
6624 delete arg3;
6625 }
6626 {
6627 if (temp7)
6628 delete arg7;
6629 }
6630 return resultobj;
6631 fail:
6632 {
6633 if (temp3)
6634 delete arg3;
6635 }
6636 {
6637 if (temp7)
6638 delete arg7;
6639 }
6640 return NULL;
6641 }
6642
6643
6644 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6645 PyObject *resultobj;
6646 wxStaticText *result;
6647 char *kwnames[] = {
6648 NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6652 {
6653 if (!wxPyCheckForApp()) SWIG_fail;
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (wxStaticText *)new wxStaticText();
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6661 return resultobj;
6662 fail:
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxStaticText *arg1 = (wxStaticText *) 0 ;
6670 wxWindow *arg2 = (wxWindow *) 0 ;
6671 int arg3 = (int) -1 ;
6672 wxString const &arg4_defvalue = wxPyEmptyString ;
6673 wxString *arg4 = (wxString *) &arg4_defvalue ;
6674 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6675 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6676 wxSize const &arg6_defvalue = wxDefaultSize ;
6677 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6678 long arg7 = (long) 0 ;
6679 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6680 wxString *arg8 = (wxString *) &arg8_defvalue ;
6681 bool result;
6682 bool temp4 = false ;
6683 wxPoint temp5 ;
6684 wxSize temp6 ;
6685 bool temp8 = false ;
6686 PyObject * obj0 = 0 ;
6687 PyObject * obj1 = 0 ;
6688 PyObject * obj2 = 0 ;
6689 PyObject * obj3 = 0 ;
6690 PyObject * obj4 = 0 ;
6691 PyObject * obj5 = 0 ;
6692 PyObject * obj6 = 0 ;
6693 PyObject * obj7 = 0 ;
6694 char *kwnames[] = {
6695 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6696 };
6697
6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6700 if (SWIG_arg_fail(1)) SWIG_fail;
6701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6702 if (SWIG_arg_fail(2)) SWIG_fail;
6703 if (obj2) {
6704 {
6705 arg3 = (int)(SWIG_As_int(obj2));
6706 if (SWIG_arg_fail(3)) SWIG_fail;
6707 }
6708 }
6709 if (obj3) {
6710 {
6711 arg4 = wxString_in_helper(obj3);
6712 if (arg4 == NULL) SWIG_fail;
6713 temp4 = true;
6714 }
6715 }
6716 if (obj4) {
6717 {
6718 arg5 = &temp5;
6719 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6720 }
6721 }
6722 if (obj5) {
6723 {
6724 arg6 = &temp6;
6725 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6726 }
6727 }
6728 if (obj6) {
6729 {
6730 arg7 = (long)(SWIG_As_long(obj6));
6731 if (SWIG_arg_fail(7)) SWIG_fail;
6732 }
6733 }
6734 if (obj7) {
6735 {
6736 arg8 = wxString_in_helper(obj7);
6737 if (arg8 == NULL) SWIG_fail;
6738 temp8 = true;
6739 }
6740 }
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 {
6749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6750 }
6751 {
6752 if (temp4)
6753 delete arg4;
6754 }
6755 {
6756 if (temp8)
6757 delete arg8;
6758 }
6759 return resultobj;
6760 fail:
6761 {
6762 if (temp4)
6763 delete arg4;
6764 }
6765 {
6766 if (temp8)
6767 delete arg8;
6768 }
6769 return NULL;
6770 }
6771
6772
6773 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6774 PyObject *resultobj;
6775 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6776 wxVisualAttributes result;
6777 PyObject * obj0 = 0 ;
6778 char *kwnames[] = {
6779 (char *) "variant", NULL
6780 };
6781
6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6783 if (obj0) {
6784 {
6785 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6786 if (SWIG_arg_fail(1)) SWIG_fail;
6787 }
6788 }
6789 {
6790 if (!wxPyCheckForApp()) SWIG_fail;
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 {
6798 wxVisualAttributes * resultptr;
6799 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6801 }
6802 return resultobj;
6803 fail:
6804 return NULL;
6805 }
6806
6807
6808 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6809 PyObject *obj;
6810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6811 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6812 Py_INCREF(obj);
6813 return Py_BuildValue((char *)"");
6814 }
6815 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6816 PyObject *resultobj;
6817 wxWindow *arg1 = (wxWindow *) 0 ;
6818 int arg2 = (int) -1 ;
6819 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6820 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6821 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6822 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6823 wxSize const &arg5_defvalue = wxDefaultSize ;
6824 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6825 long arg6 = (long) 0 ;
6826 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6827 wxString *arg7 = (wxString *) &arg7_defvalue ;
6828 wxStaticBitmap *result;
6829 wxPoint temp4 ;
6830 wxSize temp5 ;
6831 bool temp7 = false ;
6832 PyObject * obj0 = 0 ;
6833 PyObject * obj1 = 0 ;
6834 PyObject * obj2 = 0 ;
6835 PyObject * obj3 = 0 ;
6836 PyObject * obj4 = 0 ;
6837 PyObject * obj5 = 0 ;
6838 PyObject * obj6 = 0 ;
6839 char *kwnames[] = {
6840 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6841 };
6842
6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6845 if (SWIG_arg_fail(1)) SWIG_fail;
6846 if (obj1) {
6847 {
6848 arg2 = (int)(SWIG_As_int(obj1));
6849 if (SWIG_arg_fail(2)) SWIG_fail;
6850 }
6851 }
6852 if (obj2) {
6853 {
6854 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6855 if (SWIG_arg_fail(3)) SWIG_fail;
6856 if (arg3 == NULL) {
6857 SWIG_null_ref("wxBitmap");
6858 }
6859 if (SWIG_arg_fail(3)) SWIG_fail;
6860 }
6861 }
6862 if (obj3) {
6863 {
6864 arg4 = &temp4;
6865 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6866 }
6867 }
6868 if (obj4) {
6869 {
6870 arg5 = &temp5;
6871 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6872 }
6873 }
6874 if (obj5) {
6875 {
6876 arg6 = (long)(SWIG_As_long(obj5));
6877 if (SWIG_arg_fail(6)) SWIG_fail;
6878 }
6879 }
6880 if (obj6) {
6881 {
6882 arg7 = wxString_in_helper(obj6);
6883 if (arg7 == NULL) SWIG_fail;
6884 temp7 = true;
6885 }
6886 }
6887 {
6888 if (!wxPyCheckForApp()) SWIG_fail;
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6896 {
6897 if (temp7)
6898 delete arg7;
6899 }
6900 return resultobj;
6901 fail:
6902 {
6903 if (temp7)
6904 delete arg7;
6905 }
6906 return NULL;
6907 }
6908
6909
6910 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6911 PyObject *resultobj;
6912 wxStaticBitmap *result;
6913 char *kwnames[] = {
6914 NULL
6915 };
6916
6917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6918 {
6919 if (!wxPyCheckForApp()) SWIG_fail;
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 result = (wxStaticBitmap *)new wxStaticBitmap();
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6927 return resultobj;
6928 fail:
6929 return NULL;
6930 }
6931
6932
6933 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6936 wxWindow *arg2 = (wxWindow *) 0 ;
6937 int arg3 = (int) -1 ;
6938 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6939 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
6940 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6941 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6942 wxSize const &arg6_defvalue = wxDefaultSize ;
6943 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6944 long arg7 = (long) 0 ;
6945 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6946 wxString *arg8 = (wxString *) &arg8_defvalue ;
6947 bool result;
6948 wxPoint temp5 ;
6949 wxSize temp6 ;
6950 bool temp8 = false ;
6951 PyObject * obj0 = 0 ;
6952 PyObject * obj1 = 0 ;
6953 PyObject * obj2 = 0 ;
6954 PyObject * obj3 = 0 ;
6955 PyObject * obj4 = 0 ;
6956 PyObject * obj5 = 0 ;
6957 PyObject * obj6 = 0 ;
6958 PyObject * obj7 = 0 ;
6959 char *kwnames[] = {
6960 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6961 };
6962
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6965 if (SWIG_arg_fail(1)) SWIG_fail;
6966 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6967 if (SWIG_arg_fail(2)) SWIG_fail;
6968 if (obj2) {
6969 {
6970 arg3 = (int)(SWIG_As_int(obj2));
6971 if (SWIG_arg_fail(3)) SWIG_fail;
6972 }
6973 }
6974 if (obj3) {
6975 {
6976 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6977 if (SWIG_arg_fail(4)) SWIG_fail;
6978 if (arg4 == NULL) {
6979 SWIG_null_ref("wxBitmap");
6980 }
6981 if (SWIG_arg_fail(4)) SWIG_fail;
6982 }
6983 }
6984 if (obj4) {
6985 {
6986 arg5 = &temp5;
6987 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6988 }
6989 }
6990 if (obj5) {
6991 {
6992 arg6 = &temp6;
6993 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6994 }
6995 }
6996 if (obj6) {
6997 {
6998 arg7 = (long)(SWIG_As_long(obj6));
6999 if (SWIG_arg_fail(7)) SWIG_fail;
7000 }
7001 }
7002 if (obj7) {
7003 {
7004 arg8 = wxString_in_helper(obj7);
7005 if (arg8 == NULL) SWIG_fail;
7006 temp8 = true;
7007 }
7008 }
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 {
7017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7018 }
7019 {
7020 if (temp8)
7021 delete arg8;
7022 }
7023 return resultobj;
7024 fail:
7025 {
7026 if (temp8)
7027 delete arg8;
7028 }
7029 return NULL;
7030 }
7031
7032
7033 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7034 PyObject *resultobj;
7035 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7036 wxBitmap result;
7037 PyObject * obj0 = 0 ;
7038 char *kwnames[] = {
7039 (char *) "self", NULL
7040 };
7041
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
7043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7044 if (SWIG_arg_fail(1)) SWIG_fail;
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 result = (arg1)->GetBitmap();
7048
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 {
7053 wxBitmap * resultptr;
7054 resultptr = new wxBitmap((wxBitmap &)(result));
7055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
7056 }
7057 return resultobj;
7058 fail:
7059 return NULL;
7060 }
7061
7062
7063 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj;
7065 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7066 wxBitmap *arg2 = 0 ;
7067 PyObject * obj0 = 0 ;
7068 PyObject * obj1 = 0 ;
7069 char *kwnames[] = {
7070 (char *) "self",(char *) "bitmap", NULL
7071 };
7072
7073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
7074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7075 if (SWIG_arg_fail(1)) SWIG_fail;
7076 {
7077 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
7078 if (SWIG_arg_fail(2)) SWIG_fail;
7079 if (arg2 == NULL) {
7080 SWIG_null_ref("wxBitmap");
7081 }
7082 if (SWIG_arg_fail(2)) SWIG_fail;
7083 }
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 (arg1)->SetBitmap((wxBitmap const &)*arg2);
7087
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 Py_INCREF(Py_None); resultobj = Py_None;
7092 return resultobj;
7093 fail:
7094 return NULL;
7095 }
7096
7097
7098 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7099 PyObject *resultobj;
7100 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7101 wxIcon *arg2 = 0 ;
7102 PyObject * obj0 = 0 ;
7103 PyObject * obj1 = 0 ;
7104 char *kwnames[] = {
7105 (char *) "self",(char *) "icon", NULL
7106 };
7107
7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7110 if (SWIG_arg_fail(1)) SWIG_fail;
7111 {
7112 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7113 if (SWIG_arg_fail(2)) SWIG_fail;
7114 if (arg2 == NULL) {
7115 SWIG_null_ref("wxIcon");
7116 }
7117 if (SWIG_arg_fail(2)) SWIG_fail;
7118 }
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 (arg1)->SetIcon((wxIcon const &)*arg2);
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 Py_INCREF(Py_None); resultobj = Py_None;
7127 return resultobj;
7128 fail:
7129 return NULL;
7130 }
7131
7132
7133 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7136 wxVisualAttributes result;
7137 PyObject * obj0 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "variant", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7143 if (obj0) {
7144 {
7145 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7146 if (SWIG_arg_fail(1)) SWIG_fail;
7147 }
7148 }
7149 {
7150 if (!wxPyCheckForApp()) SWIG_fail;
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 {
7158 wxVisualAttributes * resultptr;
7159 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7160 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7161 }
7162 return resultobj;
7163 fail:
7164 return NULL;
7165 }
7166
7167
7168 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7169 PyObject *obj;
7170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7171 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7172 Py_INCREF(obj);
7173 return Py_BuildValue((char *)"");
7174 }
7175 static int _wrap_ListBoxNameStr_set(PyObject *) {
7176 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7177 return 1;
7178 }
7179
7180
7181 static PyObject *_wrap_ListBoxNameStr_get(void) {
7182 PyObject *pyobj;
7183
7184 {
7185 #if wxUSE_UNICODE
7186 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7187 #else
7188 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7189 #endif
7190 }
7191 return pyobj;
7192 }
7193
7194
7195 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7196 PyObject *resultobj;
7197 wxWindow *arg1 = (wxWindow *) 0 ;
7198 int arg2 = (int) -1 ;
7199 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7200 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7201 wxSize const &arg4_defvalue = wxDefaultSize ;
7202 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7203 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7204 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7205 long arg6 = (long) 0 ;
7206 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7207 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7208 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7209 wxString *arg8 = (wxString *) &arg8_defvalue ;
7210 wxListBox *result;
7211 wxPoint temp3 ;
7212 wxSize temp4 ;
7213 bool temp5 = false ;
7214 bool temp8 = false ;
7215 PyObject * obj0 = 0 ;
7216 PyObject * obj1 = 0 ;
7217 PyObject * obj2 = 0 ;
7218 PyObject * obj3 = 0 ;
7219 PyObject * obj4 = 0 ;
7220 PyObject * obj5 = 0 ;
7221 PyObject * obj6 = 0 ;
7222 PyObject * obj7 = 0 ;
7223 char *kwnames[] = {
7224 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail;
7230 if (obj1) {
7231 {
7232 arg2 = (int)(SWIG_As_int(obj1));
7233 if (SWIG_arg_fail(2)) SWIG_fail;
7234 }
7235 }
7236 if (obj2) {
7237 {
7238 arg3 = &temp3;
7239 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7240 }
7241 }
7242 if (obj3) {
7243 {
7244 arg4 = &temp4;
7245 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7246 }
7247 }
7248 if (obj4) {
7249 {
7250 if (! PySequence_Check(obj4)) {
7251 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7252 SWIG_fail;
7253 }
7254 arg5 = new wxArrayString;
7255 temp5 = true;
7256 int i, len=PySequence_Length(obj4);
7257 for (i=0; i<len; i++) {
7258 PyObject* item = PySequence_GetItem(obj4, i);
7259 #if wxUSE_UNICODE
7260 PyObject* str = PyObject_Unicode(item);
7261 #else
7262 PyObject* str = PyObject_Str(item);
7263 #endif
7264 if (PyErr_Occurred()) SWIG_fail;
7265 arg5->Add(Py2wxString(str));
7266 Py_DECREF(item);
7267 Py_DECREF(str);
7268 }
7269 }
7270 }
7271 if (obj5) {
7272 {
7273 arg6 = (long)(SWIG_As_long(obj5));
7274 if (SWIG_arg_fail(6)) SWIG_fail;
7275 }
7276 }
7277 if (obj6) {
7278 {
7279 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7280 if (SWIG_arg_fail(7)) SWIG_fail;
7281 if (arg7 == NULL) {
7282 SWIG_null_ref("wxValidator");
7283 }
7284 if (SWIG_arg_fail(7)) SWIG_fail;
7285 }
7286 }
7287 if (obj7) {
7288 {
7289 arg8 = wxString_in_helper(obj7);
7290 if (arg8 == NULL) SWIG_fail;
7291 temp8 = true;
7292 }
7293 }
7294 {
7295 if (!wxPyCheckForApp()) SWIG_fail;
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7298
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7303 {
7304 if (temp5) delete arg5;
7305 }
7306 {
7307 if (temp8)
7308 delete arg8;
7309 }
7310 return resultobj;
7311 fail:
7312 {
7313 if (temp5) delete arg5;
7314 }
7315 {
7316 if (temp8)
7317 delete arg8;
7318 }
7319 return NULL;
7320 }
7321
7322
7323 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj;
7325 wxListBox *result;
7326 char *kwnames[] = {
7327 NULL
7328 };
7329
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7331 {
7332 if (!wxPyCheckForApp()) SWIG_fail;
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 result = (wxListBox *)new wxListBox();
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7340 return resultobj;
7341 fail:
7342 return NULL;
7343 }
7344
7345
7346 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxListBox *arg1 = (wxListBox *) 0 ;
7349 wxWindow *arg2 = (wxWindow *) 0 ;
7350 int arg3 = (int) -1 ;
7351 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7352 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7353 wxSize const &arg5_defvalue = wxDefaultSize ;
7354 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7355 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7356 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7357 long arg7 = (long) 0 ;
7358 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7359 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7360 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7361 wxString *arg9 = (wxString *) &arg9_defvalue ;
7362 bool result;
7363 wxPoint temp4 ;
7364 wxSize temp5 ;
7365 bool temp6 = false ;
7366 bool temp9 = false ;
7367 PyObject * obj0 = 0 ;
7368 PyObject * obj1 = 0 ;
7369 PyObject * obj2 = 0 ;
7370 PyObject * obj3 = 0 ;
7371 PyObject * obj4 = 0 ;
7372 PyObject * obj5 = 0 ;
7373 PyObject * obj6 = 0 ;
7374 PyObject * obj7 = 0 ;
7375 PyObject * obj8 = 0 ;
7376 char *kwnames[] = {
7377 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7378 };
7379
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7382 if (SWIG_arg_fail(1)) SWIG_fail;
7383 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7384 if (SWIG_arg_fail(2)) SWIG_fail;
7385 if (obj2) {
7386 {
7387 arg3 = (int)(SWIG_As_int(obj2));
7388 if (SWIG_arg_fail(3)) SWIG_fail;
7389 }
7390 }
7391 if (obj3) {
7392 {
7393 arg4 = &temp4;
7394 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7395 }
7396 }
7397 if (obj4) {
7398 {
7399 arg5 = &temp5;
7400 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7401 }
7402 }
7403 if (obj5) {
7404 {
7405 if (! PySequence_Check(obj5)) {
7406 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7407 SWIG_fail;
7408 }
7409 arg6 = new wxArrayString;
7410 temp6 = true;
7411 int i, len=PySequence_Length(obj5);
7412 for (i=0; i<len; i++) {
7413 PyObject* item = PySequence_GetItem(obj5, i);
7414 #if wxUSE_UNICODE
7415 PyObject* str = PyObject_Unicode(item);
7416 #else
7417 PyObject* str = PyObject_Str(item);
7418 #endif
7419 if (PyErr_Occurred()) SWIG_fail;
7420 arg6->Add(Py2wxString(str));
7421 Py_DECREF(item);
7422 Py_DECREF(str);
7423 }
7424 }
7425 }
7426 if (obj6) {
7427 {
7428 arg7 = (long)(SWIG_As_long(obj6));
7429 if (SWIG_arg_fail(7)) SWIG_fail;
7430 }
7431 }
7432 if (obj7) {
7433 {
7434 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7435 if (SWIG_arg_fail(8)) SWIG_fail;
7436 if (arg8 == NULL) {
7437 SWIG_null_ref("wxValidator");
7438 }
7439 if (SWIG_arg_fail(8)) SWIG_fail;
7440 }
7441 }
7442 if (obj8) {
7443 {
7444 arg9 = wxString_in_helper(obj8);
7445 if (arg9 == NULL) SWIG_fail;
7446 temp9 = true;
7447 }
7448 }
7449 {
7450 PyThreadState* __tstate = wxPyBeginAllowThreads();
7451 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7452
7453 wxPyEndAllowThreads(__tstate);
7454 if (PyErr_Occurred()) SWIG_fail;
7455 }
7456 {
7457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7458 }
7459 {
7460 if (temp6) delete arg6;
7461 }
7462 {
7463 if (temp9)
7464 delete arg9;
7465 }
7466 return resultobj;
7467 fail:
7468 {
7469 if (temp6) delete arg6;
7470 }
7471 {
7472 if (temp9)
7473 delete arg9;
7474 }
7475 return NULL;
7476 }
7477
7478
7479 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7480 PyObject *resultobj;
7481 wxListBox *arg1 = (wxListBox *) 0 ;
7482 wxString *arg2 = 0 ;
7483 int arg3 ;
7484 PyObject *arg4 = (PyObject *) NULL ;
7485 bool temp2 = false ;
7486 PyObject * obj0 = 0 ;
7487 PyObject * obj1 = 0 ;
7488 PyObject * obj2 = 0 ;
7489 PyObject * obj3 = 0 ;
7490 char *kwnames[] = {
7491 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7492 };
7493
7494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7496 if (SWIG_arg_fail(1)) SWIG_fail;
7497 {
7498 arg2 = wxString_in_helper(obj1);
7499 if (arg2 == NULL) SWIG_fail;
7500 temp2 = true;
7501 }
7502 {
7503 arg3 = (int)(SWIG_As_int(obj2));
7504 if (SWIG_arg_fail(3)) SWIG_fail;
7505 }
7506 if (obj3) {
7507 arg4 = obj3;
7508 }
7509 {
7510 PyThreadState* __tstate = wxPyBeginAllowThreads();
7511 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7512
7513 wxPyEndAllowThreads(__tstate);
7514 if (PyErr_Occurred()) SWIG_fail;
7515 }
7516 Py_INCREF(Py_None); resultobj = Py_None;
7517 {
7518 if (temp2)
7519 delete arg2;
7520 }
7521 return resultobj;
7522 fail:
7523 {
7524 if (temp2)
7525 delete arg2;
7526 }
7527 return NULL;
7528 }
7529
7530
7531 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7532 PyObject *resultobj;
7533 wxListBox *arg1 = (wxListBox *) 0 ;
7534 wxArrayString *arg2 = 0 ;
7535 int arg3 ;
7536 bool temp2 = false ;
7537 PyObject * obj0 = 0 ;
7538 PyObject * obj1 = 0 ;
7539 PyObject * obj2 = 0 ;
7540 char *kwnames[] = {
7541 (char *) "self",(char *) "items",(char *) "pos", NULL
7542 };
7543
7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7546 if (SWIG_arg_fail(1)) SWIG_fail;
7547 {
7548 if (! PySequence_Check(obj1)) {
7549 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7550 SWIG_fail;
7551 }
7552 arg2 = new wxArrayString;
7553 temp2 = true;
7554 int i, len=PySequence_Length(obj1);
7555 for (i=0; i<len; i++) {
7556 PyObject* item = PySequence_GetItem(obj1, i);
7557 #if wxUSE_UNICODE
7558 PyObject* str = PyObject_Unicode(item);
7559 #else
7560 PyObject* str = PyObject_Str(item);
7561 #endif
7562 if (PyErr_Occurred()) SWIG_fail;
7563 arg2->Add(Py2wxString(str));
7564 Py_DECREF(item);
7565 Py_DECREF(str);
7566 }
7567 }
7568 {
7569 arg3 = (int)(SWIG_As_int(obj2));
7570 if (SWIG_arg_fail(3)) SWIG_fail;
7571 }
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 Py_INCREF(Py_None); resultobj = Py_None;
7580 {
7581 if (temp2) delete arg2;
7582 }
7583 return resultobj;
7584 fail:
7585 {
7586 if (temp2) delete arg2;
7587 }
7588 return NULL;
7589 }
7590
7591
7592 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj;
7594 wxListBox *arg1 = (wxListBox *) 0 ;
7595 wxArrayString *arg2 = 0 ;
7596 bool temp2 = false ;
7597 PyObject * obj0 = 0 ;
7598 PyObject * obj1 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "self",(char *) "items", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7605 if (SWIG_arg_fail(1)) SWIG_fail;
7606 {
7607 if (! PySequence_Check(obj1)) {
7608 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7609 SWIG_fail;
7610 }
7611 arg2 = new wxArrayString;
7612 temp2 = true;
7613 int i, len=PySequence_Length(obj1);
7614 for (i=0; i<len; i++) {
7615 PyObject* item = PySequence_GetItem(obj1, i);
7616 #if wxUSE_UNICODE
7617 PyObject* str = PyObject_Unicode(item);
7618 #else
7619 PyObject* str = PyObject_Str(item);
7620 #endif
7621 if (PyErr_Occurred()) SWIG_fail;
7622 arg2->Add(Py2wxString(str));
7623 Py_DECREF(item);
7624 Py_DECREF(str);
7625 }
7626 }
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 (arg1)->Set((wxArrayString const &)*arg2);
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 Py_INCREF(Py_None); resultobj = Py_None;
7635 {
7636 if (temp2) delete arg2;
7637 }
7638 return resultobj;
7639 fail:
7640 {
7641 if (temp2) delete arg2;
7642 }
7643 return NULL;
7644 }
7645
7646
7647 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7648 PyObject *resultobj;
7649 wxListBox *arg1 = (wxListBox *) 0 ;
7650 int arg2 ;
7651 bool result;
7652 PyObject * obj0 = 0 ;
7653 PyObject * obj1 = 0 ;
7654 char *kwnames[] = {
7655 (char *) "self",(char *) "n", NULL
7656 };
7657
7658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7660 if (SWIG_arg_fail(1)) SWIG_fail;
7661 {
7662 arg2 = (int)(SWIG_As_int(obj1));
7663 if (SWIG_arg_fail(2)) SWIG_fail;
7664 }
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 {
7673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7674 }
7675 return resultobj;
7676 fail:
7677 return NULL;
7678 }
7679
7680
7681 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7682 PyObject *resultobj;
7683 wxListBox *arg1 = (wxListBox *) 0 ;
7684 int arg2 ;
7685 bool arg3 = (bool) true ;
7686 PyObject * obj0 = 0 ;
7687 PyObject * obj1 = 0 ;
7688 PyObject * obj2 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self",(char *) "n",(char *) "select", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7695 if (SWIG_arg_fail(1)) SWIG_fail;
7696 {
7697 arg2 = (int)(SWIG_As_int(obj1));
7698 if (SWIG_arg_fail(2)) SWIG_fail;
7699 }
7700 if (obj2) {
7701 {
7702 arg3 = (bool)(SWIG_As_bool(obj2));
7703 if (SWIG_arg_fail(3)) SWIG_fail;
7704 }
7705 }
7706 {
7707 PyThreadState* __tstate = wxPyBeginAllowThreads();
7708 (arg1)->SetSelection(arg2,arg3);
7709
7710 wxPyEndAllowThreads(__tstate);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 }
7713 Py_INCREF(Py_None); resultobj = Py_None;
7714 return resultobj;
7715 fail:
7716 return NULL;
7717 }
7718
7719
7720 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj;
7722 wxListBox *arg1 = (wxListBox *) 0 ;
7723 int arg2 ;
7724 PyObject * obj0 = 0 ;
7725 PyObject * obj1 = 0 ;
7726 char *kwnames[] = {
7727 (char *) "self",(char *) "n", NULL
7728 };
7729
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail;
7733 {
7734 arg2 = (int)(SWIG_As_int(obj1));
7735 if (SWIG_arg_fail(2)) SWIG_fail;
7736 }
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 (arg1)->Select(arg2);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 Py_INCREF(Py_None); resultobj = Py_None;
7745 return resultobj;
7746 fail:
7747 return NULL;
7748 }
7749
7750
7751 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7752 PyObject *resultobj;
7753 wxListBox *arg1 = (wxListBox *) 0 ;
7754 int arg2 ;
7755 PyObject * obj0 = 0 ;
7756 PyObject * obj1 = 0 ;
7757 char *kwnames[] = {
7758 (char *) "self",(char *) "n", NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7763 if (SWIG_arg_fail(1)) SWIG_fail;
7764 {
7765 arg2 = (int)(SWIG_As_int(obj1));
7766 if (SWIG_arg_fail(2)) SWIG_fail;
7767 }
7768 {
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 (arg1)->Deselect(arg2);
7771
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 }
7775 Py_INCREF(Py_None); resultobj = Py_None;
7776 return resultobj;
7777 fail:
7778 return NULL;
7779 }
7780
7781
7782 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7783 PyObject *resultobj;
7784 wxListBox *arg1 = (wxListBox *) 0 ;
7785 int arg2 = (int) -1 ;
7786 PyObject * obj0 = 0 ;
7787 PyObject * obj1 = 0 ;
7788 char *kwnames[] = {
7789 (char *) "self",(char *) "itemToLeaveSelected", NULL
7790 };
7791
7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail;
7795 if (obj1) {
7796 {
7797 arg2 = (int)(SWIG_As_int(obj1));
7798 if (SWIG_arg_fail(2)) SWIG_fail;
7799 }
7800 }
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 (arg1)->DeselectAll(arg2);
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 Py_INCREF(Py_None); resultobj = Py_None;
7809 return resultobj;
7810 fail:
7811 return NULL;
7812 }
7813
7814
7815 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7816 PyObject *resultobj;
7817 wxListBox *arg1 = (wxListBox *) 0 ;
7818 wxString *arg2 = 0 ;
7819 bool arg3 = (bool) true ;
7820 bool result;
7821 bool temp2 = false ;
7822 PyObject * obj0 = 0 ;
7823 PyObject * obj1 = 0 ;
7824 PyObject * obj2 = 0 ;
7825 char *kwnames[] = {
7826 (char *) "self",(char *) "s",(char *) "select", NULL
7827 };
7828
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7831 if (SWIG_arg_fail(1)) SWIG_fail;
7832 {
7833 arg2 = wxString_in_helper(obj1);
7834 if (arg2 == NULL) SWIG_fail;
7835 temp2 = true;
7836 }
7837 if (obj2) {
7838 {
7839 arg3 = (bool)(SWIG_As_bool(obj2));
7840 if (SWIG_arg_fail(3)) SWIG_fail;
7841 }
7842 }
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 {
7851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7852 }
7853 {
7854 if (temp2)
7855 delete arg2;
7856 }
7857 return resultobj;
7858 fail:
7859 {
7860 if (temp2)
7861 delete arg2;
7862 }
7863 return NULL;
7864 }
7865
7866
7867 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7868 PyObject *resultobj;
7869 wxListBox *arg1 = (wxListBox *) 0 ;
7870 PyObject *result;
7871 PyObject * obj0 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
7877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7878 if (SWIG_arg_fail(1)) SWIG_fail;
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 result = (PyObject *)wxListBox_GetSelections(arg1);
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 resultobj = result;
7887 return resultobj;
7888 fail:
7889 return NULL;
7890 }
7891
7892
7893 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj;
7895 wxListBox *arg1 = (wxListBox *) 0 ;
7896 int arg2 ;
7897 PyObject * obj0 = 0 ;
7898 PyObject * obj1 = 0 ;
7899 char *kwnames[] = {
7900 (char *) "self",(char *) "n", NULL
7901 };
7902
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
7904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail;
7906 {
7907 arg2 = (int)(SWIG_As_int(obj1));
7908 if (SWIG_arg_fail(2)) SWIG_fail;
7909 }
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 (arg1)->SetFirstItem(arg2);
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 Py_INCREF(Py_None); resultobj = Py_None;
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxListBox *arg1 = (wxListBox *) 0 ;
7927 wxString *arg2 = 0 ;
7928 bool temp2 = false ;
7929 PyObject * obj0 = 0 ;
7930 PyObject * obj1 = 0 ;
7931 char *kwnames[] = {
7932 (char *) "self",(char *) "s", NULL
7933 };
7934
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
7936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7937 if (SWIG_arg_fail(1)) SWIG_fail;
7938 {
7939 arg2 = wxString_in_helper(obj1);
7940 if (arg2 == NULL) SWIG_fail;
7941 temp2 = true;
7942 }
7943 {
7944 PyThreadState* __tstate = wxPyBeginAllowThreads();
7945 (arg1)->SetFirstItem((wxString const &)*arg2);
7946
7947 wxPyEndAllowThreads(__tstate);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 }
7950 Py_INCREF(Py_None); resultobj = Py_None;
7951 {
7952 if (temp2)
7953 delete arg2;
7954 }
7955 return resultobj;
7956 fail:
7957 {
7958 if (temp2)
7959 delete arg2;
7960 }
7961 return NULL;
7962 }
7963
7964
7965 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj;
7967 wxListBox *arg1 = (wxListBox *) 0 ;
7968 int arg2 ;
7969 PyObject * obj0 = 0 ;
7970 PyObject * obj1 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "self",(char *) "n", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7977 if (SWIG_arg_fail(1)) SWIG_fail;
7978 {
7979 arg2 = (int)(SWIG_As_int(obj1));
7980 if (SWIG_arg_fail(2)) SWIG_fail;
7981 }
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 (arg1)->EnsureVisible(arg2);
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 Py_INCREF(Py_None); resultobj = Py_None;
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxListBox *arg1 = (wxListBox *) 0 ;
7999 wxString *arg2 = 0 ;
8000 bool temp2 = false ;
8001 PyObject * obj0 = 0 ;
8002 PyObject * obj1 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "self",(char *) "s", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8009 if (SWIG_arg_fail(1)) SWIG_fail;
8010 {
8011 arg2 = wxString_in_helper(obj1);
8012 if (arg2 == NULL) SWIG_fail;
8013 temp2 = true;
8014 }
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
8018
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 Py_INCREF(Py_None); resultobj = Py_None;
8023 {
8024 if (temp2)
8025 delete arg2;
8026 }
8027 return resultobj;
8028 fail:
8029 {
8030 if (temp2)
8031 delete arg2;
8032 }
8033 return NULL;
8034 }
8035
8036
8037 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj;
8039 wxListBox *arg1 = (wxListBox *) 0 ;
8040 bool result;
8041 PyObject * obj0 = 0 ;
8042 char *kwnames[] = {
8043 (char *) "self", NULL
8044 };
8045
8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
8047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8048 if (SWIG_arg_fail(1)) SWIG_fail;
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = (bool)((wxListBox const *)arg1)->IsSorted();
8052
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 {
8057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8058 }
8059 return resultobj;
8060 fail:
8061 return NULL;
8062 }
8063
8064
8065 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8066 PyObject *resultobj;
8067 wxListBox *arg1 = (wxListBox *) 0 ;
8068 int arg2 ;
8069 wxColour *arg3 = 0 ;
8070 wxColour temp3 ;
8071 PyObject * obj0 = 0 ;
8072 PyObject * obj1 = 0 ;
8073 PyObject * obj2 = 0 ;
8074 char *kwnames[] = {
8075 (char *) "self",(char *) "item",(char *) "c", NULL
8076 };
8077
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8080 if (SWIG_arg_fail(1)) SWIG_fail;
8081 {
8082 arg2 = (int)(SWIG_As_int(obj1));
8083 if (SWIG_arg_fail(2)) SWIG_fail;
8084 }
8085 {
8086 arg3 = &temp3;
8087 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8088 }
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 Py_INCREF(Py_None); resultobj = Py_None;
8097 return resultobj;
8098 fail:
8099 return NULL;
8100 }
8101
8102
8103 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8104 PyObject *resultobj;
8105 wxListBox *arg1 = (wxListBox *) 0 ;
8106 int arg2 ;
8107 wxColour *arg3 = 0 ;
8108 wxColour temp3 ;
8109 PyObject * obj0 = 0 ;
8110 PyObject * obj1 = 0 ;
8111 PyObject * obj2 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self",(char *) "item",(char *) "c", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8118 if (SWIG_arg_fail(1)) SWIG_fail;
8119 {
8120 arg2 = (int)(SWIG_As_int(obj1));
8121 if (SWIG_arg_fail(2)) SWIG_fail;
8122 }
8123 {
8124 arg3 = &temp3;
8125 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8126 }
8127 {
8128 PyThreadState* __tstate = wxPyBeginAllowThreads();
8129 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8130
8131 wxPyEndAllowThreads(__tstate);
8132 if (PyErr_Occurred()) SWIG_fail;
8133 }
8134 Py_INCREF(Py_None); resultobj = Py_None;
8135 return resultobj;
8136 fail:
8137 return NULL;
8138 }
8139
8140
8141 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8142 PyObject *resultobj;
8143 wxListBox *arg1 = (wxListBox *) 0 ;
8144 int arg2 ;
8145 wxFont *arg3 = 0 ;
8146 PyObject * obj0 = 0 ;
8147 PyObject * obj1 = 0 ;
8148 PyObject * obj2 = 0 ;
8149 char *kwnames[] = {
8150 (char *) "self",(char *) "item",(char *) "f", NULL
8151 };
8152
8153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8155 if (SWIG_arg_fail(1)) SWIG_fail;
8156 {
8157 arg2 = (int)(SWIG_As_int(obj1));
8158 if (SWIG_arg_fail(2)) SWIG_fail;
8159 }
8160 {
8161 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8162 if (SWIG_arg_fail(3)) SWIG_fail;
8163 if (arg3 == NULL) {
8164 SWIG_null_ref("wxFont");
8165 }
8166 if (SWIG_arg_fail(3)) SWIG_fail;
8167 }
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 Py_INCREF(Py_None); resultobj = Py_None;
8176 return resultobj;
8177 fail:
8178 return NULL;
8179 }
8180
8181
8182 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8183 PyObject *resultobj;
8184 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8185 wxVisualAttributes result;
8186 PyObject * obj0 = 0 ;
8187 char *kwnames[] = {
8188 (char *) "variant", NULL
8189 };
8190
8191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8192 if (obj0) {
8193 {
8194 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8195 if (SWIG_arg_fail(1)) SWIG_fail;
8196 }
8197 }
8198 {
8199 if (!wxPyCheckForApp()) SWIG_fail;
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8202
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 {
8207 wxVisualAttributes * resultptr;
8208 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8210 }
8211 return resultobj;
8212 fail:
8213 return NULL;
8214 }
8215
8216
8217 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8218 PyObject *obj;
8219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8220 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8221 Py_INCREF(obj);
8222 return Py_BuildValue((char *)"");
8223 }
8224 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8225 PyObject *resultobj;
8226 wxWindow *arg1 = (wxWindow *) 0 ;
8227 int arg2 = (int) -1 ;
8228 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8229 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8230 wxSize const &arg4_defvalue = wxDefaultSize ;
8231 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8232 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8233 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8234 long arg6 = (long) 0 ;
8235 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8236 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8237 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8238 wxString *arg8 = (wxString *) &arg8_defvalue ;
8239 wxCheckListBox *result;
8240 wxPoint temp3 ;
8241 wxSize temp4 ;
8242 bool temp5 = false ;
8243 bool temp8 = false ;
8244 PyObject * obj0 = 0 ;
8245 PyObject * obj1 = 0 ;
8246 PyObject * obj2 = 0 ;
8247 PyObject * obj3 = 0 ;
8248 PyObject * obj4 = 0 ;
8249 PyObject * obj5 = 0 ;
8250 PyObject * obj6 = 0 ;
8251 PyObject * obj7 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8258 if (SWIG_arg_fail(1)) SWIG_fail;
8259 if (obj1) {
8260 {
8261 arg2 = (int)(SWIG_As_int(obj1));
8262 if (SWIG_arg_fail(2)) SWIG_fail;
8263 }
8264 }
8265 if (obj2) {
8266 {
8267 arg3 = &temp3;
8268 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8269 }
8270 }
8271 if (obj3) {
8272 {
8273 arg4 = &temp4;
8274 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8275 }
8276 }
8277 if (obj4) {
8278 {
8279 if (! PySequence_Check(obj4)) {
8280 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8281 SWIG_fail;
8282 }
8283 arg5 = new wxArrayString;
8284 temp5 = true;
8285 int i, len=PySequence_Length(obj4);
8286 for (i=0; i<len; i++) {
8287 PyObject* item = PySequence_GetItem(obj4, i);
8288 #if wxUSE_UNICODE
8289 PyObject* str = PyObject_Unicode(item);
8290 #else
8291 PyObject* str = PyObject_Str(item);
8292 #endif
8293 if (PyErr_Occurred()) SWIG_fail;
8294 arg5->Add(Py2wxString(str));
8295 Py_DECREF(item);
8296 Py_DECREF(str);
8297 }
8298 }
8299 }
8300 if (obj5) {
8301 {
8302 arg6 = (long)(SWIG_As_long(obj5));
8303 if (SWIG_arg_fail(6)) SWIG_fail;
8304 }
8305 }
8306 if (obj6) {
8307 {
8308 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8309 if (SWIG_arg_fail(7)) SWIG_fail;
8310 if (arg7 == NULL) {
8311 SWIG_null_ref("wxValidator");
8312 }
8313 if (SWIG_arg_fail(7)) SWIG_fail;
8314 }
8315 }
8316 if (obj7) {
8317 {
8318 arg8 = wxString_in_helper(obj7);
8319 if (arg8 == NULL) SWIG_fail;
8320 temp8 = true;
8321 }
8322 }
8323 {
8324 if (!wxPyCheckForApp()) SWIG_fail;
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8327
8328 wxPyEndAllowThreads(__tstate);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 }
8331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8332 {
8333 if (temp5) delete arg5;
8334 }
8335 {
8336 if (temp8)
8337 delete arg8;
8338 }
8339 return resultobj;
8340 fail:
8341 {
8342 if (temp5) delete arg5;
8343 }
8344 {
8345 if (temp8)
8346 delete arg8;
8347 }
8348 return NULL;
8349 }
8350
8351
8352 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj;
8354 wxCheckListBox *result;
8355 char *kwnames[] = {
8356 NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8360 {
8361 if (!wxPyCheckForApp()) SWIG_fail;
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 result = (wxCheckListBox *)new wxCheckListBox();
8364
8365 wxPyEndAllowThreads(__tstate);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 }
8368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8369 return resultobj;
8370 fail:
8371 return NULL;
8372 }
8373
8374
8375 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8376 PyObject *resultobj;
8377 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8378 wxWindow *arg2 = (wxWindow *) 0 ;
8379 int arg3 = (int) -1 ;
8380 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8381 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8382 wxSize const &arg5_defvalue = wxDefaultSize ;
8383 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8384 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8385 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8386 long arg7 = (long) 0 ;
8387 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8388 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8389 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8390 wxString *arg9 = (wxString *) &arg9_defvalue ;
8391 bool result;
8392 wxPoint temp4 ;
8393 wxSize temp5 ;
8394 bool temp6 = false ;
8395 bool temp9 = false ;
8396 PyObject * obj0 = 0 ;
8397 PyObject * obj1 = 0 ;
8398 PyObject * obj2 = 0 ;
8399 PyObject * obj3 = 0 ;
8400 PyObject * obj4 = 0 ;
8401 PyObject * obj5 = 0 ;
8402 PyObject * obj6 = 0 ;
8403 PyObject * obj7 = 0 ;
8404 PyObject * obj8 = 0 ;
8405 char *kwnames[] = {
8406 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8407 };
8408
8409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8411 if (SWIG_arg_fail(1)) SWIG_fail;
8412 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8413 if (SWIG_arg_fail(2)) SWIG_fail;
8414 if (obj2) {
8415 {
8416 arg3 = (int)(SWIG_As_int(obj2));
8417 if (SWIG_arg_fail(3)) SWIG_fail;
8418 }
8419 }
8420 if (obj3) {
8421 {
8422 arg4 = &temp4;
8423 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8424 }
8425 }
8426 if (obj4) {
8427 {
8428 arg5 = &temp5;
8429 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8430 }
8431 }
8432 if (obj5) {
8433 {
8434 if (! PySequence_Check(obj5)) {
8435 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8436 SWIG_fail;
8437 }
8438 arg6 = new wxArrayString;
8439 temp6 = true;
8440 int i, len=PySequence_Length(obj5);
8441 for (i=0; i<len; i++) {
8442 PyObject* item = PySequence_GetItem(obj5, i);
8443 #if wxUSE_UNICODE
8444 PyObject* str = PyObject_Unicode(item);
8445 #else
8446 PyObject* str = PyObject_Str(item);
8447 #endif
8448 if (PyErr_Occurred()) SWIG_fail;
8449 arg6->Add(Py2wxString(str));
8450 Py_DECREF(item);
8451 Py_DECREF(str);
8452 }
8453 }
8454 }
8455 if (obj6) {
8456 {
8457 arg7 = (long)(SWIG_As_long(obj6));
8458 if (SWIG_arg_fail(7)) SWIG_fail;
8459 }
8460 }
8461 if (obj7) {
8462 {
8463 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8464 if (SWIG_arg_fail(8)) SWIG_fail;
8465 if (arg8 == NULL) {
8466 SWIG_null_ref("wxValidator");
8467 }
8468 if (SWIG_arg_fail(8)) SWIG_fail;
8469 }
8470 }
8471 if (obj8) {
8472 {
8473 arg9 = wxString_in_helper(obj8);
8474 if (arg9 == NULL) SWIG_fail;
8475 temp9 = true;
8476 }
8477 }
8478 {
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8481
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 {
8486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8487 }
8488 {
8489 if (temp6) delete arg6;
8490 }
8491 {
8492 if (temp9)
8493 delete arg9;
8494 }
8495 return resultobj;
8496 fail:
8497 {
8498 if (temp6) delete arg6;
8499 }
8500 {
8501 if (temp9)
8502 delete arg9;
8503 }
8504 return NULL;
8505 }
8506
8507
8508 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8511 int arg2 ;
8512 bool result;
8513 PyObject * obj0 = 0 ;
8514 PyObject * obj1 = 0 ;
8515 char *kwnames[] = {
8516 (char *) "self",(char *) "index", NULL
8517 };
8518
8519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8521 if (SWIG_arg_fail(1)) SWIG_fail;
8522 {
8523 arg2 = (int)(SWIG_As_int(obj1));
8524 if (SWIG_arg_fail(2)) SWIG_fail;
8525 }
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 result = (bool)(arg1)->IsChecked(arg2);
8529
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
8533 {
8534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8535 }
8536 return resultobj;
8537 fail:
8538 return NULL;
8539 }
8540
8541
8542 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8543 PyObject *resultobj;
8544 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8545 int arg2 ;
8546 int arg3 = (int) true ;
8547 PyObject * obj0 = 0 ;
8548 PyObject * obj1 = 0 ;
8549 PyObject * obj2 = 0 ;
8550 char *kwnames[] = {
8551 (char *) "self",(char *) "index",(char *) "check", NULL
8552 };
8553
8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8556 if (SWIG_arg_fail(1)) SWIG_fail;
8557 {
8558 arg2 = (int)(SWIG_As_int(obj1));
8559 if (SWIG_arg_fail(2)) SWIG_fail;
8560 }
8561 if (obj2) {
8562 {
8563 arg3 = (int)(SWIG_As_int(obj2));
8564 if (SWIG_arg_fail(3)) SWIG_fail;
8565 }
8566 }
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 (arg1)->Check(arg2,arg3);
8570
8571 wxPyEndAllowThreads(__tstate);
8572 if (PyErr_Occurred()) SWIG_fail;
8573 }
8574 Py_INCREF(Py_None); resultobj = Py_None;
8575 return resultobj;
8576 fail:
8577 return NULL;
8578 }
8579
8580
8581 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8582 PyObject *resultobj;
8583 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8584 wxPoint *arg2 = 0 ;
8585 int result;
8586 wxPoint temp2 ;
8587 PyObject * obj0 = 0 ;
8588 PyObject * obj1 = 0 ;
8589 char *kwnames[] = {
8590 (char *) "self",(char *) "pt", NULL
8591 };
8592
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8595 if (SWIG_arg_fail(1)) SWIG_fail;
8596 {
8597 arg2 = &temp2;
8598 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8599 }
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 {
8608 resultobj = SWIG_From_int((int)(result));
8609 }
8610 return resultobj;
8611 fail:
8612 return NULL;
8613 }
8614
8615
8616 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8617 PyObject *resultobj;
8618 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8619 int arg2 ;
8620 int arg3 ;
8621 int result;
8622 PyObject * obj0 = 0 ;
8623 PyObject * obj1 = 0 ;
8624 PyObject * obj2 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "self",(char *) "x",(char *) "y", NULL
8627 };
8628
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8631 if (SWIG_arg_fail(1)) SWIG_fail;
8632 {
8633 arg2 = (int)(SWIG_As_int(obj1));
8634 if (SWIG_arg_fail(2)) SWIG_fail;
8635 }
8636 {
8637 arg3 = (int)(SWIG_As_int(obj2));
8638 if (SWIG_arg_fail(3)) SWIG_fail;
8639 }
8640 {
8641 PyThreadState* __tstate = wxPyBeginAllowThreads();
8642 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8643
8644 wxPyEndAllowThreads(__tstate);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 {
8648 resultobj = SWIG_From_int((int)(result));
8649 }
8650 return resultobj;
8651 fail:
8652 return NULL;
8653 }
8654
8655
8656 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8657 PyObject *obj;
8658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8659 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8660 Py_INCREF(obj);
8661 return Py_BuildValue((char *)"");
8662 }
8663 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8664 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8665 return 1;
8666 }
8667
8668
8669 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8670 PyObject *pyobj;
8671
8672 {
8673 #if wxUSE_UNICODE
8674 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8675 #else
8676 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8677 #endif
8678 }
8679 return pyobj;
8680 }
8681
8682
8683 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8684 PyObject *resultobj;
8685 wxColour const &arg1_defvalue = wxNullColour ;
8686 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8687 wxColour const &arg2_defvalue = wxNullColour ;
8688 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8689 wxFont const &arg3_defvalue = wxNullFont ;
8690 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8691 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8692 wxTextAttr *result;
8693 wxColour temp1 ;
8694 wxColour temp2 ;
8695 PyObject * obj0 = 0 ;
8696 PyObject * obj1 = 0 ;
8697 PyObject * obj2 = 0 ;
8698 PyObject * obj3 = 0 ;
8699 char *kwnames[] = {
8700 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8701 };
8702
8703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8704 if (obj0) {
8705 {
8706 arg1 = &temp1;
8707 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8708 }
8709 }
8710 if (obj1) {
8711 {
8712 arg2 = &temp2;
8713 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8714 }
8715 }
8716 if (obj2) {
8717 {
8718 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8719 if (SWIG_arg_fail(3)) SWIG_fail;
8720 if (arg3 == NULL) {
8721 SWIG_null_ref("wxFont");
8722 }
8723 if (SWIG_arg_fail(3)) SWIG_fail;
8724 }
8725 }
8726 if (obj3) {
8727 {
8728 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8729 if (SWIG_arg_fail(4)) SWIG_fail;
8730 }
8731 }
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
8734 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8735
8736 wxPyEndAllowThreads(__tstate);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8740 return resultobj;
8741 fail:
8742 return NULL;
8743 }
8744
8745
8746 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8747 PyObject *resultobj;
8748 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8749 PyObject * obj0 = 0 ;
8750 char *kwnames[] = {
8751 (char *) "self", NULL
8752 };
8753
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8756 if (SWIG_arg_fail(1)) SWIG_fail;
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 delete arg1;
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 Py_INCREF(Py_None); resultobj = Py_None;
8765 return resultobj;
8766 fail:
8767 return NULL;
8768 }
8769
8770
8771 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8772 PyObject *resultobj;
8773 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8774 PyObject * obj0 = 0 ;
8775 char *kwnames[] = {
8776 (char *) "self", NULL
8777 };
8778
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8781 if (SWIG_arg_fail(1)) SWIG_fail;
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 (arg1)->Init();
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 Py_INCREF(Py_None); resultobj = Py_None;
8790 return resultobj;
8791 fail:
8792 return NULL;
8793 }
8794
8795
8796 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8797 PyObject *resultobj;
8798 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8799 wxColour *arg2 = 0 ;
8800 wxColour temp2 ;
8801 PyObject * obj0 = 0 ;
8802 PyObject * obj1 = 0 ;
8803 char *kwnames[] = {
8804 (char *) "self",(char *) "colText", NULL
8805 };
8806
8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8809 if (SWIG_arg_fail(1)) SWIG_fail;
8810 {
8811 arg2 = &temp2;
8812 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8813 }
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 (arg1)->SetTextColour((wxColour const &)*arg2);
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 Py_INCREF(Py_None); resultobj = Py_None;
8822 return resultobj;
8823 fail:
8824 return NULL;
8825 }
8826
8827
8828 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8831 wxColour *arg2 = 0 ;
8832 wxColour temp2 ;
8833 PyObject * obj0 = 0 ;
8834 PyObject * obj1 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "self",(char *) "colBack", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8841 if (SWIG_arg_fail(1)) SWIG_fail;
8842 {
8843 arg2 = &temp2;
8844 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8845 }
8846 {
8847 PyThreadState* __tstate = wxPyBeginAllowThreads();
8848 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8849
8850 wxPyEndAllowThreads(__tstate);
8851 if (PyErr_Occurred()) SWIG_fail;
8852 }
8853 Py_INCREF(Py_None); resultobj = Py_None;
8854 return resultobj;
8855 fail:
8856 return NULL;
8857 }
8858
8859
8860 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8861 PyObject *resultobj;
8862 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8863 wxFont *arg2 = 0 ;
8864 long arg3 = (long) wxTEXT_ATTR_FONT ;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 PyObject * obj2 = 0 ;
8868 char *kwnames[] = {
8869 (char *) "self",(char *) "font",(char *) "flags", NULL
8870 };
8871
8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail;
8875 {
8876 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8877 if (SWIG_arg_fail(2)) SWIG_fail;
8878 if (arg2 == NULL) {
8879 SWIG_null_ref("wxFont");
8880 }
8881 if (SWIG_arg_fail(2)) SWIG_fail;
8882 }
8883 if (obj2) {
8884 {
8885 arg3 = (long)(SWIG_As_long(obj2));
8886 if (SWIG_arg_fail(3)) SWIG_fail;
8887 }
8888 }
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 Py_INCREF(Py_None); resultobj = Py_None;
8897 return resultobj;
8898 fail:
8899 return NULL;
8900 }
8901
8902
8903 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj;
8905 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8906 wxTextAttrAlignment arg2 ;
8907 PyObject * obj0 = 0 ;
8908 PyObject * obj1 = 0 ;
8909 char *kwnames[] = {
8910 (char *) "self",(char *) "alignment", NULL
8911 };
8912
8913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8915 if (SWIG_arg_fail(1)) SWIG_fail;
8916 {
8917 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8918 if (SWIG_arg_fail(2)) SWIG_fail;
8919 }
8920 {
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8923
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 Py_INCREF(Py_None); resultobj = Py_None;
8928 return resultobj;
8929 fail:
8930 return NULL;
8931 }
8932
8933
8934 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
8935 PyObject *resultobj;
8936 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8937 wxArrayInt *arg2 = 0 ;
8938 bool temp2 = false ;
8939 PyObject * obj0 = 0 ;
8940 PyObject * obj1 = 0 ;
8941 char *kwnames[] = {
8942 (char *) "self",(char *) "tabs", NULL
8943 };
8944
8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
8946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8947 if (SWIG_arg_fail(1)) SWIG_fail;
8948 {
8949 if (! PySequence_Check(obj1)) {
8950 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8951 SWIG_fail;
8952 }
8953 arg2 = new wxArrayInt;
8954 temp2 = true;
8955 int i, len=PySequence_Length(obj1);
8956 for (i=0; i<len; i++) {
8957 PyObject* item = PySequence_GetItem(obj1, i);
8958 PyObject* number = PyNumber_Int(item);
8959 arg2->Add(PyInt_AS_LONG(number));
8960 Py_DECREF(item);
8961 Py_DECREF(number);
8962 }
8963 }
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 Py_INCREF(Py_None); resultobj = Py_None;
8972 {
8973 if (temp2) delete arg2;
8974 }
8975 return resultobj;
8976 fail:
8977 {
8978 if (temp2) delete arg2;
8979 }
8980 return NULL;
8981 }
8982
8983
8984 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8987 int arg2 ;
8988 int arg3 = (int) 0 ;
8989 PyObject * obj0 = 0 ;
8990 PyObject * obj1 = 0 ;
8991 PyObject * obj2 = 0 ;
8992 char *kwnames[] = {
8993 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8994 };
8995
8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
8997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8998 if (SWIG_arg_fail(1)) SWIG_fail;
8999 {
9000 arg2 = (int)(SWIG_As_int(obj1));
9001 if (SWIG_arg_fail(2)) SWIG_fail;
9002 }
9003 if (obj2) {
9004 {
9005 arg3 = (int)(SWIG_As_int(obj2));
9006 if (SWIG_arg_fail(3)) SWIG_fail;
9007 }
9008 }
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 (arg1)->SetLeftIndent(arg2,arg3);
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 Py_INCREF(Py_None); resultobj = Py_None;
9017 return resultobj;
9018 fail:
9019 return NULL;
9020 }
9021
9022
9023 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9024 PyObject *resultobj;
9025 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9026 int arg2 ;
9027 PyObject * obj0 = 0 ;
9028 PyObject * obj1 = 0 ;
9029 char *kwnames[] = {
9030 (char *) "self",(char *) "indent", NULL
9031 };
9032
9033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
9034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9035 if (SWIG_arg_fail(1)) SWIG_fail;
9036 {
9037 arg2 = (int)(SWIG_As_int(obj1));
9038 if (SWIG_arg_fail(2)) SWIG_fail;
9039 }
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 (arg1)->SetRightIndent(arg2);
9043
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 Py_INCREF(Py_None); resultobj = Py_None;
9048 return resultobj;
9049 fail:
9050 return NULL;
9051 }
9052
9053
9054 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9055 PyObject *resultobj;
9056 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9057 long arg2 ;
9058 PyObject * obj0 = 0 ;
9059 PyObject * obj1 = 0 ;
9060 char *kwnames[] = {
9061 (char *) "self",(char *) "flags", NULL
9062 };
9063
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9066 if (SWIG_arg_fail(1)) SWIG_fail;
9067 {
9068 arg2 = (long)(SWIG_As_long(obj1));
9069 if (SWIG_arg_fail(2)) SWIG_fail;
9070 }
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 (arg1)->SetFlags(arg2);
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 Py_INCREF(Py_None); resultobj = Py_None;
9079 return resultobj;
9080 fail:
9081 return NULL;
9082 }
9083
9084
9085 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9086 PyObject *resultobj;
9087 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9088 bool result;
9089 PyObject * obj0 = 0 ;
9090 char *kwnames[] = {
9091 (char *) "self", NULL
9092 };
9093
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9096 if (SWIG_arg_fail(1)) SWIG_fail;
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9099 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9100
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 {
9105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9106 }
9107 return resultobj;
9108 fail:
9109 return NULL;
9110 }
9111
9112
9113 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9116 bool result;
9117 PyObject * obj0 = 0 ;
9118 char *kwnames[] = {
9119 (char *) "self", NULL
9120 };
9121
9122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9124 if (SWIG_arg_fail(1)) SWIG_fail;
9125 {
9126 PyThreadState* __tstate = wxPyBeginAllowThreads();
9127 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9128
9129 wxPyEndAllowThreads(__tstate);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 }
9132 {
9133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9134 }
9135 return resultobj;
9136 fail:
9137 return NULL;
9138 }
9139
9140
9141 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9142 PyObject *resultobj;
9143 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9144 bool result;
9145 PyObject * obj0 = 0 ;
9146 char *kwnames[] = {
9147 (char *) "self", NULL
9148 };
9149
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9152 if (SWIG_arg_fail(1)) SWIG_fail;
9153 {
9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
9155 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9156
9157 wxPyEndAllowThreads(__tstate);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
9160 {
9161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9162 }
9163 return resultobj;
9164 fail:
9165 return NULL;
9166 }
9167
9168
9169 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9170 PyObject *resultobj;
9171 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9172 bool result;
9173 PyObject * obj0 = 0 ;
9174 char *kwnames[] = {
9175 (char *) "self", NULL
9176 };
9177
9178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9180 if (SWIG_arg_fail(1)) SWIG_fail;
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 {
9189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9190 }
9191 return resultobj;
9192 fail:
9193 return NULL;
9194 }
9195
9196
9197 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9198 PyObject *resultobj;
9199 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9200 bool result;
9201 PyObject * obj0 = 0 ;
9202 char *kwnames[] = {
9203 (char *) "self", NULL
9204 };
9205
9206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9208 if (SWIG_arg_fail(1)) SWIG_fail;
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 {
9217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9218 }
9219 return resultobj;
9220 fail:
9221 return NULL;
9222 }
9223
9224
9225 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj;
9227 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9228 bool result;
9229 PyObject * obj0 = 0 ;
9230 char *kwnames[] = {
9231 (char *) "self", NULL
9232 };
9233
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9236 if (SWIG_arg_fail(1)) SWIG_fail;
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9240
9241 wxPyEndAllowThreads(__tstate);
9242 if (PyErr_Occurred()) SWIG_fail;
9243 }
9244 {
9245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9246 }
9247 return resultobj;
9248 fail:
9249 return NULL;
9250 }
9251
9252
9253 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9254 PyObject *resultobj;
9255 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9256 bool result;
9257 PyObject * obj0 = 0 ;
9258 char *kwnames[] = {
9259 (char *) "self", NULL
9260 };
9261
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9264 if (SWIG_arg_fail(1)) SWIG_fail;
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9268
9269 wxPyEndAllowThreads(__tstate);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 }
9272 {
9273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9274 }
9275 return resultobj;
9276 fail:
9277 return NULL;
9278 }
9279
9280
9281 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9282 PyObject *resultobj;
9283 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9284 long arg2 ;
9285 bool result;
9286 PyObject * obj0 = 0 ;
9287 PyObject * obj1 = 0 ;
9288 char *kwnames[] = {
9289 (char *) "self",(char *) "flag", NULL
9290 };
9291
9292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9294 if (SWIG_arg_fail(1)) SWIG_fail;
9295 {
9296 arg2 = (long)(SWIG_As_long(obj1));
9297 if (SWIG_arg_fail(2)) SWIG_fail;
9298 }
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 {
9307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9308 }
9309 return resultobj;
9310 fail:
9311 return NULL;
9312 }
9313
9314
9315 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj;
9317 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9318 wxColour *result;
9319 PyObject * obj0 = 0 ;
9320 char *kwnames[] = {
9321 (char *) "self", NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9326 if (SWIG_arg_fail(1)) SWIG_fail;
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 {
9330 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9331 result = (wxColour *) &_result_ref;
9332 }
9333
9334 wxPyEndAllowThreads(__tstate);
9335 if (PyErr_Occurred()) SWIG_fail;
9336 }
9337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9338 return resultobj;
9339 fail:
9340 return NULL;
9341 }
9342
9343
9344 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9345 PyObject *resultobj;
9346 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9347 wxColour *result;
9348 PyObject * obj0 = 0 ;
9349 char *kwnames[] = {
9350 (char *) "self", NULL
9351 };
9352
9353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9355 if (SWIG_arg_fail(1)) SWIG_fail;
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 {
9359 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9360 result = (wxColour *) &_result_ref;
9361 }
9362
9363 wxPyEndAllowThreads(__tstate);
9364 if (PyErr_Occurred()) SWIG_fail;
9365 }
9366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9367 return resultobj;
9368 fail:
9369 return NULL;
9370 }
9371
9372
9373 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9374 PyObject *resultobj;
9375 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9376 wxFont *result;
9377 PyObject * obj0 = 0 ;
9378 char *kwnames[] = {
9379 (char *) "self", NULL
9380 };
9381
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9384 if (SWIG_arg_fail(1)) SWIG_fail;
9385 {
9386 PyThreadState* __tstate = wxPyBeginAllowThreads();
9387 {
9388 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9389 result = (wxFont *) &_result_ref;
9390 }
9391
9392 wxPyEndAllowThreads(__tstate);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 }
9395 {
9396 wxFont* resultptr = new wxFont(*result);
9397 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9398 }
9399 return resultobj;
9400 fail:
9401 return NULL;
9402 }
9403
9404
9405 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9406 PyObject *resultobj;
9407 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9408 wxTextAttrAlignment result;
9409 PyObject * obj0 = 0 ;
9410 char *kwnames[] = {
9411 (char *) "self", NULL
9412 };
9413
9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9416 if (SWIG_arg_fail(1)) SWIG_fail;
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
9419 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9420
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 resultobj = SWIG_From_int((result));
9425 return resultobj;
9426 fail:
9427 return NULL;
9428 }
9429
9430
9431 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj;
9433 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9434 wxArrayInt *result;
9435 PyObject * obj0 = 0 ;
9436 char *kwnames[] = {
9437 (char *) "self", NULL
9438 };
9439
9440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9442 if (SWIG_arg_fail(1)) SWIG_fail;
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 {
9446 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9447 result = (wxArrayInt *) &_result_ref;
9448 }
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 {
9454 resultobj = PyList_New(0);
9455 size_t idx;
9456 for (idx = 0; idx < result->GetCount(); idx += 1) {
9457 PyObject* val = PyInt_FromLong( result->Item(idx) );
9458 PyList_Append(resultobj, val);
9459 Py_DECREF(val);
9460 }
9461 }
9462 return resultobj;
9463 fail:
9464 return NULL;
9465 }
9466
9467
9468 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9469 PyObject *resultobj;
9470 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9471 long result;
9472 PyObject * obj0 = 0 ;
9473 char *kwnames[] = {
9474 (char *) "self", NULL
9475 };
9476
9477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9479 if (SWIG_arg_fail(1)) SWIG_fail;
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 {
9488 resultobj = SWIG_From_long((long)(result));
9489 }
9490 return resultobj;
9491 fail:
9492 return NULL;
9493 }
9494
9495
9496 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj;
9498 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9499 long result;
9500 PyObject * obj0 = 0 ;
9501 char *kwnames[] = {
9502 (char *) "self", NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9507 if (SWIG_arg_fail(1)) SWIG_fail;
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
9515 {
9516 resultobj = SWIG_From_long((long)(result));
9517 }
9518 return resultobj;
9519 fail:
9520 return NULL;
9521 }
9522
9523
9524 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9525 PyObject *resultobj;
9526 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9527 long result;
9528 PyObject * obj0 = 0 ;
9529 char *kwnames[] = {
9530 (char *) "self", NULL
9531 };
9532
9533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9535 if (SWIG_arg_fail(1)) SWIG_fail;
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 {
9544 resultobj = SWIG_From_long((long)(result));
9545 }
9546 return resultobj;
9547 fail:
9548 return NULL;
9549 }
9550
9551
9552 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9553 PyObject *resultobj;
9554 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9555 long result;
9556 PyObject * obj0 = 0 ;
9557 char *kwnames[] = {
9558 (char *) "self", NULL
9559 };
9560
9561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9563 if (SWIG_arg_fail(1)) SWIG_fail;
9564 {
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9567
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
9571 {
9572 resultobj = SWIG_From_long((long)(result));
9573 }
9574 return resultobj;
9575 fail:
9576 return NULL;
9577 }
9578
9579
9580 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9581 PyObject *resultobj;
9582 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9583 bool result;
9584 PyObject * obj0 = 0 ;
9585 char *kwnames[] = {
9586 (char *) "self", NULL
9587 };
9588
9589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9591 if (SWIG_arg_fail(1)) SWIG_fail;
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 {
9600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9601 }
9602 return resultobj;
9603 fail:
9604 return NULL;
9605 }
9606
9607
9608 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj;
9610 wxTextAttr *arg1 = 0 ;
9611 wxTextAttr *arg2 = 0 ;
9612 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9613 wxTextAttr result;
9614 PyObject * obj0 = 0 ;
9615 PyObject * obj1 = 0 ;
9616 PyObject * obj2 = 0 ;
9617 char *kwnames[] = {
9618 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9619 };
9620
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9622 {
9623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9624 if (SWIG_arg_fail(1)) SWIG_fail;
9625 if (arg1 == NULL) {
9626 SWIG_null_ref("wxTextAttr");
9627 }
9628 if (SWIG_arg_fail(1)) SWIG_fail;
9629 }
9630 {
9631 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9632 if (SWIG_arg_fail(2)) SWIG_fail;
9633 if (arg2 == NULL) {
9634 SWIG_null_ref("wxTextAttr");
9635 }
9636 if (SWIG_arg_fail(2)) SWIG_fail;
9637 }
9638 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9639 if (SWIG_arg_fail(3)) SWIG_fail;
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9643
9644 wxPyEndAllowThreads(__tstate);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
9647 {
9648 wxTextAttr * resultptr;
9649 resultptr = new wxTextAttr((wxTextAttr &)(result));
9650 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9651 }
9652 return resultobj;
9653 fail:
9654 return NULL;
9655 }
9656
9657
9658 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9659 PyObject *obj;
9660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9661 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9662 Py_INCREF(obj);
9663 return Py_BuildValue((char *)"");
9664 }
9665 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9666 PyObject *resultobj;
9667 wxWindow *arg1 = (wxWindow *) 0 ;
9668 int arg2 = (int) -1 ;
9669 wxString const &arg3_defvalue = wxPyEmptyString ;
9670 wxString *arg3 = (wxString *) &arg3_defvalue ;
9671 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9672 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9673 wxSize const &arg5_defvalue = wxDefaultSize ;
9674 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9675 long arg6 = (long) 0 ;
9676 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9677 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9678 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9679 wxString *arg8 = (wxString *) &arg8_defvalue ;
9680 wxTextCtrl *result;
9681 bool temp3 = false ;
9682 wxPoint temp4 ;
9683 wxSize temp5 ;
9684 bool temp8 = false ;
9685 PyObject * obj0 = 0 ;
9686 PyObject * obj1 = 0 ;
9687 PyObject * obj2 = 0 ;
9688 PyObject * obj3 = 0 ;
9689 PyObject * obj4 = 0 ;
9690 PyObject * obj5 = 0 ;
9691 PyObject * obj6 = 0 ;
9692 PyObject * obj7 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9695 };
9696
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9699 if (SWIG_arg_fail(1)) SWIG_fail;
9700 if (obj1) {
9701 {
9702 arg2 = (int)(SWIG_As_int(obj1));
9703 if (SWIG_arg_fail(2)) SWIG_fail;
9704 }
9705 }
9706 if (obj2) {
9707 {
9708 arg3 = wxString_in_helper(obj2);
9709 if (arg3 == NULL) SWIG_fail;
9710 temp3 = true;
9711 }
9712 }
9713 if (obj3) {
9714 {
9715 arg4 = &temp4;
9716 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9717 }
9718 }
9719 if (obj4) {
9720 {
9721 arg5 = &temp5;
9722 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9723 }
9724 }
9725 if (obj5) {
9726 {
9727 arg6 = (long)(SWIG_As_long(obj5));
9728 if (SWIG_arg_fail(6)) SWIG_fail;
9729 }
9730 }
9731 if (obj6) {
9732 {
9733 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9734 if (SWIG_arg_fail(7)) SWIG_fail;
9735 if (arg7 == NULL) {
9736 SWIG_null_ref("wxValidator");
9737 }
9738 if (SWIG_arg_fail(7)) SWIG_fail;
9739 }
9740 }
9741 if (obj7) {
9742 {
9743 arg8 = wxString_in_helper(obj7);
9744 if (arg8 == NULL) SWIG_fail;
9745 temp8 = true;
9746 }
9747 }
9748 {
9749 if (!wxPyCheckForApp()) SWIG_fail;
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9757 {
9758 if (temp3)
9759 delete arg3;
9760 }
9761 {
9762 if (temp8)
9763 delete arg8;
9764 }
9765 return resultobj;
9766 fail:
9767 {
9768 if (temp3)
9769 delete arg3;
9770 }
9771 {
9772 if (temp8)
9773 delete arg8;
9774 }
9775 return NULL;
9776 }
9777
9778
9779 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9780 PyObject *resultobj;
9781 wxTextCtrl *result;
9782 char *kwnames[] = {
9783 NULL
9784 };
9785
9786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9787 {
9788 if (!wxPyCheckForApp()) SWIG_fail;
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 result = (wxTextCtrl *)new wxTextCtrl();
9791
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
9795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9796 return resultobj;
9797 fail:
9798 return NULL;
9799 }
9800
9801
9802 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9803 PyObject *resultobj;
9804 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9805 wxWindow *arg2 = (wxWindow *) 0 ;
9806 int arg3 = (int) -1 ;
9807 wxString const &arg4_defvalue = wxPyEmptyString ;
9808 wxString *arg4 = (wxString *) &arg4_defvalue ;
9809 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9810 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9811 wxSize const &arg6_defvalue = wxDefaultSize ;
9812 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9813 long arg7 = (long) 0 ;
9814 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9815 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9816 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9817 wxString *arg9 = (wxString *) &arg9_defvalue ;
9818 bool result;
9819 bool temp4 = false ;
9820 wxPoint temp5 ;
9821 wxSize temp6 ;
9822 bool temp9 = false ;
9823 PyObject * obj0 = 0 ;
9824 PyObject * obj1 = 0 ;
9825 PyObject * obj2 = 0 ;
9826 PyObject * obj3 = 0 ;
9827 PyObject * obj4 = 0 ;
9828 PyObject * obj5 = 0 ;
9829 PyObject * obj6 = 0 ;
9830 PyObject * obj7 = 0 ;
9831 PyObject * obj8 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9834 };
9835
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail;
9839 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9840 if (SWIG_arg_fail(2)) SWIG_fail;
9841 if (obj2) {
9842 {
9843 arg3 = (int)(SWIG_As_int(obj2));
9844 if (SWIG_arg_fail(3)) SWIG_fail;
9845 }
9846 }
9847 if (obj3) {
9848 {
9849 arg4 = wxString_in_helper(obj3);
9850 if (arg4 == NULL) SWIG_fail;
9851 temp4 = true;
9852 }
9853 }
9854 if (obj4) {
9855 {
9856 arg5 = &temp5;
9857 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9858 }
9859 }
9860 if (obj5) {
9861 {
9862 arg6 = &temp6;
9863 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9864 }
9865 }
9866 if (obj6) {
9867 {
9868 arg7 = (long)(SWIG_As_long(obj6));
9869 if (SWIG_arg_fail(7)) SWIG_fail;
9870 }
9871 }
9872 if (obj7) {
9873 {
9874 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9875 if (SWIG_arg_fail(8)) SWIG_fail;
9876 if (arg8 == NULL) {
9877 SWIG_null_ref("wxValidator");
9878 }
9879 if (SWIG_arg_fail(8)) SWIG_fail;
9880 }
9881 }
9882 if (obj8) {
9883 {
9884 arg9 = wxString_in_helper(obj8);
9885 if (arg9 == NULL) SWIG_fail;
9886 temp9 = true;
9887 }
9888 }
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 {
9897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9898 }
9899 {
9900 if (temp4)
9901 delete arg4;
9902 }
9903 {
9904 if (temp9)
9905 delete arg9;
9906 }
9907 return resultobj;
9908 fail:
9909 {
9910 if (temp4)
9911 delete arg4;
9912 }
9913 {
9914 if (temp9)
9915 delete arg9;
9916 }
9917 return NULL;
9918 }
9919
9920
9921 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9922 PyObject *resultobj;
9923 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9924 wxString result;
9925 PyObject * obj0 = 0 ;
9926 char *kwnames[] = {
9927 (char *) "self", NULL
9928 };
9929
9930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
9931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9932 if (SWIG_arg_fail(1)) SWIG_fail;
9933 {
9934 PyThreadState* __tstate = wxPyBeginAllowThreads();
9935 result = ((wxTextCtrl const *)arg1)->GetValue();
9936
9937 wxPyEndAllowThreads(__tstate);
9938 if (PyErr_Occurred()) SWIG_fail;
9939 }
9940 {
9941 #if wxUSE_UNICODE
9942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9943 #else
9944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9945 #endif
9946 }
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9956 wxString *arg2 = 0 ;
9957 bool temp2 = false ;
9958 PyObject * obj0 = 0 ;
9959 PyObject * obj1 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self",(char *) "value", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
9965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9966 if (SWIG_arg_fail(1)) SWIG_fail;
9967 {
9968 arg2 = wxString_in_helper(obj1);
9969 if (arg2 == NULL) SWIG_fail;
9970 temp2 = true;
9971 }
9972 {
9973 PyThreadState* __tstate = wxPyBeginAllowThreads();
9974 (arg1)->SetValue((wxString const &)*arg2);
9975
9976 wxPyEndAllowThreads(__tstate);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 }
9979 Py_INCREF(Py_None); resultobj = Py_None;
9980 {
9981 if (temp2)
9982 delete arg2;
9983 }
9984 return resultobj;
9985 fail:
9986 {
9987 if (temp2)
9988 delete arg2;
9989 }
9990 return NULL;
9991 }
9992
9993
9994 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9995 PyObject *resultobj;
9996 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9997 long arg2 ;
9998 long arg3 ;
9999 wxString result;
10000 PyObject * obj0 = 0 ;
10001 PyObject * obj1 = 0 ;
10002 PyObject * obj2 = 0 ;
10003 char *kwnames[] = {
10004 (char *) "self",(char *) "from",(char *) "to", NULL
10005 };
10006
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10009 if (SWIG_arg_fail(1)) SWIG_fail;
10010 {
10011 arg2 = (long)(SWIG_As_long(obj1));
10012 if (SWIG_arg_fail(2)) SWIG_fail;
10013 }
10014 {
10015 arg3 = (long)(SWIG_As_long(obj2));
10016 if (SWIG_arg_fail(3)) SWIG_fail;
10017 }
10018 {
10019 PyThreadState* __tstate = wxPyBeginAllowThreads();
10020 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
10021
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 {
10026 #if wxUSE_UNICODE
10027 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10028 #else
10029 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10030 #endif
10031 }
10032 return resultobj;
10033 fail:
10034 return NULL;
10035 }
10036
10037
10038 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
10039 PyObject *resultobj;
10040 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10041 long arg2 ;
10042 int result;
10043 PyObject * obj0 = 0 ;
10044 PyObject * obj1 = 0 ;
10045 char *kwnames[] = {
10046 (char *) "self",(char *) "lineNo", NULL
10047 };
10048
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
10050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10051 if (SWIG_arg_fail(1)) SWIG_fail;
10052 {
10053 arg2 = (long)(SWIG_As_long(obj1));
10054 if (SWIG_arg_fail(2)) SWIG_fail;
10055 }
10056 {
10057 PyThreadState* __tstate = wxPyBeginAllowThreads();
10058 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
10059
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 {
10064 resultobj = SWIG_From_int((int)(result));
10065 }
10066 return resultobj;
10067 fail:
10068 return NULL;
10069 }
10070
10071
10072 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
10073 PyObject *resultobj;
10074 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10075 long arg2 ;
10076 wxString result;
10077 PyObject * obj0 = 0 ;
10078 PyObject * obj1 = 0 ;
10079 char *kwnames[] = {
10080 (char *) "self",(char *) "lineNo", NULL
10081 };
10082
10083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10085 if (SWIG_arg_fail(1)) SWIG_fail;
10086 {
10087 arg2 = (long)(SWIG_As_long(obj1));
10088 if (SWIG_arg_fail(2)) SWIG_fail;
10089 }
10090 {
10091 PyThreadState* __tstate = wxPyBeginAllowThreads();
10092 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10093
10094 wxPyEndAllowThreads(__tstate);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 }
10097 {
10098 #if wxUSE_UNICODE
10099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10100 #else
10101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10102 #endif
10103 }
10104 return resultobj;
10105 fail:
10106 return NULL;
10107 }
10108
10109
10110 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10111 PyObject *resultobj;
10112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10113 int result;
10114 PyObject * obj0 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10121 if (SWIG_arg_fail(1)) SWIG_fail;
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 {
10130 resultobj = SWIG_From_int((int)(result));
10131 }
10132 return resultobj;
10133 fail:
10134 return NULL;
10135 }
10136
10137
10138 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj;
10140 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10141 bool result;
10142 PyObject * obj0 = 0 ;
10143 char *kwnames[] = {
10144 (char *) "self", NULL
10145 };
10146
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10149 if (SWIG_arg_fail(1)) SWIG_fail;
10150 {
10151 PyThreadState* __tstate = wxPyBeginAllowThreads();
10152 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10153
10154 wxPyEndAllowThreads(__tstate);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 }
10157 {
10158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10159 }
10160 return resultobj;
10161 fail:
10162 return NULL;
10163 }
10164
10165
10166 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10167 PyObject *resultobj;
10168 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10169 bool result;
10170 PyObject * obj0 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10177 if (SWIG_arg_fail(1)) SWIG_fail;
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10181
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 {
10186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10187 }
10188 return resultobj;
10189 fail:
10190 return NULL;
10191 }
10192
10193
10194 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10195 PyObject *resultobj;
10196 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10197 bool result;
10198 PyObject * obj0 = 0 ;
10199 char *kwnames[] = {
10200 (char *) "self", NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10205 if (SWIG_arg_fail(1)) SWIG_fail;
10206 {
10207 PyThreadState* __tstate = wxPyBeginAllowThreads();
10208 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10209
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 {
10214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10215 }
10216 return resultobj;
10217 fail:
10218 return NULL;
10219 }
10220
10221
10222 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10223 PyObject *resultobj;
10224 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10225 bool result;
10226 PyObject * obj0 = 0 ;
10227 char *kwnames[] = {
10228 (char *) "self", NULL
10229 };
10230
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10233 if (SWIG_arg_fail(1)) SWIG_fail;
10234 {
10235 PyThreadState* __tstate = wxPyBeginAllowThreads();
10236 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10237
10238 wxPyEndAllowThreads(__tstate);
10239 if (PyErr_Occurred()) SWIG_fail;
10240 }
10241 {
10242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10243 }
10244 return resultobj;
10245 fail:
10246 return NULL;
10247 }
10248
10249
10250 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10251 PyObject *resultobj;
10252 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10253 long *arg2 = (long *) 0 ;
10254 long *arg3 = (long *) 0 ;
10255 long temp2 ;
10256 int res2 = 0 ;
10257 long temp3 ;
10258 int res3 = 0 ;
10259 PyObject * obj0 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self", NULL
10262 };
10263
10264 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10265 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10268 if (SWIG_arg_fail(1)) SWIG_fail;
10269 {
10270 PyThreadState* __tstate = wxPyBeginAllowThreads();
10271 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10272
10273 wxPyEndAllowThreads(__tstate);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 }
10276 Py_INCREF(Py_None); resultobj = Py_None;
10277 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10278 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10279 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10280 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10281 return resultobj;
10282 fail:
10283 return NULL;
10284 }
10285
10286
10287 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10288 PyObject *resultobj;
10289 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10290 wxString result;
10291 PyObject * obj0 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10298 if (SWIG_arg_fail(1)) SWIG_fail;
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 {
10307 #if wxUSE_UNICODE
10308 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10309 #else
10310 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10311 #endif
10312 }
10313 return resultobj;
10314 fail:
10315 return NULL;
10316 }
10317
10318
10319 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10320 PyObject *resultobj;
10321 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10322 PyObject * obj0 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10329 if (SWIG_arg_fail(1)) SWIG_fail;
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 (arg1)->Clear();
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 Py_INCREF(Py_None); resultobj = Py_None;
10338 return resultobj;
10339 fail:
10340 return NULL;
10341 }
10342
10343
10344 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj;
10346 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10347 long arg2 ;
10348 long arg3 ;
10349 wxString *arg4 = 0 ;
10350 bool temp4 = false ;
10351 PyObject * obj0 = 0 ;
10352 PyObject * obj1 = 0 ;
10353 PyObject * obj2 = 0 ;
10354 PyObject * obj3 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10361 if (SWIG_arg_fail(1)) SWIG_fail;
10362 {
10363 arg2 = (long)(SWIG_As_long(obj1));
10364 if (SWIG_arg_fail(2)) SWIG_fail;
10365 }
10366 {
10367 arg3 = (long)(SWIG_As_long(obj2));
10368 if (SWIG_arg_fail(3)) SWIG_fail;
10369 }
10370 {
10371 arg4 = wxString_in_helper(obj3);
10372 if (arg4 == NULL) SWIG_fail;
10373 temp4 = true;
10374 }
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10378
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 Py_INCREF(Py_None); resultobj = Py_None;
10383 {
10384 if (temp4)
10385 delete arg4;
10386 }
10387 return resultobj;
10388 fail:
10389 {
10390 if (temp4)
10391 delete arg4;
10392 }
10393 return NULL;
10394 }
10395
10396
10397 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10398 PyObject *resultobj;
10399 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10400 long arg2 ;
10401 long arg3 ;
10402 PyObject * obj0 = 0 ;
10403 PyObject * obj1 = 0 ;
10404 PyObject * obj2 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "from",(char *) "to", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10411 if (SWIG_arg_fail(1)) SWIG_fail;
10412 {
10413 arg2 = (long)(SWIG_As_long(obj1));
10414 if (SWIG_arg_fail(2)) SWIG_fail;
10415 }
10416 {
10417 arg3 = (long)(SWIG_As_long(obj2));
10418 if (SWIG_arg_fail(3)) SWIG_fail;
10419 }
10420 {
10421 PyThreadState* __tstate = wxPyBeginAllowThreads();
10422 (arg1)->Remove(arg2,arg3);
10423
10424 wxPyEndAllowThreads(__tstate);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 }
10427 Py_INCREF(Py_None); resultobj = Py_None;
10428 return resultobj;
10429 fail:
10430 return NULL;
10431 }
10432
10433
10434 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10435 PyObject *resultobj;
10436 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10437 wxString *arg2 = 0 ;
10438 bool result;
10439 bool temp2 = false ;
10440 PyObject * obj0 = 0 ;
10441 PyObject * obj1 = 0 ;
10442 char *kwnames[] = {
10443 (char *) "self",(char *) "file", NULL
10444 };
10445
10446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10448 if (SWIG_arg_fail(1)) SWIG_fail;
10449 {
10450 arg2 = wxString_in_helper(obj1);
10451 if (arg2 == NULL) SWIG_fail;
10452 temp2 = true;
10453 }
10454 {
10455 PyThreadState* __tstate = wxPyBeginAllowThreads();
10456 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10457
10458 wxPyEndAllowThreads(__tstate);
10459 if (PyErr_Occurred()) SWIG_fail;
10460 }
10461 {
10462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10463 }
10464 {
10465 if (temp2)
10466 delete arg2;
10467 }
10468 return resultobj;
10469 fail:
10470 {
10471 if (temp2)
10472 delete arg2;
10473 }
10474 return NULL;
10475 }
10476
10477
10478 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10479 PyObject *resultobj;
10480 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10481 wxString const &arg2_defvalue = wxPyEmptyString ;
10482 wxString *arg2 = (wxString *) &arg2_defvalue ;
10483 bool result;
10484 bool temp2 = false ;
10485 PyObject * obj0 = 0 ;
10486 PyObject * obj1 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self",(char *) "file", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10493 if (SWIG_arg_fail(1)) SWIG_fail;
10494 if (obj1) {
10495 {
10496 arg2 = wxString_in_helper(obj1);
10497 if (arg2 == NULL) SWIG_fail;
10498 temp2 = true;
10499 }
10500 }
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 {
10509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10510 }
10511 {
10512 if (temp2)
10513 delete arg2;
10514 }
10515 return resultobj;
10516 fail:
10517 {
10518 if (temp2)
10519 delete arg2;
10520 }
10521 return NULL;
10522 }
10523
10524
10525 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj;
10527 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10528 PyObject * obj0 = 0 ;
10529 char *kwnames[] = {
10530 (char *) "self", NULL
10531 };
10532
10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10535 if (SWIG_arg_fail(1)) SWIG_fail;
10536 {
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 (arg1)->MarkDirty();
10539
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 Py_INCREF(Py_None); resultobj = Py_None;
10544 return resultobj;
10545 fail:
10546 return NULL;
10547 }
10548
10549
10550 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj;
10552 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10553 PyObject * obj0 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10560 if (SWIG_arg_fail(1)) SWIG_fail;
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 (arg1)->DiscardEdits();
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 Py_INCREF(Py_None); resultobj = Py_None;
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10576 PyObject *resultobj;
10577 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10578 unsigned long arg2 ;
10579 PyObject * obj0 = 0 ;
10580 PyObject * obj1 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self",(char *) "len", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10587 if (SWIG_arg_fail(1)) SWIG_fail;
10588 {
10589 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10590 if (SWIG_arg_fail(2)) SWIG_fail;
10591 }
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 (arg1)->SetMaxLength(arg2);
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 Py_INCREF(Py_None); resultobj = Py_None;
10600 return resultobj;
10601 fail:
10602 return NULL;
10603 }
10604
10605
10606 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10607 PyObject *resultobj;
10608 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10609 wxString *arg2 = 0 ;
10610 bool temp2 = false ;
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self",(char *) "text", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10619 if (SWIG_arg_fail(1)) SWIG_fail;
10620 {
10621 arg2 = wxString_in_helper(obj1);
10622 if (arg2 == NULL) SWIG_fail;
10623 temp2 = true;
10624 }
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 (arg1)->WriteText((wxString const &)*arg2);
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 Py_INCREF(Py_None); resultobj = Py_None;
10633 {
10634 if (temp2)
10635 delete arg2;
10636 }
10637 return resultobj;
10638 fail:
10639 {
10640 if (temp2)
10641 delete arg2;
10642 }
10643 return NULL;
10644 }
10645
10646
10647 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10648 PyObject *resultobj;
10649 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10650 wxString *arg2 = 0 ;
10651 bool temp2 = false ;
10652 PyObject * obj0 = 0 ;
10653 PyObject * obj1 = 0 ;
10654 char *kwnames[] = {
10655 (char *) "self",(char *) "text", NULL
10656 };
10657
10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10660 if (SWIG_arg_fail(1)) SWIG_fail;
10661 {
10662 arg2 = wxString_in_helper(obj1);
10663 if (arg2 == NULL) SWIG_fail;
10664 temp2 = true;
10665 }
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 (arg1)->AppendText((wxString const &)*arg2);
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 Py_INCREF(Py_None); resultobj = Py_None;
10674 {
10675 if (temp2)
10676 delete arg2;
10677 }
10678 return resultobj;
10679 fail:
10680 {
10681 if (temp2)
10682 delete arg2;
10683 }
10684 return NULL;
10685 }
10686
10687
10688 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10689 PyObject *resultobj;
10690 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10691 wxKeyEvent *arg2 = 0 ;
10692 bool result;
10693 PyObject * obj0 = 0 ;
10694 PyObject * obj1 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "self",(char *) "event", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10701 if (SWIG_arg_fail(1)) SWIG_fail;
10702 {
10703 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10704 if (SWIG_arg_fail(2)) SWIG_fail;
10705 if (arg2 == NULL) {
10706 SWIG_null_ref("wxKeyEvent");
10707 }
10708 if (SWIG_arg_fail(2)) SWIG_fail;
10709 }
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 {
10718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10719 }
10720 return resultobj;
10721 fail:
10722 return NULL;
10723 }
10724
10725
10726 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj;
10728 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10729 long arg2 ;
10730 long arg3 ;
10731 wxTextAttr *arg4 = 0 ;
10732 bool result;
10733 PyObject * obj0 = 0 ;
10734 PyObject * obj1 = 0 ;
10735 PyObject * obj2 = 0 ;
10736 PyObject * obj3 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10743 if (SWIG_arg_fail(1)) SWIG_fail;
10744 {
10745 arg2 = (long)(SWIG_As_long(obj1));
10746 if (SWIG_arg_fail(2)) SWIG_fail;
10747 }
10748 {
10749 arg3 = (long)(SWIG_As_long(obj2));
10750 if (SWIG_arg_fail(3)) SWIG_fail;
10751 }
10752 {
10753 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10754 if (SWIG_arg_fail(4)) SWIG_fail;
10755 if (arg4 == NULL) {
10756 SWIG_null_ref("wxTextAttr");
10757 }
10758 if (SWIG_arg_fail(4)) SWIG_fail;
10759 }
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 {
10768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10769 }
10770 return resultobj;
10771 fail:
10772 return NULL;
10773 }
10774
10775
10776 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10777 PyObject *resultobj;
10778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10779 long arg2 ;
10780 wxTextAttr *arg3 = 0 ;
10781 bool result;
10782 PyObject * obj0 = 0 ;
10783 PyObject * obj1 = 0 ;
10784 PyObject * obj2 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "self",(char *) "position",(char *) "style", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10791 if (SWIG_arg_fail(1)) SWIG_fail;
10792 {
10793 arg2 = (long)(SWIG_As_long(obj1));
10794 if (SWIG_arg_fail(2)) SWIG_fail;
10795 }
10796 {
10797 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10798 if (SWIG_arg_fail(3)) SWIG_fail;
10799 if (arg3 == NULL) {
10800 SWIG_null_ref("wxTextAttr");
10801 }
10802 if (SWIG_arg_fail(3)) SWIG_fail;
10803 }
10804 {
10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
10806 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10807
10808 wxPyEndAllowThreads(__tstate);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 }
10811 {
10812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10813 }
10814 return resultobj;
10815 fail:
10816 return NULL;
10817 }
10818
10819
10820 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10821 PyObject *resultobj;
10822 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10823 wxTextAttr *arg2 = 0 ;
10824 bool result;
10825 PyObject * obj0 = 0 ;
10826 PyObject * obj1 = 0 ;
10827 char *kwnames[] = {
10828 (char *) "self",(char *) "style", NULL
10829 };
10830
10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10833 if (SWIG_arg_fail(1)) SWIG_fail;
10834 {
10835 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10836 if (SWIG_arg_fail(2)) SWIG_fail;
10837 if (arg2 == NULL) {
10838 SWIG_null_ref("wxTextAttr");
10839 }
10840 if (SWIG_arg_fail(2)) SWIG_fail;
10841 }
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10845
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 {
10850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10851 }
10852 return resultobj;
10853 fail:
10854 return NULL;
10855 }
10856
10857
10858 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10859 PyObject *resultobj;
10860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10861 wxTextAttr *result;
10862 PyObject * obj0 = 0 ;
10863 char *kwnames[] = {
10864 (char *) "self", NULL
10865 };
10866
10867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
10868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10869 if (SWIG_arg_fail(1)) SWIG_fail;
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 {
10873 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10874 result = (wxTextAttr *) &_result_ref;
10875 }
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10881 return resultobj;
10882 fail:
10883 return NULL;
10884 }
10885
10886
10887 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10888 PyObject *resultobj;
10889 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10890 long arg2 ;
10891 long arg3 ;
10892 long result;
10893 PyObject * obj0 = 0 ;
10894 PyObject * obj1 = 0 ;
10895 PyObject * obj2 = 0 ;
10896 char *kwnames[] = {
10897 (char *) "self",(char *) "x",(char *) "y", NULL
10898 };
10899
10900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
10901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10902 if (SWIG_arg_fail(1)) SWIG_fail;
10903 {
10904 arg2 = (long)(SWIG_As_long(obj1));
10905 if (SWIG_arg_fail(2)) SWIG_fail;
10906 }
10907 {
10908 arg3 = (long)(SWIG_As_long(obj2));
10909 if (SWIG_arg_fail(3)) SWIG_fail;
10910 }
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 {
10919 resultobj = SWIG_From_long((long)(result));
10920 }
10921 return resultobj;
10922 fail:
10923 return NULL;
10924 }
10925
10926
10927 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj;
10929 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10930 long arg2 ;
10931 long *arg3 = (long *) 0 ;
10932 long *arg4 = (long *) 0 ;
10933 long temp3 ;
10934 int res3 = 0 ;
10935 long temp4 ;
10936 int res4 = 0 ;
10937 PyObject * obj0 = 0 ;
10938 PyObject * obj1 = 0 ;
10939 char *kwnames[] = {
10940 (char *) "self",(char *) "pos", NULL
10941 };
10942
10943 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10944 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
10946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10947 if (SWIG_arg_fail(1)) SWIG_fail;
10948 {
10949 arg2 = (long)(SWIG_As_long(obj1));
10950 if (SWIG_arg_fail(2)) SWIG_fail;
10951 }
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 Py_INCREF(Py_None); resultobj = Py_None;
10960 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10961 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10962 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10963 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10964 return resultobj;
10965 fail:
10966 return NULL;
10967 }
10968
10969
10970 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10971 PyObject *resultobj;
10972 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10973 long arg2 ;
10974 PyObject * obj0 = 0 ;
10975 PyObject * obj1 = 0 ;
10976 char *kwnames[] = {
10977 (char *) "self",(char *) "pos", NULL
10978 };
10979
10980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
10981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10982 if (SWIG_arg_fail(1)) SWIG_fail;
10983 {
10984 arg2 = (long)(SWIG_As_long(obj1));
10985 if (SWIG_arg_fail(2)) SWIG_fail;
10986 }
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 (arg1)->ShowPosition(arg2);
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 Py_INCREF(Py_None); resultobj = Py_None;
10995 return resultobj;
10996 fail:
10997 return NULL;
10998 }
10999
11000
11001 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11004 wxPoint *arg2 = 0 ;
11005 long *arg3 = (long *) 0 ;
11006 long *arg4 = (long *) 0 ;
11007 wxTextCtrlHitTestResult result;
11008 wxPoint temp2 ;
11009 long temp3 ;
11010 int res3 = 0 ;
11011 long temp4 ;
11012 int res4 = 0 ;
11013 PyObject * obj0 = 0 ;
11014 PyObject * obj1 = 0 ;
11015 char *kwnames[] = {
11016 (char *) "self",(char *) "pt", NULL
11017 };
11018
11019 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11020 arg4 = &temp4; res4 = SWIG_NEWOBJ;
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
11022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11023 if (SWIG_arg_fail(1)) SWIG_fail;
11024 {
11025 arg2 = &temp2;
11026 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11027 }
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 resultobj = SWIG_From_int((result));
11036 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11037 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11038 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
11039 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
11040 return resultobj;
11041 fail:
11042 return NULL;
11043 }
11044
11045
11046 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
11047 PyObject *resultobj;
11048 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11049 wxPoint *arg2 = 0 ;
11050 long *arg3 = (long *) 0 ;
11051 wxTextCtrlHitTestResult result;
11052 wxPoint temp2 ;
11053 long temp3 ;
11054 int res3 = 0 ;
11055 PyObject * obj0 = 0 ;
11056 PyObject * obj1 = 0 ;
11057 char *kwnames[] = {
11058 (char *) "self",(char *) "pt", NULL
11059 };
11060
11061 arg3 = &temp3; res3 = SWIG_NEWOBJ;
11062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
11063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11064 if (SWIG_arg_fail(1)) SWIG_fail;
11065 {
11066 arg2 = &temp2;
11067 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11068 }
11069 {
11070 PyThreadState* __tstate = wxPyBeginAllowThreads();
11071 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11072
11073 wxPyEndAllowThreads(__tstate);
11074 if (PyErr_Occurred()) SWIG_fail;
11075 }
11076 resultobj = SWIG_From_int((result));
11077 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11078 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11079 return resultobj;
11080 fail:
11081 return NULL;
11082 }
11083
11084
11085 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11086 PyObject *resultobj;
11087 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11088 PyObject * obj0 = 0 ;
11089 char *kwnames[] = {
11090 (char *) "self", NULL
11091 };
11092
11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11095 if (SWIG_arg_fail(1)) SWIG_fail;
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
11098 (arg1)->Copy();
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 Py_INCREF(Py_None); resultobj = Py_None;
11104 return resultobj;
11105 fail:
11106 return NULL;
11107 }
11108
11109
11110 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11111 PyObject *resultobj;
11112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11113 PyObject * obj0 = 0 ;
11114 char *kwnames[] = {
11115 (char *) "self", NULL
11116 };
11117
11118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11120 if (SWIG_arg_fail(1)) SWIG_fail;
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
11123 (arg1)->Cut();
11124
11125 wxPyEndAllowThreads(__tstate);
11126 if (PyErr_Occurred()) SWIG_fail;
11127 }
11128 Py_INCREF(Py_None); resultobj = Py_None;
11129 return resultobj;
11130 fail:
11131 return NULL;
11132 }
11133
11134
11135 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11136 PyObject *resultobj;
11137 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11138 PyObject * obj0 = 0 ;
11139 char *kwnames[] = {
11140 (char *) "self", NULL
11141 };
11142
11143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11145 if (SWIG_arg_fail(1)) SWIG_fail;
11146 {
11147 PyThreadState* __tstate = wxPyBeginAllowThreads();
11148 (arg1)->Paste();
11149
11150 wxPyEndAllowThreads(__tstate);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 Py_INCREF(Py_None); resultobj = Py_None;
11154 return resultobj;
11155 fail:
11156 return NULL;
11157 }
11158
11159
11160 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11161 PyObject *resultobj;
11162 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11163 bool result;
11164 PyObject * obj0 = 0 ;
11165 char *kwnames[] = {
11166 (char *) "self", NULL
11167 };
11168
11169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11171 if (SWIG_arg_fail(1)) SWIG_fail;
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11175
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 {
11180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11181 }
11182 return resultobj;
11183 fail:
11184 return NULL;
11185 }
11186
11187
11188 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11189 PyObject *resultobj;
11190 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11191 bool result;
11192 PyObject * obj0 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "self", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11199 if (SWIG_arg_fail(1)) SWIG_fail;
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11203
11204 wxPyEndAllowThreads(__tstate);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 {
11208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11209 }
11210 return resultobj;
11211 fail:
11212 return NULL;
11213 }
11214
11215
11216 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11217 PyObject *resultobj;
11218 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11219 bool result;
11220 PyObject * obj0 = 0 ;
11221 char *kwnames[] = {
11222 (char *) "self", NULL
11223 };
11224
11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11227 if (SWIG_arg_fail(1)) SWIG_fail;
11228 {
11229 PyThreadState* __tstate = wxPyBeginAllowThreads();
11230 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11231
11232 wxPyEndAllowThreads(__tstate);
11233 if (PyErr_Occurred()) SWIG_fail;
11234 }
11235 {
11236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11237 }
11238 return resultobj;
11239 fail:
11240 return NULL;
11241 }
11242
11243
11244 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11245 PyObject *resultobj;
11246 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11247 PyObject * obj0 = 0 ;
11248 char *kwnames[] = {
11249 (char *) "self", NULL
11250 };
11251
11252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11254 if (SWIG_arg_fail(1)) SWIG_fail;
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
11257 (arg1)->Undo();
11258
11259 wxPyEndAllowThreads(__tstate);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 Py_INCREF(Py_None); resultobj = Py_None;
11263 return resultobj;
11264 fail:
11265 return NULL;
11266 }
11267
11268
11269 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11270 PyObject *resultobj;
11271 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11272 PyObject * obj0 = 0 ;
11273 char *kwnames[] = {
11274 (char *) "self", NULL
11275 };
11276
11277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11279 if (SWIG_arg_fail(1)) SWIG_fail;
11280 {
11281 PyThreadState* __tstate = wxPyBeginAllowThreads();
11282 (arg1)->Redo();
11283
11284 wxPyEndAllowThreads(__tstate);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 }
11287 Py_INCREF(Py_None); resultobj = Py_None;
11288 return resultobj;
11289 fail:
11290 return NULL;
11291 }
11292
11293
11294 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11295 PyObject *resultobj;
11296 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11297 bool result;
11298 PyObject * obj0 = 0 ;
11299 char *kwnames[] = {
11300 (char *) "self", NULL
11301 };
11302
11303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11305 if (SWIG_arg_fail(1)) SWIG_fail;
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11309
11310 wxPyEndAllowThreads(__tstate);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
11313 {
11314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11315 }
11316 return resultobj;
11317 fail:
11318 return NULL;
11319 }
11320
11321
11322 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11323 PyObject *resultobj;
11324 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11325 bool result;
11326 PyObject * obj0 = 0 ;
11327 char *kwnames[] = {
11328 (char *) "self", NULL
11329 };
11330
11331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11333 if (SWIG_arg_fail(1)) SWIG_fail;
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 {
11342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11343 }
11344 return resultobj;
11345 fail:
11346 return NULL;
11347 }
11348
11349
11350 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11351 PyObject *resultobj;
11352 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11353 long arg2 ;
11354 PyObject * obj0 = 0 ;
11355 PyObject * obj1 = 0 ;
11356 char *kwnames[] = {
11357 (char *) "self",(char *) "pos", NULL
11358 };
11359
11360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11362 if (SWIG_arg_fail(1)) SWIG_fail;
11363 {
11364 arg2 = (long)(SWIG_As_long(obj1));
11365 if (SWIG_arg_fail(2)) SWIG_fail;
11366 }
11367 {
11368 PyThreadState* __tstate = wxPyBeginAllowThreads();
11369 (arg1)->SetInsertionPoint(arg2);
11370
11371 wxPyEndAllowThreads(__tstate);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 Py_INCREF(Py_None); resultobj = Py_None;
11375 return resultobj;
11376 fail:
11377 return NULL;
11378 }
11379
11380
11381 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11382 PyObject *resultobj;
11383 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11384 PyObject * obj0 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11391 if (SWIG_arg_fail(1)) SWIG_fail;
11392 {
11393 PyThreadState* __tstate = wxPyBeginAllowThreads();
11394 (arg1)->SetInsertionPointEnd();
11395
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 Py_INCREF(Py_None); resultobj = Py_None;
11400 return resultobj;
11401 fail:
11402 return NULL;
11403 }
11404
11405
11406 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11407 PyObject *resultobj;
11408 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11409 long result;
11410 PyObject * obj0 = 0 ;
11411 char *kwnames[] = {
11412 (char *) "self", NULL
11413 };
11414
11415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11417 if (SWIG_arg_fail(1)) SWIG_fail;
11418 {
11419 PyThreadState* __tstate = wxPyBeginAllowThreads();
11420 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11421
11422 wxPyEndAllowThreads(__tstate);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
11425 {
11426 resultobj = SWIG_From_long((long)(result));
11427 }
11428 return resultobj;
11429 fail:
11430 return NULL;
11431 }
11432
11433
11434 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11435 PyObject *resultobj;
11436 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11437 long result;
11438 PyObject * obj0 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11445 if (SWIG_arg_fail(1)) SWIG_fail;
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 {
11454 resultobj = SWIG_From_long((long)(result));
11455 }
11456 return resultobj;
11457 fail:
11458 return NULL;
11459 }
11460
11461
11462 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11463 PyObject *resultobj;
11464 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11465 long arg2 ;
11466 long arg3 ;
11467 PyObject * obj0 = 0 ;
11468 PyObject * obj1 = 0 ;
11469 PyObject * obj2 = 0 ;
11470 char *kwnames[] = {
11471 (char *) "self",(char *) "from",(char *) "to", NULL
11472 };
11473
11474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11476 if (SWIG_arg_fail(1)) SWIG_fail;
11477 {
11478 arg2 = (long)(SWIG_As_long(obj1));
11479 if (SWIG_arg_fail(2)) SWIG_fail;
11480 }
11481 {
11482 arg3 = (long)(SWIG_As_long(obj2));
11483 if (SWIG_arg_fail(3)) SWIG_fail;
11484 }
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 (arg1)->SetSelection(arg2,arg3);
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 Py_INCREF(Py_None); resultobj = Py_None;
11493 return resultobj;
11494 fail:
11495 return NULL;
11496 }
11497
11498
11499 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11500 PyObject *resultobj;
11501 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11502 PyObject * obj0 = 0 ;
11503 char *kwnames[] = {
11504 (char *) "self", NULL
11505 };
11506
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail;
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 (arg1)->SelectAll();
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 Py_INCREF(Py_None); resultobj = Py_None;
11518 return resultobj;
11519 fail:
11520 return NULL;
11521 }
11522
11523
11524 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11525 PyObject *resultobj;
11526 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11527 bool arg2 ;
11528 PyObject * obj0 = 0 ;
11529 PyObject * obj1 = 0 ;
11530 char *kwnames[] = {
11531 (char *) "self",(char *) "editable", NULL
11532 };
11533
11534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11536 if (SWIG_arg_fail(1)) SWIG_fail;
11537 {
11538 arg2 = (bool)(SWIG_As_bool(obj1));
11539 if (SWIG_arg_fail(2)) SWIG_fail;
11540 }
11541 {
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 (arg1)->SetEditable(arg2);
11544
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) SWIG_fail;
11547 }
11548 Py_INCREF(Py_None); resultobj = Py_None;
11549 return resultobj;
11550 fail:
11551 return NULL;
11552 }
11553
11554
11555 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj;
11557 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11558 wxString *arg2 = 0 ;
11559 bool temp2 = false ;
11560 PyObject * obj0 = 0 ;
11561 PyObject * obj1 = 0 ;
11562 char *kwnames[] = {
11563 (char *) "self",(char *) "text", NULL
11564 };
11565
11566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11568 if (SWIG_arg_fail(1)) SWIG_fail;
11569 {
11570 arg2 = wxString_in_helper(obj1);
11571 if (arg2 == NULL) SWIG_fail;
11572 temp2 = true;
11573 }
11574 {
11575 PyThreadState* __tstate = wxPyBeginAllowThreads();
11576 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11577
11578 wxPyEndAllowThreads(__tstate);
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
11581 Py_INCREF(Py_None); resultobj = Py_None;
11582 {
11583 if (temp2)
11584 delete arg2;
11585 }
11586 return resultobj;
11587 fail:
11588 {
11589 if (temp2)
11590 delete arg2;
11591 }
11592 return NULL;
11593 }
11594
11595
11596 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11597 PyObject *resultobj;
11598 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11599 long arg2 ;
11600 long arg3 ;
11601 wxString result;
11602 PyObject * obj0 = 0 ;
11603 PyObject * obj1 = 0 ;
11604 PyObject * obj2 = 0 ;
11605 char *kwnames[] = {
11606 (char *) "self",(char *) "from",(char *) "to", NULL
11607 };
11608
11609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11611 if (SWIG_arg_fail(1)) SWIG_fail;
11612 {
11613 arg2 = (long)(SWIG_As_long(obj1));
11614 if (SWIG_arg_fail(2)) SWIG_fail;
11615 }
11616 {
11617 arg3 = (long)(SWIG_As_long(obj2));
11618 if (SWIG_arg_fail(3)) SWIG_fail;
11619 }
11620 {
11621 PyThreadState* __tstate = wxPyBeginAllowThreads();
11622 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11623
11624 wxPyEndAllowThreads(__tstate);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 {
11628 #if wxUSE_UNICODE
11629 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11630 #else
11631 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11632 #endif
11633 }
11634 return resultobj;
11635 fail:
11636 return NULL;
11637 }
11638
11639
11640 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11641 PyObject *resultobj;
11642 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11643 wxVisualAttributes result;
11644 PyObject * obj0 = 0 ;
11645 char *kwnames[] = {
11646 (char *) "variant", NULL
11647 };
11648
11649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11650 if (obj0) {
11651 {
11652 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11653 if (SWIG_arg_fail(1)) SWIG_fail;
11654 }
11655 }
11656 {
11657 if (!wxPyCheckForApp()) SWIG_fail;
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11660
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 {
11665 wxVisualAttributes * resultptr;
11666 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
11667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11668 }
11669 return resultobj;
11670 fail:
11671 return NULL;
11672 }
11673
11674
11675 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11676 PyObject *obj;
11677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11679 Py_INCREF(obj);
11680 return Py_BuildValue((char *)"");
11681 }
11682 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj;
11684 int arg1 ;
11685 wxMouseEvent *arg2 = 0 ;
11686 long arg3 ;
11687 long arg4 ;
11688 wxTextUrlEvent *result;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 PyObject * obj2 = 0 ;
11692 PyObject * obj3 = 0 ;
11693 char *kwnames[] = {
11694 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11695 };
11696
11697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11698 {
11699 arg1 = (int)(SWIG_As_int(obj0));
11700 if (SWIG_arg_fail(1)) SWIG_fail;
11701 }
11702 {
11703 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11704 if (SWIG_arg_fail(2)) SWIG_fail;
11705 if (arg2 == NULL) {
11706 SWIG_null_ref("wxMouseEvent");
11707 }
11708 if (SWIG_arg_fail(2)) SWIG_fail;
11709 }
11710 {
11711 arg3 = (long)(SWIG_As_long(obj2));
11712 if (SWIG_arg_fail(3)) SWIG_fail;
11713 }
11714 {
11715 arg4 = (long)(SWIG_As_long(obj3));
11716 if (SWIG_arg_fail(4)) SWIG_fail;
11717 }
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11726 return resultobj;
11727 fail:
11728 return NULL;
11729 }
11730
11731
11732 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11733 PyObject *resultobj;
11734 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11735 wxMouseEvent *result;
11736 PyObject * obj0 = 0 ;
11737 char *kwnames[] = {
11738 (char *) "self", NULL
11739 };
11740
11741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11743 if (SWIG_arg_fail(1)) SWIG_fail;
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 {
11747 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11748 result = (wxMouseEvent *) &_result_ref;
11749 }
11750
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
11754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11755 return resultobj;
11756 fail:
11757 return NULL;
11758 }
11759
11760
11761 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11762 PyObject *resultobj;
11763 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11764 long result;
11765 PyObject * obj0 = 0 ;
11766 char *kwnames[] = {
11767 (char *) "self", NULL
11768 };
11769
11770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11772 if (SWIG_arg_fail(1)) SWIG_fail;
11773 {
11774 PyThreadState* __tstate = wxPyBeginAllowThreads();
11775 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11776
11777 wxPyEndAllowThreads(__tstate);
11778 if (PyErr_Occurred()) SWIG_fail;
11779 }
11780 {
11781 resultobj = SWIG_From_long((long)(result));
11782 }
11783 return resultobj;
11784 fail:
11785 return NULL;
11786 }
11787
11788
11789 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11790 PyObject *resultobj;
11791 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11792 long result;
11793 PyObject * obj0 = 0 ;
11794 char *kwnames[] = {
11795 (char *) "self", NULL
11796 };
11797
11798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11800 if (SWIG_arg_fail(1)) SWIG_fail;
11801 {
11802 PyThreadState* __tstate = wxPyBeginAllowThreads();
11803 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11804
11805 wxPyEndAllowThreads(__tstate);
11806 if (PyErr_Occurred()) SWIG_fail;
11807 }
11808 {
11809 resultobj = SWIG_From_long((long)(result));
11810 }
11811 return resultobj;
11812 fail:
11813 return NULL;
11814 }
11815
11816
11817 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11818 PyObject *obj;
11819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11820 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11821 Py_INCREF(obj);
11822 return Py_BuildValue((char *)"");
11823 }
11824 static int _wrap_ScrollBarNameStr_set(PyObject *) {
11825 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11826 return 1;
11827 }
11828
11829
11830 static PyObject *_wrap_ScrollBarNameStr_get(void) {
11831 PyObject *pyobj;
11832
11833 {
11834 #if wxUSE_UNICODE
11835 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11836 #else
11837 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11838 #endif
11839 }
11840 return pyobj;
11841 }
11842
11843
11844 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11845 PyObject *resultobj;
11846 wxWindow *arg1 = (wxWindow *) 0 ;
11847 int arg2 = (int) -1 ;
11848 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11849 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11850 wxSize const &arg4_defvalue = wxDefaultSize ;
11851 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11852 long arg5 = (long) wxSB_HORIZONTAL ;
11853 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11854 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11855 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11856 wxString *arg7 = (wxString *) &arg7_defvalue ;
11857 wxScrollBar *result;
11858 wxPoint temp3 ;
11859 wxSize temp4 ;
11860 bool temp7 = false ;
11861 PyObject * obj0 = 0 ;
11862 PyObject * obj1 = 0 ;
11863 PyObject * obj2 = 0 ;
11864 PyObject * obj3 = 0 ;
11865 PyObject * obj4 = 0 ;
11866 PyObject * obj5 = 0 ;
11867 PyObject * obj6 = 0 ;
11868 char *kwnames[] = {
11869 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11870 };
11871
11872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11874 if (SWIG_arg_fail(1)) SWIG_fail;
11875 if (obj1) {
11876 {
11877 arg2 = (int)(SWIG_As_int(obj1));
11878 if (SWIG_arg_fail(2)) SWIG_fail;
11879 }
11880 }
11881 if (obj2) {
11882 {
11883 arg3 = &temp3;
11884 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11885 }
11886 }
11887 if (obj3) {
11888 {
11889 arg4 = &temp4;
11890 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11891 }
11892 }
11893 if (obj4) {
11894 {
11895 arg5 = (long)(SWIG_As_long(obj4));
11896 if (SWIG_arg_fail(5)) SWIG_fail;
11897 }
11898 }
11899 if (obj5) {
11900 {
11901 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11902 if (SWIG_arg_fail(6)) SWIG_fail;
11903 if (arg6 == NULL) {
11904 SWIG_null_ref("wxValidator");
11905 }
11906 if (SWIG_arg_fail(6)) SWIG_fail;
11907 }
11908 }
11909 if (obj6) {
11910 {
11911 arg7 = wxString_in_helper(obj6);
11912 if (arg7 == NULL) SWIG_fail;
11913 temp7 = true;
11914 }
11915 }
11916 {
11917 if (!wxPyCheckForApp()) SWIG_fail;
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11920
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11925 {
11926 if (temp7)
11927 delete arg7;
11928 }
11929 return resultobj;
11930 fail:
11931 {
11932 if (temp7)
11933 delete arg7;
11934 }
11935 return NULL;
11936 }
11937
11938
11939 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj;
11941 wxScrollBar *result;
11942 char *kwnames[] = {
11943 NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11947 {
11948 if (!wxPyCheckForApp()) SWIG_fail;
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 result = (wxScrollBar *)new wxScrollBar();
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11956 return resultobj;
11957 fail:
11958 return NULL;
11959 }
11960
11961
11962 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11963 PyObject *resultobj;
11964 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11965 wxWindow *arg2 = (wxWindow *) 0 ;
11966 int arg3 = (int) -1 ;
11967 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11968 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11969 wxSize const &arg5_defvalue = wxDefaultSize ;
11970 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11971 long arg6 = (long) wxSB_HORIZONTAL ;
11972 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11973 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11974 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11975 wxString *arg8 = (wxString *) &arg8_defvalue ;
11976 bool result;
11977 wxPoint temp4 ;
11978 wxSize temp5 ;
11979 bool temp8 = false ;
11980 PyObject * obj0 = 0 ;
11981 PyObject * obj1 = 0 ;
11982 PyObject * obj2 = 0 ;
11983 PyObject * obj3 = 0 ;
11984 PyObject * obj4 = 0 ;
11985 PyObject * obj5 = 0 ;
11986 PyObject * obj6 = 0 ;
11987 PyObject * obj7 = 0 ;
11988 char *kwnames[] = {
11989 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11990 };
11991
11992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11994 if (SWIG_arg_fail(1)) SWIG_fail;
11995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11996 if (SWIG_arg_fail(2)) SWIG_fail;
11997 if (obj2) {
11998 {
11999 arg3 = (int)(SWIG_As_int(obj2));
12000 if (SWIG_arg_fail(3)) SWIG_fail;
12001 }
12002 }
12003 if (obj3) {
12004 {
12005 arg4 = &temp4;
12006 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12007 }
12008 }
12009 if (obj4) {
12010 {
12011 arg5 = &temp5;
12012 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12013 }
12014 }
12015 if (obj5) {
12016 {
12017 arg6 = (long)(SWIG_As_long(obj5));
12018 if (SWIG_arg_fail(6)) SWIG_fail;
12019 }
12020 }
12021 if (obj6) {
12022 {
12023 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12024 if (SWIG_arg_fail(7)) SWIG_fail;
12025 if (arg7 == NULL) {
12026 SWIG_null_ref("wxValidator");
12027 }
12028 if (SWIG_arg_fail(7)) SWIG_fail;
12029 }
12030 }
12031 if (obj7) {
12032 {
12033 arg8 = wxString_in_helper(obj7);
12034 if (arg8 == NULL) SWIG_fail;
12035 temp8 = true;
12036 }
12037 }
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12041
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 {
12046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12047 }
12048 {
12049 if (temp8)
12050 delete arg8;
12051 }
12052 return resultobj;
12053 fail:
12054 {
12055 if (temp8)
12056 delete arg8;
12057 }
12058 return NULL;
12059 }
12060
12061
12062 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj;
12064 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12065 int result;
12066 PyObject * obj0 = 0 ;
12067 char *kwnames[] = {
12068 (char *) "self", NULL
12069 };
12070
12071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12073 if (SWIG_arg_fail(1)) SWIG_fail;
12074 {
12075 PyThreadState* __tstate = wxPyBeginAllowThreads();
12076 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12077
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 {
12082 resultobj = SWIG_From_int((int)(result));
12083 }
12084 return resultobj;
12085 fail:
12086 return NULL;
12087 }
12088
12089
12090 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12091 PyObject *resultobj;
12092 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12093 int result;
12094 PyObject * obj0 = 0 ;
12095 char *kwnames[] = {
12096 (char *) "self", NULL
12097 };
12098
12099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12101 if (SWIG_arg_fail(1)) SWIG_fail;
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12105
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 }
12109 {
12110 resultobj = SWIG_From_int((int)(result));
12111 }
12112 return resultobj;
12113 fail:
12114 return NULL;
12115 }
12116
12117
12118 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj;
12120 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12121 int result;
12122 PyObject * obj0 = 0 ;
12123 char *kwnames[] = {
12124 (char *) "self", NULL
12125 };
12126
12127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12129 if (SWIG_arg_fail(1)) SWIG_fail;
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12133
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
12137 {
12138 resultobj = SWIG_From_int((int)(result));
12139 }
12140 return resultobj;
12141 fail:
12142 return NULL;
12143 }
12144
12145
12146 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj;
12148 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12149 int result;
12150 PyObject * obj0 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12157 if (SWIG_arg_fail(1)) SWIG_fail;
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 result = (int)((wxScrollBar const *)arg1)->GetRange();
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 {
12166 resultobj = SWIG_From_int((int)(result));
12167 }
12168 return resultobj;
12169 fail:
12170 return NULL;
12171 }
12172
12173
12174 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12175 PyObject *resultobj;
12176 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12177 bool result;
12178 PyObject * obj0 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12185 if (SWIG_arg_fail(1)) SWIG_fail;
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12189
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 {
12194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12195 }
12196 return resultobj;
12197 fail:
12198 return NULL;
12199 }
12200
12201
12202 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12203 PyObject *resultobj;
12204 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12205 int arg2 ;
12206 PyObject * obj0 = 0 ;
12207 PyObject * obj1 = 0 ;
12208 char *kwnames[] = {
12209 (char *) "self",(char *) "viewStart", NULL
12210 };
12211
12212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12214 if (SWIG_arg_fail(1)) SWIG_fail;
12215 {
12216 arg2 = (int)(SWIG_As_int(obj1));
12217 if (SWIG_arg_fail(2)) SWIG_fail;
12218 }
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 (arg1)->SetThumbPosition(arg2);
12222
12223 wxPyEndAllowThreads(__tstate);
12224 if (PyErr_Occurred()) SWIG_fail;
12225 }
12226 Py_INCREF(Py_None); resultobj = Py_None;
12227 return resultobj;
12228 fail:
12229 return NULL;
12230 }
12231
12232
12233 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12234 PyObject *resultobj;
12235 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12236 int arg2 ;
12237 int arg3 ;
12238 int arg4 ;
12239 int arg5 ;
12240 bool arg6 = (bool) true ;
12241 PyObject * obj0 = 0 ;
12242 PyObject * obj1 = 0 ;
12243 PyObject * obj2 = 0 ;
12244 PyObject * obj3 = 0 ;
12245 PyObject * obj4 = 0 ;
12246 PyObject * obj5 = 0 ;
12247 char *kwnames[] = {
12248 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12249 };
12250
12251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12253 if (SWIG_arg_fail(1)) SWIG_fail;
12254 {
12255 arg2 = (int)(SWIG_As_int(obj1));
12256 if (SWIG_arg_fail(2)) SWIG_fail;
12257 }
12258 {
12259 arg3 = (int)(SWIG_As_int(obj2));
12260 if (SWIG_arg_fail(3)) SWIG_fail;
12261 }
12262 {
12263 arg4 = (int)(SWIG_As_int(obj3));
12264 if (SWIG_arg_fail(4)) SWIG_fail;
12265 }
12266 {
12267 arg5 = (int)(SWIG_As_int(obj4));
12268 if (SWIG_arg_fail(5)) SWIG_fail;
12269 }
12270 if (obj5) {
12271 {
12272 arg6 = (bool)(SWIG_As_bool(obj5));
12273 if (SWIG_arg_fail(6)) SWIG_fail;
12274 }
12275 }
12276 {
12277 PyThreadState* __tstate = wxPyBeginAllowThreads();
12278 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12279
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
12283 Py_INCREF(Py_None); resultobj = Py_None;
12284 return resultobj;
12285 fail:
12286 return NULL;
12287 }
12288
12289
12290 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12291 PyObject *resultobj;
12292 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12293 wxVisualAttributes result;
12294 PyObject * obj0 = 0 ;
12295 char *kwnames[] = {
12296 (char *) "variant", NULL
12297 };
12298
12299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12300 if (obj0) {
12301 {
12302 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12303 if (SWIG_arg_fail(1)) SWIG_fail;
12304 }
12305 }
12306 {
12307 if (!wxPyCheckForApp()) SWIG_fail;
12308 PyThreadState* __tstate = wxPyBeginAllowThreads();
12309 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12310
12311 wxPyEndAllowThreads(__tstate);
12312 if (PyErr_Occurred()) SWIG_fail;
12313 }
12314 {
12315 wxVisualAttributes * resultptr;
12316 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12317 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12318 }
12319 return resultobj;
12320 fail:
12321 return NULL;
12322 }
12323
12324
12325 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12326 PyObject *obj;
12327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12328 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12329 Py_INCREF(obj);
12330 return Py_BuildValue((char *)"");
12331 }
12332 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12333 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12334 return 1;
12335 }
12336
12337
12338 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12339 PyObject *pyobj;
12340
12341 {
12342 #if wxUSE_UNICODE
12343 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12344 #else
12345 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12346 #endif
12347 }
12348 return pyobj;
12349 }
12350
12351
12352 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12353 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12354 return 1;
12355 }
12356
12357
12358 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12359 PyObject *pyobj;
12360
12361 {
12362 #if wxUSE_UNICODE
12363 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12364 #else
12365 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12366 #endif
12367 }
12368 return pyobj;
12369 }
12370
12371
12372 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12373 PyObject *resultobj;
12374 wxWindow *arg1 = (wxWindow *) 0 ;
12375 int arg2 = (int) -1 ;
12376 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12377 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12378 wxSize const &arg4_defvalue = wxDefaultSize ;
12379 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12380 long arg5 = (long) wxSP_HORIZONTAL ;
12381 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12382 wxString *arg6 = (wxString *) &arg6_defvalue ;
12383 wxSpinButton *result;
12384 wxPoint temp3 ;
12385 wxSize temp4 ;
12386 bool temp6 = false ;
12387 PyObject * obj0 = 0 ;
12388 PyObject * obj1 = 0 ;
12389 PyObject * obj2 = 0 ;
12390 PyObject * obj3 = 0 ;
12391 PyObject * obj4 = 0 ;
12392 PyObject * obj5 = 0 ;
12393 char *kwnames[] = {
12394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12395 };
12396
12397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12399 if (SWIG_arg_fail(1)) SWIG_fail;
12400 if (obj1) {
12401 {
12402 arg2 = (int)(SWIG_As_int(obj1));
12403 if (SWIG_arg_fail(2)) SWIG_fail;
12404 }
12405 }
12406 if (obj2) {
12407 {
12408 arg3 = &temp3;
12409 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12410 }
12411 }
12412 if (obj3) {
12413 {
12414 arg4 = &temp4;
12415 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12416 }
12417 }
12418 if (obj4) {
12419 {
12420 arg5 = (long)(SWIG_As_long(obj4));
12421 if (SWIG_arg_fail(5)) SWIG_fail;
12422 }
12423 }
12424 if (obj5) {
12425 {
12426 arg6 = wxString_in_helper(obj5);
12427 if (arg6 == NULL) SWIG_fail;
12428 temp6 = true;
12429 }
12430 }
12431 {
12432 if (!wxPyCheckForApp()) SWIG_fail;
12433 PyThreadState* __tstate = wxPyBeginAllowThreads();
12434 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12435
12436 wxPyEndAllowThreads(__tstate);
12437 if (PyErr_Occurred()) SWIG_fail;
12438 }
12439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12440 {
12441 if (temp6)
12442 delete arg6;
12443 }
12444 return resultobj;
12445 fail:
12446 {
12447 if (temp6)
12448 delete arg6;
12449 }
12450 return NULL;
12451 }
12452
12453
12454 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12455 PyObject *resultobj;
12456 wxSpinButton *result;
12457 char *kwnames[] = {
12458 NULL
12459 };
12460
12461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12462 {
12463 if (!wxPyCheckForApp()) SWIG_fail;
12464 PyThreadState* __tstate = wxPyBeginAllowThreads();
12465 result = (wxSpinButton *)new wxSpinButton();
12466
12467 wxPyEndAllowThreads(__tstate);
12468 if (PyErr_Occurred()) SWIG_fail;
12469 }
12470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12471 return resultobj;
12472 fail:
12473 return NULL;
12474 }
12475
12476
12477 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12478 PyObject *resultobj;
12479 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12480 wxWindow *arg2 = (wxWindow *) 0 ;
12481 int arg3 = (int) -1 ;
12482 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12483 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12484 wxSize const &arg5_defvalue = wxDefaultSize ;
12485 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12486 long arg6 = (long) wxSP_HORIZONTAL ;
12487 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12488 wxString *arg7 = (wxString *) &arg7_defvalue ;
12489 bool result;
12490 wxPoint temp4 ;
12491 wxSize temp5 ;
12492 bool temp7 = false ;
12493 PyObject * obj0 = 0 ;
12494 PyObject * obj1 = 0 ;
12495 PyObject * obj2 = 0 ;
12496 PyObject * obj3 = 0 ;
12497 PyObject * obj4 = 0 ;
12498 PyObject * obj5 = 0 ;
12499 PyObject * obj6 = 0 ;
12500 char *kwnames[] = {
12501 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12502 };
12503
12504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12506 if (SWIG_arg_fail(1)) SWIG_fail;
12507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12508 if (SWIG_arg_fail(2)) SWIG_fail;
12509 if (obj2) {
12510 {
12511 arg3 = (int)(SWIG_As_int(obj2));
12512 if (SWIG_arg_fail(3)) SWIG_fail;
12513 }
12514 }
12515 if (obj3) {
12516 {
12517 arg4 = &temp4;
12518 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12519 }
12520 }
12521 if (obj4) {
12522 {
12523 arg5 = &temp5;
12524 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12525 }
12526 }
12527 if (obj5) {
12528 {
12529 arg6 = (long)(SWIG_As_long(obj5));
12530 if (SWIG_arg_fail(6)) SWIG_fail;
12531 }
12532 }
12533 if (obj6) {
12534 {
12535 arg7 = wxString_in_helper(obj6);
12536 if (arg7 == NULL) SWIG_fail;
12537 temp7 = true;
12538 }
12539 }
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 }
12547 {
12548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12549 }
12550 {
12551 if (temp7)
12552 delete arg7;
12553 }
12554 return resultobj;
12555 fail:
12556 {
12557 if (temp7)
12558 delete arg7;
12559 }
12560 return NULL;
12561 }
12562
12563
12564 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12565 PyObject *resultobj;
12566 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12567 int result;
12568 PyObject * obj0 = 0 ;
12569 char *kwnames[] = {
12570 (char *) "self", NULL
12571 };
12572
12573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12575 if (SWIG_arg_fail(1)) SWIG_fail;
12576 {
12577 PyThreadState* __tstate = wxPyBeginAllowThreads();
12578 result = (int)((wxSpinButton const *)arg1)->GetValue();
12579
12580 wxPyEndAllowThreads(__tstate);
12581 if (PyErr_Occurred()) SWIG_fail;
12582 }
12583 {
12584 resultobj = SWIG_From_int((int)(result));
12585 }
12586 return resultobj;
12587 fail:
12588 return NULL;
12589 }
12590
12591
12592 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12593 PyObject *resultobj;
12594 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12595 int result;
12596 PyObject * obj0 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "self", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12603 if (SWIG_arg_fail(1)) SWIG_fail;
12604 {
12605 PyThreadState* __tstate = wxPyBeginAllowThreads();
12606 result = (int)((wxSpinButton const *)arg1)->GetMin();
12607
12608 wxPyEndAllowThreads(__tstate);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 }
12611 {
12612 resultobj = SWIG_From_int((int)(result));
12613 }
12614 return resultobj;
12615 fail:
12616 return NULL;
12617 }
12618
12619
12620 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12621 PyObject *resultobj;
12622 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12623 int result;
12624 PyObject * obj0 = 0 ;
12625 char *kwnames[] = {
12626 (char *) "self", NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12631 if (SWIG_arg_fail(1)) SWIG_fail;
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (int)((wxSpinButton const *)arg1)->GetMax();
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 {
12640 resultobj = SWIG_From_int((int)(result));
12641 }
12642 return resultobj;
12643 fail:
12644 return NULL;
12645 }
12646
12647
12648 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12649 PyObject *resultobj;
12650 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12651 int arg2 ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 char *kwnames[] = {
12655 (char *) "self",(char *) "val", NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12660 if (SWIG_arg_fail(1)) SWIG_fail;
12661 {
12662 arg2 = (int)(SWIG_As_int(obj1));
12663 if (SWIG_arg_fail(2)) SWIG_fail;
12664 }
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->SetValue(arg2);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 Py_INCREF(Py_None); resultobj = Py_None;
12673 return resultobj;
12674 fail:
12675 return NULL;
12676 }
12677
12678
12679 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj;
12681 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12682 int arg2 ;
12683 PyObject * obj0 = 0 ;
12684 PyObject * obj1 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "self",(char *) "minVal", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail;
12692 {
12693 arg2 = (int)(SWIG_As_int(obj1));
12694 if (SWIG_arg_fail(2)) SWIG_fail;
12695 }
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 (arg1)->SetMin(arg2);
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 Py_INCREF(Py_None); resultobj = Py_None;
12704 return resultobj;
12705 fail:
12706 return NULL;
12707 }
12708
12709
12710 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12711 PyObject *resultobj;
12712 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12713 int arg2 ;
12714 PyObject * obj0 = 0 ;
12715 PyObject * obj1 = 0 ;
12716 char *kwnames[] = {
12717 (char *) "self",(char *) "maxVal", NULL
12718 };
12719
12720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12722 if (SWIG_arg_fail(1)) SWIG_fail;
12723 {
12724 arg2 = (int)(SWIG_As_int(obj1));
12725 if (SWIG_arg_fail(2)) SWIG_fail;
12726 }
12727 {
12728 PyThreadState* __tstate = wxPyBeginAllowThreads();
12729 (arg1)->SetMax(arg2);
12730
12731 wxPyEndAllowThreads(__tstate);
12732 if (PyErr_Occurred()) SWIG_fail;
12733 }
12734 Py_INCREF(Py_None); resultobj = Py_None;
12735 return resultobj;
12736 fail:
12737 return NULL;
12738 }
12739
12740
12741 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12742 PyObject *resultobj;
12743 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12744 int arg2 ;
12745 int arg3 ;
12746 PyObject * obj0 = 0 ;
12747 PyObject * obj1 = 0 ;
12748 PyObject * obj2 = 0 ;
12749 char *kwnames[] = {
12750 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12751 };
12752
12753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12755 if (SWIG_arg_fail(1)) SWIG_fail;
12756 {
12757 arg2 = (int)(SWIG_As_int(obj1));
12758 if (SWIG_arg_fail(2)) SWIG_fail;
12759 }
12760 {
12761 arg3 = (int)(SWIG_As_int(obj2));
12762 if (SWIG_arg_fail(3)) SWIG_fail;
12763 }
12764 {
12765 PyThreadState* __tstate = wxPyBeginAllowThreads();
12766 (arg1)->SetRange(arg2,arg3);
12767
12768 wxPyEndAllowThreads(__tstate);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 }
12771 Py_INCREF(Py_None); resultobj = Py_None;
12772 return resultobj;
12773 fail:
12774 return NULL;
12775 }
12776
12777
12778 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12779 PyObject *resultobj;
12780 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12781 bool result;
12782 PyObject * obj0 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "self", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12789 if (SWIG_arg_fail(1)) SWIG_fail;
12790 {
12791 PyThreadState* __tstate = wxPyBeginAllowThreads();
12792 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12793
12794 wxPyEndAllowThreads(__tstate);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 {
12798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12799 }
12800 return resultobj;
12801 fail:
12802 return NULL;
12803 }
12804
12805
12806 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj;
12808 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12809 wxVisualAttributes result;
12810 PyObject * obj0 = 0 ;
12811 char *kwnames[] = {
12812 (char *) "variant", NULL
12813 };
12814
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12816 if (obj0) {
12817 {
12818 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12819 if (SWIG_arg_fail(1)) SWIG_fail;
12820 }
12821 }
12822 {
12823 if (!wxPyCheckForApp()) SWIG_fail;
12824 PyThreadState* __tstate = wxPyBeginAllowThreads();
12825 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12826
12827 wxPyEndAllowThreads(__tstate);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 }
12830 {
12831 wxVisualAttributes * resultptr;
12832 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12833 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12834 }
12835 return resultobj;
12836 fail:
12837 return NULL;
12838 }
12839
12840
12841 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12842 PyObject *obj;
12843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12844 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12845 Py_INCREF(obj);
12846 return Py_BuildValue((char *)"");
12847 }
12848 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12849 PyObject *resultobj;
12850 wxWindow *arg1 = (wxWindow *) 0 ;
12851 int arg2 = (int) -1 ;
12852 wxString const &arg3_defvalue = wxPyEmptyString ;
12853 wxString *arg3 = (wxString *) &arg3_defvalue ;
12854 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12855 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12856 wxSize const &arg5_defvalue = wxDefaultSize ;
12857 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12858 long arg6 = (long) wxSP_ARROW_KEYS ;
12859 int arg7 = (int) 0 ;
12860 int arg8 = (int) 100 ;
12861 int arg9 = (int) 0 ;
12862 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12863 wxString *arg10 = (wxString *) &arg10_defvalue ;
12864 wxSpinCtrl *result;
12865 bool temp3 = false ;
12866 wxPoint temp4 ;
12867 wxSize temp5 ;
12868 bool temp10 = false ;
12869 PyObject * obj0 = 0 ;
12870 PyObject * obj1 = 0 ;
12871 PyObject * obj2 = 0 ;
12872 PyObject * obj3 = 0 ;
12873 PyObject * obj4 = 0 ;
12874 PyObject * obj5 = 0 ;
12875 PyObject * obj6 = 0 ;
12876 PyObject * obj7 = 0 ;
12877 PyObject * obj8 = 0 ;
12878 PyObject * obj9 = 0 ;
12879 char *kwnames[] = {
12880 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12881 };
12882
12883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12885 if (SWIG_arg_fail(1)) SWIG_fail;
12886 if (obj1) {
12887 {
12888 arg2 = (int)(SWIG_As_int(obj1));
12889 if (SWIG_arg_fail(2)) SWIG_fail;
12890 }
12891 }
12892 if (obj2) {
12893 {
12894 arg3 = wxString_in_helper(obj2);
12895 if (arg3 == NULL) SWIG_fail;
12896 temp3 = true;
12897 }
12898 }
12899 if (obj3) {
12900 {
12901 arg4 = &temp4;
12902 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12903 }
12904 }
12905 if (obj4) {
12906 {
12907 arg5 = &temp5;
12908 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12909 }
12910 }
12911 if (obj5) {
12912 {
12913 arg6 = (long)(SWIG_As_long(obj5));
12914 if (SWIG_arg_fail(6)) SWIG_fail;
12915 }
12916 }
12917 if (obj6) {
12918 {
12919 arg7 = (int)(SWIG_As_int(obj6));
12920 if (SWIG_arg_fail(7)) SWIG_fail;
12921 }
12922 }
12923 if (obj7) {
12924 {
12925 arg8 = (int)(SWIG_As_int(obj7));
12926 if (SWIG_arg_fail(8)) SWIG_fail;
12927 }
12928 }
12929 if (obj8) {
12930 {
12931 arg9 = (int)(SWIG_As_int(obj8));
12932 if (SWIG_arg_fail(9)) SWIG_fail;
12933 }
12934 }
12935 if (obj9) {
12936 {
12937 arg10 = wxString_in_helper(obj9);
12938 if (arg10 == NULL) SWIG_fail;
12939 temp10 = true;
12940 }
12941 }
12942 {
12943 if (!wxPyCheckForApp()) SWIG_fail;
12944 PyThreadState* __tstate = wxPyBeginAllowThreads();
12945 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12946
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12951 {
12952 if (temp3)
12953 delete arg3;
12954 }
12955 {
12956 if (temp10)
12957 delete arg10;
12958 }
12959 return resultobj;
12960 fail:
12961 {
12962 if (temp3)
12963 delete arg3;
12964 }
12965 {
12966 if (temp10)
12967 delete arg10;
12968 }
12969 return NULL;
12970 }
12971
12972
12973 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj;
12975 wxSpinCtrl *result;
12976 char *kwnames[] = {
12977 NULL
12978 };
12979
12980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12981 {
12982 if (!wxPyCheckForApp()) SWIG_fail;
12983 PyThreadState* __tstate = wxPyBeginAllowThreads();
12984 result = (wxSpinCtrl *)new wxSpinCtrl();
12985
12986 wxPyEndAllowThreads(__tstate);
12987 if (PyErr_Occurred()) SWIG_fail;
12988 }
12989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12990 return resultobj;
12991 fail:
12992 return NULL;
12993 }
12994
12995
12996 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12997 PyObject *resultobj;
12998 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12999 wxWindow *arg2 = (wxWindow *) 0 ;
13000 int arg3 = (int) -1 ;
13001 wxString const &arg4_defvalue = wxPyEmptyString ;
13002 wxString *arg4 = (wxString *) &arg4_defvalue ;
13003 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13004 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13005 wxSize const &arg6_defvalue = wxDefaultSize ;
13006 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13007 long arg7 = (long) wxSP_ARROW_KEYS ;
13008 int arg8 = (int) 0 ;
13009 int arg9 = (int) 100 ;
13010 int arg10 = (int) 0 ;
13011 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
13012 wxString *arg11 = (wxString *) &arg11_defvalue ;
13013 bool result;
13014 bool temp4 = false ;
13015 wxPoint temp5 ;
13016 wxSize temp6 ;
13017 bool temp11 = false ;
13018 PyObject * obj0 = 0 ;
13019 PyObject * obj1 = 0 ;
13020 PyObject * obj2 = 0 ;
13021 PyObject * obj3 = 0 ;
13022 PyObject * obj4 = 0 ;
13023 PyObject * obj5 = 0 ;
13024 PyObject * obj6 = 0 ;
13025 PyObject * obj7 = 0 ;
13026 PyObject * obj8 = 0 ;
13027 PyObject * obj9 = 0 ;
13028 PyObject * obj10 = 0 ;
13029 char *kwnames[] = {
13030 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13031 };
13032
13033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13035 if (SWIG_arg_fail(1)) SWIG_fail;
13036 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13037 if (SWIG_arg_fail(2)) SWIG_fail;
13038 if (obj2) {
13039 {
13040 arg3 = (int)(SWIG_As_int(obj2));
13041 if (SWIG_arg_fail(3)) SWIG_fail;
13042 }
13043 }
13044 if (obj3) {
13045 {
13046 arg4 = wxString_in_helper(obj3);
13047 if (arg4 == NULL) SWIG_fail;
13048 temp4 = true;
13049 }
13050 }
13051 if (obj4) {
13052 {
13053 arg5 = &temp5;
13054 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13055 }
13056 }
13057 if (obj5) {
13058 {
13059 arg6 = &temp6;
13060 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13061 }
13062 }
13063 if (obj6) {
13064 {
13065 arg7 = (long)(SWIG_As_long(obj6));
13066 if (SWIG_arg_fail(7)) SWIG_fail;
13067 }
13068 }
13069 if (obj7) {
13070 {
13071 arg8 = (int)(SWIG_As_int(obj7));
13072 if (SWIG_arg_fail(8)) SWIG_fail;
13073 }
13074 }
13075 if (obj8) {
13076 {
13077 arg9 = (int)(SWIG_As_int(obj8));
13078 if (SWIG_arg_fail(9)) SWIG_fail;
13079 }
13080 }
13081 if (obj9) {
13082 {
13083 arg10 = (int)(SWIG_As_int(obj9));
13084 if (SWIG_arg_fail(10)) SWIG_fail;
13085 }
13086 }
13087 if (obj10) {
13088 {
13089 arg11 = wxString_in_helper(obj10);
13090 if (arg11 == NULL) SWIG_fail;
13091 temp11 = true;
13092 }
13093 }
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 {
13102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13103 }
13104 {
13105 if (temp4)
13106 delete arg4;
13107 }
13108 {
13109 if (temp11)
13110 delete arg11;
13111 }
13112 return resultobj;
13113 fail:
13114 {
13115 if (temp4)
13116 delete arg4;
13117 }
13118 {
13119 if (temp11)
13120 delete arg11;
13121 }
13122 return NULL;
13123 }
13124
13125
13126 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13129 int result;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13137 if (SWIG_arg_fail(1)) SWIG_fail;
13138 {
13139 PyThreadState* __tstate = wxPyBeginAllowThreads();
13140 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13141
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
13145 {
13146 resultobj = SWIG_From_int((int)(result));
13147 }
13148 return resultobj;
13149 fail:
13150 return NULL;
13151 }
13152
13153
13154 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13155 PyObject *resultobj;
13156 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13157 int arg2 ;
13158 PyObject * obj0 = 0 ;
13159 PyObject * obj1 = 0 ;
13160 char *kwnames[] = {
13161 (char *) "self",(char *) "value", NULL
13162 };
13163
13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13166 if (SWIG_arg_fail(1)) SWIG_fail;
13167 {
13168 arg2 = (int)(SWIG_As_int(obj1));
13169 if (SWIG_arg_fail(2)) SWIG_fail;
13170 }
13171 {
13172 PyThreadState* __tstate = wxPyBeginAllowThreads();
13173 (arg1)->SetValue(arg2);
13174
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
13178 Py_INCREF(Py_None); resultobj = Py_None;
13179 return resultobj;
13180 fail:
13181 return NULL;
13182 }
13183
13184
13185 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13186 PyObject *resultobj;
13187 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13188 wxString *arg2 = 0 ;
13189 bool temp2 = false ;
13190 PyObject * obj0 = 0 ;
13191 PyObject * obj1 = 0 ;
13192 char *kwnames[] = {
13193 (char *) "self",(char *) "text", NULL
13194 };
13195
13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13198 if (SWIG_arg_fail(1)) SWIG_fail;
13199 {
13200 arg2 = wxString_in_helper(obj1);
13201 if (arg2 == NULL) SWIG_fail;
13202 temp2 = true;
13203 }
13204 {
13205 PyThreadState* __tstate = wxPyBeginAllowThreads();
13206 (arg1)->SetValue((wxString const &)*arg2);
13207
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 Py_INCREF(Py_None); resultobj = Py_None;
13212 {
13213 if (temp2)
13214 delete arg2;
13215 }
13216 return resultobj;
13217 fail:
13218 {
13219 if (temp2)
13220 delete arg2;
13221 }
13222 return NULL;
13223 }
13224
13225
13226 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13227 PyObject *resultobj;
13228 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13229 int arg2 ;
13230 int arg3 ;
13231 PyObject * obj0 = 0 ;
13232 PyObject * obj1 = 0 ;
13233 PyObject * obj2 = 0 ;
13234 char *kwnames[] = {
13235 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13240 if (SWIG_arg_fail(1)) SWIG_fail;
13241 {
13242 arg2 = (int)(SWIG_As_int(obj1));
13243 if (SWIG_arg_fail(2)) SWIG_fail;
13244 }
13245 {
13246 arg3 = (int)(SWIG_As_int(obj2));
13247 if (SWIG_arg_fail(3)) SWIG_fail;
13248 }
13249 {
13250 PyThreadState* __tstate = wxPyBeginAllowThreads();
13251 (arg1)->SetRange(arg2,arg3);
13252
13253 wxPyEndAllowThreads(__tstate);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 Py_INCREF(Py_None); resultobj = Py_None;
13257 return resultobj;
13258 fail:
13259 return NULL;
13260 }
13261
13262
13263 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13264 PyObject *resultobj;
13265 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13266 int result;
13267 PyObject * obj0 = 0 ;
13268 char *kwnames[] = {
13269 (char *) "self", NULL
13270 };
13271
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail;
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 {
13283 resultobj = SWIG_From_int((int)(result));
13284 }
13285 return resultobj;
13286 fail:
13287 return NULL;
13288 }
13289
13290
13291 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13292 PyObject *resultobj;
13293 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13294 int result;
13295 PyObject * obj0 = 0 ;
13296 char *kwnames[] = {
13297 (char *) "self", NULL
13298 };
13299
13300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13302 if (SWIG_arg_fail(1)) SWIG_fail;
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
13305 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13306
13307 wxPyEndAllowThreads(__tstate);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 }
13310 {
13311 resultobj = SWIG_From_int((int)(result));
13312 }
13313 return resultobj;
13314 fail:
13315 return NULL;
13316 }
13317
13318
13319 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13320 PyObject *resultobj;
13321 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13322 long arg2 ;
13323 long arg3 ;
13324 PyObject * obj0 = 0 ;
13325 PyObject * obj1 = 0 ;
13326 PyObject * obj2 = 0 ;
13327 char *kwnames[] = {
13328 (char *) "self",(char *) "from",(char *) "to", NULL
13329 };
13330
13331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13333 if (SWIG_arg_fail(1)) SWIG_fail;
13334 {
13335 arg2 = (long)(SWIG_As_long(obj1));
13336 if (SWIG_arg_fail(2)) SWIG_fail;
13337 }
13338 {
13339 arg3 = (long)(SWIG_As_long(obj2));
13340 if (SWIG_arg_fail(3)) SWIG_fail;
13341 }
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 (arg1)->SetSelection(arg2,arg3);
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 Py_INCREF(Py_None); resultobj = Py_None;
13350 return resultobj;
13351 fail:
13352 return NULL;
13353 }
13354
13355
13356 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj;
13358 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13359 wxVisualAttributes result;
13360 PyObject * obj0 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "variant", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13366 if (obj0) {
13367 {
13368 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13369 if (SWIG_arg_fail(1)) SWIG_fail;
13370 }
13371 }
13372 {
13373 if (!wxPyCheckForApp()) SWIG_fail;
13374 PyThreadState* __tstate = wxPyBeginAllowThreads();
13375 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13376
13377 wxPyEndAllowThreads(__tstate);
13378 if (PyErr_Occurred()) SWIG_fail;
13379 }
13380 {
13381 wxVisualAttributes * resultptr;
13382 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
13383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13384 }
13385 return resultobj;
13386 fail:
13387 return NULL;
13388 }
13389
13390
13391 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13392 PyObject *obj;
13393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13394 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13395 Py_INCREF(obj);
13396 return Py_BuildValue((char *)"");
13397 }
13398 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13399 PyObject *resultobj;
13400 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13401 int arg2 = (int) 0 ;
13402 wxSpinEvent *result;
13403 PyObject * obj0 = 0 ;
13404 PyObject * obj1 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "commandType",(char *) "winid", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13410 if (obj0) {
13411 {
13412 arg1 = (wxEventType)(SWIG_As_int(obj0));
13413 if (SWIG_arg_fail(1)) SWIG_fail;
13414 }
13415 }
13416 if (obj1) {
13417 {
13418 arg2 = (int)(SWIG_As_int(obj1));
13419 if (SWIG_arg_fail(2)) SWIG_fail;
13420 }
13421 }
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13425
13426 wxPyEndAllowThreads(__tstate);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 }
13429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13430 return resultobj;
13431 fail:
13432 return NULL;
13433 }
13434
13435
13436 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13437 PyObject *resultobj;
13438 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13439 int result;
13440 PyObject * obj0 = 0 ;
13441 char *kwnames[] = {
13442 (char *) "self", NULL
13443 };
13444
13445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13447 if (SWIG_arg_fail(1)) SWIG_fail;
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 {
13456 resultobj = SWIG_From_int((int)(result));
13457 }
13458 return resultobj;
13459 fail:
13460 return NULL;
13461 }
13462
13463
13464 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj;
13466 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13467 int arg2 ;
13468 PyObject * obj0 = 0 ;
13469 PyObject * obj1 = 0 ;
13470 char *kwnames[] = {
13471 (char *) "self",(char *) "pos", NULL
13472 };
13473
13474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13476 if (SWIG_arg_fail(1)) SWIG_fail;
13477 {
13478 arg2 = (int)(SWIG_As_int(obj1));
13479 if (SWIG_arg_fail(2)) SWIG_fail;
13480 }
13481 {
13482 PyThreadState* __tstate = wxPyBeginAllowThreads();
13483 (arg1)->SetPosition(arg2);
13484
13485 wxPyEndAllowThreads(__tstate);
13486 if (PyErr_Occurred()) SWIG_fail;
13487 }
13488 Py_INCREF(Py_None); resultobj = Py_None;
13489 return resultobj;
13490 fail:
13491 return NULL;
13492 }
13493
13494
13495 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13496 PyObject *obj;
13497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13498 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13499 Py_INCREF(obj);
13500 return Py_BuildValue((char *)"");
13501 }
13502 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13503 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13504 return 1;
13505 }
13506
13507
13508 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13509 PyObject *pyobj;
13510
13511 {
13512 #if wxUSE_UNICODE
13513 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13514 #else
13515 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13516 #endif
13517 }
13518 return pyobj;
13519 }
13520
13521
13522 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13523 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13524 return 1;
13525 }
13526
13527
13528 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13529 PyObject *pyobj;
13530
13531 {
13532 #if wxUSE_UNICODE
13533 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13534 #else
13535 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13536 #endif
13537 }
13538 return pyobj;
13539 }
13540
13541
13542 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13543 PyObject *resultobj;
13544 wxWindow *arg1 = (wxWindow *) 0 ;
13545 int arg2 = (int) -1 ;
13546 wxString const &arg3_defvalue = wxPyEmptyString ;
13547 wxString *arg3 = (wxString *) &arg3_defvalue ;
13548 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13549 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13550 wxSize const &arg5_defvalue = wxDefaultSize ;
13551 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13552 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13553 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13554 int arg7 = (int) 0 ;
13555 long arg8 = (long) wxRA_HORIZONTAL ;
13556 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13557 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13558 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13559 wxString *arg10 = (wxString *) &arg10_defvalue ;
13560 wxRadioBox *result;
13561 bool temp3 = false ;
13562 wxPoint temp4 ;
13563 wxSize temp5 ;
13564 bool temp6 = false ;
13565 bool temp10 = false ;
13566 PyObject * obj0 = 0 ;
13567 PyObject * obj1 = 0 ;
13568 PyObject * obj2 = 0 ;
13569 PyObject * obj3 = 0 ;
13570 PyObject * obj4 = 0 ;
13571 PyObject * obj5 = 0 ;
13572 PyObject * obj6 = 0 ;
13573 PyObject * obj7 = 0 ;
13574 PyObject * obj8 = 0 ;
13575 PyObject * obj9 = 0 ;
13576 char *kwnames[] = {
13577 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13578 };
13579
13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13582 if (SWIG_arg_fail(1)) SWIG_fail;
13583 if (obj1) {
13584 {
13585 arg2 = (int)(SWIG_As_int(obj1));
13586 if (SWIG_arg_fail(2)) SWIG_fail;
13587 }
13588 }
13589 if (obj2) {
13590 {
13591 arg3 = wxString_in_helper(obj2);
13592 if (arg3 == NULL) SWIG_fail;
13593 temp3 = true;
13594 }
13595 }
13596 if (obj3) {
13597 {
13598 arg4 = &temp4;
13599 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13600 }
13601 }
13602 if (obj4) {
13603 {
13604 arg5 = &temp5;
13605 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13606 }
13607 }
13608 if (obj5) {
13609 {
13610 if (! PySequence_Check(obj5)) {
13611 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13612 SWIG_fail;
13613 }
13614 arg6 = new wxArrayString;
13615 temp6 = true;
13616 int i, len=PySequence_Length(obj5);
13617 for (i=0; i<len; i++) {
13618 PyObject* item = PySequence_GetItem(obj5, i);
13619 #if wxUSE_UNICODE
13620 PyObject* str = PyObject_Unicode(item);
13621 #else
13622 PyObject* str = PyObject_Str(item);
13623 #endif
13624 if (PyErr_Occurred()) SWIG_fail;
13625 arg6->Add(Py2wxString(str));
13626 Py_DECREF(item);
13627 Py_DECREF(str);
13628 }
13629 }
13630 }
13631 if (obj6) {
13632 {
13633 arg7 = (int)(SWIG_As_int(obj6));
13634 if (SWIG_arg_fail(7)) SWIG_fail;
13635 }
13636 }
13637 if (obj7) {
13638 {
13639 arg8 = (long)(SWIG_As_long(obj7));
13640 if (SWIG_arg_fail(8)) SWIG_fail;
13641 }
13642 }
13643 if (obj8) {
13644 {
13645 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13646 if (SWIG_arg_fail(9)) SWIG_fail;
13647 if (arg9 == NULL) {
13648 SWIG_null_ref("wxValidator");
13649 }
13650 if (SWIG_arg_fail(9)) SWIG_fail;
13651 }
13652 }
13653 if (obj9) {
13654 {
13655 arg10 = wxString_in_helper(obj9);
13656 if (arg10 == NULL) SWIG_fail;
13657 temp10 = true;
13658 }
13659 }
13660 {
13661 if (!wxPyCheckForApp()) SWIG_fail;
13662 PyThreadState* __tstate = wxPyBeginAllowThreads();
13663 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);
13664
13665 wxPyEndAllowThreads(__tstate);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
13668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13669 {
13670 if (temp3)
13671 delete arg3;
13672 }
13673 {
13674 if (temp6) delete arg6;
13675 }
13676 {
13677 if (temp10)
13678 delete arg10;
13679 }
13680 return resultobj;
13681 fail:
13682 {
13683 if (temp3)
13684 delete arg3;
13685 }
13686 {
13687 if (temp6) delete arg6;
13688 }
13689 {
13690 if (temp10)
13691 delete arg10;
13692 }
13693 return NULL;
13694 }
13695
13696
13697 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj;
13699 wxRadioBox *result;
13700 char *kwnames[] = {
13701 NULL
13702 };
13703
13704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13705 {
13706 if (!wxPyCheckForApp()) SWIG_fail;
13707 PyThreadState* __tstate = wxPyBeginAllowThreads();
13708 result = (wxRadioBox *)new wxRadioBox();
13709
13710 wxPyEndAllowThreads(__tstate);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
13713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13714 return resultobj;
13715 fail:
13716 return NULL;
13717 }
13718
13719
13720 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13721 PyObject *resultobj;
13722 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13723 wxWindow *arg2 = (wxWindow *) 0 ;
13724 int arg3 = (int) -1 ;
13725 wxString const &arg4_defvalue = wxPyEmptyString ;
13726 wxString *arg4 = (wxString *) &arg4_defvalue ;
13727 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13728 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13729 wxSize const &arg6_defvalue = wxDefaultSize ;
13730 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13731 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13732 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13733 int arg8 = (int) 0 ;
13734 long arg9 = (long) wxRA_HORIZONTAL ;
13735 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13736 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13737 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13738 wxString *arg11 = (wxString *) &arg11_defvalue ;
13739 bool result;
13740 bool temp4 = false ;
13741 wxPoint temp5 ;
13742 wxSize temp6 ;
13743 bool temp7 = false ;
13744 bool temp11 = false ;
13745 PyObject * obj0 = 0 ;
13746 PyObject * obj1 = 0 ;
13747 PyObject * obj2 = 0 ;
13748 PyObject * obj3 = 0 ;
13749 PyObject * obj4 = 0 ;
13750 PyObject * obj5 = 0 ;
13751 PyObject * obj6 = 0 ;
13752 PyObject * obj7 = 0 ;
13753 PyObject * obj8 = 0 ;
13754 PyObject * obj9 = 0 ;
13755 PyObject * obj10 = 0 ;
13756 char *kwnames[] = {
13757 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13758 };
13759
13760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13762 if (SWIG_arg_fail(1)) SWIG_fail;
13763 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13764 if (SWIG_arg_fail(2)) SWIG_fail;
13765 if (obj2) {
13766 {
13767 arg3 = (int)(SWIG_As_int(obj2));
13768 if (SWIG_arg_fail(3)) SWIG_fail;
13769 }
13770 }
13771 if (obj3) {
13772 {
13773 arg4 = wxString_in_helper(obj3);
13774 if (arg4 == NULL) SWIG_fail;
13775 temp4 = true;
13776 }
13777 }
13778 if (obj4) {
13779 {
13780 arg5 = &temp5;
13781 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13782 }
13783 }
13784 if (obj5) {
13785 {
13786 arg6 = &temp6;
13787 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13788 }
13789 }
13790 if (obj6) {
13791 {
13792 if (! PySequence_Check(obj6)) {
13793 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13794 SWIG_fail;
13795 }
13796 arg7 = new wxArrayString;
13797 temp7 = true;
13798 int i, len=PySequence_Length(obj6);
13799 for (i=0; i<len; i++) {
13800 PyObject* item = PySequence_GetItem(obj6, i);
13801 #if wxUSE_UNICODE
13802 PyObject* str = PyObject_Unicode(item);
13803 #else
13804 PyObject* str = PyObject_Str(item);
13805 #endif
13806 if (PyErr_Occurred()) SWIG_fail;
13807 arg7->Add(Py2wxString(str));
13808 Py_DECREF(item);
13809 Py_DECREF(str);
13810 }
13811 }
13812 }
13813 if (obj7) {
13814 {
13815 arg8 = (int)(SWIG_As_int(obj7));
13816 if (SWIG_arg_fail(8)) SWIG_fail;
13817 }
13818 }
13819 if (obj8) {
13820 {
13821 arg9 = (long)(SWIG_As_long(obj8));
13822 if (SWIG_arg_fail(9)) SWIG_fail;
13823 }
13824 }
13825 if (obj9) {
13826 {
13827 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13828 if (SWIG_arg_fail(10)) SWIG_fail;
13829 if (arg10 == NULL) {
13830 SWIG_null_ref("wxValidator");
13831 }
13832 if (SWIG_arg_fail(10)) SWIG_fail;
13833 }
13834 }
13835 if (obj10) {
13836 {
13837 arg11 = wxString_in_helper(obj10);
13838 if (arg11 == NULL) SWIG_fail;
13839 temp11 = true;
13840 }
13841 }
13842 {
13843 PyThreadState* __tstate = wxPyBeginAllowThreads();
13844 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);
13845
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 {
13850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13851 }
13852 {
13853 if (temp4)
13854 delete arg4;
13855 }
13856 {
13857 if (temp7) delete arg7;
13858 }
13859 {
13860 if (temp11)
13861 delete arg11;
13862 }
13863 return resultobj;
13864 fail:
13865 {
13866 if (temp4)
13867 delete arg4;
13868 }
13869 {
13870 if (temp7) delete arg7;
13871 }
13872 {
13873 if (temp11)
13874 delete arg11;
13875 }
13876 return NULL;
13877 }
13878
13879
13880 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13881 PyObject *resultobj;
13882 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13883 int arg2 ;
13884 PyObject * obj0 = 0 ;
13885 PyObject * obj1 = 0 ;
13886 char *kwnames[] = {
13887 (char *) "self",(char *) "n", NULL
13888 };
13889
13890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13892 if (SWIG_arg_fail(1)) SWIG_fail;
13893 {
13894 arg2 = (int)(SWIG_As_int(obj1));
13895 if (SWIG_arg_fail(2)) SWIG_fail;
13896 }
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 (arg1)->SetSelection(arg2);
13900
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 Py_INCREF(Py_None); resultobj = Py_None;
13905 return resultobj;
13906 fail:
13907 return NULL;
13908 }
13909
13910
13911 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13912 PyObject *resultobj;
13913 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13914 int result;
13915 PyObject * obj0 = 0 ;
13916 char *kwnames[] = {
13917 (char *) "self", NULL
13918 };
13919
13920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
13921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13922 if (SWIG_arg_fail(1)) SWIG_fail;
13923 {
13924 PyThreadState* __tstate = wxPyBeginAllowThreads();
13925 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13926
13927 wxPyEndAllowThreads(__tstate);
13928 if (PyErr_Occurred()) SWIG_fail;
13929 }
13930 {
13931 resultobj = SWIG_From_int((int)(result));
13932 }
13933 return resultobj;
13934 fail:
13935 return NULL;
13936 }
13937
13938
13939 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13940 PyObject *resultobj;
13941 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13942 wxString result;
13943 PyObject * obj0 = 0 ;
13944 char *kwnames[] = {
13945 (char *) "self", NULL
13946 };
13947
13948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
13949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13950 if (SWIG_arg_fail(1)) SWIG_fail;
13951 {
13952 PyThreadState* __tstate = wxPyBeginAllowThreads();
13953 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13954
13955 wxPyEndAllowThreads(__tstate);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 {
13959 #if wxUSE_UNICODE
13960 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13961 #else
13962 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13963 #endif
13964 }
13965 return resultobj;
13966 fail:
13967 return NULL;
13968 }
13969
13970
13971 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13972 PyObject *resultobj;
13973 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13974 wxString *arg2 = 0 ;
13975 bool result;
13976 bool temp2 = false ;
13977 PyObject * obj0 = 0 ;
13978 PyObject * obj1 = 0 ;
13979 char *kwnames[] = {
13980 (char *) "self",(char *) "s", NULL
13981 };
13982
13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
13984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13985 if (SWIG_arg_fail(1)) SWIG_fail;
13986 {
13987 arg2 = wxString_in_helper(obj1);
13988 if (arg2 == NULL) SWIG_fail;
13989 temp2 = true;
13990 }
13991 {
13992 PyThreadState* __tstate = wxPyBeginAllowThreads();
13993 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13994
13995 wxPyEndAllowThreads(__tstate);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 }
13998 {
13999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14000 }
14001 {
14002 if (temp2)
14003 delete arg2;
14004 }
14005 return resultobj;
14006 fail:
14007 {
14008 if (temp2)
14009 delete arg2;
14010 }
14011 return NULL;
14012 }
14013
14014
14015 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
14016 PyObject *resultobj;
14017 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14018 int result;
14019 PyObject * obj0 = 0 ;
14020 char *kwnames[] = {
14021 (char *) "self", NULL
14022 };
14023
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
14025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14026 if (SWIG_arg_fail(1)) SWIG_fail;
14027 {
14028 PyThreadState* __tstate = wxPyBeginAllowThreads();
14029 result = (int)((wxRadioBox const *)arg1)->GetCount();
14030
14031 wxPyEndAllowThreads(__tstate);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 {
14035 resultobj = SWIG_From_int((int)(result));
14036 }
14037 return resultobj;
14038 fail:
14039 return NULL;
14040 }
14041
14042
14043 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14044 PyObject *resultobj;
14045 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14046 wxString *arg2 = 0 ;
14047 int result;
14048 bool temp2 = false ;
14049 PyObject * obj0 = 0 ;
14050 PyObject * obj1 = 0 ;
14051 char *kwnames[] = {
14052 (char *) "self",(char *) "s", NULL
14053 };
14054
14055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
14056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14057 if (SWIG_arg_fail(1)) SWIG_fail;
14058 {
14059 arg2 = wxString_in_helper(obj1);
14060 if (arg2 == NULL) SWIG_fail;
14061 temp2 = true;
14062 }
14063 {
14064 PyThreadState* __tstate = wxPyBeginAllowThreads();
14065 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14066
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
14070 {
14071 resultobj = SWIG_From_int((int)(result));
14072 }
14073 {
14074 if (temp2)
14075 delete arg2;
14076 }
14077 return resultobj;
14078 fail:
14079 {
14080 if (temp2)
14081 delete arg2;
14082 }
14083 return NULL;
14084 }
14085
14086
14087 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14088 PyObject *resultobj;
14089 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14090 int arg2 ;
14091 wxString result;
14092 PyObject * obj0 = 0 ;
14093 PyObject * obj1 = 0 ;
14094 char *kwnames[] = {
14095 (char *) "self",(char *) "n", NULL
14096 };
14097
14098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14100 if (SWIG_arg_fail(1)) SWIG_fail;
14101 {
14102 arg2 = (int)(SWIG_As_int(obj1));
14103 if (SWIG_arg_fail(2)) SWIG_fail;
14104 }
14105 {
14106 PyThreadState* __tstate = wxPyBeginAllowThreads();
14107 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14108
14109 wxPyEndAllowThreads(__tstate);
14110 if (PyErr_Occurred()) SWIG_fail;
14111 }
14112 {
14113 #if wxUSE_UNICODE
14114 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14115 #else
14116 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14117 #endif
14118 }
14119 return resultobj;
14120 fail:
14121 return NULL;
14122 }
14123
14124
14125 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj;
14127 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14128 int arg2 ;
14129 wxString *arg3 = 0 ;
14130 bool temp3 = false ;
14131 PyObject * obj0 = 0 ;
14132 PyObject * obj1 = 0 ;
14133 PyObject * obj2 = 0 ;
14134 char *kwnames[] = {
14135 (char *) "self",(char *) "n",(char *) "label", NULL
14136 };
14137
14138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14140 if (SWIG_arg_fail(1)) SWIG_fail;
14141 {
14142 arg2 = (int)(SWIG_As_int(obj1));
14143 if (SWIG_arg_fail(2)) SWIG_fail;
14144 }
14145 {
14146 arg3 = wxString_in_helper(obj2);
14147 if (arg3 == NULL) SWIG_fail;
14148 temp3 = true;
14149 }
14150 {
14151 PyThreadState* __tstate = wxPyBeginAllowThreads();
14152 (arg1)->SetString(arg2,(wxString const &)*arg3);
14153
14154 wxPyEndAllowThreads(__tstate);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 }
14157 Py_INCREF(Py_None); resultobj = Py_None;
14158 {
14159 if (temp3)
14160 delete arg3;
14161 }
14162 return resultobj;
14163 fail:
14164 {
14165 if (temp3)
14166 delete arg3;
14167 }
14168 return NULL;
14169 }
14170
14171
14172 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14173 PyObject *resultobj;
14174 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14175 int arg2 ;
14176 bool arg3 = (bool) true ;
14177 PyObject * obj0 = 0 ;
14178 PyObject * obj1 = 0 ;
14179 PyObject * obj2 = 0 ;
14180 char *kwnames[] = {
14181 (char *) "self",(char *) "n",(char *) "enable", NULL
14182 };
14183
14184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14186 if (SWIG_arg_fail(1)) SWIG_fail;
14187 {
14188 arg2 = (int)(SWIG_As_int(obj1));
14189 if (SWIG_arg_fail(2)) SWIG_fail;
14190 }
14191 if (obj2) {
14192 {
14193 arg3 = (bool)(SWIG_As_bool(obj2));
14194 if (SWIG_arg_fail(3)) SWIG_fail;
14195 }
14196 }
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 (arg1)->Enable(arg2,arg3);
14200
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 Py_INCREF(Py_None); resultobj = Py_None;
14205 return resultobj;
14206 fail:
14207 return NULL;
14208 }
14209
14210
14211 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14212 PyObject *resultobj;
14213 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14214 int arg2 ;
14215 bool arg3 = (bool) true ;
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 PyObject * obj2 = 0 ;
14219 char *kwnames[] = {
14220 (char *) "self",(char *) "n",(char *) "show", NULL
14221 };
14222
14223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14225 if (SWIG_arg_fail(1)) SWIG_fail;
14226 {
14227 arg2 = (int)(SWIG_As_int(obj1));
14228 if (SWIG_arg_fail(2)) SWIG_fail;
14229 }
14230 if (obj2) {
14231 {
14232 arg3 = (bool)(SWIG_As_bool(obj2));
14233 if (SWIG_arg_fail(3)) SWIG_fail;
14234 }
14235 }
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 (arg1)->Show(arg2,arg3);
14239
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 Py_INCREF(Py_None); resultobj = Py_None;
14244 return resultobj;
14245 fail:
14246 return NULL;
14247 }
14248
14249
14250 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14251 PyObject *resultobj;
14252 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14253 int result;
14254 PyObject * obj0 = 0 ;
14255 char *kwnames[] = {
14256 (char *) "self", NULL
14257 };
14258
14259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14261 if (SWIG_arg_fail(1)) SWIG_fail;
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14265
14266 wxPyEndAllowThreads(__tstate);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
14269 {
14270 resultobj = SWIG_From_int((int)(result));
14271 }
14272 return resultobj;
14273 fail:
14274 return NULL;
14275 }
14276
14277
14278 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14279 PyObject *resultobj;
14280 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14281 int result;
14282 PyObject * obj0 = 0 ;
14283 char *kwnames[] = {
14284 (char *) "self", NULL
14285 };
14286
14287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14289 if (SWIG_arg_fail(1)) SWIG_fail;
14290 {
14291 PyThreadState* __tstate = wxPyBeginAllowThreads();
14292 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14293
14294 wxPyEndAllowThreads(__tstate);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 }
14297 {
14298 resultobj = SWIG_From_int((int)(result));
14299 }
14300 return resultobj;
14301 fail:
14302 return NULL;
14303 }
14304
14305
14306 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj;
14308 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14309 int arg2 ;
14310 wxDirection arg3 ;
14311 long arg4 ;
14312 int result;
14313 PyObject * obj0 = 0 ;
14314 PyObject * obj1 = 0 ;
14315 PyObject * obj2 = 0 ;
14316 PyObject * obj3 = 0 ;
14317 char *kwnames[] = {
14318 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14319 };
14320
14321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14323 if (SWIG_arg_fail(1)) SWIG_fail;
14324 {
14325 arg2 = (int)(SWIG_As_int(obj1));
14326 if (SWIG_arg_fail(2)) SWIG_fail;
14327 }
14328 {
14329 arg3 = (wxDirection)(SWIG_As_int(obj2));
14330 if (SWIG_arg_fail(3)) SWIG_fail;
14331 }
14332 {
14333 arg4 = (long)(SWIG_As_long(obj3));
14334 if (SWIG_arg_fail(4)) SWIG_fail;
14335 }
14336 {
14337 PyThreadState* __tstate = wxPyBeginAllowThreads();
14338 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14339
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 {
14344 resultobj = SWIG_From_int((int)(result));
14345 }
14346 return resultobj;
14347 fail:
14348 return NULL;
14349 }
14350
14351
14352 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14353 PyObject *resultobj;
14354 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14355 wxVisualAttributes result;
14356 PyObject * obj0 = 0 ;
14357 char *kwnames[] = {
14358 (char *) "variant", NULL
14359 };
14360
14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14362 if (obj0) {
14363 {
14364 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14365 if (SWIG_arg_fail(1)) SWIG_fail;
14366 }
14367 }
14368 {
14369 if (!wxPyCheckForApp()) SWIG_fail;
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14372
14373 wxPyEndAllowThreads(__tstate);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 {
14377 wxVisualAttributes * resultptr;
14378 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14379 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14380 }
14381 return resultobj;
14382 fail:
14383 return NULL;
14384 }
14385
14386
14387 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14388 PyObject *obj;
14389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14390 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14391 Py_INCREF(obj);
14392 return Py_BuildValue((char *)"");
14393 }
14394 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14395 PyObject *resultobj;
14396 wxWindow *arg1 = (wxWindow *) 0 ;
14397 int arg2 = (int) -1 ;
14398 wxString const &arg3_defvalue = wxPyEmptyString ;
14399 wxString *arg3 = (wxString *) &arg3_defvalue ;
14400 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14401 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14402 wxSize const &arg5_defvalue = wxDefaultSize ;
14403 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14404 long arg6 = (long) 0 ;
14405 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14406 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14407 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14408 wxString *arg8 = (wxString *) &arg8_defvalue ;
14409 wxRadioButton *result;
14410 bool temp3 = false ;
14411 wxPoint temp4 ;
14412 wxSize temp5 ;
14413 bool temp8 = false ;
14414 PyObject * obj0 = 0 ;
14415 PyObject * obj1 = 0 ;
14416 PyObject * obj2 = 0 ;
14417 PyObject * obj3 = 0 ;
14418 PyObject * obj4 = 0 ;
14419 PyObject * obj5 = 0 ;
14420 PyObject * obj6 = 0 ;
14421 PyObject * obj7 = 0 ;
14422 char *kwnames[] = {
14423 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14424 };
14425
14426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14428 if (SWIG_arg_fail(1)) SWIG_fail;
14429 if (obj1) {
14430 {
14431 arg2 = (int)(SWIG_As_int(obj1));
14432 if (SWIG_arg_fail(2)) SWIG_fail;
14433 }
14434 }
14435 if (obj2) {
14436 {
14437 arg3 = wxString_in_helper(obj2);
14438 if (arg3 == NULL) SWIG_fail;
14439 temp3 = true;
14440 }
14441 }
14442 if (obj3) {
14443 {
14444 arg4 = &temp4;
14445 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14446 }
14447 }
14448 if (obj4) {
14449 {
14450 arg5 = &temp5;
14451 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14452 }
14453 }
14454 if (obj5) {
14455 {
14456 arg6 = (long)(SWIG_As_long(obj5));
14457 if (SWIG_arg_fail(6)) SWIG_fail;
14458 }
14459 }
14460 if (obj6) {
14461 {
14462 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14463 if (SWIG_arg_fail(7)) SWIG_fail;
14464 if (arg7 == NULL) {
14465 SWIG_null_ref("wxValidator");
14466 }
14467 if (SWIG_arg_fail(7)) SWIG_fail;
14468 }
14469 }
14470 if (obj7) {
14471 {
14472 arg8 = wxString_in_helper(obj7);
14473 if (arg8 == NULL) SWIG_fail;
14474 temp8 = true;
14475 }
14476 }
14477 {
14478 if (!wxPyCheckForApp()) SWIG_fail;
14479 PyThreadState* __tstate = wxPyBeginAllowThreads();
14480 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14481
14482 wxPyEndAllowThreads(__tstate);
14483 if (PyErr_Occurred()) SWIG_fail;
14484 }
14485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14486 {
14487 if (temp3)
14488 delete arg3;
14489 }
14490 {
14491 if (temp8)
14492 delete arg8;
14493 }
14494 return resultobj;
14495 fail:
14496 {
14497 if (temp3)
14498 delete arg3;
14499 }
14500 {
14501 if (temp8)
14502 delete arg8;
14503 }
14504 return NULL;
14505 }
14506
14507
14508 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14509 PyObject *resultobj;
14510 wxRadioButton *result;
14511 char *kwnames[] = {
14512 NULL
14513 };
14514
14515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14516 {
14517 if (!wxPyCheckForApp()) SWIG_fail;
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 result = (wxRadioButton *)new wxRadioButton();
14520
14521 wxPyEndAllowThreads(__tstate);
14522 if (PyErr_Occurred()) SWIG_fail;
14523 }
14524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14525 return resultobj;
14526 fail:
14527 return NULL;
14528 }
14529
14530
14531 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14532 PyObject *resultobj;
14533 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14534 wxWindow *arg2 = (wxWindow *) 0 ;
14535 int arg3 = (int) -1 ;
14536 wxString const &arg4_defvalue = wxPyEmptyString ;
14537 wxString *arg4 = (wxString *) &arg4_defvalue ;
14538 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14539 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14540 wxSize const &arg6_defvalue = wxDefaultSize ;
14541 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14542 long arg7 = (long) 0 ;
14543 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14544 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14545 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14546 wxString *arg9 = (wxString *) &arg9_defvalue ;
14547 bool result;
14548 bool temp4 = false ;
14549 wxPoint temp5 ;
14550 wxSize temp6 ;
14551 bool temp9 = false ;
14552 PyObject * obj0 = 0 ;
14553 PyObject * obj1 = 0 ;
14554 PyObject * obj2 = 0 ;
14555 PyObject * obj3 = 0 ;
14556 PyObject * obj4 = 0 ;
14557 PyObject * obj5 = 0 ;
14558 PyObject * obj6 = 0 ;
14559 PyObject * obj7 = 0 ;
14560 PyObject * obj8 = 0 ;
14561 char *kwnames[] = {
14562 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14563 };
14564
14565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14567 if (SWIG_arg_fail(1)) SWIG_fail;
14568 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14569 if (SWIG_arg_fail(2)) SWIG_fail;
14570 if (obj2) {
14571 {
14572 arg3 = (int)(SWIG_As_int(obj2));
14573 if (SWIG_arg_fail(3)) SWIG_fail;
14574 }
14575 }
14576 if (obj3) {
14577 {
14578 arg4 = wxString_in_helper(obj3);
14579 if (arg4 == NULL) SWIG_fail;
14580 temp4 = true;
14581 }
14582 }
14583 if (obj4) {
14584 {
14585 arg5 = &temp5;
14586 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14587 }
14588 }
14589 if (obj5) {
14590 {
14591 arg6 = &temp6;
14592 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14593 }
14594 }
14595 if (obj6) {
14596 {
14597 arg7 = (long)(SWIG_As_long(obj6));
14598 if (SWIG_arg_fail(7)) SWIG_fail;
14599 }
14600 }
14601 if (obj7) {
14602 {
14603 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14604 if (SWIG_arg_fail(8)) SWIG_fail;
14605 if (arg8 == NULL) {
14606 SWIG_null_ref("wxValidator");
14607 }
14608 if (SWIG_arg_fail(8)) SWIG_fail;
14609 }
14610 }
14611 if (obj8) {
14612 {
14613 arg9 = wxString_in_helper(obj8);
14614 if (arg9 == NULL) SWIG_fail;
14615 temp9 = true;
14616 }
14617 }
14618 {
14619 PyThreadState* __tstate = wxPyBeginAllowThreads();
14620 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14621
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 {
14626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14627 }
14628 {
14629 if (temp4)
14630 delete arg4;
14631 }
14632 {
14633 if (temp9)
14634 delete arg9;
14635 }
14636 return resultobj;
14637 fail:
14638 {
14639 if (temp4)
14640 delete arg4;
14641 }
14642 {
14643 if (temp9)
14644 delete arg9;
14645 }
14646 return NULL;
14647 }
14648
14649
14650 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14651 PyObject *resultobj;
14652 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14653 bool result;
14654 PyObject * obj0 = 0 ;
14655 char *kwnames[] = {
14656 (char *) "self", NULL
14657 };
14658
14659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14661 if (SWIG_arg_fail(1)) SWIG_fail;
14662 {
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 result = (bool)(arg1)->GetValue();
14665
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 {
14670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14671 }
14672 return resultobj;
14673 fail:
14674 return NULL;
14675 }
14676
14677
14678 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14679 PyObject *resultobj;
14680 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14681 bool arg2 ;
14682 PyObject * obj0 = 0 ;
14683 PyObject * obj1 = 0 ;
14684 char *kwnames[] = {
14685 (char *) "self",(char *) "value", NULL
14686 };
14687
14688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14690 if (SWIG_arg_fail(1)) SWIG_fail;
14691 {
14692 arg2 = (bool)(SWIG_As_bool(obj1));
14693 if (SWIG_arg_fail(2)) SWIG_fail;
14694 }
14695 {
14696 PyThreadState* __tstate = wxPyBeginAllowThreads();
14697 (arg1)->SetValue(arg2);
14698
14699 wxPyEndAllowThreads(__tstate);
14700 if (PyErr_Occurred()) SWIG_fail;
14701 }
14702 Py_INCREF(Py_None); resultobj = Py_None;
14703 return resultobj;
14704 fail:
14705 return NULL;
14706 }
14707
14708
14709 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14710 PyObject *resultobj;
14711 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14712 wxVisualAttributes result;
14713 PyObject * obj0 = 0 ;
14714 char *kwnames[] = {
14715 (char *) "variant", NULL
14716 };
14717
14718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14719 if (obj0) {
14720 {
14721 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14722 if (SWIG_arg_fail(1)) SWIG_fail;
14723 }
14724 }
14725 {
14726 if (!wxPyCheckForApp()) SWIG_fail;
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14729
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
14733 {
14734 wxVisualAttributes * resultptr;
14735 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14736 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14737 }
14738 return resultobj;
14739 fail:
14740 return NULL;
14741 }
14742
14743
14744 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14745 PyObject *obj;
14746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14747 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14748 Py_INCREF(obj);
14749 return Py_BuildValue((char *)"");
14750 }
14751 static int _wrap_SliderNameStr_set(PyObject *) {
14752 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14753 return 1;
14754 }
14755
14756
14757 static PyObject *_wrap_SliderNameStr_get(void) {
14758 PyObject *pyobj;
14759
14760 {
14761 #if wxUSE_UNICODE
14762 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14763 #else
14764 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14765 #endif
14766 }
14767 return pyobj;
14768 }
14769
14770
14771 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14772 PyObject *resultobj;
14773 wxWindow *arg1 = (wxWindow *) 0 ;
14774 int arg2 = (int) -1 ;
14775 int arg3 = (int) 0 ;
14776 int arg4 = (int) 0 ;
14777 int arg5 = (int) 100 ;
14778 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14779 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14780 wxSize const &arg7_defvalue = wxDefaultSize ;
14781 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14782 long arg8 = (long) wxSL_HORIZONTAL ;
14783 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14784 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14785 wxString const &arg10_defvalue = wxPySliderNameStr ;
14786 wxString *arg10 = (wxString *) &arg10_defvalue ;
14787 wxSlider *result;
14788 wxPoint temp6 ;
14789 wxSize temp7 ;
14790 bool temp10 = false ;
14791 PyObject * obj0 = 0 ;
14792 PyObject * obj1 = 0 ;
14793 PyObject * obj2 = 0 ;
14794 PyObject * obj3 = 0 ;
14795 PyObject * obj4 = 0 ;
14796 PyObject * obj5 = 0 ;
14797 PyObject * obj6 = 0 ;
14798 PyObject * obj7 = 0 ;
14799 PyObject * obj8 = 0 ;
14800 PyObject * obj9 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14803 };
14804
14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14807 if (SWIG_arg_fail(1)) SWIG_fail;
14808 if (obj1) {
14809 {
14810 arg2 = (int)(SWIG_As_int(obj1));
14811 if (SWIG_arg_fail(2)) SWIG_fail;
14812 }
14813 }
14814 if (obj2) {
14815 {
14816 arg3 = (int)(SWIG_As_int(obj2));
14817 if (SWIG_arg_fail(3)) SWIG_fail;
14818 }
14819 }
14820 if (obj3) {
14821 {
14822 arg4 = (int)(SWIG_As_int(obj3));
14823 if (SWIG_arg_fail(4)) SWIG_fail;
14824 }
14825 }
14826 if (obj4) {
14827 {
14828 arg5 = (int)(SWIG_As_int(obj4));
14829 if (SWIG_arg_fail(5)) SWIG_fail;
14830 }
14831 }
14832 if (obj5) {
14833 {
14834 arg6 = &temp6;
14835 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14836 }
14837 }
14838 if (obj6) {
14839 {
14840 arg7 = &temp7;
14841 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14842 }
14843 }
14844 if (obj7) {
14845 {
14846 arg8 = (long)(SWIG_As_long(obj7));
14847 if (SWIG_arg_fail(8)) SWIG_fail;
14848 }
14849 }
14850 if (obj8) {
14851 {
14852 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14853 if (SWIG_arg_fail(9)) SWIG_fail;
14854 if (arg9 == NULL) {
14855 SWIG_null_ref("wxValidator");
14856 }
14857 if (SWIG_arg_fail(9)) SWIG_fail;
14858 }
14859 }
14860 if (obj9) {
14861 {
14862 arg10 = wxString_in_helper(obj9);
14863 if (arg10 == NULL) SWIG_fail;
14864 temp10 = true;
14865 }
14866 }
14867 {
14868 if (!wxPyCheckForApp()) SWIG_fail;
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14871
14872 wxPyEndAllowThreads(__tstate);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
14875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14876 {
14877 if (temp10)
14878 delete arg10;
14879 }
14880 return resultobj;
14881 fail:
14882 {
14883 if (temp10)
14884 delete arg10;
14885 }
14886 return NULL;
14887 }
14888
14889
14890 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14891 PyObject *resultobj;
14892 wxSlider *result;
14893 char *kwnames[] = {
14894 NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14898 {
14899 if (!wxPyCheckForApp()) SWIG_fail;
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (wxSlider *)new wxSlider();
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14907 return resultobj;
14908 fail:
14909 return NULL;
14910 }
14911
14912
14913 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14914 PyObject *resultobj;
14915 wxSlider *arg1 = (wxSlider *) 0 ;
14916 wxWindow *arg2 = (wxWindow *) 0 ;
14917 int arg3 = (int) -1 ;
14918 int arg4 = (int) 0 ;
14919 int arg5 = (int) 0 ;
14920 int arg6 = (int) 100 ;
14921 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14922 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14923 wxSize const &arg8_defvalue = wxDefaultSize ;
14924 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14925 long arg9 = (long) wxSL_HORIZONTAL ;
14926 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14927 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14928 wxString const &arg11_defvalue = wxPySliderNameStr ;
14929 wxString *arg11 = (wxString *) &arg11_defvalue ;
14930 bool result;
14931 wxPoint temp7 ;
14932 wxSize temp8 ;
14933 bool temp11 = false ;
14934 PyObject * obj0 = 0 ;
14935 PyObject * obj1 = 0 ;
14936 PyObject * obj2 = 0 ;
14937 PyObject * obj3 = 0 ;
14938 PyObject * obj4 = 0 ;
14939 PyObject * obj5 = 0 ;
14940 PyObject * obj6 = 0 ;
14941 PyObject * obj7 = 0 ;
14942 PyObject * obj8 = 0 ;
14943 PyObject * obj9 = 0 ;
14944 PyObject * obj10 = 0 ;
14945 char *kwnames[] = {
14946 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14947 };
14948
14949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14951 if (SWIG_arg_fail(1)) SWIG_fail;
14952 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14953 if (SWIG_arg_fail(2)) SWIG_fail;
14954 if (obj2) {
14955 {
14956 arg3 = (int)(SWIG_As_int(obj2));
14957 if (SWIG_arg_fail(3)) SWIG_fail;
14958 }
14959 }
14960 if (obj3) {
14961 {
14962 arg4 = (int)(SWIG_As_int(obj3));
14963 if (SWIG_arg_fail(4)) SWIG_fail;
14964 }
14965 }
14966 if (obj4) {
14967 {
14968 arg5 = (int)(SWIG_As_int(obj4));
14969 if (SWIG_arg_fail(5)) SWIG_fail;
14970 }
14971 }
14972 if (obj5) {
14973 {
14974 arg6 = (int)(SWIG_As_int(obj5));
14975 if (SWIG_arg_fail(6)) SWIG_fail;
14976 }
14977 }
14978 if (obj6) {
14979 {
14980 arg7 = &temp7;
14981 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14982 }
14983 }
14984 if (obj7) {
14985 {
14986 arg8 = &temp8;
14987 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14988 }
14989 }
14990 if (obj8) {
14991 {
14992 arg9 = (long)(SWIG_As_long(obj8));
14993 if (SWIG_arg_fail(9)) SWIG_fail;
14994 }
14995 }
14996 if (obj9) {
14997 {
14998 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14999 if (SWIG_arg_fail(10)) SWIG_fail;
15000 if (arg10 == NULL) {
15001 SWIG_null_ref("wxValidator");
15002 }
15003 if (SWIG_arg_fail(10)) SWIG_fail;
15004 }
15005 }
15006 if (obj10) {
15007 {
15008 arg11 = wxString_in_helper(obj10);
15009 if (arg11 == NULL) SWIG_fail;
15010 temp11 = true;
15011 }
15012 }
15013 {
15014 PyThreadState* __tstate = wxPyBeginAllowThreads();
15015 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
15016
15017 wxPyEndAllowThreads(__tstate);
15018 if (PyErr_Occurred()) SWIG_fail;
15019 }
15020 {
15021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15022 }
15023 {
15024 if (temp11)
15025 delete arg11;
15026 }
15027 return resultobj;
15028 fail:
15029 {
15030 if (temp11)
15031 delete arg11;
15032 }
15033 return NULL;
15034 }
15035
15036
15037 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15038 PyObject *resultobj;
15039 wxSlider *arg1 = (wxSlider *) 0 ;
15040 int result;
15041 PyObject * obj0 = 0 ;
15042 char *kwnames[] = {
15043 (char *) "self", NULL
15044 };
15045
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15048 if (SWIG_arg_fail(1)) SWIG_fail;
15049 {
15050 PyThreadState* __tstate = wxPyBeginAllowThreads();
15051 result = (int)((wxSlider const *)arg1)->GetValue();
15052
15053 wxPyEndAllowThreads(__tstate);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 }
15056 {
15057 resultobj = SWIG_From_int((int)(result));
15058 }
15059 return resultobj;
15060 fail:
15061 return NULL;
15062 }
15063
15064
15065 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15066 PyObject *resultobj;
15067 wxSlider *arg1 = (wxSlider *) 0 ;
15068 int arg2 ;
15069 PyObject * obj0 = 0 ;
15070 PyObject * obj1 = 0 ;
15071 char *kwnames[] = {
15072 (char *) "self",(char *) "value", NULL
15073 };
15074
15075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15077 if (SWIG_arg_fail(1)) SWIG_fail;
15078 {
15079 arg2 = (int)(SWIG_As_int(obj1));
15080 if (SWIG_arg_fail(2)) SWIG_fail;
15081 }
15082 {
15083 PyThreadState* __tstate = wxPyBeginAllowThreads();
15084 (arg1)->SetValue(arg2);
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 Py_INCREF(Py_None); resultobj = Py_None;
15090 return resultobj;
15091 fail:
15092 return NULL;
15093 }
15094
15095
15096 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15097 PyObject *resultobj;
15098 wxSlider *arg1 = (wxSlider *) 0 ;
15099 int arg2 ;
15100 int arg3 ;
15101 PyObject * obj0 = 0 ;
15102 PyObject * obj1 = 0 ;
15103 PyObject * obj2 = 0 ;
15104 char *kwnames[] = {
15105 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15106 };
15107
15108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15110 if (SWIG_arg_fail(1)) SWIG_fail;
15111 {
15112 arg2 = (int)(SWIG_As_int(obj1));
15113 if (SWIG_arg_fail(2)) SWIG_fail;
15114 }
15115 {
15116 arg3 = (int)(SWIG_As_int(obj2));
15117 if (SWIG_arg_fail(3)) SWIG_fail;
15118 }
15119 {
15120 PyThreadState* __tstate = wxPyBeginAllowThreads();
15121 (arg1)->SetRange(arg2,arg3);
15122
15123 wxPyEndAllowThreads(__tstate);
15124 if (PyErr_Occurred()) SWIG_fail;
15125 }
15126 Py_INCREF(Py_None); resultobj = Py_None;
15127 return resultobj;
15128 fail:
15129 return NULL;
15130 }
15131
15132
15133 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj;
15135 wxSlider *arg1 = (wxSlider *) 0 ;
15136 int result;
15137 PyObject * obj0 = 0 ;
15138 char *kwnames[] = {
15139 (char *) "self", NULL
15140 };
15141
15142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15144 if (SWIG_arg_fail(1)) SWIG_fail;
15145 {
15146 PyThreadState* __tstate = wxPyBeginAllowThreads();
15147 result = (int)((wxSlider const *)arg1)->GetMin();
15148
15149 wxPyEndAllowThreads(__tstate);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
15152 {
15153 resultobj = SWIG_From_int((int)(result));
15154 }
15155 return resultobj;
15156 fail:
15157 return NULL;
15158 }
15159
15160
15161 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15162 PyObject *resultobj;
15163 wxSlider *arg1 = (wxSlider *) 0 ;
15164 int result;
15165 PyObject * obj0 = 0 ;
15166 char *kwnames[] = {
15167 (char *) "self", NULL
15168 };
15169
15170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15172 if (SWIG_arg_fail(1)) SWIG_fail;
15173 {
15174 PyThreadState* __tstate = wxPyBeginAllowThreads();
15175 result = (int)((wxSlider const *)arg1)->GetMax();
15176
15177 wxPyEndAllowThreads(__tstate);
15178 if (PyErr_Occurred()) SWIG_fail;
15179 }
15180 {
15181 resultobj = SWIG_From_int((int)(result));
15182 }
15183 return resultobj;
15184 fail:
15185 return NULL;
15186 }
15187
15188
15189 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15190 PyObject *resultobj;
15191 wxSlider *arg1 = (wxSlider *) 0 ;
15192 int arg2 ;
15193 PyObject * obj0 = 0 ;
15194 PyObject * obj1 = 0 ;
15195 char *kwnames[] = {
15196 (char *) "self",(char *) "minValue", NULL
15197 };
15198
15199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15201 if (SWIG_arg_fail(1)) SWIG_fail;
15202 {
15203 arg2 = (int)(SWIG_As_int(obj1));
15204 if (SWIG_arg_fail(2)) SWIG_fail;
15205 }
15206 {
15207 PyThreadState* __tstate = wxPyBeginAllowThreads();
15208 (arg1)->SetMin(arg2);
15209
15210 wxPyEndAllowThreads(__tstate);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 Py_INCREF(Py_None); resultobj = Py_None;
15214 return resultobj;
15215 fail:
15216 return NULL;
15217 }
15218
15219
15220 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15221 PyObject *resultobj;
15222 wxSlider *arg1 = (wxSlider *) 0 ;
15223 int arg2 ;
15224 PyObject * obj0 = 0 ;
15225 PyObject * obj1 = 0 ;
15226 char *kwnames[] = {
15227 (char *) "self",(char *) "maxValue", NULL
15228 };
15229
15230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15232 if (SWIG_arg_fail(1)) SWIG_fail;
15233 {
15234 arg2 = (int)(SWIG_As_int(obj1));
15235 if (SWIG_arg_fail(2)) SWIG_fail;
15236 }
15237 {
15238 PyThreadState* __tstate = wxPyBeginAllowThreads();
15239 (arg1)->SetMax(arg2);
15240
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15244 Py_INCREF(Py_None); resultobj = Py_None;
15245 return resultobj;
15246 fail:
15247 return NULL;
15248 }
15249
15250
15251 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15252 PyObject *resultobj;
15253 wxSlider *arg1 = (wxSlider *) 0 ;
15254 int arg2 ;
15255 PyObject * obj0 = 0 ;
15256 PyObject * obj1 = 0 ;
15257 char *kwnames[] = {
15258 (char *) "self",(char *) "lineSize", NULL
15259 };
15260
15261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15263 if (SWIG_arg_fail(1)) SWIG_fail;
15264 {
15265 arg2 = (int)(SWIG_As_int(obj1));
15266 if (SWIG_arg_fail(2)) SWIG_fail;
15267 }
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 (arg1)->SetLineSize(arg2);
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 Py_INCREF(Py_None); resultobj = Py_None;
15276 return resultobj;
15277 fail:
15278 return NULL;
15279 }
15280
15281
15282 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj;
15284 wxSlider *arg1 = (wxSlider *) 0 ;
15285 int arg2 ;
15286 PyObject * obj0 = 0 ;
15287 PyObject * obj1 = 0 ;
15288 char *kwnames[] = {
15289 (char *) "self",(char *) "pageSize", NULL
15290 };
15291
15292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail;
15295 {
15296 arg2 = (int)(SWIG_As_int(obj1));
15297 if (SWIG_arg_fail(2)) SWIG_fail;
15298 }
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 (arg1)->SetPageSize(arg2);
15302
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 Py_INCREF(Py_None); resultobj = Py_None;
15307 return resultobj;
15308 fail:
15309 return NULL;
15310 }
15311
15312
15313 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15314 PyObject *resultobj;
15315 wxSlider *arg1 = (wxSlider *) 0 ;
15316 int result;
15317 PyObject * obj0 = 0 ;
15318 char *kwnames[] = {
15319 (char *) "self", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15324 if (SWIG_arg_fail(1)) SWIG_fail;
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 result = (int)((wxSlider const *)arg1)->GetLineSize();
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 {
15333 resultobj = SWIG_From_int((int)(result));
15334 }
15335 return resultobj;
15336 fail:
15337 return NULL;
15338 }
15339
15340
15341 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj;
15343 wxSlider *arg1 = (wxSlider *) 0 ;
15344 int result;
15345 PyObject * obj0 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "self", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15352 if (SWIG_arg_fail(1)) SWIG_fail;
15353 {
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 result = (int)((wxSlider const *)arg1)->GetPageSize();
15356
15357 wxPyEndAllowThreads(__tstate);
15358 if (PyErr_Occurred()) SWIG_fail;
15359 }
15360 {
15361 resultobj = SWIG_From_int((int)(result));
15362 }
15363 return resultobj;
15364 fail:
15365 return NULL;
15366 }
15367
15368
15369 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15370 PyObject *resultobj;
15371 wxSlider *arg1 = (wxSlider *) 0 ;
15372 int arg2 ;
15373 PyObject * obj0 = 0 ;
15374 PyObject * obj1 = 0 ;
15375 char *kwnames[] = {
15376 (char *) "self",(char *) "lenPixels", NULL
15377 };
15378
15379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15381 if (SWIG_arg_fail(1)) SWIG_fail;
15382 {
15383 arg2 = (int)(SWIG_As_int(obj1));
15384 if (SWIG_arg_fail(2)) SWIG_fail;
15385 }
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 (arg1)->SetThumbLength(arg2);
15389
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 Py_INCREF(Py_None); resultobj = Py_None;
15394 return resultobj;
15395 fail:
15396 return NULL;
15397 }
15398
15399
15400 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj;
15402 wxSlider *arg1 = (wxSlider *) 0 ;
15403 int result;
15404 PyObject * obj0 = 0 ;
15405 char *kwnames[] = {
15406 (char *) "self", NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail;
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 {
15420 resultobj = SWIG_From_int((int)(result));
15421 }
15422 return resultobj;
15423 fail:
15424 return NULL;
15425 }
15426
15427
15428 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15429 PyObject *resultobj;
15430 wxSlider *arg1 = (wxSlider *) 0 ;
15431 int arg2 ;
15432 int arg3 = (int) 1 ;
15433 PyObject * obj0 = 0 ;
15434 PyObject * obj1 = 0 ;
15435 PyObject * obj2 = 0 ;
15436 char *kwnames[] = {
15437 (char *) "self",(char *) "n",(char *) "pos", NULL
15438 };
15439
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15442 if (SWIG_arg_fail(1)) SWIG_fail;
15443 {
15444 arg2 = (int)(SWIG_As_int(obj1));
15445 if (SWIG_arg_fail(2)) SWIG_fail;
15446 }
15447 if (obj2) {
15448 {
15449 arg3 = (int)(SWIG_As_int(obj2));
15450 if (SWIG_arg_fail(3)) SWIG_fail;
15451 }
15452 }
15453 {
15454 PyThreadState* __tstate = wxPyBeginAllowThreads();
15455 (arg1)->SetTickFreq(arg2,arg3);
15456
15457 wxPyEndAllowThreads(__tstate);
15458 if (PyErr_Occurred()) SWIG_fail;
15459 }
15460 Py_INCREF(Py_None); resultobj = Py_None;
15461 return resultobj;
15462 fail:
15463 return NULL;
15464 }
15465
15466
15467 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15468 PyObject *resultobj;
15469 wxSlider *arg1 = (wxSlider *) 0 ;
15470 int result;
15471 PyObject * obj0 = 0 ;
15472 char *kwnames[] = {
15473 (char *) "self", NULL
15474 };
15475
15476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15478 if (SWIG_arg_fail(1)) SWIG_fail;
15479 {
15480 PyThreadState* __tstate = wxPyBeginAllowThreads();
15481 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15482
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 {
15487 resultobj = SWIG_From_int((int)(result));
15488 }
15489 return resultobj;
15490 fail:
15491 return NULL;
15492 }
15493
15494
15495 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15496 PyObject *resultobj;
15497 wxSlider *arg1 = (wxSlider *) 0 ;
15498 PyObject * obj0 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15505 if (SWIG_arg_fail(1)) SWIG_fail;
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 (arg1)->ClearTicks();
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 Py_INCREF(Py_None); resultobj = Py_None;
15514 return resultobj;
15515 fail:
15516 return NULL;
15517 }
15518
15519
15520 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15521 PyObject *resultobj;
15522 wxSlider *arg1 = (wxSlider *) 0 ;
15523 int arg2 ;
15524 PyObject * obj0 = 0 ;
15525 PyObject * obj1 = 0 ;
15526 char *kwnames[] = {
15527 (char *) "self",(char *) "tickPos", NULL
15528 };
15529
15530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15532 if (SWIG_arg_fail(1)) SWIG_fail;
15533 {
15534 arg2 = (int)(SWIG_As_int(obj1));
15535 if (SWIG_arg_fail(2)) SWIG_fail;
15536 }
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 (arg1)->SetTick(arg2);
15540
15541 wxPyEndAllowThreads(__tstate);
15542 if (PyErr_Occurred()) SWIG_fail;
15543 }
15544 Py_INCREF(Py_None); resultobj = Py_None;
15545 return resultobj;
15546 fail:
15547 return NULL;
15548 }
15549
15550
15551 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15552 PyObject *resultobj;
15553 wxSlider *arg1 = (wxSlider *) 0 ;
15554 PyObject * obj0 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail;
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 (arg1)->ClearSel();
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 Py_INCREF(Py_None); resultobj = Py_None;
15570 return resultobj;
15571 fail:
15572 return NULL;
15573 }
15574
15575
15576 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15577 PyObject *resultobj;
15578 wxSlider *arg1 = (wxSlider *) 0 ;
15579 int result;
15580 PyObject * obj0 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15587 if (SWIG_arg_fail(1)) SWIG_fail;
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 {
15596 resultobj = SWIG_From_int((int)(result));
15597 }
15598 return resultobj;
15599 fail:
15600 return NULL;
15601 }
15602
15603
15604 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15605 PyObject *resultobj;
15606 wxSlider *arg1 = (wxSlider *) 0 ;
15607 int result;
15608 PyObject * obj0 = 0 ;
15609 char *kwnames[] = {
15610 (char *) "self", NULL
15611 };
15612
15613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15615 if (SWIG_arg_fail(1)) SWIG_fail;
15616 {
15617 PyThreadState* __tstate = wxPyBeginAllowThreads();
15618 result = (int)((wxSlider const *)arg1)->GetSelStart();
15619
15620 wxPyEndAllowThreads(__tstate);
15621 if (PyErr_Occurred()) SWIG_fail;
15622 }
15623 {
15624 resultobj = SWIG_From_int((int)(result));
15625 }
15626 return resultobj;
15627 fail:
15628 return NULL;
15629 }
15630
15631
15632 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15633 PyObject *resultobj;
15634 wxSlider *arg1 = (wxSlider *) 0 ;
15635 int arg2 ;
15636 int arg3 ;
15637 PyObject * obj0 = 0 ;
15638 PyObject * obj1 = 0 ;
15639 PyObject * obj2 = 0 ;
15640 char *kwnames[] = {
15641 (char *) "self",(char *) "min",(char *) "max", NULL
15642 };
15643
15644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15646 if (SWIG_arg_fail(1)) SWIG_fail;
15647 {
15648 arg2 = (int)(SWIG_As_int(obj1));
15649 if (SWIG_arg_fail(2)) SWIG_fail;
15650 }
15651 {
15652 arg3 = (int)(SWIG_As_int(obj2));
15653 if (SWIG_arg_fail(3)) SWIG_fail;
15654 }
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 (arg1)->SetSelection(arg2,arg3);
15658
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 Py_INCREF(Py_None); resultobj = Py_None;
15663 return resultobj;
15664 fail:
15665 return NULL;
15666 }
15667
15668
15669 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15670 PyObject *resultobj;
15671 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15672 wxVisualAttributes result;
15673 PyObject * obj0 = 0 ;
15674 char *kwnames[] = {
15675 (char *) "variant", NULL
15676 };
15677
15678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15679 if (obj0) {
15680 {
15681 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15682 if (SWIG_arg_fail(1)) SWIG_fail;
15683 }
15684 }
15685 {
15686 if (!wxPyCheckForApp()) SWIG_fail;
15687 PyThreadState* __tstate = wxPyBeginAllowThreads();
15688 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15689
15690 wxPyEndAllowThreads(__tstate);
15691 if (PyErr_Occurred()) SWIG_fail;
15692 }
15693 {
15694 wxVisualAttributes * resultptr;
15695 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
15696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15697 }
15698 return resultobj;
15699 fail:
15700 return NULL;
15701 }
15702
15703
15704 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15705 PyObject *obj;
15706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15707 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15708 Py_INCREF(obj);
15709 return Py_BuildValue((char *)"");
15710 }
15711 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15712 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15713 return 1;
15714 }
15715
15716
15717 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15718 PyObject *pyobj;
15719
15720 {
15721 #if wxUSE_UNICODE
15722 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15723 #else
15724 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15725 #endif
15726 }
15727 return pyobj;
15728 }
15729
15730
15731 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15732 PyObject *resultobj;
15733 wxWindow *arg1 = (wxWindow *) 0 ;
15734 int arg2 = (int) -1 ;
15735 wxString const &arg3_defvalue = wxPyEmptyString ;
15736 wxString *arg3 = (wxString *) &arg3_defvalue ;
15737 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15738 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15739 wxSize const &arg5_defvalue = wxDefaultSize ;
15740 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15741 long arg6 = (long) 0 ;
15742 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15743 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15744 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15745 wxString *arg8 = (wxString *) &arg8_defvalue ;
15746 wxToggleButton *result;
15747 bool temp3 = false ;
15748 wxPoint temp4 ;
15749 wxSize temp5 ;
15750 bool temp8 = false ;
15751 PyObject * obj0 = 0 ;
15752 PyObject * obj1 = 0 ;
15753 PyObject * obj2 = 0 ;
15754 PyObject * obj3 = 0 ;
15755 PyObject * obj4 = 0 ;
15756 PyObject * obj5 = 0 ;
15757 PyObject * obj6 = 0 ;
15758 PyObject * obj7 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15765 if (SWIG_arg_fail(1)) SWIG_fail;
15766 if (obj1) {
15767 {
15768 arg2 = (int)(SWIG_As_int(obj1));
15769 if (SWIG_arg_fail(2)) SWIG_fail;
15770 }
15771 }
15772 if (obj2) {
15773 {
15774 arg3 = wxString_in_helper(obj2);
15775 if (arg3 == NULL) SWIG_fail;
15776 temp3 = true;
15777 }
15778 }
15779 if (obj3) {
15780 {
15781 arg4 = &temp4;
15782 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15783 }
15784 }
15785 if (obj4) {
15786 {
15787 arg5 = &temp5;
15788 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15789 }
15790 }
15791 if (obj5) {
15792 {
15793 arg6 = (long)(SWIG_As_long(obj5));
15794 if (SWIG_arg_fail(6)) SWIG_fail;
15795 }
15796 }
15797 if (obj6) {
15798 {
15799 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15800 if (SWIG_arg_fail(7)) SWIG_fail;
15801 if (arg7 == NULL) {
15802 SWIG_null_ref("wxValidator");
15803 }
15804 if (SWIG_arg_fail(7)) SWIG_fail;
15805 }
15806 }
15807 if (obj7) {
15808 {
15809 arg8 = wxString_in_helper(obj7);
15810 if (arg8 == NULL) SWIG_fail;
15811 temp8 = true;
15812 }
15813 }
15814 {
15815 if (!wxPyCheckForApp()) SWIG_fail;
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15818
15819 wxPyEndAllowThreads(__tstate);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15823 {
15824 if (temp3)
15825 delete arg3;
15826 }
15827 {
15828 if (temp8)
15829 delete arg8;
15830 }
15831 return resultobj;
15832 fail:
15833 {
15834 if (temp3)
15835 delete arg3;
15836 }
15837 {
15838 if (temp8)
15839 delete arg8;
15840 }
15841 return NULL;
15842 }
15843
15844
15845 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15846 PyObject *resultobj;
15847 wxToggleButton *result;
15848 char *kwnames[] = {
15849 NULL
15850 };
15851
15852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15853 {
15854 if (!wxPyCheckForApp()) SWIG_fail;
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 result = (wxToggleButton *)new wxToggleButton();
15857
15858 wxPyEndAllowThreads(__tstate);
15859 if (PyErr_Occurred()) SWIG_fail;
15860 }
15861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15862 return resultobj;
15863 fail:
15864 return NULL;
15865 }
15866
15867
15868 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15869 PyObject *resultobj;
15870 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15871 wxWindow *arg2 = (wxWindow *) 0 ;
15872 int arg3 = (int) -1 ;
15873 wxString const &arg4_defvalue = wxPyEmptyString ;
15874 wxString *arg4 = (wxString *) &arg4_defvalue ;
15875 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15876 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15877 wxSize const &arg6_defvalue = wxDefaultSize ;
15878 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15879 long arg7 = (long) 0 ;
15880 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15881 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15882 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15883 wxString *arg9 = (wxString *) &arg9_defvalue ;
15884 bool result;
15885 bool temp4 = false ;
15886 wxPoint temp5 ;
15887 wxSize temp6 ;
15888 bool temp9 = false ;
15889 PyObject * obj0 = 0 ;
15890 PyObject * obj1 = 0 ;
15891 PyObject * obj2 = 0 ;
15892 PyObject * obj3 = 0 ;
15893 PyObject * obj4 = 0 ;
15894 PyObject * obj5 = 0 ;
15895 PyObject * obj6 = 0 ;
15896 PyObject * obj7 = 0 ;
15897 PyObject * obj8 = 0 ;
15898 char *kwnames[] = {
15899 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15900 };
15901
15902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15904 if (SWIG_arg_fail(1)) SWIG_fail;
15905 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15906 if (SWIG_arg_fail(2)) SWIG_fail;
15907 if (obj2) {
15908 {
15909 arg3 = (int)(SWIG_As_int(obj2));
15910 if (SWIG_arg_fail(3)) SWIG_fail;
15911 }
15912 }
15913 if (obj3) {
15914 {
15915 arg4 = wxString_in_helper(obj3);
15916 if (arg4 == NULL) SWIG_fail;
15917 temp4 = true;
15918 }
15919 }
15920 if (obj4) {
15921 {
15922 arg5 = &temp5;
15923 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15924 }
15925 }
15926 if (obj5) {
15927 {
15928 arg6 = &temp6;
15929 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15930 }
15931 }
15932 if (obj6) {
15933 {
15934 arg7 = (long)(SWIG_As_long(obj6));
15935 if (SWIG_arg_fail(7)) SWIG_fail;
15936 }
15937 }
15938 if (obj7) {
15939 {
15940 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15941 if (SWIG_arg_fail(8)) SWIG_fail;
15942 if (arg8 == NULL) {
15943 SWIG_null_ref("wxValidator");
15944 }
15945 if (SWIG_arg_fail(8)) SWIG_fail;
15946 }
15947 }
15948 if (obj8) {
15949 {
15950 arg9 = wxString_in_helper(obj8);
15951 if (arg9 == NULL) SWIG_fail;
15952 temp9 = true;
15953 }
15954 }
15955 {
15956 PyThreadState* __tstate = wxPyBeginAllowThreads();
15957 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15958
15959 wxPyEndAllowThreads(__tstate);
15960 if (PyErr_Occurred()) SWIG_fail;
15961 }
15962 {
15963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15964 }
15965 {
15966 if (temp4)
15967 delete arg4;
15968 }
15969 {
15970 if (temp9)
15971 delete arg9;
15972 }
15973 return resultobj;
15974 fail:
15975 {
15976 if (temp4)
15977 delete arg4;
15978 }
15979 {
15980 if (temp9)
15981 delete arg9;
15982 }
15983 return NULL;
15984 }
15985
15986
15987 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15988 PyObject *resultobj;
15989 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15990 bool arg2 ;
15991 PyObject * obj0 = 0 ;
15992 PyObject * obj1 = 0 ;
15993 char *kwnames[] = {
15994 (char *) "self",(char *) "value", NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15999 if (SWIG_arg_fail(1)) SWIG_fail;
16000 {
16001 arg2 = (bool)(SWIG_As_bool(obj1));
16002 if (SWIG_arg_fail(2)) SWIG_fail;
16003 }
16004 {
16005 PyThreadState* __tstate = wxPyBeginAllowThreads();
16006 (arg1)->SetValue(arg2);
16007
16008 wxPyEndAllowThreads(__tstate);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 }
16011 Py_INCREF(Py_None); resultobj = Py_None;
16012 return resultobj;
16013 fail:
16014 return NULL;
16015 }
16016
16017
16018 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
16019 PyObject *resultobj;
16020 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16021 bool result;
16022 PyObject * obj0 = 0 ;
16023 char *kwnames[] = {
16024 (char *) "self", NULL
16025 };
16026
16027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
16028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16029 if (SWIG_arg_fail(1)) SWIG_fail;
16030 {
16031 PyThreadState* __tstate = wxPyBeginAllowThreads();
16032 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16033
16034 wxPyEndAllowThreads(__tstate);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 }
16037 {
16038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16039 }
16040 return resultobj;
16041 fail:
16042 return NULL;
16043 }
16044
16045
16046 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16047 PyObject *resultobj;
16048 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16049 wxString *arg2 = 0 ;
16050 bool temp2 = false ;
16051 PyObject * obj0 = 0 ;
16052 PyObject * obj1 = 0 ;
16053 char *kwnames[] = {
16054 (char *) "self",(char *) "label", NULL
16055 };
16056
16057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16059 if (SWIG_arg_fail(1)) SWIG_fail;
16060 {
16061 arg2 = wxString_in_helper(obj1);
16062 if (arg2 == NULL) SWIG_fail;
16063 temp2 = true;
16064 }
16065 {
16066 PyThreadState* __tstate = wxPyBeginAllowThreads();
16067 (arg1)->SetLabel((wxString const &)*arg2);
16068
16069 wxPyEndAllowThreads(__tstate);
16070 if (PyErr_Occurred()) SWIG_fail;
16071 }
16072 Py_INCREF(Py_None); resultobj = Py_None;
16073 {
16074 if (temp2)
16075 delete arg2;
16076 }
16077 return resultobj;
16078 fail:
16079 {
16080 if (temp2)
16081 delete arg2;
16082 }
16083 return NULL;
16084 }
16085
16086
16087 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16090 wxVisualAttributes result;
16091 PyObject * obj0 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "variant", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16097 if (obj0) {
16098 {
16099 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16100 if (SWIG_arg_fail(1)) SWIG_fail;
16101 }
16102 }
16103 {
16104 if (!wxPyCheckForApp()) SWIG_fail;
16105 PyThreadState* __tstate = wxPyBeginAllowThreads();
16106 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16107
16108 wxPyEndAllowThreads(__tstate);
16109 if (PyErr_Occurred()) SWIG_fail;
16110 }
16111 {
16112 wxVisualAttributes * resultptr;
16113 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16115 }
16116 return resultobj;
16117 fail:
16118 return NULL;
16119 }
16120
16121
16122 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16123 PyObject *obj;
16124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16125 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16126 Py_INCREF(obj);
16127 return Py_BuildValue((char *)"");
16128 }
16129 static int _wrap_NotebookNameStr_set(PyObject *) {
16130 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16131 return 1;
16132 }
16133
16134
16135 static PyObject *_wrap_NotebookNameStr_get(void) {
16136 PyObject *pyobj;
16137
16138 {
16139 #if wxUSE_UNICODE
16140 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16141 #else
16142 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16143 #endif
16144 }
16145 return pyobj;
16146 }
16147
16148
16149 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16150 PyObject *resultobj;
16151 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16152 size_t result;
16153 PyObject * obj0 = 0 ;
16154 char *kwnames[] = {
16155 (char *) "self", NULL
16156 };
16157
16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16160 if (SWIG_arg_fail(1)) SWIG_fail;
16161 {
16162 PyThreadState* __tstate = wxPyBeginAllowThreads();
16163 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16164
16165 wxPyEndAllowThreads(__tstate);
16166 if (PyErr_Occurred()) SWIG_fail;
16167 }
16168 {
16169 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16170 }
16171 return resultobj;
16172 fail:
16173 return NULL;
16174 }
16175
16176
16177 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16178 PyObject *resultobj;
16179 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16180 size_t arg2 ;
16181 wxWindow *result;
16182 PyObject * obj0 = 0 ;
16183 PyObject * obj1 = 0 ;
16184 char *kwnames[] = {
16185 (char *) "self",(char *) "n", NULL
16186 };
16187
16188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16190 if (SWIG_arg_fail(1)) SWIG_fail;
16191 {
16192 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16193 if (SWIG_arg_fail(2)) SWIG_fail;
16194 }
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 result = (wxWindow *)(arg1)->GetPage(arg2);
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 {
16203 resultobj = wxPyMake_wxObject(result, 0);
16204 }
16205 return resultobj;
16206 fail:
16207 return NULL;
16208 }
16209
16210
16211 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16214 wxWindow *result;
16215 PyObject * obj0 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self", NULL
16218 };
16219
16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16222 if (SWIG_arg_fail(1)) SWIG_fail;
16223 {
16224 PyThreadState* __tstate = wxPyBeginAllowThreads();
16225 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16226
16227 wxPyEndAllowThreads(__tstate);
16228 if (PyErr_Occurred()) SWIG_fail;
16229 }
16230 {
16231 resultobj = wxPyMake_wxObject(result, 0);
16232 }
16233 return resultobj;
16234 fail:
16235 return NULL;
16236 }
16237
16238
16239 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16240 PyObject *resultobj;
16241 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16242 int result;
16243 PyObject * obj0 = 0 ;
16244 char *kwnames[] = {
16245 (char *) "self", NULL
16246 };
16247
16248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16250 if (SWIG_arg_fail(1)) SWIG_fail;
16251 {
16252 PyThreadState* __tstate = wxPyBeginAllowThreads();
16253 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16254
16255 wxPyEndAllowThreads(__tstate);
16256 if (PyErr_Occurred()) SWIG_fail;
16257 }
16258 {
16259 resultobj = SWIG_From_int((int)(result));
16260 }
16261 return resultobj;
16262 fail:
16263 return NULL;
16264 }
16265
16266
16267 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16268 PyObject *resultobj;
16269 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16270 size_t arg2 ;
16271 wxString *arg3 = 0 ;
16272 bool result;
16273 bool temp3 = false ;
16274 PyObject * obj0 = 0 ;
16275 PyObject * obj1 = 0 ;
16276 PyObject * obj2 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self",(char *) "n",(char *) "strText", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16283 if (SWIG_arg_fail(1)) SWIG_fail;
16284 {
16285 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16286 if (SWIG_arg_fail(2)) SWIG_fail;
16287 }
16288 {
16289 arg3 = wxString_in_helper(obj2);
16290 if (arg3 == NULL) SWIG_fail;
16291 temp3 = true;
16292 }
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16296
16297 wxPyEndAllowThreads(__tstate);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 }
16300 {
16301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16302 }
16303 {
16304 if (temp3)
16305 delete arg3;
16306 }
16307 return resultobj;
16308 fail:
16309 {
16310 if (temp3)
16311 delete arg3;
16312 }
16313 return NULL;
16314 }
16315
16316
16317 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj;
16319 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16320 size_t arg2 ;
16321 wxString result;
16322 PyObject * obj0 = 0 ;
16323 PyObject * obj1 = 0 ;
16324 char *kwnames[] = {
16325 (char *) "self",(char *) "n", NULL
16326 };
16327
16328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16330 if (SWIG_arg_fail(1)) SWIG_fail;
16331 {
16332 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16333 if (SWIG_arg_fail(2)) SWIG_fail;
16334 }
16335 {
16336 PyThreadState* __tstate = wxPyBeginAllowThreads();
16337 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16338
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 {
16343 #if wxUSE_UNICODE
16344 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16345 #else
16346 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16347 #endif
16348 }
16349 return resultobj;
16350 fail:
16351 return NULL;
16352 }
16353
16354
16355 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16356 PyObject *resultobj;
16357 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16358 wxImageList *arg2 = (wxImageList *) 0 ;
16359 PyObject * obj0 = 0 ;
16360 PyObject * obj1 = 0 ;
16361 char *kwnames[] = {
16362 (char *) "self",(char *) "imageList", NULL
16363 };
16364
16365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16367 if (SWIG_arg_fail(1)) SWIG_fail;
16368 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16369 if (SWIG_arg_fail(2)) SWIG_fail;
16370 {
16371 PyThreadState* __tstate = wxPyBeginAllowThreads();
16372 (arg1)->SetImageList(arg2);
16373
16374 wxPyEndAllowThreads(__tstate);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 Py_INCREF(Py_None); resultobj = Py_None;
16378 return resultobj;
16379 fail:
16380 return NULL;
16381 }
16382
16383
16384 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16385 PyObject *resultobj;
16386 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16387 wxImageList *arg2 = (wxImageList *) 0 ;
16388 PyObject * obj0 = 0 ;
16389 PyObject * obj1 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self",(char *) "imageList", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16396 if (SWIG_arg_fail(1)) SWIG_fail;
16397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16398 if (SWIG_arg_fail(2)) SWIG_fail;
16399 {
16400 PyThreadState* __tstate = wxPyBeginAllowThreads();
16401 (arg1)->AssignImageList(arg2);
16402
16403 wxPyEndAllowThreads(__tstate);
16404 if (PyErr_Occurred()) SWIG_fail;
16405 }
16406 Py_INCREF(Py_None); resultobj = Py_None;
16407 return resultobj;
16408 fail:
16409 return NULL;
16410 }
16411
16412
16413 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16416 wxImageList *result;
16417 PyObject * obj0 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16424 if (SWIG_arg_fail(1)) SWIG_fail;
16425 {
16426 PyThreadState* __tstate = wxPyBeginAllowThreads();
16427 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16428
16429 wxPyEndAllowThreads(__tstate);
16430 if (PyErr_Occurred()) SWIG_fail;
16431 }
16432 {
16433 resultobj = wxPyMake_wxObject(result, 0);
16434 }
16435 return resultobj;
16436 fail:
16437 return NULL;
16438 }
16439
16440
16441 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16442 PyObject *resultobj;
16443 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16444 size_t arg2 ;
16445 int result;
16446 PyObject * obj0 = 0 ;
16447 PyObject * obj1 = 0 ;
16448 char *kwnames[] = {
16449 (char *) "self",(char *) "n", NULL
16450 };
16451
16452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16454 if (SWIG_arg_fail(1)) SWIG_fail;
16455 {
16456 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16457 if (SWIG_arg_fail(2)) SWIG_fail;
16458 }
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16462
16463 wxPyEndAllowThreads(__tstate);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
16466 {
16467 resultobj = SWIG_From_int((int)(result));
16468 }
16469 return resultobj;
16470 fail:
16471 return NULL;
16472 }
16473
16474
16475 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16476 PyObject *resultobj;
16477 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16478 size_t arg2 ;
16479 int arg3 ;
16480 bool result;
16481 PyObject * obj0 = 0 ;
16482 PyObject * obj1 = 0 ;
16483 PyObject * obj2 = 0 ;
16484 char *kwnames[] = {
16485 (char *) "self",(char *) "n",(char *) "imageId", NULL
16486 };
16487
16488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16490 if (SWIG_arg_fail(1)) SWIG_fail;
16491 {
16492 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16493 if (SWIG_arg_fail(2)) SWIG_fail;
16494 }
16495 {
16496 arg3 = (int)(SWIG_As_int(obj2));
16497 if (SWIG_arg_fail(3)) SWIG_fail;
16498 }
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16502
16503 wxPyEndAllowThreads(__tstate);
16504 if (PyErr_Occurred()) SWIG_fail;
16505 }
16506 {
16507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16508 }
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj;
16517 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16518 wxSize *arg2 = 0 ;
16519 wxSize temp2 ;
16520 PyObject * obj0 = 0 ;
16521 PyObject * obj1 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self",(char *) "size", NULL
16524 };
16525
16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16528 if (SWIG_arg_fail(1)) SWIG_fail;
16529 {
16530 arg2 = &temp2;
16531 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16532 }
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 (arg1)->SetPageSize((wxSize const &)*arg2);
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 Py_INCREF(Py_None); resultobj = Py_None;
16541 return resultobj;
16542 fail:
16543 return NULL;
16544 }
16545
16546
16547 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj;
16549 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16550 wxSize *arg2 = 0 ;
16551 wxSize result;
16552 wxSize temp2 ;
16553 PyObject * obj0 = 0 ;
16554 PyObject * obj1 = 0 ;
16555 char *kwnames[] = {
16556 (char *) "self",(char *) "sizePage", NULL
16557 };
16558
16559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16561 if (SWIG_arg_fail(1)) SWIG_fail;
16562 {
16563 arg2 = &temp2;
16564 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16565 }
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16569
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 {
16574 wxSize * resultptr;
16575 resultptr = new wxSize((wxSize &)(result));
16576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16577 }
16578 return resultobj;
16579 fail:
16580 return NULL;
16581 }
16582
16583
16584 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16587 size_t arg2 ;
16588 bool result;
16589 PyObject * obj0 = 0 ;
16590 PyObject * obj1 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self",(char *) "n", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16597 if (SWIG_arg_fail(1)) SWIG_fail;
16598 {
16599 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16600 if (SWIG_arg_fail(2)) SWIG_fail;
16601 }
16602 {
16603 PyThreadState* __tstate = wxPyBeginAllowThreads();
16604 result = (bool)(arg1)->DeletePage(arg2);
16605
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 {
16610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16611 }
16612 return resultobj;
16613 fail:
16614 return NULL;
16615 }
16616
16617
16618 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16619 PyObject *resultobj;
16620 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16621 size_t arg2 ;
16622 bool result;
16623 PyObject * obj0 = 0 ;
16624 PyObject * obj1 = 0 ;
16625 char *kwnames[] = {
16626 (char *) "self",(char *) "n", NULL
16627 };
16628
16629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
16630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16631 if (SWIG_arg_fail(1)) SWIG_fail;
16632 {
16633 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16634 if (SWIG_arg_fail(2)) SWIG_fail;
16635 }
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 result = (bool)(arg1)->RemovePage(arg2);
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 {
16644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16645 }
16646 return resultobj;
16647 fail:
16648 return NULL;
16649 }
16650
16651
16652 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16653 PyObject *resultobj;
16654 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16655 bool result;
16656 PyObject * obj0 = 0 ;
16657 char *kwnames[] = {
16658 (char *) "self", NULL
16659 };
16660
16661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16663 if (SWIG_arg_fail(1)) SWIG_fail;
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 result = (bool)(arg1)->DeleteAllPages();
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 {
16672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16673 }
16674 return resultobj;
16675 fail:
16676 return NULL;
16677 }
16678
16679
16680 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16681 PyObject *resultobj;
16682 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16683 wxWindow *arg2 = (wxWindow *) 0 ;
16684 wxString *arg3 = 0 ;
16685 bool arg4 = (bool) false ;
16686 int arg5 = (int) -1 ;
16687 bool result;
16688 bool temp3 = false ;
16689 PyObject * obj0 = 0 ;
16690 PyObject * obj1 = 0 ;
16691 PyObject * obj2 = 0 ;
16692 PyObject * obj3 = 0 ;
16693 PyObject * obj4 = 0 ;
16694 char *kwnames[] = {
16695 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16696 };
16697
16698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail;
16701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16702 if (SWIG_arg_fail(2)) SWIG_fail;
16703 {
16704 arg3 = wxString_in_helper(obj2);
16705 if (arg3 == NULL) SWIG_fail;
16706 temp3 = true;
16707 }
16708 if (obj3) {
16709 {
16710 arg4 = (bool)(SWIG_As_bool(obj3));
16711 if (SWIG_arg_fail(4)) SWIG_fail;
16712 }
16713 }
16714 if (obj4) {
16715 {
16716 arg5 = (int)(SWIG_As_int(obj4));
16717 if (SWIG_arg_fail(5)) SWIG_fail;
16718 }
16719 }
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16723
16724 wxPyEndAllowThreads(__tstate);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
16727 {
16728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16729 }
16730 {
16731 if (temp3)
16732 delete arg3;
16733 }
16734 return resultobj;
16735 fail:
16736 {
16737 if (temp3)
16738 delete arg3;
16739 }
16740 return NULL;
16741 }
16742
16743
16744 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16747 size_t arg2 ;
16748 wxWindow *arg3 = (wxWindow *) 0 ;
16749 wxString *arg4 = 0 ;
16750 bool arg5 = (bool) false ;
16751 int arg6 = (int) -1 ;
16752 bool result;
16753 bool temp4 = false ;
16754 PyObject * obj0 = 0 ;
16755 PyObject * obj1 = 0 ;
16756 PyObject * obj2 = 0 ;
16757 PyObject * obj3 = 0 ;
16758 PyObject * obj4 = 0 ;
16759 PyObject * obj5 = 0 ;
16760 char *kwnames[] = {
16761 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16762 };
16763
16764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16766 if (SWIG_arg_fail(1)) SWIG_fail;
16767 {
16768 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16769 if (SWIG_arg_fail(2)) SWIG_fail;
16770 }
16771 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16772 if (SWIG_arg_fail(3)) SWIG_fail;
16773 {
16774 arg4 = wxString_in_helper(obj3);
16775 if (arg4 == NULL) SWIG_fail;
16776 temp4 = true;
16777 }
16778 if (obj4) {
16779 {
16780 arg5 = (bool)(SWIG_As_bool(obj4));
16781 if (SWIG_arg_fail(5)) SWIG_fail;
16782 }
16783 }
16784 if (obj5) {
16785 {
16786 arg6 = (int)(SWIG_As_int(obj5));
16787 if (SWIG_arg_fail(6)) SWIG_fail;
16788 }
16789 }
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16793
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 {
16798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16799 }
16800 {
16801 if (temp4)
16802 delete arg4;
16803 }
16804 return resultobj;
16805 fail:
16806 {
16807 if (temp4)
16808 delete arg4;
16809 }
16810 return NULL;
16811 }
16812
16813
16814 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16815 PyObject *resultobj;
16816 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16817 size_t arg2 ;
16818 int result;
16819 PyObject * obj0 = 0 ;
16820 PyObject * obj1 = 0 ;
16821 char *kwnames[] = {
16822 (char *) "self",(char *) "n", NULL
16823 };
16824
16825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16827 if (SWIG_arg_fail(1)) SWIG_fail;
16828 {
16829 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16830 if (SWIG_arg_fail(2)) SWIG_fail;
16831 }
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 result = (int)(arg1)->SetSelection(arg2);
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 {
16840 resultobj = SWIG_From_int((int)(result));
16841 }
16842 return resultobj;
16843 fail:
16844 return NULL;
16845 }
16846
16847
16848 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16849 PyObject *resultobj;
16850 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16851 bool arg2 = (bool) true ;
16852 PyObject * obj0 = 0 ;
16853 PyObject * obj1 = 0 ;
16854 char *kwnames[] = {
16855 (char *) "self",(char *) "forward", NULL
16856 };
16857
16858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
16859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16860 if (SWIG_arg_fail(1)) SWIG_fail;
16861 if (obj1) {
16862 {
16863 arg2 = (bool)(SWIG_As_bool(obj1));
16864 if (SWIG_arg_fail(2)) SWIG_fail;
16865 }
16866 }
16867 {
16868 PyThreadState* __tstate = wxPyBeginAllowThreads();
16869 (arg1)->AdvanceSelection(arg2);
16870
16871 wxPyEndAllowThreads(__tstate);
16872 if (PyErr_Occurred()) SWIG_fail;
16873 }
16874 Py_INCREF(Py_None); resultobj = Py_None;
16875 return resultobj;
16876 fail:
16877 return NULL;
16878 }
16879
16880
16881 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16882 PyObject *resultobj;
16883 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16884 wxVisualAttributes result;
16885 PyObject * obj0 = 0 ;
16886 char *kwnames[] = {
16887 (char *) "variant", NULL
16888 };
16889
16890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16891 if (obj0) {
16892 {
16893 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16894 if (SWIG_arg_fail(1)) SWIG_fail;
16895 }
16896 }
16897 {
16898 if (!wxPyCheckForApp()) SWIG_fail;
16899 PyThreadState* __tstate = wxPyBeginAllowThreads();
16900 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
16901
16902 wxPyEndAllowThreads(__tstate);
16903 if (PyErr_Occurred()) SWIG_fail;
16904 }
16905 {
16906 wxVisualAttributes * resultptr;
16907 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16908 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16909 }
16910 return resultobj;
16911 fail:
16912 return NULL;
16913 }
16914
16915
16916 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
16917 PyObject *obj;
16918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16919 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
16920 Py_INCREF(obj);
16921 return Py_BuildValue((char *)"");
16922 }
16923 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16924 PyObject *resultobj;
16925 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16926 int arg2 = (int) 0 ;
16927 int arg3 = (int) -1 ;
16928 int arg4 = (int) -1 ;
16929 wxBookCtrlBaseEvent *result;
16930 PyObject * obj0 = 0 ;
16931 PyObject * obj1 = 0 ;
16932 PyObject * obj2 = 0 ;
16933 PyObject * obj3 = 0 ;
16934 char *kwnames[] = {
16935 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16936 };
16937
16938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16939 if (obj0) {
16940 {
16941 arg1 = (wxEventType)(SWIG_As_int(obj0));
16942 if (SWIG_arg_fail(1)) SWIG_fail;
16943 }
16944 }
16945 if (obj1) {
16946 {
16947 arg2 = (int)(SWIG_As_int(obj1));
16948 if (SWIG_arg_fail(2)) SWIG_fail;
16949 }
16950 }
16951 if (obj2) {
16952 {
16953 arg3 = (int)(SWIG_As_int(obj2));
16954 if (SWIG_arg_fail(3)) SWIG_fail;
16955 }
16956 }
16957 if (obj3) {
16958 {
16959 arg4 = (int)(SWIG_As_int(obj3));
16960 if (SWIG_arg_fail(4)) SWIG_fail;
16961 }
16962 }
16963 {
16964 PyThreadState* __tstate = wxPyBeginAllowThreads();
16965 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
16966
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
16971 return resultobj;
16972 fail:
16973 return NULL;
16974 }
16975
16976
16977 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj;
16979 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16980 int result;
16981 PyObject * obj0 = 0 ;
16982 char *kwnames[] = {
16983 (char *) "self", NULL
16984 };
16985
16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
16987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16988 if (SWIG_arg_fail(1)) SWIG_fail;
16989 {
16990 PyThreadState* __tstate = wxPyBeginAllowThreads();
16991 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
16992
16993 wxPyEndAllowThreads(__tstate);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
16996 {
16997 resultobj = SWIG_From_int((int)(result));
16998 }
16999 return resultobj;
17000 fail:
17001 return NULL;
17002 }
17003
17004
17005 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17006 PyObject *resultobj;
17007 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17008 int arg2 ;
17009 PyObject * obj0 = 0 ;
17010 PyObject * obj1 = 0 ;
17011 char *kwnames[] = {
17012 (char *) "self",(char *) "nSel", NULL
17013 };
17014
17015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17017 if (SWIG_arg_fail(1)) SWIG_fail;
17018 {
17019 arg2 = (int)(SWIG_As_int(obj1));
17020 if (SWIG_arg_fail(2)) SWIG_fail;
17021 }
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 (arg1)->SetSelection(arg2);
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 Py_INCREF(Py_None); resultobj = Py_None;
17030 return resultobj;
17031 fail:
17032 return NULL;
17033 }
17034
17035
17036 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17037 PyObject *resultobj;
17038 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17039 int result;
17040 PyObject * obj0 = 0 ;
17041 char *kwnames[] = {
17042 (char *) "self", NULL
17043 };
17044
17045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17047 if (SWIG_arg_fail(1)) SWIG_fail;
17048 {
17049 PyThreadState* __tstate = wxPyBeginAllowThreads();
17050 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17051
17052 wxPyEndAllowThreads(__tstate);
17053 if (PyErr_Occurred()) SWIG_fail;
17054 }
17055 {
17056 resultobj = SWIG_From_int((int)(result));
17057 }
17058 return resultobj;
17059 fail:
17060 return NULL;
17061 }
17062
17063
17064 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17065 PyObject *resultobj;
17066 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17067 int arg2 ;
17068 PyObject * obj0 = 0 ;
17069 PyObject * obj1 = 0 ;
17070 char *kwnames[] = {
17071 (char *) "self",(char *) "nOldSel", NULL
17072 };
17073
17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17076 if (SWIG_arg_fail(1)) SWIG_fail;
17077 {
17078 arg2 = (int)(SWIG_As_int(obj1));
17079 if (SWIG_arg_fail(2)) SWIG_fail;
17080 }
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 (arg1)->SetOldSelection(arg2);
17084
17085 wxPyEndAllowThreads(__tstate);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 Py_INCREF(Py_None); resultobj = Py_None;
17089 return resultobj;
17090 fail:
17091 return NULL;
17092 }
17093
17094
17095 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17096 PyObject *obj;
17097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17098 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17099 Py_INCREF(obj);
17100 return Py_BuildValue((char *)"");
17101 }
17102 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj;
17104 wxWindow *arg1 = (wxWindow *) 0 ;
17105 int arg2 = (int) -1 ;
17106 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17107 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17108 wxSize const &arg4_defvalue = wxDefaultSize ;
17109 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17110 long arg5 = (long) 0 ;
17111 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17112 wxString *arg6 = (wxString *) &arg6_defvalue ;
17113 wxNotebook *result;
17114 wxPoint temp3 ;
17115 wxSize temp4 ;
17116 bool temp6 = false ;
17117 PyObject * obj0 = 0 ;
17118 PyObject * obj1 = 0 ;
17119 PyObject * obj2 = 0 ;
17120 PyObject * obj3 = 0 ;
17121 PyObject * obj4 = 0 ;
17122 PyObject * obj5 = 0 ;
17123 char *kwnames[] = {
17124 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17125 };
17126
17127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17129 if (SWIG_arg_fail(1)) SWIG_fail;
17130 if (obj1) {
17131 {
17132 arg2 = (int)(SWIG_As_int(obj1));
17133 if (SWIG_arg_fail(2)) SWIG_fail;
17134 }
17135 }
17136 if (obj2) {
17137 {
17138 arg3 = &temp3;
17139 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17140 }
17141 }
17142 if (obj3) {
17143 {
17144 arg4 = &temp4;
17145 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17146 }
17147 }
17148 if (obj4) {
17149 {
17150 arg5 = (long)(SWIG_As_long(obj4));
17151 if (SWIG_arg_fail(5)) SWIG_fail;
17152 }
17153 }
17154 if (obj5) {
17155 {
17156 arg6 = wxString_in_helper(obj5);
17157 if (arg6 == NULL) SWIG_fail;
17158 temp6 = true;
17159 }
17160 }
17161 {
17162 if (!wxPyCheckForApp()) SWIG_fail;
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17165
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17170 {
17171 if (temp6)
17172 delete arg6;
17173 }
17174 return resultobj;
17175 fail:
17176 {
17177 if (temp6)
17178 delete arg6;
17179 }
17180 return NULL;
17181 }
17182
17183
17184 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17185 PyObject *resultobj;
17186 wxNotebook *result;
17187 char *kwnames[] = {
17188 NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17192 {
17193 if (!wxPyCheckForApp()) SWIG_fail;
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 result = (wxNotebook *)new wxNotebook();
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
17200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17201 return resultobj;
17202 fail:
17203 return NULL;
17204 }
17205
17206
17207 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj;
17209 wxNotebook *arg1 = (wxNotebook *) 0 ;
17210 wxWindow *arg2 = (wxWindow *) 0 ;
17211 int arg3 = (int) -1 ;
17212 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17213 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17214 wxSize const &arg5_defvalue = wxDefaultSize ;
17215 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17216 long arg6 = (long) 0 ;
17217 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17218 wxString *arg7 = (wxString *) &arg7_defvalue ;
17219 bool result;
17220 wxPoint temp4 ;
17221 wxSize temp5 ;
17222 bool temp7 = false ;
17223 PyObject * obj0 = 0 ;
17224 PyObject * obj1 = 0 ;
17225 PyObject * obj2 = 0 ;
17226 PyObject * obj3 = 0 ;
17227 PyObject * obj4 = 0 ;
17228 PyObject * obj5 = 0 ;
17229 PyObject * obj6 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17232 };
17233
17234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17236 if (SWIG_arg_fail(1)) SWIG_fail;
17237 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17238 if (SWIG_arg_fail(2)) SWIG_fail;
17239 if (obj2) {
17240 {
17241 arg3 = (int)(SWIG_As_int(obj2));
17242 if (SWIG_arg_fail(3)) SWIG_fail;
17243 }
17244 }
17245 if (obj3) {
17246 {
17247 arg4 = &temp4;
17248 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17249 }
17250 }
17251 if (obj4) {
17252 {
17253 arg5 = &temp5;
17254 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17255 }
17256 }
17257 if (obj5) {
17258 {
17259 arg6 = (long)(SWIG_As_long(obj5));
17260 if (SWIG_arg_fail(6)) SWIG_fail;
17261 }
17262 }
17263 if (obj6) {
17264 {
17265 arg7 = wxString_in_helper(obj6);
17266 if (arg7 == NULL) SWIG_fail;
17267 temp7 = true;
17268 }
17269 }
17270 {
17271 PyThreadState* __tstate = wxPyBeginAllowThreads();
17272 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17273
17274 wxPyEndAllowThreads(__tstate);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 {
17278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17279 }
17280 {
17281 if (temp7)
17282 delete arg7;
17283 }
17284 return resultobj;
17285 fail:
17286 {
17287 if (temp7)
17288 delete arg7;
17289 }
17290 return NULL;
17291 }
17292
17293
17294 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17295 PyObject *resultobj;
17296 wxNotebook *arg1 = (wxNotebook *) 0 ;
17297 int result;
17298 PyObject * obj0 = 0 ;
17299 char *kwnames[] = {
17300 (char *) "self", NULL
17301 };
17302
17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17305 if (SWIG_arg_fail(1)) SWIG_fail;
17306 {
17307 PyThreadState* __tstate = wxPyBeginAllowThreads();
17308 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17309
17310 wxPyEndAllowThreads(__tstate);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 }
17313 {
17314 resultobj = SWIG_From_int((int)(result));
17315 }
17316 return resultobj;
17317 fail:
17318 return NULL;
17319 }
17320
17321
17322 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17323 PyObject *resultobj;
17324 wxNotebook *arg1 = (wxNotebook *) 0 ;
17325 wxSize *arg2 = 0 ;
17326 wxSize temp2 ;
17327 PyObject * obj0 = 0 ;
17328 PyObject * obj1 = 0 ;
17329 char *kwnames[] = {
17330 (char *) "self",(char *) "padding", NULL
17331 };
17332
17333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17335 if (SWIG_arg_fail(1)) SWIG_fail;
17336 {
17337 arg2 = &temp2;
17338 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17339 }
17340 {
17341 PyThreadState* __tstate = wxPyBeginAllowThreads();
17342 (arg1)->SetPadding((wxSize const &)*arg2);
17343
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
17347 Py_INCREF(Py_None); resultobj = Py_None;
17348 return resultobj;
17349 fail:
17350 return NULL;
17351 }
17352
17353
17354 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj;
17356 wxNotebook *arg1 = (wxNotebook *) 0 ;
17357 wxSize *arg2 = 0 ;
17358 wxSize temp2 ;
17359 PyObject * obj0 = 0 ;
17360 PyObject * obj1 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self",(char *) "sz", NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17367 if (SWIG_arg_fail(1)) SWIG_fail;
17368 {
17369 arg2 = &temp2;
17370 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17371 }
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 (arg1)->SetTabSize((wxSize const &)*arg2);
17375
17376 wxPyEndAllowThreads(__tstate);
17377 if (PyErr_Occurred()) SWIG_fail;
17378 }
17379 Py_INCREF(Py_None); resultobj = Py_None;
17380 return resultobj;
17381 fail:
17382 return NULL;
17383 }
17384
17385
17386 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17387 PyObject *resultobj;
17388 wxNotebook *arg1 = (wxNotebook *) 0 ;
17389 wxPoint *arg2 = 0 ;
17390 long *arg3 = (long *) 0 ;
17391 int result;
17392 wxPoint temp2 ;
17393 long temp3 ;
17394 int res3 = 0 ;
17395 PyObject * obj0 = 0 ;
17396 PyObject * obj1 = 0 ;
17397 char *kwnames[] = {
17398 (char *) "self",(char *) "pt", NULL
17399 };
17400
17401 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17404 if (SWIG_arg_fail(1)) SWIG_fail;
17405 {
17406 arg2 = &temp2;
17407 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17408 }
17409 {
17410 PyThreadState* __tstate = wxPyBeginAllowThreads();
17411 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17412
17413 wxPyEndAllowThreads(__tstate);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
17416 {
17417 resultobj = SWIG_From_int((int)(result));
17418 }
17419 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17420 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17421 return resultobj;
17422 fail:
17423 return NULL;
17424 }
17425
17426
17427 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17428 PyObject *resultobj;
17429 wxNotebook *arg1 = (wxNotebook *) 0 ;
17430 wxSize *arg2 = 0 ;
17431 wxSize result;
17432 wxSize temp2 ;
17433 PyObject * obj0 = 0 ;
17434 PyObject * obj1 = 0 ;
17435 char *kwnames[] = {
17436 (char *) "self",(char *) "sizePage", NULL
17437 };
17438
17439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17441 if (SWIG_arg_fail(1)) SWIG_fail;
17442 {
17443 arg2 = &temp2;
17444 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17445 }
17446 {
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17449
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 {
17454 wxSize * resultptr;
17455 resultptr = new wxSize((wxSize &)(result));
17456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17457 }
17458 return resultobj;
17459 fail:
17460 return NULL;
17461 }
17462
17463
17464 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17465 PyObject *resultobj;
17466 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17467 wxVisualAttributes result;
17468 PyObject * obj0 = 0 ;
17469 char *kwnames[] = {
17470 (char *) "variant", NULL
17471 };
17472
17473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17474 if (obj0) {
17475 {
17476 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17477 if (SWIG_arg_fail(1)) SWIG_fail;
17478 }
17479 }
17480 {
17481 if (!wxPyCheckForApp()) SWIG_fail;
17482 PyThreadState* __tstate = wxPyBeginAllowThreads();
17483 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17484
17485 wxPyEndAllowThreads(__tstate);
17486 if (PyErr_Occurred()) SWIG_fail;
17487 }
17488 {
17489 wxVisualAttributes * resultptr;
17490 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
17491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17492 }
17493 return resultobj;
17494 fail:
17495 return NULL;
17496 }
17497
17498
17499 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17500 PyObject *obj;
17501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17502 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17503 Py_INCREF(obj);
17504 return Py_BuildValue((char *)"");
17505 }
17506 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17507 PyObject *resultobj;
17508 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17509 int arg2 = (int) 0 ;
17510 int arg3 = (int) -1 ;
17511 int arg4 = (int) -1 ;
17512 wxNotebookEvent *result;
17513 PyObject * obj0 = 0 ;
17514 PyObject * obj1 = 0 ;
17515 PyObject * obj2 = 0 ;
17516 PyObject * obj3 = 0 ;
17517 char *kwnames[] = {
17518 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17519 };
17520
17521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17522 if (obj0) {
17523 {
17524 arg1 = (wxEventType)(SWIG_As_int(obj0));
17525 if (SWIG_arg_fail(1)) SWIG_fail;
17526 }
17527 }
17528 if (obj1) {
17529 {
17530 arg2 = (int)(SWIG_As_int(obj1));
17531 if (SWIG_arg_fail(2)) SWIG_fail;
17532 }
17533 }
17534 if (obj2) {
17535 {
17536 arg3 = (int)(SWIG_As_int(obj2));
17537 if (SWIG_arg_fail(3)) SWIG_fail;
17538 }
17539 }
17540 if (obj3) {
17541 {
17542 arg4 = (int)(SWIG_As_int(obj3));
17543 if (SWIG_arg_fail(4)) SWIG_fail;
17544 }
17545 }
17546 {
17547 PyThreadState* __tstate = wxPyBeginAllowThreads();
17548 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17549
17550 wxPyEndAllowThreads(__tstate);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
17553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17554 return resultobj;
17555 fail:
17556 return NULL;
17557 }
17558
17559
17560 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17561 PyObject *obj;
17562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17563 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17564 Py_INCREF(obj);
17565 return Py_BuildValue((char *)"");
17566 }
17567 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17568 PyObject *resultobj;
17569 wxWindow *arg1 = (wxWindow *) 0 ;
17570 int arg2 = (int) -1 ;
17571 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17572 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17573 wxSize const &arg4_defvalue = wxDefaultSize ;
17574 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17575 long arg5 = (long) 0 ;
17576 wxString const &arg6_defvalue = wxPyEmptyString ;
17577 wxString *arg6 = (wxString *) &arg6_defvalue ;
17578 wxListbook *result;
17579 wxPoint temp3 ;
17580 wxSize temp4 ;
17581 bool temp6 = false ;
17582 PyObject * obj0 = 0 ;
17583 PyObject * obj1 = 0 ;
17584 PyObject * obj2 = 0 ;
17585 PyObject * obj3 = 0 ;
17586 PyObject * obj4 = 0 ;
17587 PyObject * obj5 = 0 ;
17588 char *kwnames[] = {
17589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17590 };
17591
17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17594 if (SWIG_arg_fail(1)) SWIG_fail;
17595 if (obj1) {
17596 {
17597 arg2 = (int)(SWIG_As_int(obj1));
17598 if (SWIG_arg_fail(2)) SWIG_fail;
17599 }
17600 }
17601 if (obj2) {
17602 {
17603 arg3 = &temp3;
17604 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17605 }
17606 }
17607 if (obj3) {
17608 {
17609 arg4 = &temp4;
17610 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17611 }
17612 }
17613 if (obj4) {
17614 {
17615 arg5 = (long)(SWIG_As_long(obj4));
17616 if (SWIG_arg_fail(5)) SWIG_fail;
17617 }
17618 }
17619 if (obj5) {
17620 {
17621 arg6 = wxString_in_helper(obj5);
17622 if (arg6 == NULL) SWIG_fail;
17623 temp6 = true;
17624 }
17625 }
17626 {
17627 if (!wxPyCheckForApp()) SWIG_fail;
17628 PyThreadState* __tstate = wxPyBeginAllowThreads();
17629 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17630
17631 wxPyEndAllowThreads(__tstate);
17632 if (PyErr_Occurred()) SWIG_fail;
17633 }
17634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17635 {
17636 if (temp6)
17637 delete arg6;
17638 }
17639 return resultobj;
17640 fail:
17641 {
17642 if (temp6)
17643 delete arg6;
17644 }
17645 return NULL;
17646 }
17647
17648
17649 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj;
17651 wxListbook *result;
17652 char *kwnames[] = {
17653 NULL
17654 };
17655
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17657 {
17658 if (!wxPyCheckForApp()) SWIG_fail;
17659 PyThreadState* __tstate = wxPyBeginAllowThreads();
17660 result = (wxListbook *)new wxListbook();
17661
17662 wxPyEndAllowThreads(__tstate);
17663 if (PyErr_Occurred()) SWIG_fail;
17664 }
17665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17666 return resultobj;
17667 fail:
17668 return NULL;
17669 }
17670
17671
17672 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17673 PyObject *resultobj;
17674 wxListbook *arg1 = (wxListbook *) 0 ;
17675 wxWindow *arg2 = (wxWindow *) 0 ;
17676 int arg3 = (int) -1 ;
17677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17679 wxSize const &arg5_defvalue = wxDefaultSize ;
17680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17681 long arg6 = (long) 0 ;
17682 wxString const &arg7_defvalue = wxPyEmptyString ;
17683 wxString *arg7 = (wxString *) &arg7_defvalue ;
17684 bool result;
17685 wxPoint temp4 ;
17686 wxSize temp5 ;
17687 bool temp7 = false ;
17688 PyObject * obj0 = 0 ;
17689 PyObject * obj1 = 0 ;
17690 PyObject * obj2 = 0 ;
17691 PyObject * obj3 = 0 ;
17692 PyObject * obj4 = 0 ;
17693 PyObject * obj5 = 0 ;
17694 PyObject * obj6 = 0 ;
17695 char *kwnames[] = {
17696 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17697 };
17698
17699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17701 if (SWIG_arg_fail(1)) SWIG_fail;
17702 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17703 if (SWIG_arg_fail(2)) SWIG_fail;
17704 if (obj2) {
17705 {
17706 arg3 = (int)(SWIG_As_int(obj2));
17707 if (SWIG_arg_fail(3)) SWIG_fail;
17708 }
17709 }
17710 if (obj3) {
17711 {
17712 arg4 = &temp4;
17713 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17714 }
17715 }
17716 if (obj4) {
17717 {
17718 arg5 = &temp5;
17719 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17720 }
17721 }
17722 if (obj5) {
17723 {
17724 arg6 = (long)(SWIG_As_long(obj5));
17725 if (SWIG_arg_fail(6)) SWIG_fail;
17726 }
17727 }
17728 if (obj6) {
17729 {
17730 arg7 = wxString_in_helper(obj6);
17731 if (arg7 == NULL) SWIG_fail;
17732 temp7 = true;
17733 }
17734 }
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17738
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 {
17743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17744 }
17745 {
17746 if (temp7)
17747 delete arg7;
17748 }
17749 return resultobj;
17750 fail:
17751 {
17752 if (temp7)
17753 delete arg7;
17754 }
17755 return NULL;
17756 }
17757
17758
17759 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17760 PyObject *resultobj;
17761 wxListbook *arg1 = (wxListbook *) 0 ;
17762 bool result;
17763 PyObject * obj0 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
17769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17770 if (SWIG_arg_fail(1)) SWIG_fail;
17771 {
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 result = (bool)((wxListbook const *)arg1)->IsVertical();
17774
17775 wxPyEndAllowThreads(__tstate);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 }
17778 {
17779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17780 }
17781 return resultobj;
17782 fail:
17783 return NULL;
17784 }
17785
17786
17787 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17788 PyObject *resultobj;
17789 wxListbook *arg1 = (wxListbook *) 0 ;
17790 wxListView *result;
17791 PyObject * obj0 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "self", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
17797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17798 if (SWIG_arg_fail(1)) SWIG_fail;
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (wxListView *)(arg1)->GetListView();
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17807 return resultobj;
17808 fail:
17809 return NULL;
17810 }
17811
17812
17813 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
17814 PyObject *obj;
17815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17816 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17817 Py_INCREF(obj);
17818 return Py_BuildValue((char *)"");
17819 }
17820 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj;
17822 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17823 int arg2 = (int) 0 ;
17824 int arg3 = (int) -1 ;
17825 int arg4 = (int) -1 ;
17826 wxListbookEvent *result;
17827 PyObject * obj0 = 0 ;
17828 PyObject * obj1 = 0 ;
17829 PyObject * obj2 = 0 ;
17830 PyObject * obj3 = 0 ;
17831 char *kwnames[] = {
17832 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17833 };
17834
17835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17836 if (obj0) {
17837 {
17838 arg1 = (wxEventType)(SWIG_As_int(obj0));
17839 if (SWIG_arg_fail(1)) SWIG_fail;
17840 }
17841 }
17842 if (obj1) {
17843 {
17844 arg2 = (int)(SWIG_As_int(obj1));
17845 if (SWIG_arg_fail(2)) SWIG_fail;
17846 }
17847 }
17848 if (obj2) {
17849 {
17850 arg3 = (int)(SWIG_As_int(obj2));
17851 if (SWIG_arg_fail(3)) SWIG_fail;
17852 }
17853 }
17854 if (obj3) {
17855 {
17856 arg4 = (int)(SWIG_As_int(obj3));
17857 if (SWIG_arg_fail(4)) SWIG_fail;
17858 }
17859 }
17860 {
17861 PyThreadState* __tstate = wxPyBeginAllowThreads();
17862 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17863
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17868 return resultobj;
17869 fail:
17870 return NULL;
17871 }
17872
17873
17874 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
17875 PyObject *obj;
17876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17877 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17878 Py_INCREF(obj);
17879 return Py_BuildValue((char *)"");
17880 }
17881 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17882 PyObject *resultobj;
17883 wxWindow *arg1 = (wxWindow *) 0 ;
17884 int arg2 ;
17885 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17886 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17887 wxSize const &arg4_defvalue = wxDefaultSize ;
17888 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17889 long arg5 = (long) 0 ;
17890 wxString const &arg6_defvalue = wxPyEmptyString ;
17891 wxString *arg6 = (wxString *) &arg6_defvalue ;
17892 wxChoicebook *result;
17893 wxPoint temp3 ;
17894 wxSize temp4 ;
17895 bool temp6 = false ;
17896 PyObject * obj0 = 0 ;
17897 PyObject * obj1 = 0 ;
17898 PyObject * obj2 = 0 ;
17899 PyObject * obj3 = 0 ;
17900 PyObject * obj4 = 0 ;
17901 PyObject * obj5 = 0 ;
17902 char *kwnames[] = {
17903 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17904 };
17905
17906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17908 if (SWIG_arg_fail(1)) SWIG_fail;
17909 {
17910 arg2 = (int)(SWIG_As_int(obj1));
17911 if (SWIG_arg_fail(2)) SWIG_fail;
17912 }
17913 if (obj2) {
17914 {
17915 arg3 = &temp3;
17916 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17917 }
17918 }
17919 if (obj3) {
17920 {
17921 arg4 = &temp4;
17922 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17923 }
17924 }
17925 if (obj4) {
17926 {
17927 arg5 = (long)(SWIG_As_long(obj4));
17928 if (SWIG_arg_fail(5)) SWIG_fail;
17929 }
17930 }
17931 if (obj5) {
17932 {
17933 arg6 = wxString_in_helper(obj5);
17934 if (arg6 == NULL) SWIG_fail;
17935 temp6 = true;
17936 }
17937 }
17938 {
17939 if (!wxPyCheckForApp()) SWIG_fail;
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17942
17943 wxPyEndAllowThreads(__tstate);
17944 if (PyErr_Occurred()) SWIG_fail;
17945 }
17946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17947 {
17948 if (temp6)
17949 delete arg6;
17950 }
17951 return resultobj;
17952 fail:
17953 {
17954 if (temp6)
17955 delete arg6;
17956 }
17957 return NULL;
17958 }
17959
17960
17961 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17962 PyObject *resultobj;
17963 wxChoicebook *result;
17964 char *kwnames[] = {
17965 NULL
17966 };
17967
17968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17969 {
17970 if (!wxPyCheckForApp()) SWIG_fail;
17971 PyThreadState* __tstate = wxPyBeginAllowThreads();
17972 result = (wxChoicebook *)new wxChoicebook();
17973
17974 wxPyEndAllowThreads(__tstate);
17975 if (PyErr_Occurred()) SWIG_fail;
17976 }
17977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17978 return resultobj;
17979 fail:
17980 return NULL;
17981 }
17982
17983
17984 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17985 PyObject *resultobj;
17986 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17987 wxWindow *arg2 = (wxWindow *) 0 ;
17988 int arg3 ;
17989 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17990 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17991 wxSize const &arg5_defvalue = wxDefaultSize ;
17992 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17993 long arg6 = (long) 0 ;
17994 wxString const &arg7_defvalue = wxPyEmptyString ;
17995 wxString *arg7 = (wxString *) &arg7_defvalue ;
17996 bool result;
17997 wxPoint temp4 ;
17998 wxSize temp5 ;
17999 bool temp7 = false ;
18000 PyObject * obj0 = 0 ;
18001 PyObject * obj1 = 0 ;
18002 PyObject * obj2 = 0 ;
18003 PyObject * obj3 = 0 ;
18004 PyObject * obj4 = 0 ;
18005 PyObject * obj5 = 0 ;
18006 PyObject * obj6 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18009 };
18010
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18013 if (SWIG_arg_fail(1)) SWIG_fail;
18014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18015 if (SWIG_arg_fail(2)) SWIG_fail;
18016 {
18017 arg3 = (int)(SWIG_As_int(obj2));
18018 if (SWIG_arg_fail(3)) SWIG_fail;
18019 }
18020 if (obj3) {
18021 {
18022 arg4 = &temp4;
18023 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18024 }
18025 }
18026 if (obj4) {
18027 {
18028 arg5 = &temp5;
18029 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18030 }
18031 }
18032 if (obj5) {
18033 {
18034 arg6 = (long)(SWIG_As_long(obj5));
18035 if (SWIG_arg_fail(6)) SWIG_fail;
18036 }
18037 }
18038 if (obj6) {
18039 {
18040 arg7 = wxString_in_helper(obj6);
18041 if (arg7 == NULL) SWIG_fail;
18042 temp7 = true;
18043 }
18044 }
18045 {
18046 PyThreadState* __tstate = wxPyBeginAllowThreads();
18047 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18048
18049 wxPyEndAllowThreads(__tstate);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 }
18052 {
18053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18054 }
18055 {
18056 if (temp7)
18057 delete arg7;
18058 }
18059 return resultobj;
18060 fail:
18061 {
18062 if (temp7)
18063 delete arg7;
18064 }
18065 return NULL;
18066 }
18067
18068
18069 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18070 PyObject *resultobj;
18071 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18072 bool result;
18073 PyObject * obj0 = 0 ;
18074 char *kwnames[] = {
18075 (char *) "self", NULL
18076 };
18077
18078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
18079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18080 if (SWIG_arg_fail(1)) SWIG_fail;
18081 {
18082 PyThreadState* __tstate = wxPyBeginAllowThreads();
18083 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18084
18085 wxPyEndAllowThreads(__tstate);
18086 if (PyErr_Occurred()) SWIG_fail;
18087 }
18088 {
18089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18090 }
18091 return resultobj;
18092 fail:
18093 return NULL;
18094 }
18095
18096
18097 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18098 PyObject *resultobj;
18099 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18100 bool result;
18101 PyObject * obj0 = 0 ;
18102 char *kwnames[] = {
18103 (char *) "self", NULL
18104 };
18105
18106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18108 if (SWIG_arg_fail(1)) SWIG_fail;
18109 {
18110 PyThreadState* __tstate = wxPyBeginAllowThreads();
18111 result = (bool)(arg1)->DeleteAllPages();
18112
18113 wxPyEndAllowThreads(__tstate);
18114 if (PyErr_Occurred()) SWIG_fail;
18115 }
18116 {
18117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18118 }
18119 return resultobj;
18120 fail:
18121 return NULL;
18122 }
18123
18124
18125 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18126 PyObject *obj;
18127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18128 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18129 Py_INCREF(obj);
18130 return Py_BuildValue((char *)"");
18131 }
18132 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18133 PyObject *resultobj;
18134 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18135 int arg2 = (int) 0 ;
18136 int arg3 = (int) -1 ;
18137 int arg4 = (int) -1 ;
18138 wxChoicebookEvent *result;
18139 PyObject * obj0 = 0 ;
18140 PyObject * obj1 = 0 ;
18141 PyObject * obj2 = 0 ;
18142 PyObject * obj3 = 0 ;
18143 char *kwnames[] = {
18144 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18145 };
18146
18147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18148 if (obj0) {
18149 {
18150 arg1 = (wxEventType)(SWIG_As_int(obj0));
18151 if (SWIG_arg_fail(1)) SWIG_fail;
18152 }
18153 }
18154 if (obj1) {
18155 {
18156 arg2 = (int)(SWIG_As_int(obj1));
18157 if (SWIG_arg_fail(2)) SWIG_fail;
18158 }
18159 }
18160 if (obj2) {
18161 {
18162 arg3 = (int)(SWIG_As_int(obj2));
18163 if (SWIG_arg_fail(3)) SWIG_fail;
18164 }
18165 }
18166 if (obj3) {
18167 {
18168 arg4 = (int)(SWIG_As_int(obj3));
18169 if (SWIG_arg_fail(4)) SWIG_fail;
18170 }
18171 }
18172 {
18173 PyThreadState* __tstate = wxPyBeginAllowThreads();
18174 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18175
18176 wxPyEndAllowThreads(__tstate);
18177 if (PyErr_Occurred()) SWIG_fail;
18178 }
18179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18180 return resultobj;
18181 fail:
18182 return NULL;
18183 }
18184
18185
18186 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18187 PyObject *obj;
18188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18189 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18190 Py_INCREF(obj);
18191 return Py_BuildValue((char *)"");
18192 }
18193 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18194 PyObject *resultobj;
18195 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18196 wxBookCtrlSizer *result;
18197 PyObject * obj0 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "nb", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
18203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18204 if (SWIG_arg_fail(1)) SWIG_fail;
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18208
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18213 return resultobj;
18214 fail:
18215 return NULL;
18216 }
18217
18218
18219 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18220 PyObject *resultobj;
18221 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18222 PyObject * obj0 = 0 ;
18223 char *kwnames[] = {
18224 (char *) "self", NULL
18225 };
18226
18227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18229 if (SWIG_arg_fail(1)) SWIG_fail;
18230 {
18231 PyThreadState* __tstate = wxPyBeginAllowThreads();
18232 (arg1)->RecalcSizes();
18233
18234 wxPyEndAllowThreads(__tstate);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
18237 Py_INCREF(Py_None); resultobj = Py_None;
18238 return resultobj;
18239 fail:
18240 return NULL;
18241 }
18242
18243
18244 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18245 PyObject *resultobj;
18246 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18247 wxSize result;
18248 PyObject * obj0 = 0 ;
18249 char *kwnames[] = {
18250 (char *) "self", NULL
18251 };
18252
18253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
18254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18255 if (SWIG_arg_fail(1)) SWIG_fail;
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 result = (arg1)->CalcMin();
18259
18260 wxPyEndAllowThreads(__tstate);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 }
18263 {
18264 wxSize * resultptr;
18265 resultptr = new wxSize((wxSize &)(result));
18266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18267 }
18268 return resultobj;
18269 fail:
18270 return NULL;
18271 }
18272
18273
18274 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18275 PyObject *resultobj;
18276 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18277 wxBookCtrlBase *result;
18278 PyObject * obj0 = 0 ;
18279 char *kwnames[] = {
18280 (char *) "self", NULL
18281 };
18282
18283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
18284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18285 if (SWIG_arg_fail(1)) SWIG_fail;
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
18288 result = (wxBookCtrlBase *)(arg1)->GetControl();
18289
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
18294 return resultobj;
18295 fail:
18296 return NULL;
18297 }
18298
18299
18300 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
18301 PyObject *obj;
18302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18303 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18304 Py_INCREF(obj);
18305 return Py_BuildValue((char *)"");
18306 }
18307 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18308 PyObject *resultobj;
18309 wxNotebook *arg1 = (wxNotebook *) 0 ;
18310 wxNotebookSizer *result;
18311 PyObject * obj0 = 0 ;
18312 char *kwnames[] = {
18313 (char *) "nb", NULL
18314 };
18315
18316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
18317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18318 if (SWIG_arg_fail(1)) SWIG_fail;
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18322
18323 wxPyEndAllowThreads(__tstate);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
18326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18327 return resultobj;
18328 fail:
18329 return NULL;
18330 }
18331
18332
18333 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18334 PyObject *resultobj;
18335 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18336 PyObject * obj0 = 0 ;
18337 char *kwnames[] = {
18338 (char *) "self", NULL
18339 };
18340
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18343 if (SWIG_arg_fail(1)) SWIG_fail;
18344 {
18345 PyThreadState* __tstate = wxPyBeginAllowThreads();
18346 (arg1)->RecalcSizes();
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 Py_INCREF(Py_None); resultobj = Py_None;
18352 return resultobj;
18353 fail:
18354 return NULL;
18355 }
18356
18357
18358 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18359 PyObject *resultobj;
18360 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18361 wxSize result;
18362 PyObject * obj0 = 0 ;
18363 char *kwnames[] = {
18364 (char *) "self", NULL
18365 };
18366
18367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
18368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18369 if (SWIG_arg_fail(1)) SWIG_fail;
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 result = (arg1)->CalcMin();
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 {
18378 wxSize * resultptr;
18379 resultptr = new wxSize((wxSize &)(result));
18380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18381 }
18382 return resultobj;
18383 fail:
18384 return NULL;
18385 }
18386
18387
18388 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
18389 PyObject *resultobj;
18390 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18391 wxNotebook *result;
18392 PyObject * obj0 = 0 ;
18393 char *kwnames[] = {
18394 (char *) "self", NULL
18395 };
18396
18397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
18398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18399 if (SWIG_arg_fail(1)) SWIG_fail;
18400 {
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 result = (wxNotebook *)(arg1)->GetNotebook();
18403
18404 wxPyEndAllowThreads(__tstate);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 {
18408 resultobj = wxPyMake_wxObject(result, 0);
18409 }
18410 return resultobj;
18411 fail:
18412 return NULL;
18413 }
18414
18415
18416 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
18417 PyObject *obj;
18418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18419 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18420 Py_INCREF(obj);
18421 return Py_BuildValue((char *)"");
18422 }
18423 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18424 PyObject *resultobj;
18425 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18426 int result;
18427 PyObject * obj0 = 0 ;
18428 char *kwnames[] = {
18429 (char *) "self", NULL
18430 };
18431
18432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
18433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18434 if (SWIG_arg_fail(1)) SWIG_fail;
18435 {
18436 PyThreadState* __tstate = wxPyBeginAllowThreads();
18437 result = (int)(arg1)->GetId();
18438
18439 wxPyEndAllowThreads(__tstate);
18440 if (PyErr_Occurred()) SWIG_fail;
18441 }
18442 {
18443 resultobj = SWIG_From_int((int)(result));
18444 }
18445 return resultobj;
18446 fail:
18447 return NULL;
18448 }
18449
18450
18451 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18452 PyObject *resultobj;
18453 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18454 wxControl *result;
18455 PyObject * obj0 = 0 ;
18456 char *kwnames[] = {
18457 (char *) "self", NULL
18458 };
18459
18460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
18461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18462 if (SWIG_arg_fail(1)) SWIG_fail;
18463 {
18464 PyThreadState* __tstate = wxPyBeginAllowThreads();
18465 result = (wxControl *)(arg1)->GetControl();
18466
18467 wxPyEndAllowThreads(__tstate);
18468 if (PyErr_Occurred()) SWIG_fail;
18469 }
18470 {
18471 resultobj = wxPyMake_wxObject(result, 0);
18472 }
18473 return resultobj;
18474 fail:
18475 return NULL;
18476 }
18477
18478
18479 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18480 PyObject *resultobj;
18481 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18482 wxToolBarBase *result;
18483 PyObject * obj0 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
18489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18490 if (SWIG_arg_fail(1)) SWIG_fail;
18491 {
18492 PyThreadState* __tstate = wxPyBeginAllowThreads();
18493 result = (wxToolBarBase *)(arg1)->GetToolBar();
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 {
18499 resultobj = wxPyMake_wxObject(result, 0);
18500 }
18501 return resultobj;
18502 fail:
18503 return NULL;
18504 }
18505
18506
18507 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
18508 PyObject *resultobj;
18509 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18510 int result;
18511 PyObject * obj0 = 0 ;
18512 char *kwnames[] = {
18513 (char *) "self", NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
18517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18518 if (SWIG_arg_fail(1)) SWIG_fail;
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 result = (int)(arg1)->IsButton();
18522
18523 wxPyEndAllowThreads(__tstate);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 }
18526 {
18527 resultobj = SWIG_From_int((int)(result));
18528 }
18529 return resultobj;
18530 fail:
18531 return NULL;
18532 }
18533
18534
18535 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18536 PyObject *resultobj;
18537 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18538 int result;
18539 PyObject * obj0 = 0 ;
18540 char *kwnames[] = {
18541 (char *) "self", NULL
18542 };
18543
18544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
18545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18546 if (SWIG_arg_fail(1)) SWIG_fail;
18547 {
18548 PyThreadState* __tstate = wxPyBeginAllowThreads();
18549 result = (int)(arg1)->IsControl();
18550
18551 wxPyEndAllowThreads(__tstate);
18552 if (PyErr_Occurred()) SWIG_fail;
18553 }
18554 {
18555 resultobj = SWIG_From_int((int)(result));
18556 }
18557 return resultobj;
18558 fail:
18559 return NULL;
18560 }
18561
18562
18563 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18564 PyObject *resultobj;
18565 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18566 int result;
18567 PyObject * obj0 = 0 ;
18568 char *kwnames[] = {
18569 (char *) "self", NULL
18570 };
18571
18572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18574 if (SWIG_arg_fail(1)) SWIG_fail;
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 result = (int)(arg1)->IsSeparator();
18578
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
18582 {
18583 resultobj = SWIG_From_int((int)(result));
18584 }
18585 return resultobj;
18586 fail:
18587 return NULL;
18588 }
18589
18590
18591 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18592 PyObject *resultobj;
18593 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18594 int result;
18595 PyObject * obj0 = 0 ;
18596 char *kwnames[] = {
18597 (char *) "self", NULL
18598 };
18599
18600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18602 if (SWIG_arg_fail(1)) SWIG_fail;
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (int)(arg1)->GetStyle();
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
18610 {
18611 resultobj = SWIG_From_int((int)(result));
18612 }
18613 return resultobj;
18614 fail:
18615 return NULL;
18616 }
18617
18618
18619 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18620 PyObject *resultobj;
18621 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18622 wxItemKind result;
18623 PyObject * obj0 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "self", NULL
18626 };
18627
18628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18630 if (SWIG_arg_fail(1)) SWIG_fail;
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 result = (wxItemKind)(arg1)->GetKind();
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 resultobj = SWIG_From_int((result));
18639 return resultobj;
18640 fail:
18641 return NULL;
18642 }
18643
18644
18645 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18646 PyObject *resultobj;
18647 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18648 bool result;
18649 PyObject * obj0 = 0 ;
18650 char *kwnames[] = {
18651 (char *) "self", NULL
18652 };
18653
18654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
18655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18656 if (SWIG_arg_fail(1)) SWIG_fail;
18657 {
18658 PyThreadState* __tstate = wxPyBeginAllowThreads();
18659 result = (bool)(arg1)->IsEnabled();
18660
18661 wxPyEndAllowThreads(__tstate);
18662 if (PyErr_Occurred()) SWIG_fail;
18663 }
18664 {
18665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18666 }
18667 return resultobj;
18668 fail:
18669 return NULL;
18670 }
18671
18672
18673 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18674 PyObject *resultobj;
18675 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18676 bool result;
18677 PyObject * obj0 = 0 ;
18678 char *kwnames[] = {
18679 (char *) "self", NULL
18680 };
18681
18682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18684 if (SWIG_arg_fail(1)) SWIG_fail;
18685 {
18686 PyThreadState* __tstate = wxPyBeginAllowThreads();
18687 result = (bool)(arg1)->IsToggled();
18688
18689 wxPyEndAllowThreads(__tstate);
18690 if (PyErr_Occurred()) SWIG_fail;
18691 }
18692 {
18693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18694 }
18695 return resultobj;
18696 fail:
18697 return NULL;
18698 }
18699
18700
18701 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18702 PyObject *resultobj;
18703 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18704 bool result;
18705 PyObject * obj0 = 0 ;
18706 char *kwnames[] = {
18707 (char *) "self", NULL
18708 };
18709
18710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18712 if (SWIG_arg_fail(1)) SWIG_fail;
18713 {
18714 PyThreadState* __tstate = wxPyBeginAllowThreads();
18715 result = (bool)(arg1)->CanBeToggled();
18716
18717 wxPyEndAllowThreads(__tstate);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 }
18720 {
18721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18722 }
18723 return resultobj;
18724 fail:
18725 return NULL;
18726 }
18727
18728
18729 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18730 PyObject *resultobj;
18731 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18732 wxBitmap *result;
18733 PyObject * obj0 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18740 if (SWIG_arg_fail(1)) SWIG_fail;
18741 {
18742 PyThreadState* __tstate = wxPyBeginAllowThreads();
18743 {
18744 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18745 result = (wxBitmap *) &_result_ref;
18746 }
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 {
18752 wxBitmap* resultptr = new wxBitmap(*result);
18753 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18754 }
18755 return resultobj;
18756 fail:
18757 return NULL;
18758 }
18759
18760
18761 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18762 PyObject *resultobj;
18763 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18764 wxBitmap *result;
18765 PyObject * obj0 = 0 ;
18766 char *kwnames[] = {
18767 (char *) "self", NULL
18768 };
18769
18770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18772 if (SWIG_arg_fail(1)) SWIG_fail;
18773 {
18774 PyThreadState* __tstate = wxPyBeginAllowThreads();
18775 {
18776 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18777 result = (wxBitmap *) &_result_ref;
18778 }
18779
18780 wxPyEndAllowThreads(__tstate);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 }
18783 {
18784 wxBitmap* resultptr = new wxBitmap(*result);
18785 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18786 }
18787 return resultobj;
18788 fail:
18789 return NULL;
18790 }
18791
18792
18793 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18794 PyObject *resultobj;
18795 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18796 wxBitmap result;
18797 PyObject * obj0 = 0 ;
18798 char *kwnames[] = {
18799 (char *) "self", NULL
18800 };
18801
18802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18804 if (SWIG_arg_fail(1)) SWIG_fail;
18805 {
18806 PyThreadState* __tstate = wxPyBeginAllowThreads();
18807 result = (arg1)->GetBitmap();
18808
18809 wxPyEndAllowThreads(__tstate);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 }
18812 {
18813 wxBitmap * resultptr;
18814 resultptr = new wxBitmap((wxBitmap &)(result));
18815 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18816 }
18817 return resultobj;
18818 fail:
18819 return NULL;
18820 }
18821
18822
18823 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18824 PyObject *resultobj;
18825 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18826 wxString result;
18827 PyObject * obj0 = 0 ;
18828 char *kwnames[] = {
18829 (char *) "self", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail;
18835 {
18836 PyThreadState* __tstate = wxPyBeginAllowThreads();
18837 result = (arg1)->GetLabel();
18838
18839 wxPyEndAllowThreads(__tstate);
18840 if (PyErr_Occurred()) SWIG_fail;
18841 }
18842 {
18843 #if wxUSE_UNICODE
18844 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18845 #else
18846 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18847 #endif
18848 }
18849 return resultobj;
18850 fail:
18851 return NULL;
18852 }
18853
18854
18855 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18856 PyObject *resultobj;
18857 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18858 wxString result;
18859 PyObject * obj0 = 0 ;
18860 char *kwnames[] = {
18861 (char *) "self", NULL
18862 };
18863
18864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18866 if (SWIG_arg_fail(1)) SWIG_fail;
18867 {
18868 PyThreadState* __tstate = wxPyBeginAllowThreads();
18869 result = (arg1)->GetShortHelp();
18870
18871 wxPyEndAllowThreads(__tstate);
18872 if (PyErr_Occurred()) SWIG_fail;
18873 }
18874 {
18875 #if wxUSE_UNICODE
18876 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18877 #else
18878 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18879 #endif
18880 }
18881 return resultobj;
18882 fail:
18883 return NULL;
18884 }
18885
18886
18887 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18888 PyObject *resultobj;
18889 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18890 wxString result;
18891 PyObject * obj0 = 0 ;
18892 char *kwnames[] = {
18893 (char *) "self", NULL
18894 };
18895
18896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18898 if (SWIG_arg_fail(1)) SWIG_fail;
18899 {
18900 PyThreadState* __tstate = wxPyBeginAllowThreads();
18901 result = (arg1)->GetLongHelp();
18902
18903 wxPyEndAllowThreads(__tstate);
18904 if (PyErr_Occurred()) SWIG_fail;
18905 }
18906 {
18907 #if wxUSE_UNICODE
18908 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18909 #else
18910 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18911 #endif
18912 }
18913 return resultobj;
18914 fail:
18915 return NULL;
18916 }
18917
18918
18919 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18920 PyObject *resultobj;
18921 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18922 bool arg2 ;
18923 bool result;
18924 PyObject * obj0 = 0 ;
18925 PyObject * obj1 = 0 ;
18926 char *kwnames[] = {
18927 (char *) "self",(char *) "enable", NULL
18928 };
18929
18930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
18931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18932 if (SWIG_arg_fail(1)) SWIG_fail;
18933 {
18934 arg2 = (bool)(SWIG_As_bool(obj1));
18935 if (SWIG_arg_fail(2)) SWIG_fail;
18936 }
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 result = (bool)(arg1)->Enable(arg2);
18940
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 {
18945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18946 }
18947 return resultobj;
18948 fail:
18949 return NULL;
18950 }
18951
18952
18953 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
18954 PyObject *resultobj;
18955 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18956 PyObject * obj0 = 0 ;
18957 char *kwnames[] = {
18958 (char *) "self", NULL
18959 };
18960
18961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
18962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18963 if (SWIG_arg_fail(1)) SWIG_fail;
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 (arg1)->Toggle();
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 Py_INCREF(Py_None); resultobj = Py_None;
18972 return resultobj;
18973 fail:
18974 return NULL;
18975 }
18976
18977
18978 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj;
18980 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18981 bool arg2 ;
18982 bool result;
18983 PyObject * obj0 = 0 ;
18984 PyObject * obj1 = 0 ;
18985 char *kwnames[] = {
18986 (char *) "self",(char *) "toggle", NULL
18987 };
18988
18989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
18990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18991 if (SWIG_arg_fail(1)) SWIG_fail;
18992 {
18993 arg2 = (bool)(SWIG_As_bool(obj1));
18994 if (SWIG_arg_fail(2)) SWIG_fail;
18995 }
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 result = (bool)(arg1)->SetToggle(arg2);
18999
19000 wxPyEndAllowThreads(__tstate);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 {
19004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19005 }
19006 return resultobj;
19007 fail:
19008 return NULL;
19009 }
19010
19011
19012 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19013 PyObject *resultobj;
19014 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19015 wxString *arg2 = 0 ;
19016 bool result;
19017 bool temp2 = false ;
19018 PyObject * obj0 = 0 ;
19019 PyObject * obj1 = 0 ;
19020 char *kwnames[] = {
19021 (char *) "self",(char *) "help", NULL
19022 };
19023
19024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
19025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19026 if (SWIG_arg_fail(1)) SWIG_fail;
19027 {
19028 arg2 = wxString_in_helper(obj1);
19029 if (arg2 == NULL) SWIG_fail;
19030 temp2 = true;
19031 }
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 {
19040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19041 }
19042 {
19043 if (temp2)
19044 delete arg2;
19045 }
19046 return resultobj;
19047 fail:
19048 {
19049 if (temp2)
19050 delete arg2;
19051 }
19052 return NULL;
19053 }
19054
19055
19056 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19057 PyObject *resultobj;
19058 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19059 wxString *arg2 = 0 ;
19060 bool result;
19061 bool temp2 = false ;
19062 PyObject * obj0 = 0 ;
19063 PyObject * obj1 = 0 ;
19064 char *kwnames[] = {
19065 (char *) "self",(char *) "help", NULL
19066 };
19067
19068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
19069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19070 if (SWIG_arg_fail(1)) SWIG_fail;
19071 {
19072 arg2 = wxString_in_helper(obj1);
19073 if (arg2 == NULL) SWIG_fail;
19074 temp2 = true;
19075 }
19076 {
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19079
19080 wxPyEndAllowThreads(__tstate);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 }
19083 {
19084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19085 }
19086 {
19087 if (temp2)
19088 delete arg2;
19089 }
19090 return resultobj;
19091 fail:
19092 {
19093 if (temp2)
19094 delete arg2;
19095 }
19096 return NULL;
19097 }
19098
19099
19100 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19101 PyObject *resultobj;
19102 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19103 wxBitmap *arg2 = 0 ;
19104 PyObject * obj0 = 0 ;
19105 PyObject * obj1 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "self",(char *) "bmp", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
19111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19112 if (SWIG_arg_fail(1)) SWIG_fail;
19113 {
19114 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19115 if (SWIG_arg_fail(2)) SWIG_fail;
19116 if (arg2 == NULL) {
19117 SWIG_null_ref("wxBitmap");
19118 }
19119 if (SWIG_arg_fail(2)) SWIG_fail;
19120 }
19121 {
19122 PyThreadState* __tstate = wxPyBeginAllowThreads();
19123 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19124
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 Py_INCREF(Py_None); resultobj = Py_None;
19129 return resultobj;
19130 fail:
19131 return NULL;
19132 }
19133
19134
19135 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj;
19137 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19138 wxBitmap *arg2 = 0 ;
19139 PyObject * obj0 = 0 ;
19140 PyObject * obj1 = 0 ;
19141 char *kwnames[] = {
19142 (char *) "self",(char *) "bmp", NULL
19143 };
19144
19145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
19146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19147 if (SWIG_arg_fail(1)) SWIG_fail;
19148 {
19149 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19150 if (SWIG_arg_fail(2)) SWIG_fail;
19151 if (arg2 == NULL) {
19152 SWIG_null_ref("wxBitmap");
19153 }
19154 if (SWIG_arg_fail(2)) SWIG_fail;
19155 }
19156 {
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
19158 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19159
19160 wxPyEndAllowThreads(__tstate);
19161 if (PyErr_Occurred()) SWIG_fail;
19162 }
19163 Py_INCREF(Py_None); resultobj = Py_None;
19164 return resultobj;
19165 fail:
19166 return NULL;
19167 }
19168
19169
19170 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19171 PyObject *resultobj;
19172 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19173 wxString *arg2 = 0 ;
19174 bool temp2 = false ;
19175 PyObject * obj0 = 0 ;
19176 PyObject * obj1 = 0 ;
19177 char *kwnames[] = {
19178 (char *) "self",(char *) "label", NULL
19179 };
19180
19181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19183 if (SWIG_arg_fail(1)) SWIG_fail;
19184 {
19185 arg2 = wxString_in_helper(obj1);
19186 if (arg2 == NULL) SWIG_fail;
19187 temp2 = true;
19188 }
19189 {
19190 PyThreadState* __tstate = wxPyBeginAllowThreads();
19191 (arg1)->SetLabel((wxString const &)*arg2);
19192
19193 wxPyEndAllowThreads(__tstate);
19194 if (PyErr_Occurred()) SWIG_fail;
19195 }
19196 Py_INCREF(Py_None); resultobj = Py_None;
19197 {
19198 if (temp2)
19199 delete arg2;
19200 }
19201 return resultobj;
19202 fail:
19203 {
19204 if (temp2)
19205 delete arg2;
19206 }
19207 return NULL;
19208 }
19209
19210
19211 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19212 PyObject *resultobj;
19213 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19214 PyObject * obj0 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "self", NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19221 if (SWIG_arg_fail(1)) SWIG_fail;
19222 {
19223 PyThreadState* __tstate = wxPyBeginAllowThreads();
19224 (arg1)->Detach();
19225
19226 wxPyEndAllowThreads(__tstate);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 }
19229 Py_INCREF(Py_None); resultobj = Py_None;
19230 return resultobj;
19231 fail:
19232 return NULL;
19233 }
19234
19235
19236 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19237 PyObject *resultobj;
19238 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19239 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19240 PyObject * obj0 = 0 ;
19241 PyObject * obj1 = 0 ;
19242 char *kwnames[] = {
19243 (char *) "self",(char *) "tbar", NULL
19244 };
19245
19246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19248 if (SWIG_arg_fail(1)) SWIG_fail;
19249 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19250 if (SWIG_arg_fail(2)) SWIG_fail;
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 (arg1)->Attach(arg2);
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 Py_INCREF(Py_None); resultobj = Py_None;
19259 return resultobj;
19260 fail:
19261 return NULL;
19262 }
19263
19264
19265 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19266 PyObject *resultobj;
19267 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19268 PyObject *result;
19269 PyObject * obj0 = 0 ;
19270 char *kwnames[] = {
19271 (char *) "self", NULL
19272 };
19273
19274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19276 if (SWIG_arg_fail(1)) SWIG_fail;
19277 {
19278 PyThreadState* __tstate = wxPyBeginAllowThreads();
19279 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19280
19281 wxPyEndAllowThreads(__tstate);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 }
19284 resultobj = result;
19285 return resultobj;
19286 fail:
19287 return NULL;
19288 }
19289
19290
19291 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19292 PyObject *resultobj;
19293 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19294 PyObject *arg2 = (PyObject *) 0 ;
19295 PyObject * obj0 = 0 ;
19296 PyObject * obj1 = 0 ;
19297 char *kwnames[] = {
19298 (char *) "self",(char *) "clientData", NULL
19299 };
19300
19301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19303 if (SWIG_arg_fail(1)) SWIG_fail;
19304 arg2 = obj1;
19305 {
19306 PyThreadState* __tstate = wxPyBeginAllowThreads();
19307 wxToolBarToolBase_SetClientData(arg1,arg2);
19308
19309 wxPyEndAllowThreads(__tstate);
19310 if (PyErr_Occurred()) SWIG_fail;
19311 }
19312 Py_INCREF(Py_None); resultobj = Py_None;
19313 return resultobj;
19314 fail:
19315 return NULL;
19316 }
19317
19318
19319 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19320 PyObject *obj;
19321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19322 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19323 Py_INCREF(obj);
19324 return Py_BuildValue((char *)"");
19325 }
19326 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19327 PyObject *resultobj;
19328 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19329 int arg2 ;
19330 wxString *arg3 = 0 ;
19331 wxBitmap *arg4 = 0 ;
19332 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19333 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19334 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19335 wxString const &arg7_defvalue = wxPyEmptyString ;
19336 wxString *arg7 = (wxString *) &arg7_defvalue ;
19337 wxString const &arg8_defvalue = wxPyEmptyString ;
19338 wxString *arg8 = (wxString *) &arg8_defvalue ;
19339 PyObject *arg9 = (PyObject *) NULL ;
19340 wxToolBarToolBase *result;
19341 bool temp3 = false ;
19342 bool temp7 = false ;
19343 bool temp8 = false ;
19344 PyObject * obj0 = 0 ;
19345 PyObject * obj1 = 0 ;
19346 PyObject * obj2 = 0 ;
19347 PyObject * obj3 = 0 ;
19348 PyObject * obj4 = 0 ;
19349 PyObject * obj5 = 0 ;
19350 PyObject * obj6 = 0 ;
19351 PyObject * obj7 = 0 ;
19352 PyObject * obj8 = 0 ;
19353 char *kwnames[] = {
19354 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19355 };
19356
19357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19359 if (SWIG_arg_fail(1)) SWIG_fail;
19360 {
19361 arg2 = (int)(SWIG_As_int(obj1));
19362 if (SWIG_arg_fail(2)) SWIG_fail;
19363 }
19364 {
19365 arg3 = wxString_in_helper(obj2);
19366 if (arg3 == NULL) SWIG_fail;
19367 temp3 = true;
19368 }
19369 {
19370 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19371 if (SWIG_arg_fail(4)) SWIG_fail;
19372 if (arg4 == NULL) {
19373 SWIG_null_ref("wxBitmap");
19374 }
19375 if (SWIG_arg_fail(4)) SWIG_fail;
19376 }
19377 if (obj4) {
19378 {
19379 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19380 if (SWIG_arg_fail(5)) SWIG_fail;
19381 if (arg5 == NULL) {
19382 SWIG_null_ref("wxBitmap");
19383 }
19384 if (SWIG_arg_fail(5)) SWIG_fail;
19385 }
19386 }
19387 if (obj5) {
19388 {
19389 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19390 if (SWIG_arg_fail(6)) SWIG_fail;
19391 }
19392 }
19393 if (obj6) {
19394 {
19395 arg7 = wxString_in_helper(obj6);
19396 if (arg7 == NULL) SWIG_fail;
19397 temp7 = true;
19398 }
19399 }
19400 if (obj7) {
19401 {
19402 arg8 = wxString_in_helper(obj7);
19403 if (arg8 == NULL) SWIG_fail;
19404 temp8 = true;
19405 }
19406 }
19407 if (obj8) {
19408 arg9 = obj8;
19409 }
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 {
19418 resultobj = wxPyMake_wxObject(result, 0);
19419 }
19420 {
19421 if (temp3)
19422 delete arg3;
19423 }
19424 {
19425 if (temp7)
19426 delete arg7;
19427 }
19428 {
19429 if (temp8)
19430 delete arg8;
19431 }
19432 return resultobj;
19433 fail:
19434 {
19435 if (temp3)
19436 delete arg3;
19437 }
19438 {
19439 if (temp7)
19440 delete arg7;
19441 }
19442 {
19443 if (temp8)
19444 delete arg8;
19445 }
19446 return NULL;
19447 }
19448
19449
19450 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19451 PyObject *resultobj;
19452 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19453 size_t arg2 ;
19454 int arg3 ;
19455 wxString *arg4 = 0 ;
19456 wxBitmap *arg5 = 0 ;
19457 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19458 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19459 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19460 wxString const &arg8_defvalue = wxPyEmptyString ;
19461 wxString *arg8 = (wxString *) &arg8_defvalue ;
19462 wxString const &arg9_defvalue = wxPyEmptyString ;
19463 wxString *arg9 = (wxString *) &arg9_defvalue ;
19464 PyObject *arg10 = (PyObject *) NULL ;
19465 wxToolBarToolBase *result;
19466 bool temp4 = false ;
19467 bool temp8 = false ;
19468 bool temp9 = false ;
19469 PyObject * obj0 = 0 ;
19470 PyObject * obj1 = 0 ;
19471 PyObject * obj2 = 0 ;
19472 PyObject * obj3 = 0 ;
19473 PyObject * obj4 = 0 ;
19474 PyObject * obj5 = 0 ;
19475 PyObject * obj6 = 0 ;
19476 PyObject * obj7 = 0 ;
19477 PyObject * obj8 = 0 ;
19478 PyObject * obj9 = 0 ;
19479 char *kwnames[] = {
19480 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19481 };
19482
19483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19485 if (SWIG_arg_fail(1)) SWIG_fail;
19486 {
19487 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19488 if (SWIG_arg_fail(2)) SWIG_fail;
19489 }
19490 {
19491 arg3 = (int)(SWIG_As_int(obj2));
19492 if (SWIG_arg_fail(3)) SWIG_fail;
19493 }
19494 {
19495 arg4 = wxString_in_helper(obj3);
19496 if (arg4 == NULL) SWIG_fail;
19497 temp4 = true;
19498 }
19499 {
19500 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19501 if (SWIG_arg_fail(5)) SWIG_fail;
19502 if (arg5 == NULL) {
19503 SWIG_null_ref("wxBitmap");
19504 }
19505 if (SWIG_arg_fail(5)) SWIG_fail;
19506 }
19507 if (obj5) {
19508 {
19509 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19510 if (SWIG_arg_fail(6)) SWIG_fail;
19511 if (arg6 == NULL) {
19512 SWIG_null_ref("wxBitmap");
19513 }
19514 if (SWIG_arg_fail(6)) SWIG_fail;
19515 }
19516 }
19517 if (obj6) {
19518 {
19519 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19520 if (SWIG_arg_fail(7)) SWIG_fail;
19521 }
19522 }
19523 if (obj7) {
19524 {
19525 arg8 = wxString_in_helper(obj7);
19526 if (arg8 == NULL) SWIG_fail;
19527 temp8 = true;
19528 }
19529 }
19530 if (obj8) {
19531 {
19532 arg9 = wxString_in_helper(obj8);
19533 if (arg9 == NULL) SWIG_fail;
19534 temp9 = true;
19535 }
19536 }
19537 if (obj9) {
19538 arg10 = obj9;
19539 }
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 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);
19543
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
19547 {
19548 resultobj = wxPyMake_wxObject(result, 0);
19549 }
19550 {
19551 if (temp4)
19552 delete arg4;
19553 }
19554 {
19555 if (temp8)
19556 delete arg8;
19557 }
19558 {
19559 if (temp9)
19560 delete arg9;
19561 }
19562 return resultobj;
19563 fail:
19564 {
19565 if (temp4)
19566 delete arg4;
19567 }
19568 {
19569 if (temp8)
19570 delete arg8;
19571 }
19572 {
19573 if (temp9)
19574 delete arg9;
19575 }
19576 return NULL;
19577 }
19578
19579
19580 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19581 PyObject *resultobj;
19582 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19583 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19584 wxToolBarToolBase *result;
19585 PyObject * obj0 = 0 ;
19586 PyObject * obj1 = 0 ;
19587 char *kwnames[] = {
19588 (char *) "self",(char *) "tool", NULL
19589 };
19590
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19593 if (SWIG_arg_fail(1)) SWIG_fail;
19594 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19595 if (SWIG_arg_fail(2)) SWIG_fail;
19596 {
19597 PyThreadState* __tstate = wxPyBeginAllowThreads();
19598 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19599
19600 wxPyEndAllowThreads(__tstate);
19601 if (PyErr_Occurred()) SWIG_fail;
19602 }
19603 {
19604 resultobj = wxPyMake_wxObject(result, 0);
19605 }
19606 return resultobj;
19607 fail:
19608 return NULL;
19609 }
19610
19611
19612 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj;
19614 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19615 size_t arg2 ;
19616 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19617 wxToolBarToolBase *result;
19618 PyObject * obj0 = 0 ;
19619 PyObject * obj1 = 0 ;
19620 PyObject * obj2 = 0 ;
19621 char *kwnames[] = {
19622 (char *) "self",(char *) "pos",(char *) "tool", NULL
19623 };
19624
19625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19627 if (SWIG_arg_fail(1)) SWIG_fail;
19628 {
19629 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19630 if (SWIG_arg_fail(2)) SWIG_fail;
19631 }
19632 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19633 if (SWIG_arg_fail(3)) SWIG_fail;
19634 {
19635 PyThreadState* __tstate = wxPyBeginAllowThreads();
19636 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19637
19638 wxPyEndAllowThreads(__tstate);
19639 if (PyErr_Occurred()) SWIG_fail;
19640 }
19641 {
19642 resultobj = wxPyMake_wxObject(result, 0);
19643 }
19644 return resultobj;
19645 fail:
19646 return NULL;
19647 }
19648
19649
19650 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj;
19652 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19653 wxControl *arg2 = (wxControl *) 0 ;
19654 wxToolBarToolBase *result;
19655 PyObject * obj0 = 0 ;
19656 PyObject * obj1 = 0 ;
19657 char *kwnames[] = {
19658 (char *) "self",(char *) "control", NULL
19659 };
19660
19661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19663 if (SWIG_arg_fail(1)) SWIG_fail;
19664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19665 if (SWIG_arg_fail(2)) SWIG_fail;
19666 {
19667 PyThreadState* __tstate = wxPyBeginAllowThreads();
19668 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19669
19670 wxPyEndAllowThreads(__tstate);
19671 if (PyErr_Occurred()) SWIG_fail;
19672 }
19673 {
19674 resultobj = wxPyMake_wxObject(result, 0);
19675 }
19676 return resultobj;
19677 fail:
19678 return NULL;
19679 }
19680
19681
19682 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19683 PyObject *resultobj;
19684 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19685 size_t arg2 ;
19686 wxControl *arg3 = (wxControl *) 0 ;
19687 wxToolBarToolBase *result;
19688 PyObject * obj0 = 0 ;
19689 PyObject * obj1 = 0 ;
19690 PyObject * obj2 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self",(char *) "pos",(char *) "control", NULL
19693 };
19694
19695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19697 if (SWIG_arg_fail(1)) SWIG_fail;
19698 {
19699 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19700 if (SWIG_arg_fail(2)) SWIG_fail;
19701 }
19702 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19703 if (SWIG_arg_fail(3)) SWIG_fail;
19704 {
19705 PyThreadState* __tstate = wxPyBeginAllowThreads();
19706 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19707
19708 wxPyEndAllowThreads(__tstate);
19709 if (PyErr_Occurred()) SWIG_fail;
19710 }
19711 {
19712 resultobj = wxPyMake_wxObject(result, 0);
19713 }
19714 return resultobj;
19715 fail:
19716 return NULL;
19717 }
19718
19719
19720 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19721 PyObject *resultobj;
19722 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19723 int arg2 ;
19724 wxControl *result;
19725 PyObject * obj0 = 0 ;
19726 PyObject * obj1 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self",(char *) "id", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19733 if (SWIG_arg_fail(1)) SWIG_fail;
19734 {
19735 arg2 = (int)(SWIG_As_int(obj1));
19736 if (SWIG_arg_fail(2)) SWIG_fail;
19737 }
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 result = (wxControl *)(arg1)->FindControl(arg2);
19741
19742 wxPyEndAllowThreads(__tstate);
19743 if (PyErr_Occurred()) SWIG_fail;
19744 }
19745 {
19746 resultobj = wxPyMake_wxObject(result, 0);
19747 }
19748 return resultobj;
19749 fail:
19750 return NULL;
19751 }
19752
19753
19754 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19755 PyObject *resultobj;
19756 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19757 wxToolBarToolBase *result;
19758 PyObject * obj0 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "self", NULL
19761 };
19762
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19765 if (SWIG_arg_fail(1)) SWIG_fail;
19766 {
19767 PyThreadState* __tstate = wxPyBeginAllowThreads();
19768 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19769
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
19773 {
19774 resultobj = wxPyMake_wxObject(result, 0);
19775 }
19776 return resultobj;
19777 fail:
19778 return NULL;
19779 }
19780
19781
19782 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19783 PyObject *resultobj;
19784 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19785 size_t arg2 ;
19786 wxToolBarToolBase *result;
19787 PyObject * obj0 = 0 ;
19788 PyObject * obj1 = 0 ;
19789 char *kwnames[] = {
19790 (char *) "self",(char *) "pos", NULL
19791 };
19792
19793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19795 if (SWIG_arg_fail(1)) SWIG_fail;
19796 {
19797 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19798 if (SWIG_arg_fail(2)) SWIG_fail;
19799 }
19800 {
19801 PyThreadState* __tstate = wxPyBeginAllowThreads();
19802 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19803
19804 wxPyEndAllowThreads(__tstate);
19805 if (PyErr_Occurred()) SWIG_fail;
19806 }
19807 {
19808 resultobj = wxPyMake_wxObject(result, 0);
19809 }
19810 return resultobj;
19811 fail:
19812 return NULL;
19813 }
19814
19815
19816 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19817 PyObject *resultobj;
19818 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19819 int arg2 ;
19820 wxToolBarToolBase *result;
19821 PyObject * obj0 = 0 ;
19822 PyObject * obj1 = 0 ;
19823 char *kwnames[] = {
19824 (char *) "self",(char *) "id", NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19829 if (SWIG_arg_fail(1)) SWIG_fail;
19830 {
19831 arg2 = (int)(SWIG_As_int(obj1));
19832 if (SWIG_arg_fail(2)) SWIG_fail;
19833 }
19834 {
19835 PyThreadState* __tstate = wxPyBeginAllowThreads();
19836 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19837
19838 wxPyEndAllowThreads(__tstate);
19839 if (PyErr_Occurred()) SWIG_fail;
19840 }
19841 {
19842 resultobj = wxPyMake_wxObject(result, 0);
19843 }
19844 return resultobj;
19845 fail:
19846 return NULL;
19847 }
19848
19849
19850 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19851 PyObject *resultobj;
19852 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19853 size_t arg2 ;
19854 bool result;
19855 PyObject * obj0 = 0 ;
19856 PyObject * obj1 = 0 ;
19857 char *kwnames[] = {
19858 (char *) "self",(char *) "pos", NULL
19859 };
19860
19861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19863 if (SWIG_arg_fail(1)) SWIG_fail;
19864 {
19865 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19866 if (SWIG_arg_fail(2)) SWIG_fail;
19867 }
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 result = (bool)(arg1)->DeleteToolByPos(arg2);
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 {
19876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19877 }
19878 return resultobj;
19879 fail:
19880 return NULL;
19881 }
19882
19883
19884 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19885 PyObject *resultobj;
19886 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19887 int arg2 ;
19888 bool result;
19889 PyObject * obj0 = 0 ;
19890 PyObject * obj1 = 0 ;
19891 char *kwnames[] = {
19892 (char *) "self",(char *) "id", NULL
19893 };
19894
19895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail;
19898 {
19899 arg2 = (int)(SWIG_As_int(obj1));
19900 if (SWIG_arg_fail(2)) SWIG_fail;
19901 }
19902 {
19903 PyThreadState* __tstate = wxPyBeginAllowThreads();
19904 result = (bool)(arg1)->DeleteTool(arg2);
19905
19906 wxPyEndAllowThreads(__tstate);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 }
19909 {
19910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19911 }
19912 return resultobj;
19913 fail:
19914 return NULL;
19915 }
19916
19917
19918 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19919 PyObject *resultobj;
19920 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19921 PyObject * obj0 = 0 ;
19922 char *kwnames[] = {
19923 (char *) "self", NULL
19924 };
19925
19926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
19927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19928 if (SWIG_arg_fail(1)) SWIG_fail;
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 (arg1)->ClearTools();
19932
19933 wxPyEndAllowThreads(__tstate);
19934 if (PyErr_Occurred()) SWIG_fail;
19935 }
19936 Py_INCREF(Py_None); resultobj = Py_None;
19937 return resultobj;
19938 fail:
19939 return NULL;
19940 }
19941
19942
19943 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19944 PyObject *resultobj;
19945 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19946 bool result;
19947 PyObject * obj0 = 0 ;
19948 char *kwnames[] = {
19949 (char *) "self", NULL
19950 };
19951
19952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
19953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19954 if (SWIG_arg_fail(1)) SWIG_fail;
19955 {
19956 PyThreadState* __tstate = wxPyBeginAllowThreads();
19957 result = (bool)(arg1)->Realize();
19958
19959 wxPyEndAllowThreads(__tstate);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 }
19962 {
19963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19964 }
19965 return resultobj;
19966 fail:
19967 return NULL;
19968 }
19969
19970
19971 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
19972 PyObject *resultobj;
19973 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19974 int arg2 ;
19975 bool arg3 ;
19976 PyObject * obj0 = 0 ;
19977 PyObject * obj1 = 0 ;
19978 PyObject * obj2 = 0 ;
19979 char *kwnames[] = {
19980 (char *) "self",(char *) "id",(char *) "enable", NULL
19981 };
19982
19983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19985 if (SWIG_arg_fail(1)) SWIG_fail;
19986 {
19987 arg2 = (int)(SWIG_As_int(obj1));
19988 if (SWIG_arg_fail(2)) SWIG_fail;
19989 }
19990 {
19991 arg3 = (bool)(SWIG_As_bool(obj2));
19992 if (SWIG_arg_fail(3)) SWIG_fail;
19993 }
19994 {
19995 PyThreadState* __tstate = wxPyBeginAllowThreads();
19996 (arg1)->EnableTool(arg2,arg3);
19997
19998 wxPyEndAllowThreads(__tstate);
19999 if (PyErr_Occurred()) SWIG_fail;
20000 }
20001 Py_INCREF(Py_None); resultobj = Py_None;
20002 return resultobj;
20003 fail:
20004 return NULL;
20005 }
20006
20007
20008 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
20009 PyObject *resultobj;
20010 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20011 int arg2 ;
20012 bool arg3 ;
20013 PyObject * obj0 = 0 ;
20014 PyObject * obj1 = 0 ;
20015 PyObject * obj2 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "self",(char *) "id",(char *) "toggle", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20022 if (SWIG_arg_fail(1)) SWIG_fail;
20023 {
20024 arg2 = (int)(SWIG_As_int(obj1));
20025 if (SWIG_arg_fail(2)) SWIG_fail;
20026 }
20027 {
20028 arg3 = (bool)(SWIG_As_bool(obj2));
20029 if (SWIG_arg_fail(3)) SWIG_fail;
20030 }
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 (arg1)->ToggleTool(arg2,arg3);
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 Py_INCREF(Py_None); resultobj = Py_None;
20039 return resultobj;
20040 fail:
20041 return NULL;
20042 }
20043
20044
20045 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
20046 PyObject *resultobj;
20047 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20048 int arg2 ;
20049 bool arg3 ;
20050 PyObject * obj0 = 0 ;
20051 PyObject * obj1 = 0 ;
20052 PyObject * obj2 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self",(char *) "id",(char *) "toggle", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20059 if (SWIG_arg_fail(1)) SWIG_fail;
20060 {
20061 arg2 = (int)(SWIG_As_int(obj1));
20062 if (SWIG_arg_fail(2)) SWIG_fail;
20063 }
20064 {
20065 arg3 = (bool)(SWIG_As_bool(obj2));
20066 if (SWIG_arg_fail(3)) SWIG_fail;
20067 }
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 (arg1)->SetToggle(arg2,arg3);
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 Py_INCREF(Py_None); resultobj = Py_None;
20076 return resultobj;
20077 fail:
20078 return NULL;
20079 }
20080
20081
20082 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20083 PyObject *resultobj;
20084 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20085 int arg2 ;
20086 PyObject *result;
20087 PyObject * obj0 = 0 ;
20088 PyObject * obj1 = 0 ;
20089 char *kwnames[] = {
20090 (char *) "self",(char *) "id", NULL
20091 };
20092
20093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
20094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20095 if (SWIG_arg_fail(1)) SWIG_fail;
20096 {
20097 arg2 = (int)(SWIG_As_int(obj1));
20098 if (SWIG_arg_fail(2)) SWIG_fail;
20099 }
20100 {
20101 PyThreadState* __tstate = wxPyBeginAllowThreads();
20102 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20103
20104 wxPyEndAllowThreads(__tstate);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 resultobj = result;
20108 return resultobj;
20109 fail:
20110 return NULL;
20111 }
20112
20113
20114 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20115 PyObject *resultobj;
20116 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20117 int arg2 ;
20118 PyObject *arg3 = (PyObject *) 0 ;
20119 PyObject * obj0 = 0 ;
20120 PyObject * obj1 = 0 ;
20121 PyObject * obj2 = 0 ;
20122 char *kwnames[] = {
20123 (char *) "self",(char *) "id",(char *) "clientData", NULL
20124 };
20125
20126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20128 if (SWIG_arg_fail(1)) SWIG_fail;
20129 {
20130 arg2 = (int)(SWIG_As_int(obj1));
20131 if (SWIG_arg_fail(2)) SWIG_fail;
20132 }
20133 arg3 = obj2;
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20137
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 Py_INCREF(Py_None); resultobj = Py_None;
20142 return resultobj;
20143 fail:
20144 return NULL;
20145 }
20146
20147
20148 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20151 int arg2 ;
20152 int result;
20153 PyObject * obj0 = 0 ;
20154 PyObject * obj1 = 0 ;
20155 char *kwnames[] = {
20156 (char *) "self",(char *) "id", NULL
20157 };
20158
20159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
20160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20161 if (SWIG_arg_fail(1)) SWIG_fail;
20162 {
20163 arg2 = (int)(SWIG_As_int(obj1));
20164 if (SWIG_arg_fail(2)) SWIG_fail;
20165 }
20166 {
20167 PyThreadState* __tstate = wxPyBeginAllowThreads();
20168 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20169
20170 wxPyEndAllowThreads(__tstate);
20171 if (PyErr_Occurred()) SWIG_fail;
20172 }
20173 {
20174 resultobj = SWIG_From_int((int)(result));
20175 }
20176 return resultobj;
20177 fail:
20178 return NULL;
20179 }
20180
20181
20182 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
20183 PyObject *resultobj;
20184 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20185 int arg2 ;
20186 bool result;
20187 PyObject * obj0 = 0 ;
20188 PyObject * obj1 = 0 ;
20189 char *kwnames[] = {
20190 (char *) "self",(char *) "id", NULL
20191 };
20192
20193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20195 if (SWIG_arg_fail(1)) SWIG_fail;
20196 {
20197 arg2 = (int)(SWIG_As_int(obj1));
20198 if (SWIG_arg_fail(2)) SWIG_fail;
20199 }
20200 {
20201 PyThreadState* __tstate = wxPyBeginAllowThreads();
20202 result = (bool)(arg1)->GetToolState(arg2);
20203
20204 wxPyEndAllowThreads(__tstate);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 }
20207 {
20208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20209 }
20210 return resultobj;
20211 fail:
20212 return NULL;
20213 }
20214
20215
20216 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20217 PyObject *resultobj;
20218 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20219 int arg2 ;
20220 bool result;
20221 PyObject * obj0 = 0 ;
20222 PyObject * obj1 = 0 ;
20223 char *kwnames[] = {
20224 (char *) "self",(char *) "id", NULL
20225 };
20226
20227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20229 if (SWIG_arg_fail(1)) SWIG_fail;
20230 {
20231 arg2 = (int)(SWIG_As_int(obj1));
20232 if (SWIG_arg_fail(2)) SWIG_fail;
20233 }
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 result = (bool)(arg1)->GetToolEnabled(arg2);
20237
20238 wxPyEndAllowThreads(__tstate);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 {
20242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20243 }
20244 return resultobj;
20245 fail:
20246 return NULL;
20247 }
20248
20249
20250 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20251 PyObject *resultobj;
20252 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20253 int arg2 ;
20254 wxString *arg3 = 0 ;
20255 bool temp3 = false ;
20256 PyObject * obj0 = 0 ;
20257 PyObject * obj1 = 0 ;
20258 PyObject * obj2 = 0 ;
20259 char *kwnames[] = {
20260 (char *) "self",(char *) "id",(char *) "helpString", NULL
20261 };
20262
20263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20265 if (SWIG_arg_fail(1)) SWIG_fail;
20266 {
20267 arg2 = (int)(SWIG_As_int(obj1));
20268 if (SWIG_arg_fail(2)) SWIG_fail;
20269 }
20270 {
20271 arg3 = wxString_in_helper(obj2);
20272 if (arg3 == NULL) SWIG_fail;
20273 temp3 = true;
20274 }
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20278
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
20282 Py_INCREF(Py_None); resultobj = Py_None;
20283 {
20284 if (temp3)
20285 delete arg3;
20286 }
20287 return resultobj;
20288 fail:
20289 {
20290 if (temp3)
20291 delete arg3;
20292 }
20293 return NULL;
20294 }
20295
20296
20297 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20298 PyObject *resultobj;
20299 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20300 int arg2 ;
20301 wxString result;
20302 PyObject * obj0 = 0 ;
20303 PyObject * obj1 = 0 ;
20304 char *kwnames[] = {
20305 (char *) "self",(char *) "id", NULL
20306 };
20307
20308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20310 if (SWIG_arg_fail(1)) SWIG_fail;
20311 {
20312 arg2 = (int)(SWIG_As_int(obj1));
20313 if (SWIG_arg_fail(2)) SWIG_fail;
20314 }
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = (arg1)->GetToolShortHelp(arg2);
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 {
20323 #if wxUSE_UNICODE
20324 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20325 #else
20326 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20327 #endif
20328 }
20329 return resultobj;
20330 fail:
20331 return NULL;
20332 }
20333
20334
20335 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20336 PyObject *resultobj;
20337 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20338 int arg2 ;
20339 wxString *arg3 = 0 ;
20340 bool temp3 = false ;
20341 PyObject * obj0 = 0 ;
20342 PyObject * obj1 = 0 ;
20343 PyObject * obj2 = 0 ;
20344 char *kwnames[] = {
20345 (char *) "self",(char *) "id",(char *) "helpString", NULL
20346 };
20347
20348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20350 if (SWIG_arg_fail(1)) SWIG_fail;
20351 {
20352 arg2 = (int)(SWIG_As_int(obj1));
20353 if (SWIG_arg_fail(2)) SWIG_fail;
20354 }
20355 {
20356 arg3 = wxString_in_helper(obj2);
20357 if (arg3 == NULL) SWIG_fail;
20358 temp3 = true;
20359 }
20360 {
20361 PyThreadState* __tstate = wxPyBeginAllowThreads();
20362 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20363
20364 wxPyEndAllowThreads(__tstate);
20365 if (PyErr_Occurred()) SWIG_fail;
20366 }
20367 Py_INCREF(Py_None); resultobj = Py_None;
20368 {
20369 if (temp3)
20370 delete arg3;
20371 }
20372 return resultobj;
20373 fail:
20374 {
20375 if (temp3)
20376 delete arg3;
20377 }
20378 return NULL;
20379 }
20380
20381
20382 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20383 PyObject *resultobj;
20384 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20385 int arg2 ;
20386 wxString result;
20387 PyObject * obj0 = 0 ;
20388 PyObject * obj1 = 0 ;
20389 char *kwnames[] = {
20390 (char *) "self",(char *) "id", NULL
20391 };
20392
20393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
20394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20395 if (SWIG_arg_fail(1)) SWIG_fail;
20396 {
20397 arg2 = (int)(SWIG_As_int(obj1));
20398 if (SWIG_arg_fail(2)) SWIG_fail;
20399 }
20400 {
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
20402 result = (arg1)->GetToolLongHelp(arg2);
20403
20404 wxPyEndAllowThreads(__tstate);
20405 if (PyErr_Occurred()) SWIG_fail;
20406 }
20407 {
20408 #if wxUSE_UNICODE
20409 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20410 #else
20411 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20412 #endif
20413 }
20414 return resultobj;
20415 fail:
20416 return NULL;
20417 }
20418
20419
20420 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20421 PyObject *resultobj;
20422 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20423 int arg2 ;
20424 int arg3 ;
20425 PyObject * obj0 = 0 ;
20426 PyObject * obj1 = 0 ;
20427 PyObject * obj2 = 0 ;
20428 char *kwnames[] = {
20429 (char *) "self",(char *) "x",(char *) "y", NULL
20430 };
20431
20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20434 if (SWIG_arg_fail(1)) SWIG_fail;
20435 {
20436 arg2 = (int)(SWIG_As_int(obj1));
20437 if (SWIG_arg_fail(2)) SWIG_fail;
20438 }
20439 {
20440 arg3 = (int)(SWIG_As_int(obj2));
20441 if (SWIG_arg_fail(3)) SWIG_fail;
20442 }
20443 {
20444 PyThreadState* __tstate = wxPyBeginAllowThreads();
20445 (arg1)->SetMargins(arg2,arg3);
20446
20447 wxPyEndAllowThreads(__tstate);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
20450 Py_INCREF(Py_None); resultobj = Py_None;
20451 return resultobj;
20452 fail:
20453 return NULL;
20454 }
20455
20456
20457 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20458 PyObject *resultobj;
20459 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20460 wxSize *arg2 = 0 ;
20461 wxSize temp2 ;
20462 PyObject * obj0 = 0 ;
20463 PyObject * obj1 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self",(char *) "size", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20470 if (SWIG_arg_fail(1)) SWIG_fail;
20471 {
20472 arg2 = &temp2;
20473 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20474 }
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 (arg1)->SetMargins((wxSize const &)*arg2);
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 Py_INCREF(Py_None); resultobj = Py_None;
20483 return resultobj;
20484 fail:
20485 return NULL;
20486 }
20487
20488
20489 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20492 int arg2 ;
20493 PyObject * obj0 = 0 ;
20494 PyObject * obj1 = 0 ;
20495 char *kwnames[] = {
20496 (char *) "self",(char *) "packing", NULL
20497 };
20498
20499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20501 if (SWIG_arg_fail(1)) SWIG_fail;
20502 {
20503 arg2 = (int)(SWIG_As_int(obj1));
20504 if (SWIG_arg_fail(2)) SWIG_fail;
20505 }
20506 {
20507 PyThreadState* __tstate = wxPyBeginAllowThreads();
20508 (arg1)->SetToolPacking(arg2);
20509
20510 wxPyEndAllowThreads(__tstate);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 }
20513 Py_INCREF(Py_None); resultobj = Py_None;
20514 return resultobj;
20515 fail:
20516 return NULL;
20517 }
20518
20519
20520 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj;
20522 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20523 int arg2 ;
20524 PyObject * obj0 = 0 ;
20525 PyObject * obj1 = 0 ;
20526 char *kwnames[] = {
20527 (char *) "self",(char *) "separation", NULL
20528 };
20529
20530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20532 if (SWIG_arg_fail(1)) SWIG_fail;
20533 {
20534 arg2 = (int)(SWIG_As_int(obj1));
20535 if (SWIG_arg_fail(2)) SWIG_fail;
20536 }
20537 {
20538 PyThreadState* __tstate = wxPyBeginAllowThreads();
20539 (arg1)->SetToolSeparation(arg2);
20540
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 Py_INCREF(Py_None); resultobj = Py_None;
20545 return resultobj;
20546 fail:
20547 return NULL;
20548 }
20549
20550
20551 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20552 PyObject *resultobj;
20553 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20554 wxSize result;
20555 PyObject * obj0 = 0 ;
20556 char *kwnames[] = {
20557 (char *) "self", NULL
20558 };
20559
20560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20562 if (SWIG_arg_fail(1)) SWIG_fail;
20563 {
20564 PyThreadState* __tstate = wxPyBeginAllowThreads();
20565 result = (arg1)->GetToolMargins();
20566
20567 wxPyEndAllowThreads(__tstate);
20568 if (PyErr_Occurred()) SWIG_fail;
20569 }
20570 {
20571 wxSize * resultptr;
20572 resultptr = new wxSize((wxSize &)(result));
20573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20574 }
20575 return resultobj;
20576 fail:
20577 return NULL;
20578 }
20579
20580
20581 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20582 PyObject *resultobj;
20583 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20584 wxSize result;
20585 PyObject * obj0 = 0 ;
20586 char *kwnames[] = {
20587 (char *) "self", NULL
20588 };
20589
20590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20592 if (SWIG_arg_fail(1)) SWIG_fail;
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 result = (arg1)->GetMargins();
20596
20597 wxPyEndAllowThreads(__tstate);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 }
20600 {
20601 wxSize * resultptr;
20602 resultptr = new wxSize((wxSize &)(result));
20603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20604 }
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj;
20613 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20614 int result;
20615 PyObject * obj0 = 0 ;
20616 char *kwnames[] = {
20617 (char *) "self", NULL
20618 };
20619
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20622 if (SWIG_arg_fail(1)) SWIG_fail;
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 result = (int)(arg1)->GetToolPacking();
20626
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
20630 {
20631 resultobj = SWIG_From_int((int)(result));
20632 }
20633 return resultobj;
20634 fail:
20635 return NULL;
20636 }
20637
20638
20639 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20642 int result;
20643 PyObject * obj0 = 0 ;
20644 char *kwnames[] = {
20645 (char *) "self", NULL
20646 };
20647
20648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20650 if (SWIG_arg_fail(1)) SWIG_fail;
20651 {
20652 PyThreadState* __tstate = wxPyBeginAllowThreads();
20653 result = (int)(arg1)->GetToolSeparation();
20654
20655 wxPyEndAllowThreads(__tstate);
20656 if (PyErr_Occurred()) SWIG_fail;
20657 }
20658 {
20659 resultobj = SWIG_From_int((int)(result));
20660 }
20661 return resultobj;
20662 fail:
20663 return NULL;
20664 }
20665
20666
20667 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20668 PyObject *resultobj;
20669 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20670 int arg2 ;
20671 PyObject * obj0 = 0 ;
20672 PyObject * obj1 = 0 ;
20673 char *kwnames[] = {
20674 (char *) "self",(char *) "nRows", NULL
20675 };
20676
20677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20679 if (SWIG_arg_fail(1)) SWIG_fail;
20680 {
20681 arg2 = (int)(SWIG_As_int(obj1));
20682 if (SWIG_arg_fail(2)) SWIG_fail;
20683 }
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 (arg1)->SetRows(arg2);
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 Py_INCREF(Py_None); resultobj = Py_None;
20692 return resultobj;
20693 fail:
20694 return NULL;
20695 }
20696
20697
20698 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20699 PyObject *resultobj;
20700 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20701 int arg2 ;
20702 int arg3 ;
20703 PyObject * obj0 = 0 ;
20704 PyObject * obj1 = 0 ;
20705 PyObject * obj2 = 0 ;
20706 char *kwnames[] = {
20707 (char *) "self",(char *) "rows",(char *) "cols", NULL
20708 };
20709
20710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20712 if (SWIG_arg_fail(1)) SWIG_fail;
20713 {
20714 arg2 = (int)(SWIG_As_int(obj1));
20715 if (SWIG_arg_fail(2)) SWIG_fail;
20716 }
20717 {
20718 arg3 = (int)(SWIG_As_int(obj2));
20719 if (SWIG_arg_fail(3)) SWIG_fail;
20720 }
20721 {
20722 PyThreadState* __tstate = wxPyBeginAllowThreads();
20723 (arg1)->SetMaxRowsCols(arg2,arg3);
20724
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 Py_INCREF(Py_None); resultobj = Py_None;
20729 return resultobj;
20730 fail:
20731 return NULL;
20732 }
20733
20734
20735 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20736 PyObject *resultobj;
20737 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20738 int result;
20739 PyObject * obj0 = 0 ;
20740 char *kwnames[] = {
20741 (char *) "self", NULL
20742 };
20743
20744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20746 if (SWIG_arg_fail(1)) SWIG_fail;
20747 {
20748 PyThreadState* __tstate = wxPyBeginAllowThreads();
20749 result = (int)(arg1)->GetMaxRows();
20750
20751 wxPyEndAllowThreads(__tstate);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 }
20754 {
20755 resultobj = SWIG_From_int((int)(result));
20756 }
20757 return resultobj;
20758 fail:
20759 return NULL;
20760 }
20761
20762
20763 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20764 PyObject *resultobj;
20765 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20766 int result;
20767 PyObject * obj0 = 0 ;
20768 char *kwnames[] = {
20769 (char *) "self", NULL
20770 };
20771
20772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20774 if (SWIG_arg_fail(1)) SWIG_fail;
20775 {
20776 PyThreadState* __tstate = wxPyBeginAllowThreads();
20777 result = (int)(arg1)->GetMaxCols();
20778
20779 wxPyEndAllowThreads(__tstate);
20780 if (PyErr_Occurred()) SWIG_fail;
20781 }
20782 {
20783 resultobj = SWIG_From_int((int)(result));
20784 }
20785 return resultobj;
20786 fail:
20787 return NULL;
20788 }
20789
20790
20791 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20792 PyObject *resultobj;
20793 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20794 wxSize *arg2 = 0 ;
20795 wxSize temp2 ;
20796 PyObject * obj0 = 0 ;
20797 PyObject * obj1 = 0 ;
20798 char *kwnames[] = {
20799 (char *) "self",(char *) "size", NULL
20800 };
20801
20802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20804 if (SWIG_arg_fail(1)) SWIG_fail;
20805 {
20806 arg2 = &temp2;
20807 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20808 }
20809 {
20810 PyThreadState* __tstate = wxPyBeginAllowThreads();
20811 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20812
20813 wxPyEndAllowThreads(__tstate);
20814 if (PyErr_Occurred()) SWIG_fail;
20815 }
20816 Py_INCREF(Py_None); resultobj = Py_None;
20817 return resultobj;
20818 fail:
20819 return NULL;
20820 }
20821
20822
20823 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20824 PyObject *resultobj;
20825 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20826 wxSize result;
20827 PyObject * obj0 = 0 ;
20828 char *kwnames[] = {
20829 (char *) "self", NULL
20830 };
20831
20832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20834 if (SWIG_arg_fail(1)) SWIG_fail;
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = (arg1)->GetToolBitmapSize();
20838
20839 wxPyEndAllowThreads(__tstate);
20840 if (PyErr_Occurred()) SWIG_fail;
20841 }
20842 {
20843 wxSize * resultptr;
20844 resultptr = new wxSize((wxSize &)(result));
20845 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20846 }
20847 return resultobj;
20848 fail:
20849 return NULL;
20850 }
20851
20852
20853 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20854 PyObject *resultobj;
20855 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20856 wxSize result;
20857 PyObject * obj0 = 0 ;
20858 char *kwnames[] = {
20859 (char *) "self", NULL
20860 };
20861
20862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20864 if (SWIG_arg_fail(1)) SWIG_fail;
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 result = (arg1)->GetToolSize();
20868
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 {
20873 wxSize * resultptr;
20874 resultptr = new wxSize((wxSize &)(result));
20875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20876 }
20877 return resultobj;
20878 fail:
20879 return NULL;
20880 }
20881
20882
20883 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20884 PyObject *resultobj;
20885 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20886 int arg2 ;
20887 int arg3 ;
20888 wxToolBarToolBase *result;
20889 PyObject * obj0 = 0 ;
20890 PyObject * obj1 = 0 ;
20891 PyObject * obj2 = 0 ;
20892 char *kwnames[] = {
20893 (char *) "self",(char *) "x",(char *) "y", NULL
20894 };
20895
20896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20898 if (SWIG_arg_fail(1)) SWIG_fail;
20899 {
20900 arg2 = (int)(SWIG_As_int(obj1));
20901 if (SWIG_arg_fail(2)) SWIG_fail;
20902 }
20903 {
20904 arg3 = (int)(SWIG_As_int(obj2));
20905 if (SWIG_arg_fail(3)) SWIG_fail;
20906 }
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
20909 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20910
20911 wxPyEndAllowThreads(__tstate);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 }
20914 {
20915 resultobj = wxPyMake_wxObject(result, 0);
20916 }
20917 return resultobj;
20918 fail:
20919 return NULL;
20920 }
20921
20922
20923 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20924 PyObject *resultobj;
20925 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20926 int arg2 ;
20927 wxToolBarToolBase *result;
20928 PyObject * obj0 = 0 ;
20929 PyObject * obj1 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self",(char *) "toolid", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
20935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20936 if (SWIG_arg_fail(1)) SWIG_fail;
20937 {
20938 arg2 = (int)(SWIG_As_int(obj1));
20939 if (SWIG_arg_fail(2)) SWIG_fail;
20940 }
20941 {
20942 PyThreadState* __tstate = wxPyBeginAllowThreads();
20943 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20944
20945 wxPyEndAllowThreads(__tstate);
20946 if (PyErr_Occurred()) SWIG_fail;
20947 }
20948 {
20949 resultobj = wxPyMake_wxObject(result, 0);
20950 }
20951 return resultobj;
20952 fail:
20953 return NULL;
20954 }
20955
20956
20957 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
20958 PyObject *resultobj;
20959 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20960 bool result;
20961 PyObject * obj0 = 0 ;
20962 char *kwnames[] = {
20963 (char *) "self", NULL
20964 };
20965
20966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
20967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20968 if (SWIG_arg_fail(1)) SWIG_fail;
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
20971 result = (bool)(arg1)->IsVertical();
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 {
20977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20978 }
20979 return resultobj;
20980 fail:
20981 return NULL;
20982 }
20983
20984
20985 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
20986 PyObject *obj;
20987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20988 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20989 Py_INCREF(obj);
20990 return Py_BuildValue((char *)"");
20991 }
20992 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
20993 PyObject *resultobj;
20994 wxWindow *arg1 = (wxWindow *) 0 ;
20995 int arg2 = (int) -1 ;
20996 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20997 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20998 wxSize const &arg4_defvalue = wxDefaultSize ;
20999 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21000 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21001 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
21002 wxString *arg6 = (wxString *) &arg6_defvalue ;
21003 wxToolBar *result;
21004 wxPoint temp3 ;
21005 wxSize temp4 ;
21006 bool temp6 = false ;
21007 PyObject * obj0 = 0 ;
21008 PyObject * obj1 = 0 ;
21009 PyObject * obj2 = 0 ;
21010 PyObject * obj3 = 0 ;
21011 PyObject * obj4 = 0 ;
21012 PyObject * obj5 = 0 ;
21013 char *kwnames[] = {
21014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21015 };
21016
21017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21019 if (SWIG_arg_fail(1)) SWIG_fail;
21020 if (obj1) {
21021 {
21022 arg2 = (int)(SWIG_As_int(obj1));
21023 if (SWIG_arg_fail(2)) SWIG_fail;
21024 }
21025 }
21026 if (obj2) {
21027 {
21028 arg3 = &temp3;
21029 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21030 }
21031 }
21032 if (obj3) {
21033 {
21034 arg4 = &temp4;
21035 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21036 }
21037 }
21038 if (obj4) {
21039 {
21040 arg5 = (long)(SWIG_As_long(obj4));
21041 if (SWIG_arg_fail(5)) SWIG_fail;
21042 }
21043 }
21044 if (obj5) {
21045 {
21046 arg6 = wxString_in_helper(obj5);
21047 if (arg6 == NULL) SWIG_fail;
21048 temp6 = true;
21049 }
21050 }
21051 {
21052 if (!wxPyCheckForApp()) SWIG_fail;
21053 PyThreadState* __tstate = wxPyBeginAllowThreads();
21054 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21055
21056 wxPyEndAllowThreads(__tstate);
21057 if (PyErr_Occurred()) SWIG_fail;
21058 }
21059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21060 {
21061 if (temp6)
21062 delete arg6;
21063 }
21064 return resultobj;
21065 fail:
21066 {
21067 if (temp6)
21068 delete arg6;
21069 }
21070 return NULL;
21071 }
21072
21073
21074 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21075 PyObject *resultobj;
21076 wxToolBar *result;
21077 char *kwnames[] = {
21078 NULL
21079 };
21080
21081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21082 {
21083 if (!wxPyCheckForApp()) SWIG_fail;
21084 PyThreadState* __tstate = wxPyBeginAllowThreads();
21085 result = (wxToolBar *)new wxToolBar();
21086
21087 wxPyEndAllowThreads(__tstate);
21088 if (PyErr_Occurred()) SWIG_fail;
21089 }
21090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21091 return resultobj;
21092 fail:
21093 return NULL;
21094 }
21095
21096
21097 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21098 PyObject *resultobj;
21099 wxToolBar *arg1 = (wxToolBar *) 0 ;
21100 wxWindow *arg2 = (wxWindow *) 0 ;
21101 int arg3 = (int) -1 ;
21102 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21103 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21104 wxSize const &arg5_defvalue = wxDefaultSize ;
21105 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21106 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21107 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21108 wxString *arg7 = (wxString *) &arg7_defvalue ;
21109 bool result;
21110 wxPoint temp4 ;
21111 wxSize temp5 ;
21112 bool temp7 = false ;
21113 PyObject * obj0 = 0 ;
21114 PyObject * obj1 = 0 ;
21115 PyObject * obj2 = 0 ;
21116 PyObject * obj3 = 0 ;
21117 PyObject * obj4 = 0 ;
21118 PyObject * obj5 = 0 ;
21119 PyObject * obj6 = 0 ;
21120 char *kwnames[] = {
21121 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21122 };
21123
21124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21126 if (SWIG_arg_fail(1)) SWIG_fail;
21127 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21128 if (SWIG_arg_fail(2)) SWIG_fail;
21129 if (obj2) {
21130 {
21131 arg3 = (int)(SWIG_As_int(obj2));
21132 if (SWIG_arg_fail(3)) SWIG_fail;
21133 }
21134 }
21135 if (obj3) {
21136 {
21137 arg4 = &temp4;
21138 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21139 }
21140 }
21141 if (obj4) {
21142 {
21143 arg5 = &temp5;
21144 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21145 }
21146 }
21147 if (obj5) {
21148 {
21149 arg6 = (long)(SWIG_As_long(obj5));
21150 if (SWIG_arg_fail(6)) SWIG_fail;
21151 }
21152 }
21153 if (obj6) {
21154 {
21155 arg7 = wxString_in_helper(obj6);
21156 if (arg7 == NULL) SWIG_fail;
21157 temp7 = true;
21158 }
21159 }
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 {
21168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21169 }
21170 {
21171 if (temp7)
21172 delete arg7;
21173 }
21174 return resultobj;
21175 fail:
21176 {
21177 if (temp7)
21178 delete arg7;
21179 }
21180 return NULL;
21181 }
21182
21183
21184 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21185 PyObject *resultobj;
21186 wxToolBar *arg1 = (wxToolBar *) 0 ;
21187 int arg2 ;
21188 int arg3 ;
21189 wxToolBarToolBase *result;
21190 PyObject * obj0 = 0 ;
21191 PyObject * obj1 = 0 ;
21192 PyObject * obj2 = 0 ;
21193 char *kwnames[] = {
21194 (char *) "self",(char *) "x",(char *) "y", NULL
21195 };
21196
21197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21199 if (SWIG_arg_fail(1)) SWIG_fail;
21200 {
21201 arg2 = (int)(SWIG_As_int(obj1));
21202 if (SWIG_arg_fail(2)) SWIG_fail;
21203 }
21204 {
21205 arg3 = (int)(SWIG_As_int(obj2));
21206 if (SWIG_arg_fail(3)) SWIG_fail;
21207 }
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21211
21212 wxPyEndAllowThreads(__tstate);
21213 if (PyErr_Occurred()) SWIG_fail;
21214 }
21215 {
21216 resultobj = wxPyMake_wxObject(result, 0);
21217 }
21218 return resultobj;
21219 fail:
21220 return NULL;
21221 }
21222
21223
21224 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21227 wxVisualAttributes result;
21228 PyObject * obj0 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "variant", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21234 if (obj0) {
21235 {
21236 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21237 if (SWIG_arg_fail(1)) SWIG_fail;
21238 }
21239 }
21240 {
21241 if (!wxPyCheckForApp()) SWIG_fail;
21242 PyThreadState* __tstate = wxPyBeginAllowThreads();
21243 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21244
21245 wxPyEndAllowThreads(__tstate);
21246 if (PyErr_Occurred()) SWIG_fail;
21247 }
21248 {
21249 wxVisualAttributes * resultptr;
21250 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
21251 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21252 }
21253 return resultobj;
21254 fail:
21255 return NULL;
21256 }
21257
21258
21259 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21260 PyObject *obj;
21261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21262 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21263 Py_INCREF(obj);
21264 return Py_BuildValue((char *)"");
21265 }
21266 static int _wrap_ListCtrlNameStr_set(PyObject *) {
21267 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21268 return 1;
21269 }
21270
21271
21272 static PyObject *_wrap_ListCtrlNameStr_get(void) {
21273 PyObject *pyobj;
21274
21275 {
21276 #if wxUSE_UNICODE
21277 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21278 #else
21279 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21280 #endif
21281 }
21282 return pyobj;
21283 }
21284
21285
21286 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxColour const &arg1_defvalue = wxNullColour ;
21289 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21290 wxColour const &arg2_defvalue = wxNullColour ;
21291 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21292 wxFont const &arg3_defvalue = wxNullFont ;
21293 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21294 wxListItemAttr *result;
21295 wxColour temp1 ;
21296 wxColour temp2 ;
21297 PyObject * obj0 = 0 ;
21298 PyObject * obj1 = 0 ;
21299 PyObject * obj2 = 0 ;
21300 char *kwnames[] = {
21301 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21302 };
21303
21304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21305 if (obj0) {
21306 {
21307 arg1 = &temp1;
21308 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21309 }
21310 }
21311 if (obj1) {
21312 {
21313 arg2 = &temp2;
21314 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21315 }
21316 }
21317 if (obj2) {
21318 {
21319 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21320 if (SWIG_arg_fail(3)) SWIG_fail;
21321 if (arg3 == NULL) {
21322 SWIG_null_ref("wxFont");
21323 }
21324 if (SWIG_arg_fail(3)) SWIG_fail;
21325 }
21326 }
21327 {
21328 PyThreadState* __tstate = wxPyBeginAllowThreads();
21329 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21330
21331 wxPyEndAllowThreads(__tstate);
21332 if (PyErr_Occurred()) SWIG_fail;
21333 }
21334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21335 return resultobj;
21336 fail:
21337 return NULL;
21338 }
21339
21340
21341 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21342 PyObject *resultobj;
21343 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21344 wxColour *arg2 = 0 ;
21345 wxColour temp2 ;
21346 PyObject * obj0 = 0 ;
21347 PyObject * obj1 = 0 ;
21348 char *kwnames[] = {
21349 (char *) "self",(char *) "colText", NULL
21350 };
21351
21352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21354 if (SWIG_arg_fail(1)) SWIG_fail;
21355 {
21356 arg2 = &temp2;
21357 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21358 }
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 (arg1)->SetTextColour((wxColour const &)*arg2);
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 Py_INCREF(Py_None); resultobj = Py_None;
21367 return resultobj;
21368 fail:
21369 return NULL;
21370 }
21371
21372
21373 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21376 wxColour *arg2 = 0 ;
21377 wxColour temp2 ;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 char *kwnames[] = {
21381 (char *) "self",(char *) "colBack", NULL
21382 };
21383
21384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21386 if (SWIG_arg_fail(1)) SWIG_fail;
21387 {
21388 arg2 = &temp2;
21389 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21390 }
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21394
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
21398 Py_INCREF(Py_None); resultobj = Py_None;
21399 return resultobj;
21400 fail:
21401 return NULL;
21402 }
21403
21404
21405 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21406 PyObject *resultobj;
21407 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21408 wxFont *arg2 = 0 ;
21409 PyObject * obj0 = 0 ;
21410 PyObject * obj1 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self",(char *) "font", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail;
21418 {
21419 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21420 if (SWIG_arg_fail(2)) SWIG_fail;
21421 if (arg2 == NULL) {
21422 SWIG_null_ref("wxFont");
21423 }
21424 if (SWIG_arg_fail(2)) SWIG_fail;
21425 }
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 (arg1)->SetFont((wxFont const &)*arg2);
21429
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 Py_INCREF(Py_None); resultobj = Py_None;
21434 return resultobj;
21435 fail:
21436 return NULL;
21437 }
21438
21439
21440 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21441 PyObject *resultobj;
21442 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21443 bool result;
21444 PyObject * obj0 = 0 ;
21445 char *kwnames[] = {
21446 (char *) "self", NULL
21447 };
21448
21449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
21450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21451 if (SWIG_arg_fail(1)) SWIG_fail;
21452 {
21453 PyThreadState* __tstate = wxPyBeginAllowThreads();
21454 result = (bool)(arg1)->HasTextColour();
21455
21456 wxPyEndAllowThreads(__tstate);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 }
21459 {
21460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21461 }
21462 return resultobj;
21463 fail:
21464 return NULL;
21465 }
21466
21467
21468 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21469 PyObject *resultobj;
21470 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21471 bool result;
21472 PyObject * obj0 = 0 ;
21473 char *kwnames[] = {
21474 (char *) "self", NULL
21475 };
21476
21477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21479 if (SWIG_arg_fail(1)) SWIG_fail;
21480 {
21481 PyThreadState* __tstate = wxPyBeginAllowThreads();
21482 result = (bool)(arg1)->HasBackgroundColour();
21483
21484 wxPyEndAllowThreads(__tstate);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 {
21488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21489 }
21490 return resultobj;
21491 fail:
21492 return NULL;
21493 }
21494
21495
21496 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21497 PyObject *resultobj;
21498 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21499 bool result;
21500 PyObject * obj0 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self", NULL
21503 };
21504
21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21507 if (SWIG_arg_fail(1)) SWIG_fail;
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 result = (bool)(arg1)->HasFont();
21511
21512 wxPyEndAllowThreads(__tstate);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 }
21515 {
21516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21517 }
21518 return resultobj;
21519 fail:
21520 return NULL;
21521 }
21522
21523
21524 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21525 PyObject *resultobj;
21526 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21527 wxColour result;
21528 PyObject * obj0 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21535 if (SWIG_arg_fail(1)) SWIG_fail;
21536 {
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
21538 result = (arg1)->GetTextColour();
21539
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 {
21544 wxColour * resultptr;
21545 resultptr = new wxColour((wxColour &)(result));
21546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21547 }
21548 return resultobj;
21549 fail:
21550 return NULL;
21551 }
21552
21553
21554 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21555 PyObject *resultobj;
21556 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21557 wxColour result;
21558 PyObject * obj0 = 0 ;
21559 char *kwnames[] = {
21560 (char *) "self", NULL
21561 };
21562
21563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
21564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21565 if (SWIG_arg_fail(1)) SWIG_fail;
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 result = (arg1)->GetBackgroundColour();
21569
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 {
21574 wxColour * resultptr;
21575 resultptr = new wxColour((wxColour &)(result));
21576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21577 }
21578 return resultobj;
21579 fail:
21580 return NULL;
21581 }
21582
21583
21584 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21585 PyObject *resultobj;
21586 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21587 wxFont result;
21588 PyObject * obj0 = 0 ;
21589 char *kwnames[] = {
21590 (char *) "self", NULL
21591 };
21592
21593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21595 if (SWIG_arg_fail(1)) SWIG_fail;
21596 {
21597 PyThreadState* __tstate = wxPyBeginAllowThreads();
21598 result = (arg1)->GetFont();
21599
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 {
21604 wxFont * resultptr;
21605 resultptr = new wxFont((wxFont &)(result));
21606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21607 }
21608 return resultobj;
21609 fail:
21610 return NULL;
21611 }
21612
21613
21614 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21615 PyObject *resultobj;
21616 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21617 PyObject * obj0 = 0 ;
21618 char *kwnames[] = {
21619 (char *) "self", NULL
21620 };
21621
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21624 if (SWIG_arg_fail(1)) SWIG_fail;
21625 {
21626 PyThreadState* __tstate = wxPyBeginAllowThreads();
21627 wxListItemAttr_Destroy(arg1);
21628
21629 wxPyEndAllowThreads(__tstate);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 }
21632 Py_INCREF(Py_None); resultobj = Py_None;
21633 return resultobj;
21634 fail:
21635 return NULL;
21636 }
21637
21638
21639 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21640 PyObject *obj;
21641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21642 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21643 Py_INCREF(obj);
21644 return Py_BuildValue((char *)"");
21645 }
21646 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj;
21648 wxListItem *result;
21649 char *kwnames[] = {
21650 NULL
21651 };
21652
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21654 {
21655 PyThreadState* __tstate = wxPyBeginAllowThreads();
21656 result = (wxListItem *)new wxListItem();
21657
21658 wxPyEndAllowThreads(__tstate);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 }
21661 {
21662 resultobj = wxPyMake_wxObject(result, 1);
21663 }
21664 return resultobj;
21665 fail:
21666 return NULL;
21667 }
21668
21669
21670 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21671 PyObject *resultobj;
21672 wxListItem *arg1 = (wxListItem *) 0 ;
21673 PyObject * obj0 = 0 ;
21674 char *kwnames[] = {
21675 (char *) "self", NULL
21676 };
21677
21678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21680 if (SWIG_arg_fail(1)) SWIG_fail;
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 delete arg1;
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 Py_INCREF(Py_None); resultobj = Py_None;
21689 return resultobj;
21690 fail:
21691 return NULL;
21692 }
21693
21694
21695 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21696 PyObject *resultobj;
21697 wxListItem *arg1 = (wxListItem *) 0 ;
21698 PyObject * obj0 = 0 ;
21699 char *kwnames[] = {
21700 (char *) "self", NULL
21701 };
21702
21703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21705 if (SWIG_arg_fail(1)) SWIG_fail;
21706 {
21707 PyThreadState* __tstate = wxPyBeginAllowThreads();
21708 (arg1)->Clear();
21709
21710 wxPyEndAllowThreads(__tstate);
21711 if (PyErr_Occurred()) SWIG_fail;
21712 }
21713 Py_INCREF(Py_None); resultobj = Py_None;
21714 return resultobj;
21715 fail:
21716 return NULL;
21717 }
21718
21719
21720 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21721 PyObject *resultobj;
21722 wxListItem *arg1 = (wxListItem *) 0 ;
21723 PyObject * obj0 = 0 ;
21724 char *kwnames[] = {
21725 (char *) "self", NULL
21726 };
21727
21728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21730 if (SWIG_arg_fail(1)) SWIG_fail;
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 (arg1)->ClearAttributes();
21734
21735 wxPyEndAllowThreads(__tstate);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
21738 Py_INCREF(Py_None); resultobj = Py_None;
21739 return resultobj;
21740 fail:
21741 return NULL;
21742 }
21743
21744
21745 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21746 PyObject *resultobj;
21747 wxListItem *arg1 = (wxListItem *) 0 ;
21748 long arg2 ;
21749 PyObject * obj0 = 0 ;
21750 PyObject * obj1 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "self",(char *) "mask", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
21756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21757 if (SWIG_arg_fail(1)) SWIG_fail;
21758 {
21759 arg2 = (long)(SWIG_As_long(obj1));
21760 if (SWIG_arg_fail(2)) SWIG_fail;
21761 }
21762 {
21763 PyThreadState* __tstate = wxPyBeginAllowThreads();
21764 (arg1)->SetMask(arg2);
21765
21766 wxPyEndAllowThreads(__tstate);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 }
21769 Py_INCREF(Py_None); resultobj = Py_None;
21770 return resultobj;
21771 fail:
21772 return NULL;
21773 }
21774
21775
21776 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21777 PyObject *resultobj;
21778 wxListItem *arg1 = (wxListItem *) 0 ;
21779 long arg2 ;
21780 PyObject * obj0 = 0 ;
21781 PyObject * obj1 = 0 ;
21782 char *kwnames[] = {
21783 (char *) "self",(char *) "id", NULL
21784 };
21785
21786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21788 if (SWIG_arg_fail(1)) SWIG_fail;
21789 {
21790 arg2 = (long)(SWIG_As_long(obj1));
21791 if (SWIG_arg_fail(2)) SWIG_fail;
21792 }
21793 {
21794 PyThreadState* __tstate = wxPyBeginAllowThreads();
21795 (arg1)->SetId(arg2);
21796
21797 wxPyEndAllowThreads(__tstate);
21798 if (PyErr_Occurred()) SWIG_fail;
21799 }
21800 Py_INCREF(Py_None); resultobj = Py_None;
21801 return resultobj;
21802 fail:
21803 return NULL;
21804 }
21805
21806
21807 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21808 PyObject *resultobj;
21809 wxListItem *arg1 = (wxListItem *) 0 ;
21810 int arg2 ;
21811 PyObject * obj0 = 0 ;
21812 PyObject * obj1 = 0 ;
21813 char *kwnames[] = {
21814 (char *) "self",(char *) "col", NULL
21815 };
21816
21817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21819 if (SWIG_arg_fail(1)) SWIG_fail;
21820 {
21821 arg2 = (int)(SWIG_As_int(obj1));
21822 if (SWIG_arg_fail(2)) SWIG_fail;
21823 }
21824 {
21825 PyThreadState* __tstate = wxPyBeginAllowThreads();
21826 (arg1)->SetColumn(arg2);
21827
21828 wxPyEndAllowThreads(__tstate);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 }
21831 Py_INCREF(Py_None); resultobj = Py_None;
21832 return resultobj;
21833 fail:
21834 return NULL;
21835 }
21836
21837
21838 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21839 PyObject *resultobj;
21840 wxListItem *arg1 = (wxListItem *) 0 ;
21841 long arg2 ;
21842 PyObject * obj0 = 0 ;
21843 PyObject * obj1 = 0 ;
21844 char *kwnames[] = {
21845 (char *) "self",(char *) "state", NULL
21846 };
21847
21848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21850 if (SWIG_arg_fail(1)) SWIG_fail;
21851 {
21852 arg2 = (long)(SWIG_As_long(obj1));
21853 if (SWIG_arg_fail(2)) SWIG_fail;
21854 }
21855 {
21856 PyThreadState* __tstate = wxPyBeginAllowThreads();
21857 (arg1)->SetState(arg2);
21858
21859 wxPyEndAllowThreads(__tstate);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 }
21862 Py_INCREF(Py_None); resultobj = Py_None;
21863 return resultobj;
21864 fail:
21865 return NULL;
21866 }
21867
21868
21869 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21870 PyObject *resultobj;
21871 wxListItem *arg1 = (wxListItem *) 0 ;
21872 long arg2 ;
21873 PyObject * obj0 = 0 ;
21874 PyObject * obj1 = 0 ;
21875 char *kwnames[] = {
21876 (char *) "self",(char *) "stateMask", NULL
21877 };
21878
21879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21881 if (SWIG_arg_fail(1)) SWIG_fail;
21882 {
21883 arg2 = (long)(SWIG_As_long(obj1));
21884 if (SWIG_arg_fail(2)) SWIG_fail;
21885 }
21886 {
21887 PyThreadState* __tstate = wxPyBeginAllowThreads();
21888 (arg1)->SetStateMask(arg2);
21889
21890 wxPyEndAllowThreads(__tstate);
21891 if (PyErr_Occurred()) SWIG_fail;
21892 }
21893 Py_INCREF(Py_None); resultobj = Py_None;
21894 return resultobj;
21895 fail:
21896 return NULL;
21897 }
21898
21899
21900 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21901 PyObject *resultobj;
21902 wxListItem *arg1 = (wxListItem *) 0 ;
21903 wxString *arg2 = 0 ;
21904 bool temp2 = false ;
21905 PyObject * obj0 = 0 ;
21906 PyObject * obj1 = 0 ;
21907 char *kwnames[] = {
21908 (char *) "self",(char *) "text", NULL
21909 };
21910
21911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21913 if (SWIG_arg_fail(1)) SWIG_fail;
21914 {
21915 arg2 = wxString_in_helper(obj1);
21916 if (arg2 == NULL) SWIG_fail;
21917 temp2 = true;
21918 }
21919 {
21920 PyThreadState* __tstate = wxPyBeginAllowThreads();
21921 (arg1)->SetText((wxString const &)*arg2);
21922
21923 wxPyEndAllowThreads(__tstate);
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
21926 Py_INCREF(Py_None); resultobj = Py_None;
21927 {
21928 if (temp2)
21929 delete arg2;
21930 }
21931 return resultobj;
21932 fail:
21933 {
21934 if (temp2)
21935 delete arg2;
21936 }
21937 return NULL;
21938 }
21939
21940
21941 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21942 PyObject *resultobj;
21943 wxListItem *arg1 = (wxListItem *) 0 ;
21944 int arg2 ;
21945 PyObject * obj0 = 0 ;
21946 PyObject * obj1 = 0 ;
21947 char *kwnames[] = {
21948 (char *) "self",(char *) "image", NULL
21949 };
21950
21951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
21952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21953 if (SWIG_arg_fail(1)) SWIG_fail;
21954 {
21955 arg2 = (int)(SWIG_As_int(obj1));
21956 if (SWIG_arg_fail(2)) SWIG_fail;
21957 }
21958 {
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 (arg1)->SetImage(arg2);
21961
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 Py_INCREF(Py_None); resultobj = Py_None;
21966 return resultobj;
21967 fail:
21968 return NULL;
21969 }
21970
21971
21972 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
21973 PyObject *resultobj;
21974 wxListItem *arg1 = (wxListItem *) 0 ;
21975 long arg2 ;
21976 PyObject * obj0 = 0 ;
21977 PyObject * obj1 = 0 ;
21978 char *kwnames[] = {
21979 (char *) "self",(char *) "data", NULL
21980 };
21981
21982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
21983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21984 if (SWIG_arg_fail(1)) SWIG_fail;
21985 {
21986 arg2 = (long)(SWIG_As_long(obj1));
21987 if (SWIG_arg_fail(2)) SWIG_fail;
21988 }
21989 {
21990 PyThreadState* __tstate = wxPyBeginAllowThreads();
21991 (arg1)->SetData(arg2);
21992
21993 wxPyEndAllowThreads(__tstate);
21994 if (PyErr_Occurred()) SWIG_fail;
21995 }
21996 Py_INCREF(Py_None); resultobj = Py_None;
21997 return resultobj;
21998 fail:
21999 return NULL;
22000 }
22001
22002
22003 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22004 PyObject *resultobj;
22005 wxListItem *arg1 = (wxListItem *) 0 ;
22006 int arg2 ;
22007 PyObject * obj0 = 0 ;
22008 PyObject * obj1 = 0 ;
22009 char *kwnames[] = {
22010 (char *) "self",(char *) "width", NULL
22011 };
22012
22013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
22014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22015 if (SWIG_arg_fail(1)) SWIG_fail;
22016 {
22017 arg2 = (int)(SWIG_As_int(obj1));
22018 if (SWIG_arg_fail(2)) SWIG_fail;
22019 }
22020 {
22021 PyThreadState* __tstate = wxPyBeginAllowThreads();
22022 (arg1)->SetWidth(arg2);
22023
22024 wxPyEndAllowThreads(__tstate);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 Py_INCREF(Py_None); resultobj = Py_None;
22028 return resultobj;
22029 fail:
22030 return NULL;
22031 }
22032
22033
22034 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22035 PyObject *resultobj;
22036 wxListItem *arg1 = (wxListItem *) 0 ;
22037 wxListColumnFormat arg2 ;
22038 PyObject * obj0 = 0 ;
22039 PyObject * obj1 = 0 ;
22040 char *kwnames[] = {
22041 (char *) "self",(char *) "align", NULL
22042 };
22043
22044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
22045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22046 if (SWIG_arg_fail(1)) SWIG_fail;
22047 {
22048 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22049 if (SWIG_arg_fail(2)) SWIG_fail;
22050 }
22051 {
22052 PyThreadState* __tstate = wxPyBeginAllowThreads();
22053 (arg1)->SetAlign((wxListColumnFormat )arg2);
22054
22055 wxPyEndAllowThreads(__tstate);
22056 if (PyErr_Occurred()) SWIG_fail;
22057 }
22058 Py_INCREF(Py_None); resultobj = Py_None;
22059 return resultobj;
22060 fail:
22061 return NULL;
22062 }
22063
22064
22065 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22066 PyObject *resultobj;
22067 wxListItem *arg1 = (wxListItem *) 0 ;
22068 wxColour *arg2 = 0 ;
22069 wxColour temp2 ;
22070 PyObject * obj0 = 0 ;
22071 PyObject * obj1 = 0 ;
22072 char *kwnames[] = {
22073 (char *) "self",(char *) "colText", NULL
22074 };
22075
22076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22078 if (SWIG_arg_fail(1)) SWIG_fail;
22079 {
22080 arg2 = &temp2;
22081 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22082 }
22083 {
22084 PyThreadState* __tstate = wxPyBeginAllowThreads();
22085 (arg1)->SetTextColour((wxColour const &)*arg2);
22086
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 Py_INCREF(Py_None); resultobj = Py_None;
22091 return resultobj;
22092 fail:
22093 return NULL;
22094 }
22095
22096
22097 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22098 PyObject *resultobj;
22099 wxListItem *arg1 = (wxListItem *) 0 ;
22100 wxColour *arg2 = 0 ;
22101 wxColour temp2 ;
22102 PyObject * obj0 = 0 ;
22103 PyObject * obj1 = 0 ;
22104 char *kwnames[] = {
22105 (char *) "self",(char *) "colBack", NULL
22106 };
22107
22108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22110 if (SWIG_arg_fail(1)) SWIG_fail;
22111 {
22112 arg2 = &temp2;
22113 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22114 }
22115 {
22116 PyThreadState* __tstate = wxPyBeginAllowThreads();
22117 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22118
22119 wxPyEndAllowThreads(__tstate);
22120 if (PyErr_Occurred()) SWIG_fail;
22121 }
22122 Py_INCREF(Py_None); resultobj = Py_None;
22123 return resultobj;
22124 fail:
22125 return NULL;
22126 }
22127
22128
22129 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22130 PyObject *resultobj;
22131 wxListItem *arg1 = (wxListItem *) 0 ;
22132 wxFont *arg2 = 0 ;
22133 PyObject * obj0 = 0 ;
22134 PyObject * obj1 = 0 ;
22135 char *kwnames[] = {
22136 (char *) "self",(char *) "font", NULL
22137 };
22138
22139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
22140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22141 if (SWIG_arg_fail(1)) SWIG_fail;
22142 {
22143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22144 if (SWIG_arg_fail(2)) SWIG_fail;
22145 if (arg2 == NULL) {
22146 SWIG_null_ref("wxFont");
22147 }
22148 if (SWIG_arg_fail(2)) SWIG_fail;
22149 }
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 (arg1)->SetFont((wxFont const &)*arg2);
22153
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 Py_INCREF(Py_None); resultobj = Py_None;
22158 return resultobj;
22159 fail:
22160 return NULL;
22161 }
22162
22163
22164 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22165 PyObject *resultobj;
22166 wxListItem *arg1 = (wxListItem *) 0 ;
22167 long result;
22168 PyObject * obj0 = 0 ;
22169 char *kwnames[] = {
22170 (char *) "self", NULL
22171 };
22172
22173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
22174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22175 if (SWIG_arg_fail(1)) SWIG_fail;
22176 {
22177 PyThreadState* __tstate = wxPyBeginAllowThreads();
22178 result = (long)(arg1)->GetMask();
22179
22180 wxPyEndAllowThreads(__tstate);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 {
22184 resultobj = SWIG_From_long((long)(result));
22185 }
22186 return resultobj;
22187 fail:
22188 return NULL;
22189 }
22190
22191
22192 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22193 PyObject *resultobj;
22194 wxListItem *arg1 = (wxListItem *) 0 ;
22195 long result;
22196 PyObject * obj0 = 0 ;
22197 char *kwnames[] = {
22198 (char *) "self", NULL
22199 };
22200
22201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
22202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22203 if (SWIG_arg_fail(1)) SWIG_fail;
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
22206 result = (long)(arg1)->GetId();
22207
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
22211 {
22212 resultobj = SWIG_From_long((long)(result));
22213 }
22214 return resultobj;
22215 fail:
22216 return NULL;
22217 }
22218
22219
22220 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22221 PyObject *resultobj;
22222 wxListItem *arg1 = (wxListItem *) 0 ;
22223 int result;
22224 PyObject * obj0 = 0 ;
22225 char *kwnames[] = {
22226 (char *) "self", NULL
22227 };
22228
22229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
22230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22231 if (SWIG_arg_fail(1)) SWIG_fail;
22232 {
22233 PyThreadState* __tstate = wxPyBeginAllowThreads();
22234 result = (int)(arg1)->GetColumn();
22235
22236 wxPyEndAllowThreads(__tstate);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 {
22240 resultobj = SWIG_From_int((int)(result));
22241 }
22242 return resultobj;
22243 fail:
22244 return NULL;
22245 }
22246
22247
22248 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
22249 PyObject *resultobj;
22250 wxListItem *arg1 = (wxListItem *) 0 ;
22251 long result;
22252 PyObject * obj0 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
22258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22259 if (SWIG_arg_fail(1)) SWIG_fail;
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 result = (long)(arg1)->GetState();
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 {
22268 resultobj = SWIG_From_long((long)(result));
22269 }
22270 return resultobj;
22271 fail:
22272 return NULL;
22273 }
22274
22275
22276 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22277 PyObject *resultobj;
22278 wxListItem *arg1 = (wxListItem *) 0 ;
22279 wxString *result;
22280 PyObject * obj0 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "self", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22287 if (SWIG_arg_fail(1)) SWIG_fail;
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 {
22291 wxString const &_result_ref = (arg1)->GetText();
22292 result = (wxString *) &_result_ref;
22293 }
22294
22295 wxPyEndAllowThreads(__tstate);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 {
22299 #if wxUSE_UNICODE
22300 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22301 #else
22302 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22303 #endif
22304 }
22305 return resultobj;
22306 fail:
22307 return NULL;
22308 }
22309
22310
22311 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22312 PyObject *resultobj;
22313 wxListItem *arg1 = (wxListItem *) 0 ;
22314 int result;
22315 PyObject * obj0 = 0 ;
22316 char *kwnames[] = {
22317 (char *) "self", NULL
22318 };
22319
22320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
22321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22322 if (SWIG_arg_fail(1)) SWIG_fail;
22323 {
22324 PyThreadState* __tstate = wxPyBeginAllowThreads();
22325 result = (int)(arg1)->GetImage();
22326
22327 wxPyEndAllowThreads(__tstate);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
22330 {
22331 resultobj = SWIG_From_int((int)(result));
22332 }
22333 return resultobj;
22334 fail:
22335 return NULL;
22336 }
22337
22338
22339 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22340 PyObject *resultobj;
22341 wxListItem *arg1 = (wxListItem *) 0 ;
22342 long result;
22343 PyObject * obj0 = 0 ;
22344 char *kwnames[] = {
22345 (char *) "self", NULL
22346 };
22347
22348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22350 if (SWIG_arg_fail(1)) SWIG_fail;
22351 {
22352 PyThreadState* __tstate = wxPyBeginAllowThreads();
22353 result = (long)(arg1)->GetData();
22354
22355 wxPyEndAllowThreads(__tstate);
22356 if (PyErr_Occurred()) SWIG_fail;
22357 }
22358 {
22359 resultobj = SWIG_From_long((long)(result));
22360 }
22361 return resultobj;
22362 fail:
22363 return NULL;
22364 }
22365
22366
22367 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22368 PyObject *resultobj;
22369 wxListItem *arg1 = (wxListItem *) 0 ;
22370 int result;
22371 PyObject * obj0 = 0 ;
22372 char *kwnames[] = {
22373 (char *) "self", NULL
22374 };
22375
22376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22378 if (SWIG_arg_fail(1)) SWIG_fail;
22379 {
22380 PyThreadState* __tstate = wxPyBeginAllowThreads();
22381 result = (int)(arg1)->GetWidth();
22382
22383 wxPyEndAllowThreads(__tstate);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 }
22386 {
22387 resultobj = SWIG_From_int((int)(result));
22388 }
22389 return resultobj;
22390 fail:
22391 return NULL;
22392 }
22393
22394
22395 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22396 PyObject *resultobj;
22397 wxListItem *arg1 = (wxListItem *) 0 ;
22398 wxListColumnFormat result;
22399 PyObject * obj0 = 0 ;
22400 char *kwnames[] = {
22401 (char *) "self", NULL
22402 };
22403
22404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22406 if (SWIG_arg_fail(1)) SWIG_fail;
22407 {
22408 PyThreadState* __tstate = wxPyBeginAllowThreads();
22409 result = (wxListColumnFormat)(arg1)->GetAlign();
22410
22411 wxPyEndAllowThreads(__tstate);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
22414 resultobj = SWIG_From_int((result));
22415 return resultobj;
22416 fail:
22417 return NULL;
22418 }
22419
22420
22421 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22422 PyObject *resultobj;
22423 wxListItem *arg1 = (wxListItem *) 0 ;
22424 wxListItemAttr *result;
22425 PyObject * obj0 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
22431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22432 if (SWIG_arg_fail(1)) SWIG_fail;
22433 {
22434 PyThreadState* __tstate = wxPyBeginAllowThreads();
22435 result = (wxListItemAttr *)(arg1)->GetAttributes();
22436
22437 wxPyEndAllowThreads(__tstate);
22438 if (PyErr_Occurred()) SWIG_fail;
22439 }
22440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22441 return resultobj;
22442 fail:
22443 return NULL;
22444 }
22445
22446
22447 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22448 PyObject *resultobj;
22449 wxListItem *arg1 = (wxListItem *) 0 ;
22450 bool result;
22451 PyObject * obj0 = 0 ;
22452 char *kwnames[] = {
22453 (char *) "self", NULL
22454 };
22455
22456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22458 if (SWIG_arg_fail(1)) SWIG_fail;
22459 {
22460 PyThreadState* __tstate = wxPyBeginAllowThreads();
22461 result = (bool)(arg1)->HasAttributes();
22462
22463 wxPyEndAllowThreads(__tstate);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 {
22467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22468 }
22469 return resultobj;
22470 fail:
22471 return NULL;
22472 }
22473
22474
22475 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22476 PyObject *resultobj;
22477 wxListItem *arg1 = (wxListItem *) 0 ;
22478 wxColour result;
22479 PyObject * obj0 = 0 ;
22480 char *kwnames[] = {
22481 (char *) "self", NULL
22482 };
22483
22484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22486 if (SWIG_arg_fail(1)) SWIG_fail;
22487 {
22488 PyThreadState* __tstate = wxPyBeginAllowThreads();
22489 result = ((wxListItem const *)arg1)->GetTextColour();
22490
22491 wxPyEndAllowThreads(__tstate);
22492 if (PyErr_Occurred()) SWIG_fail;
22493 }
22494 {
22495 wxColour * resultptr;
22496 resultptr = new wxColour((wxColour &)(result));
22497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22498 }
22499 return resultobj;
22500 fail:
22501 return NULL;
22502 }
22503
22504
22505 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22506 PyObject *resultobj;
22507 wxListItem *arg1 = (wxListItem *) 0 ;
22508 wxColour result;
22509 PyObject * obj0 = 0 ;
22510 char *kwnames[] = {
22511 (char *) "self", NULL
22512 };
22513
22514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22516 if (SWIG_arg_fail(1)) SWIG_fail;
22517 {
22518 PyThreadState* __tstate = wxPyBeginAllowThreads();
22519 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22520
22521 wxPyEndAllowThreads(__tstate);
22522 if (PyErr_Occurred()) SWIG_fail;
22523 }
22524 {
22525 wxColour * resultptr;
22526 resultptr = new wxColour((wxColour &)(result));
22527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22528 }
22529 return resultobj;
22530 fail:
22531 return NULL;
22532 }
22533
22534
22535 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22536 PyObject *resultobj;
22537 wxListItem *arg1 = (wxListItem *) 0 ;
22538 wxFont result;
22539 PyObject * obj0 = 0 ;
22540 char *kwnames[] = {
22541 (char *) "self", NULL
22542 };
22543
22544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22546 if (SWIG_arg_fail(1)) SWIG_fail;
22547 {
22548 PyThreadState* __tstate = wxPyBeginAllowThreads();
22549 result = ((wxListItem const *)arg1)->GetFont();
22550
22551 wxPyEndAllowThreads(__tstate);
22552 if (PyErr_Occurred()) SWIG_fail;
22553 }
22554 {
22555 wxFont * resultptr;
22556 resultptr = new wxFont((wxFont &)(result));
22557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22558 }
22559 return resultobj;
22560 fail:
22561 return NULL;
22562 }
22563
22564
22565 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22566 PyObject *resultobj;
22567 wxListItem *arg1 = (wxListItem *) 0 ;
22568 long arg2 ;
22569 PyObject * obj0 = 0 ;
22570 PyObject * obj1 = 0 ;
22571 char *kwnames[] = {
22572 (char *) "self",(char *) "m_mask", NULL
22573 };
22574
22575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22577 if (SWIG_arg_fail(1)) SWIG_fail;
22578 {
22579 arg2 = (long)(SWIG_As_long(obj1));
22580 if (SWIG_arg_fail(2)) SWIG_fail;
22581 }
22582 if (arg1) (arg1)->m_mask = arg2;
22583
22584 Py_INCREF(Py_None); resultobj = Py_None;
22585 return resultobj;
22586 fail:
22587 return NULL;
22588 }
22589
22590
22591 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22592 PyObject *resultobj;
22593 wxListItem *arg1 = (wxListItem *) 0 ;
22594 long result;
22595 PyObject * obj0 = 0 ;
22596 char *kwnames[] = {
22597 (char *) "self", NULL
22598 };
22599
22600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
22601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail;
22603 result = (long) ((arg1)->m_mask);
22604
22605 {
22606 resultobj = SWIG_From_long((long)(result));
22607 }
22608 return resultobj;
22609 fail:
22610 return NULL;
22611 }
22612
22613
22614 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22615 PyObject *resultobj;
22616 wxListItem *arg1 = (wxListItem *) 0 ;
22617 long arg2 ;
22618 PyObject * obj0 = 0 ;
22619 PyObject * obj1 = 0 ;
22620 char *kwnames[] = {
22621 (char *) "self",(char *) "m_itemId", NULL
22622 };
22623
22624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22626 if (SWIG_arg_fail(1)) SWIG_fail;
22627 {
22628 arg2 = (long)(SWIG_As_long(obj1));
22629 if (SWIG_arg_fail(2)) SWIG_fail;
22630 }
22631 if (arg1) (arg1)->m_itemId = arg2;
22632
22633 Py_INCREF(Py_None); resultobj = Py_None;
22634 return resultobj;
22635 fail:
22636 return NULL;
22637 }
22638
22639
22640 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22641 PyObject *resultobj;
22642 wxListItem *arg1 = (wxListItem *) 0 ;
22643 long result;
22644 PyObject * obj0 = 0 ;
22645 char *kwnames[] = {
22646 (char *) "self", NULL
22647 };
22648
22649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
22650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22651 if (SWIG_arg_fail(1)) SWIG_fail;
22652 result = (long) ((arg1)->m_itemId);
22653
22654 {
22655 resultobj = SWIG_From_long((long)(result));
22656 }
22657 return resultobj;
22658 fail:
22659 return NULL;
22660 }
22661
22662
22663 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22664 PyObject *resultobj;
22665 wxListItem *arg1 = (wxListItem *) 0 ;
22666 int arg2 ;
22667 PyObject * obj0 = 0 ;
22668 PyObject * obj1 = 0 ;
22669 char *kwnames[] = {
22670 (char *) "self",(char *) "m_col", NULL
22671 };
22672
22673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22675 if (SWIG_arg_fail(1)) SWIG_fail;
22676 {
22677 arg2 = (int)(SWIG_As_int(obj1));
22678 if (SWIG_arg_fail(2)) SWIG_fail;
22679 }
22680 if (arg1) (arg1)->m_col = arg2;
22681
22682 Py_INCREF(Py_None); resultobj = Py_None;
22683 return resultobj;
22684 fail:
22685 return NULL;
22686 }
22687
22688
22689 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxListItem *arg1 = (wxListItem *) 0 ;
22692 int result;
22693 PyObject * obj0 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "self", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22700 if (SWIG_arg_fail(1)) SWIG_fail;
22701 result = (int) ((arg1)->m_col);
22702
22703 {
22704 resultobj = SWIG_From_int((int)(result));
22705 }
22706 return resultobj;
22707 fail:
22708 return NULL;
22709 }
22710
22711
22712 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22713 PyObject *resultobj;
22714 wxListItem *arg1 = (wxListItem *) 0 ;
22715 long arg2 ;
22716 PyObject * obj0 = 0 ;
22717 PyObject * obj1 = 0 ;
22718 char *kwnames[] = {
22719 (char *) "self",(char *) "m_state", NULL
22720 };
22721
22722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22724 if (SWIG_arg_fail(1)) SWIG_fail;
22725 {
22726 arg2 = (long)(SWIG_As_long(obj1));
22727 if (SWIG_arg_fail(2)) SWIG_fail;
22728 }
22729 if (arg1) (arg1)->m_state = arg2;
22730
22731 Py_INCREF(Py_None); resultobj = Py_None;
22732 return resultobj;
22733 fail:
22734 return NULL;
22735 }
22736
22737
22738 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22739 PyObject *resultobj;
22740 wxListItem *arg1 = (wxListItem *) 0 ;
22741 long result;
22742 PyObject * obj0 = 0 ;
22743 char *kwnames[] = {
22744 (char *) "self", NULL
22745 };
22746
22747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22749 if (SWIG_arg_fail(1)) SWIG_fail;
22750 result = (long) ((arg1)->m_state);
22751
22752 {
22753 resultobj = SWIG_From_long((long)(result));
22754 }
22755 return resultobj;
22756 fail:
22757 return NULL;
22758 }
22759
22760
22761 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22762 PyObject *resultobj;
22763 wxListItem *arg1 = (wxListItem *) 0 ;
22764 long arg2 ;
22765 PyObject * obj0 = 0 ;
22766 PyObject * obj1 = 0 ;
22767 char *kwnames[] = {
22768 (char *) "self",(char *) "m_stateMask", NULL
22769 };
22770
22771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
22772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22773 if (SWIG_arg_fail(1)) SWIG_fail;
22774 {
22775 arg2 = (long)(SWIG_As_long(obj1));
22776 if (SWIG_arg_fail(2)) SWIG_fail;
22777 }
22778 if (arg1) (arg1)->m_stateMask = arg2;
22779
22780 Py_INCREF(Py_None); resultobj = Py_None;
22781 return resultobj;
22782 fail:
22783 return NULL;
22784 }
22785
22786
22787 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22788 PyObject *resultobj;
22789 wxListItem *arg1 = (wxListItem *) 0 ;
22790 long result;
22791 PyObject * obj0 = 0 ;
22792 char *kwnames[] = {
22793 (char *) "self", NULL
22794 };
22795
22796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22798 if (SWIG_arg_fail(1)) SWIG_fail;
22799 result = (long) ((arg1)->m_stateMask);
22800
22801 {
22802 resultobj = SWIG_From_long((long)(result));
22803 }
22804 return resultobj;
22805 fail:
22806 return NULL;
22807 }
22808
22809
22810 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22811 PyObject *resultobj;
22812 wxListItem *arg1 = (wxListItem *) 0 ;
22813 wxString *arg2 = (wxString *) 0 ;
22814 bool temp2 = false ;
22815 PyObject * obj0 = 0 ;
22816 PyObject * obj1 = 0 ;
22817 char *kwnames[] = {
22818 (char *) "self",(char *) "m_text", NULL
22819 };
22820
22821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22823 if (SWIG_arg_fail(1)) SWIG_fail;
22824 {
22825 arg2 = wxString_in_helper(obj1);
22826 if (arg2 == NULL) SWIG_fail;
22827 temp2 = true;
22828 }
22829 if (arg1) (arg1)->m_text = *arg2;
22830
22831 Py_INCREF(Py_None); resultobj = Py_None;
22832 {
22833 if (temp2)
22834 delete arg2;
22835 }
22836 return resultobj;
22837 fail:
22838 {
22839 if (temp2)
22840 delete arg2;
22841 }
22842 return NULL;
22843 }
22844
22845
22846 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22847 PyObject *resultobj;
22848 wxListItem *arg1 = (wxListItem *) 0 ;
22849 wxString *result;
22850 PyObject * obj0 = 0 ;
22851 char *kwnames[] = {
22852 (char *) "self", NULL
22853 };
22854
22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22857 if (SWIG_arg_fail(1)) SWIG_fail;
22858 result = (wxString *)& ((arg1)->m_text);
22859
22860 {
22861 #if wxUSE_UNICODE
22862 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22863 #else
22864 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22865 #endif
22866 }
22867 return resultobj;
22868 fail:
22869 return NULL;
22870 }
22871
22872
22873 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22874 PyObject *resultobj;
22875 wxListItem *arg1 = (wxListItem *) 0 ;
22876 int arg2 ;
22877 PyObject * obj0 = 0 ;
22878 PyObject * obj1 = 0 ;
22879 char *kwnames[] = {
22880 (char *) "self",(char *) "m_image", NULL
22881 };
22882
22883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22885 if (SWIG_arg_fail(1)) SWIG_fail;
22886 {
22887 arg2 = (int)(SWIG_As_int(obj1));
22888 if (SWIG_arg_fail(2)) SWIG_fail;
22889 }
22890 if (arg1) (arg1)->m_image = arg2;
22891
22892 Py_INCREF(Py_None); resultobj = Py_None;
22893 return resultobj;
22894 fail:
22895 return NULL;
22896 }
22897
22898
22899 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22900 PyObject *resultobj;
22901 wxListItem *arg1 = (wxListItem *) 0 ;
22902 int result;
22903 PyObject * obj0 = 0 ;
22904 char *kwnames[] = {
22905 (char *) "self", NULL
22906 };
22907
22908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22910 if (SWIG_arg_fail(1)) SWIG_fail;
22911 result = (int) ((arg1)->m_image);
22912
22913 {
22914 resultobj = SWIG_From_int((int)(result));
22915 }
22916 return resultobj;
22917 fail:
22918 return NULL;
22919 }
22920
22921
22922 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22923 PyObject *resultobj;
22924 wxListItem *arg1 = (wxListItem *) 0 ;
22925 long arg2 ;
22926 PyObject * obj0 = 0 ;
22927 PyObject * obj1 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self",(char *) "m_data", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
22933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22934 if (SWIG_arg_fail(1)) SWIG_fail;
22935 {
22936 arg2 = (long)(SWIG_As_long(obj1));
22937 if (SWIG_arg_fail(2)) SWIG_fail;
22938 }
22939 if (arg1) (arg1)->m_data = arg2;
22940
22941 Py_INCREF(Py_None); resultobj = Py_None;
22942 return resultobj;
22943 fail:
22944 return NULL;
22945 }
22946
22947
22948 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
22949 PyObject *resultobj;
22950 wxListItem *arg1 = (wxListItem *) 0 ;
22951 long result;
22952 PyObject * obj0 = 0 ;
22953 char *kwnames[] = {
22954 (char *) "self", NULL
22955 };
22956
22957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
22958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22959 if (SWIG_arg_fail(1)) SWIG_fail;
22960 result = (long) ((arg1)->m_data);
22961
22962 {
22963 resultobj = SWIG_From_long((long)(result));
22964 }
22965 return resultobj;
22966 fail:
22967 return NULL;
22968 }
22969
22970
22971 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
22972 PyObject *resultobj;
22973 wxListItem *arg1 = (wxListItem *) 0 ;
22974 int arg2 ;
22975 PyObject * obj0 = 0 ;
22976 PyObject * obj1 = 0 ;
22977 char *kwnames[] = {
22978 (char *) "self",(char *) "m_format", NULL
22979 };
22980
22981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
22982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22983 if (SWIG_arg_fail(1)) SWIG_fail;
22984 {
22985 arg2 = (int)(SWIG_As_int(obj1));
22986 if (SWIG_arg_fail(2)) SWIG_fail;
22987 }
22988 if (arg1) (arg1)->m_format = arg2;
22989
22990 Py_INCREF(Py_None); resultobj = Py_None;
22991 return resultobj;
22992 fail:
22993 return NULL;
22994 }
22995
22996
22997 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
22998 PyObject *resultobj;
22999 wxListItem *arg1 = (wxListItem *) 0 ;
23000 int result;
23001 PyObject * obj0 = 0 ;
23002 char *kwnames[] = {
23003 (char *) "self", NULL
23004 };
23005
23006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
23007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23008 if (SWIG_arg_fail(1)) SWIG_fail;
23009 result = (int) ((arg1)->m_format);
23010
23011 {
23012 resultobj = SWIG_From_int((int)(result));
23013 }
23014 return resultobj;
23015 fail:
23016 return NULL;
23017 }
23018
23019
23020 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
23021 PyObject *resultobj;
23022 wxListItem *arg1 = (wxListItem *) 0 ;
23023 int arg2 ;
23024 PyObject * obj0 = 0 ;
23025 PyObject * obj1 = 0 ;
23026 char *kwnames[] = {
23027 (char *) "self",(char *) "m_width", NULL
23028 };
23029
23030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
23031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23032 if (SWIG_arg_fail(1)) SWIG_fail;
23033 {
23034 arg2 = (int)(SWIG_As_int(obj1));
23035 if (SWIG_arg_fail(2)) SWIG_fail;
23036 }
23037 if (arg1) (arg1)->m_width = arg2;
23038
23039 Py_INCREF(Py_None); resultobj = Py_None;
23040 return resultobj;
23041 fail:
23042 return NULL;
23043 }
23044
23045
23046 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
23047 PyObject *resultobj;
23048 wxListItem *arg1 = (wxListItem *) 0 ;
23049 int result;
23050 PyObject * obj0 = 0 ;
23051 char *kwnames[] = {
23052 (char *) "self", NULL
23053 };
23054
23055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
23056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23057 if (SWIG_arg_fail(1)) SWIG_fail;
23058 result = (int) ((arg1)->m_width);
23059
23060 {
23061 resultobj = SWIG_From_int((int)(result));
23062 }
23063 return resultobj;
23064 fail:
23065 return NULL;
23066 }
23067
23068
23069 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
23070 PyObject *obj;
23071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23072 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23073 Py_INCREF(obj);
23074 return Py_BuildValue((char *)"");
23075 }
23076 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23077 PyObject *resultobj;
23078 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23079 int arg2 = (int) 0 ;
23080 wxListEvent *result;
23081 PyObject * obj0 = 0 ;
23082 PyObject * obj1 = 0 ;
23083 char *kwnames[] = {
23084 (char *) "commandType",(char *) "id", NULL
23085 };
23086
23087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23088 if (obj0) {
23089 {
23090 arg1 = (wxEventType)(SWIG_As_int(obj0));
23091 if (SWIG_arg_fail(1)) SWIG_fail;
23092 }
23093 }
23094 if (obj1) {
23095 {
23096 arg2 = (int)(SWIG_As_int(obj1));
23097 if (SWIG_arg_fail(2)) SWIG_fail;
23098 }
23099 }
23100 {
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23103
23104 wxPyEndAllowThreads(__tstate);
23105 if (PyErr_Occurred()) SWIG_fail;
23106 }
23107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23108 return resultobj;
23109 fail:
23110 return NULL;
23111 }
23112
23113
23114 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
23115 PyObject *resultobj;
23116 wxListEvent *arg1 = (wxListEvent *) 0 ;
23117 int arg2 ;
23118 PyObject * obj0 = 0 ;
23119 PyObject * obj1 = 0 ;
23120 char *kwnames[] = {
23121 (char *) "self",(char *) "m_code", NULL
23122 };
23123
23124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
23125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23126 if (SWIG_arg_fail(1)) SWIG_fail;
23127 {
23128 arg2 = (int)(SWIG_As_int(obj1));
23129 if (SWIG_arg_fail(2)) SWIG_fail;
23130 }
23131 if (arg1) (arg1)->m_code = arg2;
23132
23133 Py_INCREF(Py_None); resultobj = Py_None;
23134 return resultobj;
23135 fail:
23136 return NULL;
23137 }
23138
23139
23140 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
23141 PyObject *resultobj;
23142 wxListEvent *arg1 = (wxListEvent *) 0 ;
23143 int result;
23144 PyObject * obj0 = 0 ;
23145 char *kwnames[] = {
23146 (char *) "self", NULL
23147 };
23148
23149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
23150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23151 if (SWIG_arg_fail(1)) SWIG_fail;
23152 result = (int) ((arg1)->m_code);
23153
23154 {
23155 resultobj = SWIG_From_int((int)(result));
23156 }
23157 return resultobj;
23158 fail:
23159 return NULL;
23160 }
23161
23162
23163 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23164 PyObject *resultobj;
23165 wxListEvent *arg1 = (wxListEvent *) 0 ;
23166 long arg2 ;
23167 PyObject * obj0 = 0 ;
23168 PyObject * obj1 = 0 ;
23169 char *kwnames[] = {
23170 (char *) "self",(char *) "m_oldItemIndex", NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23175 if (SWIG_arg_fail(1)) SWIG_fail;
23176 {
23177 arg2 = (long)(SWIG_As_long(obj1));
23178 if (SWIG_arg_fail(2)) SWIG_fail;
23179 }
23180 if (arg1) (arg1)->m_oldItemIndex = arg2;
23181
23182 Py_INCREF(Py_None); resultobj = Py_None;
23183 return resultobj;
23184 fail:
23185 return NULL;
23186 }
23187
23188
23189 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23190 PyObject *resultobj;
23191 wxListEvent *arg1 = (wxListEvent *) 0 ;
23192 long result;
23193 PyObject * obj0 = 0 ;
23194 char *kwnames[] = {
23195 (char *) "self", NULL
23196 };
23197
23198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23200 if (SWIG_arg_fail(1)) SWIG_fail;
23201 result = (long) ((arg1)->m_oldItemIndex);
23202
23203 {
23204 resultobj = SWIG_From_long((long)(result));
23205 }
23206 return resultobj;
23207 fail:
23208 return NULL;
23209 }
23210
23211
23212 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23213 PyObject *resultobj;
23214 wxListEvent *arg1 = (wxListEvent *) 0 ;
23215 long arg2 ;
23216 PyObject * obj0 = 0 ;
23217 PyObject * obj1 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self",(char *) "m_itemIndex", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23224 if (SWIG_arg_fail(1)) SWIG_fail;
23225 {
23226 arg2 = (long)(SWIG_As_long(obj1));
23227 if (SWIG_arg_fail(2)) SWIG_fail;
23228 }
23229 if (arg1) (arg1)->m_itemIndex = arg2;
23230
23231 Py_INCREF(Py_None); resultobj = Py_None;
23232 return resultobj;
23233 fail:
23234 return NULL;
23235 }
23236
23237
23238 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23239 PyObject *resultobj;
23240 wxListEvent *arg1 = (wxListEvent *) 0 ;
23241 long result;
23242 PyObject * obj0 = 0 ;
23243 char *kwnames[] = {
23244 (char *) "self", NULL
23245 };
23246
23247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23249 if (SWIG_arg_fail(1)) SWIG_fail;
23250 result = (long) ((arg1)->m_itemIndex);
23251
23252 {
23253 resultobj = SWIG_From_long((long)(result));
23254 }
23255 return resultobj;
23256 fail:
23257 return NULL;
23258 }
23259
23260
23261 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23262 PyObject *resultobj;
23263 wxListEvent *arg1 = (wxListEvent *) 0 ;
23264 int arg2 ;
23265 PyObject * obj0 = 0 ;
23266 PyObject * obj1 = 0 ;
23267 char *kwnames[] = {
23268 (char *) "self",(char *) "m_col", NULL
23269 };
23270
23271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23273 if (SWIG_arg_fail(1)) SWIG_fail;
23274 {
23275 arg2 = (int)(SWIG_As_int(obj1));
23276 if (SWIG_arg_fail(2)) SWIG_fail;
23277 }
23278 if (arg1) (arg1)->m_col = arg2;
23279
23280 Py_INCREF(Py_None); resultobj = Py_None;
23281 return resultobj;
23282 fail:
23283 return NULL;
23284 }
23285
23286
23287 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23288 PyObject *resultobj;
23289 wxListEvent *arg1 = (wxListEvent *) 0 ;
23290 int result;
23291 PyObject * obj0 = 0 ;
23292 char *kwnames[] = {
23293 (char *) "self", NULL
23294 };
23295
23296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
23297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23298 if (SWIG_arg_fail(1)) SWIG_fail;
23299 result = (int) ((arg1)->m_col);
23300
23301 {
23302 resultobj = SWIG_From_int((int)(result));
23303 }
23304 return resultobj;
23305 fail:
23306 return NULL;
23307 }
23308
23309
23310 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23311 PyObject *resultobj;
23312 wxListEvent *arg1 = (wxListEvent *) 0 ;
23313 wxPoint *arg2 = (wxPoint *) 0 ;
23314 PyObject * obj0 = 0 ;
23315 PyObject * obj1 = 0 ;
23316 char *kwnames[] = {
23317 (char *) "self",(char *) "m_pointDrag", NULL
23318 };
23319
23320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
23321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23322 if (SWIG_arg_fail(1)) SWIG_fail;
23323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23324 if (SWIG_arg_fail(2)) SWIG_fail;
23325 if (arg1) (arg1)->m_pointDrag = *arg2;
23326
23327 Py_INCREF(Py_None); resultobj = Py_None;
23328 return resultobj;
23329 fail:
23330 return NULL;
23331 }
23332
23333
23334 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23335 PyObject *resultobj;
23336 wxListEvent *arg1 = (wxListEvent *) 0 ;
23337 wxPoint *result;
23338 PyObject * obj0 = 0 ;
23339 char *kwnames[] = {
23340 (char *) "self", NULL
23341 };
23342
23343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
23344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23345 if (SWIG_arg_fail(1)) SWIG_fail;
23346 result = (wxPoint *)& ((arg1)->m_pointDrag);
23347
23348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23349 return resultobj;
23350 fail:
23351 return NULL;
23352 }
23353
23354
23355 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23356 PyObject *resultobj;
23357 wxListEvent *arg1 = (wxListEvent *) 0 ;
23358 wxListItem *result;
23359 PyObject * obj0 = 0 ;
23360 char *kwnames[] = {
23361 (char *) "self", NULL
23362 };
23363
23364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23366 if (SWIG_arg_fail(1)) SWIG_fail;
23367 result = (wxListItem *)& ((arg1)->m_item);
23368
23369 {
23370 resultobj = wxPyMake_wxObject(result, 0);
23371 }
23372 return resultobj;
23373 fail:
23374 return NULL;
23375 }
23376
23377
23378 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23379 PyObject *resultobj;
23380 wxListEvent *arg1 = (wxListEvent *) 0 ;
23381 int result;
23382 PyObject * obj0 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23389 if (SWIG_arg_fail(1)) SWIG_fail;
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 result = (int)(arg1)->GetKeyCode();
23393
23394 wxPyEndAllowThreads(__tstate);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 {
23398 resultobj = SWIG_From_int((int)(result));
23399 }
23400 return resultobj;
23401 fail:
23402 return NULL;
23403 }
23404
23405
23406 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23407 PyObject *resultobj;
23408 wxListEvent *arg1 = (wxListEvent *) 0 ;
23409 long result;
23410 PyObject * obj0 = 0 ;
23411 char *kwnames[] = {
23412 (char *) "self", NULL
23413 };
23414
23415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23417 if (SWIG_arg_fail(1)) SWIG_fail;
23418 {
23419 PyThreadState* __tstate = wxPyBeginAllowThreads();
23420 result = (long)(arg1)->GetIndex();
23421
23422 wxPyEndAllowThreads(__tstate);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 }
23425 {
23426 resultobj = SWIG_From_long((long)(result));
23427 }
23428 return resultobj;
23429 fail:
23430 return NULL;
23431 }
23432
23433
23434 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23435 PyObject *resultobj;
23436 wxListEvent *arg1 = (wxListEvent *) 0 ;
23437 int result;
23438 PyObject * obj0 = 0 ;
23439 char *kwnames[] = {
23440 (char *) "self", NULL
23441 };
23442
23443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23445 if (SWIG_arg_fail(1)) SWIG_fail;
23446 {
23447 PyThreadState* __tstate = wxPyBeginAllowThreads();
23448 result = (int)(arg1)->GetColumn();
23449
23450 wxPyEndAllowThreads(__tstate);
23451 if (PyErr_Occurred()) SWIG_fail;
23452 }
23453 {
23454 resultobj = SWIG_From_int((int)(result));
23455 }
23456 return resultobj;
23457 fail:
23458 return NULL;
23459 }
23460
23461
23462 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23463 PyObject *resultobj;
23464 wxListEvent *arg1 = (wxListEvent *) 0 ;
23465 wxPoint result;
23466 PyObject * obj0 = 0 ;
23467 char *kwnames[] = {
23468 (char *) "self", NULL
23469 };
23470
23471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23473 if (SWIG_arg_fail(1)) SWIG_fail;
23474 {
23475 PyThreadState* __tstate = wxPyBeginAllowThreads();
23476 result = (arg1)->GetPoint();
23477
23478 wxPyEndAllowThreads(__tstate);
23479 if (PyErr_Occurred()) SWIG_fail;
23480 }
23481 {
23482 wxPoint * resultptr;
23483 resultptr = new wxPoint((wxPoint &)(result));
23484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23485 }
23486 return resultobj;
23487 fail:
23488 return NULL;
23489 }
23490
23491
23492 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23493 PyObject *resultobj;
23494 wxListEvent *arg1 = (wxListEvent *) 0 ;
23495 wxString *result;
23496 PyObject * obj0 = 0 ;
23497 char *kwnames[] = {
23498 (char *) "self", NULL
23499 };
23500
23501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
23502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23503 if (SWIG_arg_fail(1)) SWIG_fail;
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 {
23507 wxString const &_result_ref = (arg1)->GetLabel();
23508 result = (wxString *) &_result_ref;
23509 }
23510
23511 wxPyEndAllowThreads(__tstate);
23512 if (PyErr_Occurred()) SWIG_fail;
23513 }
23514 {
23515 #if wxUSE_UNICODE
23516 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23517 #else
23518 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23519 #endif
23520 }
23521 return resultobj;
23522 fail:
23523 return NULL;
23524 }
23525
23526
23527 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23528 PyObject *resultobj;
23529 wxListEvent *arg1 = (wxListEvent *) 0 ;
23530 wxString *result;
23531 PyObject * obj0 = 0 ;
23532 char *kwnames[] = {
23533 (char *) "self", NULL
23534 };
23535
23536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23538 if (SWIG_arg_fail(1)) SWIG_fail;
23539 {
23540 PyThreadState* __tstate = wxPyBeginAllowThreads();
23541 {
23542 wxString const &_result_ref = (arg1)->GetText();
23543 result = (wxString *) &_result_ref;
23544 }
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
23549 {
23550 #if wxUSE_UNICODE
23551 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23552 #else
23553 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23554 #endif
23555 }
23556 return resultobj;
23557 fail:
23558 return NULL;
23559 }
23560
23561
23562 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23563 PyObject *resultobj;
23564 wxListEvent *arg1 = (wxListEvent *) 0 ;
23565 int result;
23566 PyObject * obj0 = 0 ;
23567 char *kwnames[] = {
23568 (char *) "self", NULL
23569 };
23570
23571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
23572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23573 if (SWIG_arg_fail(1)) SWIG_fail;
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 result = (int)(arg1)->GetImage();
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 {
23582 resultobj = SWIG_From_int((int)(result));
23583 }
23584 return resultobj;
23585 fail:
23586 return NULL;
23587 }
23588
23589
23590 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23591 PyObject *resultobj;
23592 wxListEvent *arg1 = (wxListEvent *) 0 ;
23593 long result;
23594 PyObject * obj0 = 0 ;
23595 char *kwnames[] = {
23596 (char *) "self", NULL
23597 };
23598
23599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23601 if (SWIG_arg_fail(1)) SWIG_fail;
23602 {
23603 PyThreadState* __tstate = wxPyBeginAllowThreads();
23604 result = (long)(arg1)->GetData();
23605
23606 wxPyEndAllowThreads(__tstate);
23607 if (PyErr_Occurred()) SWIG_fail;
23608 }
23609 {
23610 resultobj = SWIG_From_long((long)(result));
23611 }
23612 return resultobj;
23613 fail:
23614 return NULL;
23615 }
23616
23617
23618 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23619 PyObject *resultobj;
23620 wxListEvent *arg1 = (wxListEvent *) 0 ;
23621 long result;
23622 PyObject * obj0 = 0 ;
23623 char *kwnames[] = {
23624 (char *) "self", NULL
23625 };
23626
23627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23629 if (SWIG_arg_fail(1)) SWIG_fail;
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 result = (long)(arg1)->GetMask();
23633
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
23637 {
23638 resultobj = SWIG_From_long((long)(result));
23639 }
23640 return resultobj;
23641 fail:
23642 return NULL;
23643 }
23644
23645
23646 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23647 PyObject *resultobj;
23648 wxListEvent *arg1 = (wxListEvent *) 0 ;
23649 wxListItem *result;
23650 PyObject * obj0 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23657 if (SWIG_arg_fail(1)) SWIG_fail;
23658 {
23659 PyThreadState* __tstate = wxPyBeginAllowThreads();
23660 {
23661 wxListItem const &_result_ref = (arg1)->GetItem();
23662 result = (wxListItem *) &_result_ref;
23663 }
23664
23665 wxPyEndAllowThreads(__tstate);
23666 if (PyErr_Occurred()) SWIG_fail;
23667 }
23668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23669 return resultobj;
23670 fail:
23671 return NULL;
23672 }
23673
23674
23675 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23676 PyObject *resultobj;
23677 wxListEvent *arg1 = (wxListEvent *) 0 ;
23678 long result;
23679 PyObject * obj0 = 0 ;
23680 char *kwnames[] = {
23681 (char *) "self", NULL
23682 };
23683
23684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23686 if (SWIG_arg_fail(1)) SWIG_fail;
23687 {
23688 PyThreadState* __tstate = wxPyBeginAllowThreads();
23689 result = (long)(arg1)->GetCacheFrom();
23690
23691 wxPyEndAllowThreads(__tstate);
23692 if (PyErr_Occurred()) SWIG_fail;
23693 }
23694 {
23695 resultobj = SWIG_From_long((long)(result));
23696 }
23697 return resultobj;
23698 fail:
23699 return NULL;
23700 }
23701
23702
23703 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23704 PyObject *resultobj;
23705 wxListEvent *arg1 = (wxListEvent *) 0 ;
23706 long result;
23707 PyObject * obj0 = 0 ;
23708 char *kwnames[] = {
23709 (char *) "self", NULL
23710 };
23711
23712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23714 if (SWIG_arg_fail(1)) SWIG_fail;
23715 {
23716 PyThreadState* __tstate = wxPyBeginAllowThreads();
23717 result = (long)(arg1)->GetCacheTo();
23718
23719 wxPyEndAllowThreads(__tstate);
23720 if (PyErr_Occurred()) SWIG_fail;
23721 }
23722 {
23723 resultobj = SWIG_From_long((long)(result));
23724 }
23725 return resultobj;
23726 fail:
23727 return NULL;
23728 }
23729
23730
23731 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23732 PyObject *resultobj;
23733 wxListEvent *arg1 = (wxListEvent *) 0 ;
23734 bool result;
23735 PyObject * obj0 = 0 ;
23736 char *kwnames[] = {
23737 (char *) "self", NULL
23738 };
23739
23740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23742 if (SWIG_arg_fail(1)) SWIG_fail;
23743 {
23744 PyThreadState* __tstate = wxPyBeginAllowThreads();
23745 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23746
23747 wxPyEndAllowThreads(__tstate);
23748 if (PyErr_Occurred()) SWIG_fail;
23749 }
23750 {
23751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23752 }
23753 return resultobj;
23754 fail:
23755 return NULL;
23756 }
23757
23758
23759 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23760 PyObject *resultobj;
23761 wxListEvent *arg1 = (wxListEvent *) 0 ;
23762 bool arg2 ;
23763 PyObject * obj0 = 0 ;
23764 PyObject * obj1 = 0 ;
23765 char *kwnames[] = {
23766 (char *) "self",(char *) "editCancelled", NULL
23767 };
23768
23769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23771 if (SWIG_arg_fail(1)) SWIG_fail;
23772 {
23773 arg2 = (bool)(SWIG_As_bool(obj1));
23774 if (SWIG_arg_fail(2)) SWIG_fail;
23775 }
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 (arg1)->SetEditCanceled(arg2);
23779
23780 wxPyEndAllowThreads(__tstate);
23781 if (PyErr_Occurred()) SWIG_fail;
23782 }
23783 Py_INCREF(Py_None); resultobj = Py_None;
23784 return resultobj;
23785 fail:
23786 return NULL;
23787 }
23788
23789
23790 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23791 PyObject *obj;
23792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23793 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23794 Py_INCREF(obj);
23795 return Py_BuildValue((char *)"");
23796 }
23797 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23798 PyObject *resultobj;
23799 wxWindow *arg1 = (wxWindow *) 0 ;
23800 int arg2 = (int) -1 ;
23801 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23802 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23803 wxSize const &arg4_defvalue = wxDefaultSize ;
23804 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23805 long arg5 = (long) wxLC_ICON ;
23806 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23807 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23808 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23809 wxString *arg7 = (wxString *) &arg7_defvalue ;
23810 wxPyListCtrl *result;
23811 wxPoint temp3 ;
23812 wxSize temp4 ;
23813 bool temp7 = false ;
23814 PyObject * obj0 = 0 ;
23815 PyObject * obj1 = 0 ;
23816 PyObject * obj2 = 0 ;
23817 PyObject * obj3 = 0 ;
23818 PyObject * obj4 = 0 ;
23819 PyObject * obj5 = 0 ;
23820 PyObject * obj6 = 0 ;
23821 char *kwnames[] = {
23822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23823 };
23824
23825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23827 if (SWIG_arg_fail(1)) SWIG_fail;
23828 if (obj1) {
23829 {
23830 arg2 = (int)(SWIG_As_int(obj1));
23831 if (SWIG_arg_fail(2)) SWIG_fail;
23832 }
23833 }
23834 if (obj2) {
23835 {
23836 arg3 = &temp3;
23837 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23838 }
23839 }
23840 if (obj3) {
23841 {
23842 arg4 = &temp4;
23843 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23844 }
23845 }
23846 if (obj4) {
23847 {
23848 arg5 = (long)(SWIG_As_long(obj4));
23849 if (SWIG_arg_fail(5)) SWIG_fail;
23850 }
23851 }
23852 if (obj5) {
23853 {
23854 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23855 if (SWIG_arg_fail(6)) SWIG_fail;
23856 if (arg6 == NULL) {
23857 SWIG_null_ref("wxValidator");
23858 }
23859 if (SWIG_arg_fail(6)) SWIG_fail;
23860 }
23861 }
23862 if (obj6) {
23863 {
23864 arg7 = wxString_in_helper(obj6);
23865 if (arg7 == NULL) SWIG_fail;
23866 temp7 = true;
23867 }
23868 }
23869 {
23870 if (!wxPyCheckForApp()) SWIG_fail;
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23873
23874 wxPyEndAllowThreads(__tstate);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
23877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23878 {
23879 if (temp7)
23880 delete arg7;
23881 }
23882 return resultobj;
23883 fail:
23884 {
23885 if (temp7)
23886 delete arg7;
23887 }
23888 return NULL;
23889 }
23890
23891
23892 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23893 PyObject *resultobj;
23894 wxPyListCtrl *result;
23895 char *kwnames[] = {
23896 NULL
23897 };
23898
23899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23900 {
23901 if (!wxPyCheckForApp()) SWIG_fail;
23902 PyThreadState* __tstate = wxPyBeginAllowThreads();
23903 result = (wxPyListCtrl *)new wxPyListCtrl();
23904
23905 wxPyEndAllowThreads(__tstate);
23906 if (PyErr_Occurred()) SWIG_fail;
23907 }
23908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23909 return resultobj;
23910 fail:
23911 return NULL;
23912 }
23913
23914
23915 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23916 PyObject *resultobj;
23917 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23918 wxWindow *arg2 = (wxWindow *) 0 ;
23919 int arg3 = (int) -1 ;
23920 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23921 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23922 wxSize const &arg5_defvalue = wxDefaultSize ;
23923 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23924 long arg6 = (long) wxLC_ICON ;
23925 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23926 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23927 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23928 wxString *arg8 = (wxString *) &arg8_defvalue ;
23929 bool result;
23930 wxPoint temp4 ;
23931 wxSize temp5 ;
23932 bool temp8 = false ;
23933 PyObject * obj0 = 0 ;
23934 PyObject * obj1 = 0 ;
23935 PyObject * obj2 = 0 ;
23936 PyObject * obj3 = 0 ;
23937 PyObject * obj4 = 0 ;
23938 PyObject * obj5 = 0 ;
23939 PyObject * obj6 = 0 ;
23940 PyObject * obj7 = 0 ;
23941 char *kwnames[] = {
23942 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23943 };
23944
23945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23947 if (SWIG_arg_fail(1)) SWIG_fail;
23948 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23949 if (SWIG_arg_fail(2)) SWIG_fail;
23950 if (obj2) {
23951 {
23952 arg3 = (int)(SWIG_As_int(obj2));
23953 if (SWIG_arg_fail(3)) SWIG_fail;
23954 }
23955 }
23956 if (obj3) {
23957 {
23958 arg4 = &temp4;
23959 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23960 }
23961 }
23962 if (obj4) {
23963 {
23964 arg5 = &temp5;
23965 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23966 }
23967 }
23968 if (obj5) {
23969 {
23970 arg6 = (long)(SWIG_As_long(obj5));
23971 if (SWIG_arg_fail(6)) SWIG_fail;
23972 }
23973 }
23974 if (obj6) {
23975 {
23976 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23977 if (SWIG_arg_fail(7)) SWIG_fail;
23978 if (arg7 == NULL) {
23979 SWIG_null_ref("wxValidator");
23980 }
23981 if (SWIG_arg_fail(7)) SWIG_fail;
23982 }
23983 }
23984 if (obj7) {
23985 {
23986 arg8 = wxString_in_helper(obj7);
23987 if (arg8 == NULL) SWIG_fail;
23988 temp8 = true;
23989 }
23990 }
23991 {
23992 PyThreadState* __tstate = wxPyBeginAllowThreads();
23993 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23994
23995 wxPyEndAllowThreads(__tstate);
23996 if (PyErr_Occurred()) SWIG_fail;
23997 }
23998 {
23999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24000 }
24001 {
24002 if (temp8)
24003 delete arg8;
24004 }
24005 return resultobj;
24006 fail:
24007 {
24008 if (temp8)
24009 delete arg8;
24010 }
24011 return NULL;
24012 }
24013
24014
24015 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24016 PyObject *resultobj;
24017 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24018 PyObject *arg2 = (PyObject *) 0 ;
24019 PyObject *arg3 = (PyObject *) 0 ;
24020 PyObject * obj0 = 0 ;
24021 PyObject * obj1 = 0 ;
24022 PyObject * obj2 = 0 ;
24023 char *kwnames[] = {
24024 (char *) "self",(char *) "self",(char *) "_class", NULL
24025 };
24026
24027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24029 if (SWIG_arg_fail(1)) SWIG_fail;
24030 arg2 = obj1;
24031 arg3 = obj2;
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 (arg1)->_setCallbackInfo(arg2,arg3);
24035
24036 wxPyEndAllowThreads(__tstate);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 }
24039 Py_INCREF(Py_None); resultobj = Py_None;
24040 return resultobj;
24041 fail:
24042 return NULL;
24043 }
24044
24045
24046 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24047 PyObject *resultobj;
24048 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24049 wxColour *arg2 = 0 ;
24050 bool result;
24051 wxColour temp2 ;
24052 PyObject * obj0 = 0 ;
24053 PyObject * obj1 = 0 ;
24054 char *kwnames[] = {
24055 (char *) "self",(char *) "col", NULL
24056 };
24057
24058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
24059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24060 if (SWIG_arg_fail(1)) SWIG_fail;
24061 {
24062 arg2 = &temp2;
24063 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24064 }
24065 {
24066 PyThreadState* __tstate = wxPyBeginAllowThreads();
24067 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24068
24069 wxPyEndAllowThreads(__tstate);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 }
24072 {
24073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24074 }
24075 return resultobj;
24076 fail:
24077 return NULL;
24078 }
24079
24080
24081 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24082 PyObject *resultobj;
24083 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24084 wxColour *arg2 = 0 ;
24085 bool result;
24086 wxColour temp2 ;
24087 PyObject * obj0 = 0 ;
24088 PyObject * obj1 = 0 ;
24089 char *kwnames[] = {
24090 (char *) "self",(char *) "col", NULL
24091 };
24092
24093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24095 if (SWIG_arg_fail(1)) SWIG_fail;
24096 {
24097 arg2 = &temp2;
24098 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24099 }
24100 {
24101 PyThreadState* __tstate = wxPyBeginAllowThreads();
24102 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24103
24104 wxPyEndAllowThreads(__tstate);
24105 if (PyErr_Occurred()) SWIG_fail;
24106 }
24107 {
24108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24109 }
24110 return resultobj;
24111 fail:
24112 return NULL;
24113 }
24114
24115
24116 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24117 PyObject *resultobj;
24118 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24119 int arg2 ;
24120 wxListItem *result;
24121 PyObject * obj0 = 0 ;
24122 PyObject * obj1 = 0 ;
24123 char *kwnames[] = {
24124 (char *) "self",(char *) "col", NULL
24125 };
24126
24127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
24128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24129 if (SWIG_arg_fail(1)) SWIG_fail;
24130 {
24131 arg2 = (int)(SWIG_As_int(obj1));
24132 if (SWIG_arg_fail(2)) SWIG_fail;
24133 }
24134 {
24135 PyThreadState* __tstate = wxPyBeginAllowThreads();
24136 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24137
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
24141 {
24142 resultobj = wxPyMake_wxObject(result, 0);
24143 }
24144 return resultobj;
24145 fail:
24146 return NULL;
24147 }
24148
24149
24150 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24151 PyObject *resultobj;
24152 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24153 int arg2 ;
24154 wxListItem *arg3 = 0 ;
24155 bool result;
24156 PyObject * obj0 = 0 ;
24157 PyObject * obj1 = 0 ;
24158 PyObject * obj2 = 0 ;
24159 char *kwnames[] = {
24160 (char *) "self",(char *) "col",(char *) "item", NULL
24161 };
24162
24163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
24164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24165 if (SWIG_arg_fail(1)) SWIG_fail;
24166 {
24167 arg2 = (int)(SWIG_As_int(obj1));
24168 if (SWIG_arg_fail(2)) SWIG_fail;
24169 }
24170 {
24171 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24172 if (SWIG_arg_fail(3)) SWIG_fail;
24173 if (arg3 == NULL) {
24174 SWIG_null_ref("wxListItem");
24175 }
24176 if (SWIG_arg_fail(3)) SWIG_fail;
24177 }
24178 {
24179 PyThreadState* __tstate = wxPyBeginAllowThreads();
24180 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24181
24182 wxPyEndAllowThreads(__tstate);
24183 if (PyErr_Occurred()) SWIG_fail;
24184 }
24185 {
24186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24187 }
24188 return resultobj;
24189 fail:
24190 return NULL;
24191 }
24192
24193
24194 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24195 PyObject *resultobj;
24196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24197 int arg2 ;
24198 int result;
24199 PyObject * obj0 = 0 ;
24200 PyObject * obj1 = 0 ;
24201 char *kwnames[] = {
24202 (char *) "self",(char *) "col", NULL
24203 };
24204
24205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24207 if (SWIG_arg_fail(1)) SWIG_fail;
24208 {
24209 arg2 = (int)(SWIG_As_int(obj1));
24210 if (SWIG_arg_fail(2)) SWIG_fail;
24211 }
24212 {
24213 PyThreadState* __tstate = wxPyBeginAllowThreads();
24214 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24215
24216 wxPyEndAllowThreads(__tstate);
24217 if (PyErr_Occurred()) SWIG_fail;
24218 }
24219 {
24220 resultobj = SWIG_From_int((int)(result));
24221 }
24222 return resultobj;
24223 fail:
24224 return NULL;
24225 }
24226
24227
24228 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24229 PyObject *resultobj;
24230 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24231 int arg2 ;
24232 int arg3 ;
24233 bool result;
24234 PyObject * obj0 = 0 ;
24235 PyObject * obj1 = 0 ;
24236 PyObject * obj2 = 0 ;
24237 char *kwnames[] = {
24238 (char *) "self",(char *) "col",(char *) "width", NULL
24239 };
24240
24241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24243 if (SWIG_arg_fail(1)) SWIG_fail;
24244 {
24245 arg2 = (int)(SWIG_As_int(obj1));
24246 if (SWIG_arg_fail(2)) SWIG_fail;
24247 }
24248 {
24249 arg3 = (int)(SWIG_As_int(obj2));
24250 if (SWIG_arg_fail(3)) SWIG_fail;
24251 }
24252 {
24253 PyThreadState* __tstate = wxPyBeginAllowThreads();
24254 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24255
24256 wxPyEndAllowThreads(__tstate);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 {
24260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24261 }
24262 return resultobj;
24263 fail:
24264 return NULL;
24265 }
24266
24267
24268 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24269 PyObject *resultobj;
24270 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24271 int result;
24272 PyObject * obj0 = 0 ;
24273 char *kwnames[] = {
24274 (char *) "self", NULL
24275 };
24276
24277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
24278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24279 if (SWIG_arg_fail(1)) SWIG_fail;
24280 {
24281 PyThreadState* __tstate = wxPyBeginAllowThreads();
24282 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24283
24284 wxPyEndAllowThreads(__tstate);
24285 if (PyErr_Occurred()) SWIG_fail;
24286 }
24287 {
24288 resultobj = SWIG_From_int((int)(result));
24289 }
24290 return resultobj;
24291 fail:
24292 return NULL;
24293 }
24294
24295
24296 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24297 PyObject *resultobj;
24298 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24299 wxRect result;
24300 PyObject * obj0 = 0 ;
24301 char *kwnames[] = {
24302 (char *) "self", NULL
24303 };
24304
24305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24307 if (SWIG_arg_fail(1)) SWIG_fail;
24308 {
24309 PyThreadState* __tstate = wxPyBeginAllowThreads();
24310 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24311
24312 wxPyEndAllowThreads(__tstate);
24313 if (PyErr_Occurred()) SWIG_fail;
24314 }
24315 {
24316 wxRect * resultptr;
24317 resultptr = new wxRect((wxRect &)(result));
24318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24319 }
24320 return resultobj;
24321 fail:
24322 return NULL;
24323 }
24324
24325
24326 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24327 PyObject *resultobj;
24328 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24329 long arg2 ;
24330 int arg3 = (int) 0 ;
24331 wxListItem *result;
24332 PyObject * obj0 = 0 ;
24333 PyObject * obj1 = 0 ;
24334 PyObject * obj2 = 0 ;
24335 char *kwnames[] = {
24336 (char *) "self",(char *) "itemId",(char *) "col", NULL
24337 };
24338
24339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24341 if (SWIG_arg_fail(1)) SWIG_fail;
24342 {
24343 arg2 = (long)(SWIG_As_long(obj1));
24344 if (SWIG_arg_fail(2)) SWIG_fail;
24345 }
24346 if (obj2) {
24347 {
24348 arg3 = (int)(SWIG_As_int(obj2));
24349 if (SWIG_arg_fail(3)) SWIG_fail;
24350 }
24351 }
24352 {
24353 PyThreadState* __tstate = wxPyBeginAllowThreads();
24354 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24355
24356 wxPyEndAllowThreads(__tstate);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 }
24359 {
24360 resultobj = wxPyMake_wxObject(result, 0);
24361 }
24362 return resultobj;
24363 fail:
24364 return NULL;
24365 }
24366
24367
24368 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24369 PyObject *resultobj;
24370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24371 wxListItem *arg2 = 0 ;
24372 bool result;
24373 PyObject * obj0 = 0 ;
24374 PyObject * obj1 = 0 ;
24375 char *kwnames[] = {
24376 (char *) "self",(char *) "info", NULL
24377 };
24378
24379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24381 if (SWIG_arg_fail(1)) SWIG_fail;
24382 {
24383 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24384 if (SWIG_arg_fail(2)) SWIG_fail;
24385 if (arg2 == NULL) {
24386 SWIG_null_ref("wxListItem");
24387 }
24388 if (SWIG_arg_fail(2)) SWIG_fail;
24389 }
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 result = (bool)(arg1)->SetItem(*arg2);
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 {
24398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24399 }
24400 return resultobj;
24401 fail:
24402 return NULL;
24403 }
24404
24405
24406 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24407 PyObject *resultobj;
24408 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24409 long arg2 ;
24410 int arg3 ;
24411 wxString *arg4 = 0 ;
24412 int arg5 = (int) -1 ;
24413 long result;
24414 bool temp4 = false ;
24415 PyObject * obj0 = 0 ;
24416 PyObject * obj1 = 0 ;
24417 PyObject * obj2 = 0 ;
24418 PyObject * obj3 = 0 ;
24419 PyObject * obj4 = 0 ;
24420 char *kwnames[] = {
24421 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24422 };
24423
24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24426 if (SWIG_arg_fail(1)) SWIG_fail;
24427 {
24428 arg2 = (long)(SWIG_As_long(obj1));
24429 if (SWIG_arg_fail(2)) SWIG_fail;
24430 }
24431 {
24432 arg3 = (int)(SWIG_As_int(obj2));
24433 if (SWIG_arg_fail(3)) SWIG_fail;
24434 }
24435 {
24436 arg4 = wxString_in_helper(obj3);
24437 if (arg4 == NULL) SWIG_fail;
24438 temp4 = true;
24439 }
24440 if (obj4) {
24441 {
24442 arg5 = (int)(SWIG_As_int(obj4));
24443 if (SWIG_arg_fail(5)) SWIG_fail;
24444 }
24445 }
24446 {
24447 PyThreadState* __tstate = wxPyBeginAllowThreads();
24448 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24449
24450 wxPyEndAllowThreads(__tstate);
24451 if (PyErr_Occurred()) SWIG_fail;
24452 }
24453 {
24454 resultobj = SWIG_From_long((long)(result));
24455 }
24456 {
24457 if (temp4)
24458 delete arg4;
24459 }
24460 return resultobj;
24461 fail:
24462 {
24463 if (temp4)
24464 delete arg4;
24465 }
24466 return NULL;
24467 }
24468
24469
24470 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24471 PyObject *resultobj;
24472 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24473 long arg2 ;
24474 long arg3 ;
24475 int result;
24476 PyObject * obj0 = 0 ;
24477 PyObject * obj1 = 0 ;
24478 PyObject * obj2 = 0 ;
24479 char *kwnames[] = {
24480 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24481 };
24482
24483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24485 if (SWIG_arg_fail(1)) SWIG_fail;
24486 {
24487 arg2 = (long)(SWIG_As_long(obj1));
24488 if (SWIG_arg_fail(2)) SWIG_fail;
24489 }
24490 {
24491 arg3 = (long)(SWIG_As_long(obj2));
24492 if (SWIG_arg_fail(3)) SWIG_fail;
24493 }
24494 {
24495 PyThreadState* __tstate = wxPyBeginAllowThreads();
24496 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24497
24498 wxPyEndAllowThreads(__tstate);
24499 if (PyErr_Occurred()) SWIG_fail;
24500 }
24501 {
24502 resultobj = SWIG_From_int((int)(result));
24503 }
24504 return resultobj;
24505 fail:
24506 return NULL;
24507 }
24508
24509
24510 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24511 PyObject *resultobj;
24512 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24513 long arg2 ;
24514 long arg3 ;
24515 long arg4 ;
24516 bool result;
24517 PyObject * obj0 = 0 ;
24518 PyObject * obj1 = 0 ;
24519 PyObject * obj2 = 0 ;
24520 PyObject * obj3 = 0 ;
24521 char *kwnames[] = {
24522 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24523 };
24524
24525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24527 if (SWIG_arg_fail(1)) SWIG_fail;
24528 {
24529 arg2 = (long)(SWIG_As_long(obj1));
24530 if (SWIG_arg_fail(2)) SWIG_fail;
24531 }
24532 {
24533 arg3 = (long)(SWIG_As_long(obj2));
24534 if (SWIG_arg_fail(3)) SWIG_fail;
24535 }
24536 {
24537 arg4 = (long)(SWIG_As_long(obj3));
24538 if (SWIG_arg_fail(4)) SWIG_fail;
24539 }
24540 {
24541 PyThreadState* __tstate = wxPyBeginAllowThreads();
24542 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24543
24544 wxPyEndAllowThreads(__tstate);
24545 if (PyErr_Occurred()) SWIG_fail;
24546 }
24547 {
24548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24549 }
24550 return resultobj;
24551 fail:
24552 return NULL;
24553 }
24554
24555
24556 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24557 PyObject *resultobj;
24558 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24559 long arg2 ;
24560 int arg3 ;
24561 int arg4 = (int) -1 ;
24562 bool result;
24563 PyObject * obj0 = 0 ;
24564 PyObject * obj1 = 0 ;
24565 PyObject * obj2 = 0 ;
24566 PyObject * obj3 = 0 ;
24567 char *kwnames[] = {
24568 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24569 };
24570
24571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24573 if (SWIG_arg_fail(1)) SWIG_fail;
24574 {
24575 arg2 = (long)(SWIG_As_long(obj1));
24576 if (SWIG_arg_fail(2)) SWIG_fail;
24577 }
24578 {
24579 arg3 = (int)(SWIG_As_int(obj2));
24580 if (SWIG_arg_fail(3)) SWIG_fail;
24581 }
24582 if (obj3) {
24583 {
24584 arg4 = (int)(SWIG_As_int(obj3));
24585 if (SWIG_arg_fail(4)) SWIG_fail;
24586 }
24587 }
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24591
24592 wxPyEndAllowThreads(__tstate);
24593 if (PyErr_Occurred()) SWIG_fail;
24594 }
24595 {
24596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24597 }
24598 return resultobj;
24599 fail:
24600 return NULL;
24601 }
24602
24603
24604 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24605 PyObject *resultobj;
24606 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24607 long arg2 ;
24608 wxString result;
24609 PyObject * obj0 = 0 ;
24610 PyObject * obj1 = 0 ;
24611 char *kwnames[] = {
24612 (char *) "self",(char *) "item", NULL
24613 };
24614
24615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24617 if (SWIG_arg_fail(1)) SWIG_fail;
24618 {
24619 arg2 = (long)(SWIG_As_long(obj1));
24620 if (SWIG_arg_fail(2)) SWIG_fail;
24621 }
24622 {
24623 PyThreadState* __tstate = wxPyBeginAllowThreads();
24624 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24625
24626 wxPyEndAllowThreads(__tstate);
24627 if (PyErr_Occurred()) SWIG_fail;
24628 }
24629 {
24630 #if wxUSE_UNICODE
24631 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24632 #else
24633 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24634 #endif
24635 }
24636 return resultobj;
24637 fail:
24638 return NULL;
24639 }
24640
24641
24642 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24643 PyObject *resultobj;
24644 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24645 long arg2 ;
24646 wxString *arg3 = 0 ;
24647 bool temp3 = false ;
24648 PyObject * obj0 = 0 ;
24649 PyObject * obj1 = 0 ;
24650 PyObject * obj2 = 0 ;
24651 char *kwnames[] = {
24652 (char *) "self",(char *) "item",(char *) "str", NULL
24653 };
24654
24655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24657 if (SWIG_arg_fail(1)) SWIG_fail;
24658 {
24659 arg2 = (long)(SWIG_As_long(obj1));
24660 if (SWIG_arg_fail(2)) SWIG_fail;
24661 }
24662 {
24663 arg3 = wxString_in_helper(obj2);
24664 if (arg3 == NULL) SWIG_fail;
24665 temp3 = true;
24666 }
24667 {
24668 PyThreadState* __tstate = wxPyBeginAllowThreads();
24669 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24670
24671 wxPyEndAllowThreads(__tstate);
24672 if (PyErr_Occurred()) SWIG_fail;
24673 }
24674 Py_INCREF(Py_None); resultobj = Py_None;
24675 {
24676 if (temp3)
24677 delete arg3;
24678 }
24679 return resultobj;
24680 fail:
24681 {
24682 if (temp3)
24683 delete arg3;
24684 }
24685 return NULL;
24686 }
24687
24688
24689 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24690 PyObject *resultobj;
24691 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24692 long arg2 ;
24693 long result;
24694 PyObject * obj0 = 0 ;
24695 PyObject * obj1 = 0 ;
24696 char *kwnames[] = {
24697 (char *) "self",(char *) "item", NULL
24698 };
24699
24700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24702 if (SWIG_arg_fail(1)) SWIG_fail;
24703 {
24704 arg2 = (long)(SWIG_As_long(obj1));
24705 if (SWIG_arg_fail(2)) SWIG_fail;
24706 }
24707 {
24708 PyThreadState* __tstate = wxPyBeginAllowThreads();
24709 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24710
24711 wxPyEndAllowThreads(__tstate);
24712 if (PyErr_Occurred()) SWIG_fail;
24713 }
24714 {
24715 resultobj = SWIG_From_long((long)(result));
24716 }
24717 return resultobj;
24718 fail:
24719 return NULL;
24720 }
24721
24722
24723 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24724 PyObject *resultobj;
24725 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24726 long arg2 ;
24727 long arg3 ;
24728 bool result;
24729 PyObject * obj0 = 0 ;
24730 PyObject * obj1 = 0 ;
24731 PyObject * obj2 = 0 ;
24732 char *kwnames[] = {
24733 (char *) "self",(char *) "item",(char *) "data", NULL
24734 };
24735
24736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24738 if (SWIG_arg_fail(1)) SWIG_fail;
24739 {
24740 arg2 = (long)(SWIG_As_long(obj1));
24741 if (SWIG_arg_fail(2)) SWIG_fail;
24742 }
24743 {
24744 arg3 = (long)(SWIG_As_long(obj2));
24745 if (SWIG_arg_fail(3)) SWIG_fail;
24746 }
24747 {
24748 PyThreadState* __tstate = wxPyBeginAllowThreads();
24749 result = (bool)(arg1)->SetItemData(arg2,arg3);
24750
24751 wxPyEndAllowThreads(__tstate);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 {
24755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24756 }
24757 return resultobj;
24758 fail:
24759 return NULL;
24760 }
24761
24762
24763 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24764 PyObject *resultobj;
24765 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24766 long arg2 ;
24767 wxPoint result;
24768 PyObject * obj0 = 0 ;
24769 PyObject * obj1 = 0 ;
24770 char *kwnames[] = {
24771 (char *) "self",(char *) "item", NULL
24772 };
24773
24774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
24775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24776 if (SWIG_arg_fail(1)) SWIG_fail;
24777 {
24778 arg2 = (long)(SWIG_As_long(obj1));
24779 if (SWIG_arg_fail(2)) SWIG_fail;
24780 }
24781 {
24782 PyThreadState* __tstate = wxPyBeginAllowThreads();
24783 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24784
24785 wxPyEndAllowThreads(__tstate);
24786 if (PyErr_Occurred()) SWIG_fail;
24787 }
24788 {
24789 wxPoint * resultptr;
24790 resultptr = new wxPoint((wxPoint &)(result));
24791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24792 }
24793 return resultobj;
24794 fail:
24795 return NULL;
24796 }
24797
24798
24799 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24800 PyObject *resultobj;
24801 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24802 long arg2 ;
24803 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24804 wxRect result;
24805 PyObject * obj0 = 0 ;
24806 PyObject * obj1 = 0 ;
24807 PyObject * obj2 = 0 ;
24808 char *kwnames[] = {
24809 (char *) "self",(char *) "item",(char *) "code", NULL
24810 };
24811
24812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24814 if (SWIG_arg_fail(1)) SWIG_fail;
24815 {
24816 arg2 = (long)(SWIG_As_long(obj1));
24817 if (SWIG_arg_fail(2)) SWIG_fail;
24818 }
24819 if (obj2) {
24820 {
24821 arg3 = (int)(SWIG_As_int(obj2));
24822 if (SWIG_arg_fail(3)) SWIG_fail;
24823 }
24824 }
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24828
24829 wxPyEndAllowThreads(__tstate);
24830 if (PyErr_Occurred()) SWIG_fail;
24831 }
24832 {
24833 wxRect * resultptr;
24834 resultptr = new wxRect((wxRect &)(result));
24835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24836 }
24837 return resultobj;
24838 fail:
24839 return NULL;
24840 }
24841
24842
24843 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24844 PyObject *resultobj;
24845 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24846 long arg2 ;
24847 wxPoint *arg3 = 0 ;
24848 bool result;
24849 wxPoint temp3 ;
24850 PyObject * obj0 = 0 ;
24851 PyObject * obj1 = 0 ;
24852 PyObject * obj2 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "self",(char *) "item",(char *) "pos", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24859 if (SWIG_arg_fail(1)) SWIG_fail;
24860 {
24861 arg2 = (long)(SWIG_As_long(obj1));
24862 if (SWIG_arg_fail(2)) SWIG_fail;
24863 }
24864 {
24865 arg3 = &temp3;
24866 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24867 }
24868 {
24869 PyThreadState* __tstate = wxPyBeginAllowThreads();
24870 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24871
24872 wxPyEndAllowThreads(__tstate);
24873 if (PyErr_Occurred()) SWIG_fail;
24874 }
24875 {
24876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24877 }
24878 return resultobj;
24879 fail:
24880 return NULL;
24881 }
24882
24883
24884 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24885 PyObject *resultobj;
24886 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24887 int result;
24888 PyObject * obj0 = 0 ;
24889 char *kwnames[] = {
24890 (char *) "self", NULL
24891 };
24892
24893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24895 if (SWIG_arg_fail(1)) SWIG_fail;
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24899
24900 wxPyEndAllowThreads(__tstate);
24901 if (PyErr_Occurred()) SWIG_fail;
24902 }
24903 {
24904 resultobj = SWIG_From_int((int)(result));
24905 }
24906 return resultobj;
24907 fail:
24908 return NULL;
24909 }
24910
24911
24912 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
24913 PyObject *resultobj;
24914 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24915 int result;
24916 PyObject * obj0 = 0 ;
24917 char *kwnames[] = {
24918 (char *) "self", NULL
24919 };
24920
24921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
24922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24923 if (SWIG_arg_fail(1)) SWIG_fail;
24924 {
24925 PyThreadState* __tstate = wxPyBeginAllowThreads();
24926 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24927
24928 wxPyEndAllowThreads(__tstate);
24929 if (PyErr_Occurred()) SWIG_fail;
24930 }
24931 {
24932 resultobj = SWIG_From_int((int)(result));
24933 }
24934 return resultobj;
24935 fail:
24936 return NULL;
24937 }
24938
24939
24940 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24941 PyObject *resultobj;
24942 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24943 wxSize result;
24944 PyObject * obj0 = 0 ;
24945 char *kwnames[] = {
24946 (char *) "self", NULL
24947 };
24948
24949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
24950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24951 if (SWIG_arg_fail(1)) SWIG_fail;
24952 {
24953 PyThreadState* __tstate = wxPyBeginAllowThreads();
24954 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24955
24956 wxPyEndAllowThreads(__tstate);
24957 if (PyErr_Occurred()) SWIG_fail;
24958 }
24959 {
24960 wxSize * resultptr;
24961 resultptr = new wxSize((wxSize &)(result));
24962 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24963 }
24964 return resultobj;
24965 fail:
24966 return NULL;
24967 }
24968
24969
24970 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24971 PyObject *resultobj;
24972 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24973 int arg2 ;
24974 bool arg3 = (bool) false ;
24975 PyObject * obj0 = 0 ;
24976 PyObject * obj1 = 0 ;
24977 PyObject * obj2 = 0 ;
24978 char *kwnames[] = {
24979 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24980 };
24981
24982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
24983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24984 if (SWIG_arg_fail(1)) SWIG_fail;
24985 {
24986 arg2 = (int)(SWIG_As_int(obj1));
24987 if (SWIG_arg_fail(2)) SWIG_fail;
24988 }
24989 if (obj2) {
24990 {
24991 arg3 = (bool)(SWIG_As_bool(obj2));
24992 if (SWIG_arg_fail(3)) SWIG_fail;
24993 }
24994 }
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 (arg1)->SetItemSpacing(arg2,arg3);
24998
24999 wxPyEndAllowThreads(__tstate);
25000 if (PyErr_Occurred()) SWIG_fail;
25001 }
25002 Py_INCREF(Py_None); resultobj = Py_None;
25003 return resultobj;
25004 fail:
25005 return NULL;
25006 }
25007
25008
25009 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
25010 PyObject *resultobj;
25011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25012 int result;
25013 PyObject * obj0 = 0 ;
25014 char *kwnames[] = {
25015 (char *) "self", NULL
25016 };
25017
25018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
25019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25020 if (SWIG_arg_fail(1)) SWIG_fail;
25021 {
25022 PyThreadState* __tstate = wxPyBeginAllowThreads();
25023 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25024
25025 wxPyEndAllowThreads(__tstate);
25026 if (PyErr_Occurred()) SWIG_fail;
25027 }
25028 {
25029 resultobj = SWIG_From_int((int)(result));
25030 }
25031 return resultobj;
25032 fail:
25033 return NULL;
25034 }
25035
25036
25037 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25038 PyObject *resultobj;
25039 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25040 wxColour result;
25041 PyObject * obj0 = 0 ;
25042 char *kwnames[] = {
25043 (char *) "self", NULL
25044 };
25045
25046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
25047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25048 if (SWIG_arg_fail(1)) SWIG_fail;
25049 {
25050 PyThreadState* __tstate = wxPyBeginAllowThreads();
25051 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25052
25053 wxPyEndAllowThreads(__tstate);
25054 if (PyErr_Occurred()) SWIG_fail;
25055 }
25056 {
25057 wxColour * resultptr;
25058 resultptr = new wxColour((wxColour &)(result));
25059 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25060 }
25061 return resultobj;
25062 fail:
25063 return NULL;
25064 }
25065
25066
25067 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25068 PyObject *resultobj;
25069 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25070 wxColour *arg2 = 0 ;
25071 wxColour temp2 ;
25072 PyObject * obj0 = 0 ;
25073 PyObject * obj1 = 0 ;
25074 char *kwnames[] = {
25075 (char *) "self",(char *) "col", NULL
25076 };
25077
25078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
25079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25080 if (SWIG_arg_fail(1)) SWIG_fail;
25081 {
25082 arg2 = &temp2;
25083 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25084 }
25085 {
25086 PyThreadState* __tstate = wxPyBeginAllowThreads();
25087 (arg1)->SetTextColour((wxColour const &)*arg2);
25088
25089 wxPyEndAllowThreads(__tstate);
25090 if (PyErr_Occurred()) SWIG_fail;
25091 }
25092 Py_INCREF(Py_None); resultobj = Py_None;
25093 return resultobj;
25094 fail:
25095 return NULL;
25096 }
25097
25098
25099 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
25100 PyObject *resultobj;
25101 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25102 long result;
25103 PyObject * obj0 = 0 ;
25104 char *kwnames[] = {
25105 (char *) "self", NULL
25106 };
25107
25108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
25109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25110 if (SWIG_arg_fail(1)) SWIG_fail;
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 {
25119 resultobj = SWIG_From_long((long)(result));
25120 }
25121 return resultobj;
25122 fail:
25123 return NULL;
25124 }
25125
25126
25127 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
25128 PyObject *resultobj;
25129 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25130 long arg2 ;
25131 bool arg3 = (bool) true ;
25132 PyObject * obj0 = 0 ;
25133 PyObject * obj1 = 0 ;
25134 PyObject * obj2 = 0 ;
25135 char *kwnames[] = {
25136 (char *) "self",(char *) "style",(char *) "add", NULL
25137 };
25138
25139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
25140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25141 if (SWIG_arg_fail(1)) SWIG_fail;
25142 {
25143 arg2 = (long)(SWIG_As_long(obj1));
25144 if (SWIG_arg_fail(2)) SWIG_fail;
25145 }
25146 if (obj2) {
25147 {
25148 arg3 = (bool)(SWIG_As_bool(obj2));
25149 if (SWIG_arg_fail(3)) SWIG_fail;
25150 }
25151 }
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 (arg1)->SetSingleStyle(arg2,arg3);
25155
25156 wxPyEndAllowThreads(__tstate);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 }
25159 Py_INCREF(Py_None); resultobj = Py_None;
25160 return resultobj;
25161 fail:
25162 return NULL;
25163 }
25164
25165
25166 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
25167 PyObject *resultobj;
25168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25169 long arg2 ;
25170 PyObject * obj0 = 0 ;
25171 PyObject * obj1 = 0 ;
25172 char *kwnames[] = {
25173 (char *) "self",(char *) "style", NULL
25174 };
25175
25176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
25177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25178 if (SWIG_arg_fail(1)) SWIG_fail;
25179 {
25180 arg2 = (long)(SWIG_As_long(obj1));
25181 if (SWIG_arg_fail(2)) SWIG_fail;
25182 }
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 (arg1)->SetWindowStyleFlag(arg2);
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 Py_INCREF(Py_None); resultobj = Py_None;
25191 return resultobj;
25192 fail:
25193 return NULL;
25194 }
25195
25196
25197 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
25198 PyObject *resultobj;
25199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25200 long arg2 ;
25201 int arg3 = (int) wxLIST_NEXT_ALL ;
25202 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25203 long result;
25204 PyObject * obj0 = 0 ;
25205 PyObject * obj1 = 0 ;
25206 PyObject * obj2 = 0 ;
25207 PyObject * obj3 = 0 ;
25208 char *kwnames[] = {
25209 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25210 };
25211
25212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25214 if (SWIG_arg_fail(1)) SWIG_fail;
25215 {
25216 arg2 = (long)(SWIG_As_long(obj1));
25217 if (SWIG_arg_fail(2)) SWIG_fail;
25218 }
25219 if (obj2) {
25220 {
25221 arg3 = (int)(SWIG_As_int(obj2));
25222 if (SWIG_arg_fail(3)) SWIG_fail;
25223 }
25224 }
25225 if (obj3) {
25226 {
25227 arg4 = (int)(SWIG_As_int(obj3));
25228 if (SWIG_arg_fail(4)) SWIG_fail;
25229 }
25230 }
25231 {
25232 PyThreadState* __tstate = wxPyBeginAllowThreads();
25233 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25234
25235 wxPyEndAllowThreads(__tstate);
25236 if (PyErr_Occurred()) SWIG_fail;
25237 }
25238 {
25239 resultobj = SWIG_From_long((long)(result));
25240 }
25241 return resultobj;
25242 fail:
25243 return NULL;
25244 }
25245
25246
25247 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25248 PyObject *resultobj;
25249 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25250 int arg2 ;
25251 wxImageList *result;
25252 PyObject * obj0 = 0 ;
25253 PyObject * obj1 = 0 ;
25254 char *kwnames[] = {
25255 (char *) "self",(char *) "which", NULL
25256 };
25257
25258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
25259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25260 if (SWIG_arg_fail(1)) SWIG_fail;
25261 {
25262 arg2 = (int)(SWIG_As_int(obj1));
25263 if (SWIG_arg_fail(2)) SWIG_fail;
25264 }
25265 {
25266 PyThreadState* __tstate = wxPyBeginAllowThreads();
25267 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25268
25269 wxPyEndAllowThreads(__tstate);
25270 if (PyErr_Occurred()) SWIG_fail;
25271 }
25272 {
25273 resultobj = wxPyMake_wxObject(result, 0);
25274 }
25275 return resultobj;
25276 fail:
25277 return NULL;
25278 }
25279
25280
25281 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25282 PyObject *resultobj;
25283 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25284 wxImageList *arg2 = (wxImageList *) 0 ;
25285 int arg3 ;
25286 PyObject * obj0 = 0 ;
25287 PyObject * obj1 = 0 ;
25288 PyObject * obj2 = 0 ;
25289 char *kwnames[] = {
25290 (char *) "self",(char *) "imageList",(char *) "which", NULL
25291 };
25292
25293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25295 if (SWIG_arg_fail(1)) SWIG_fail;
25296 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25297 if (SWIG_arg_fail(2)) SWIG_fail;
25298 {
25299 arg3 = (int)(SWIG_As_int(obj2));
25300 if (SWIG_arg_fail(3)) SWIG_fail;
25301 }
25302 {
25303 PyThreadState* __tstate = wxPyBeginAllowThreads();
25304 (arg1)->SetImageList(arg2,arg3);
25305
25306 wxPyEndAllowThreads(__tstate);
25307 if (PyErr_Occurred()) SWIG_fail;
25308 }
25309 Py_INCREF(Py_None); resultobj = Py_None;
25310 return resultobj;
25311 fail:
25312 return NULL;
25313 }
25314
25315
25316 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25317 PyObject *resultobj;
25318 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25319 wxImageList *arg2 = (wxImageList *) 0 ;
25320 int arg3 ;
25321 PyObject * obj0 = 0 ;
25322 PyObject * obj1 = 0 ;
25323 PyObject * obj2 = 0 ;
25324 char *kwnames[] = {
25325 (char *) "self",(char *) "imageList",(char *) "which", NULL
25326 };
25327
25328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25330 if (SWIG_arg_fail(1)) SWIG_fail;
25331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25332 if (SWIG_arg_fail(2)) SWIG_fail;
25333 {
25334 arg3 = (int)(SWIG_As_int(obj2));
25335 if (SWIG_arg_fail(3)) SWIG_fail;
25336 }
25337 {
25338 PyThreadState* __tstate = wxPyBeginAllowThreads();
25339 (arg1)->AssignImageList(arg2,arg3);
25340
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 Py_INCREF(Py_None); resultobj = Py_None;
25345 return resultobj;
25346 fail:
25347 return NULL;
25348 }
25349
25350
25351 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25352 PyObject *resultobj;
25353 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25354 bool result;
25355 PyObject * obj0 = 0 ;
25356 char *kwnames[] = {
25357 (char *) "self", NULL
25358 };
25359
25360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25362 if (SWIG_arg_fail(1)) SWIG_fail;
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25366
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 {
25371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25372 }
25373 return resultobj;
25374 fail:
25375 return NULL;
25376 }
25377
25378
25379 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25380 PyObject *resultobj;
25381 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25382 bool result;
25383 PyObject * obj0 = 0 ;
25384 char *kwnames[] = {
25385 (char *) "self", NULL
25386 };
25387
25388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25390 if (SWIG_arg_fail(1)) SWIG_fail;
25391 {
25392 PyThreadState* __tstate = wxPyBeginAllowThreads();
25393 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25394
25395 wxPyEndAllowThreads(__tstate);
25396 if (PyErr_Occurred()) SWIG_fail;
25397 }
25398 {
25399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25400 }
25401 return resultobj;
25402 fail:
25403 return NULL;
25404 }
25405
25406
25407 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25408 PyObject *resultobj;
25409 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25410 long arg2 ;
25411 PyObject * obj0 = 0 ;
25412 PyObject * obj1 = 0 ;
25413 char *kwnames[] = {
25414 (char *) "self",(char *) "item", NULL
25415 };
25416
25417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
25418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25419 if (SWIG_arg_fail(1)) SWIG_fail;
25420 {
25421 arg2 = (long)(SWIG_As_long(obj1));
25422 if (SWIG_arg_fail(2)) SWIG_fail;
25423 }
25424 {
25425 PyThreadState* __tstate = wxPyBeginAllowThreads();
25426 (arg1)->RefreshItem(arg2);
25427
25428 wxPyEndAllowThreads(__tstate);
25429 if (PyErr_Occurred()) SWIG_fail;
25430 }
25431 Py_INCREF(Py_None); resultobj = Py_None;
25432 return resultobj;
25433 fail:
25434 return NULL;
25435 }
25436
25437
25438 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25439 PyObject *resultobj;
25440 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25441 long arg2 ;
25442 long arg3 ;
25443 PyObject * obj0 = 0 ;
25444 PyObject * obj1 = 0 ;
25445 PyObject * obj2 = 0 ;
25446 char *kwnames[] = {
25447 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25448 };
25449
25450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25452 if (SWIG_arg_fail(1)) SWIG_fail;
25453 {
25454 arg2 = (long)(SWIG_As_long(obj1));
25455 if (SWIG_arg_fail(2)) SWIG_fail;
25456 }
25457 {
25458 arg3 = (long)(SWIG_As_long(obj2));
25459 if (SWIG_arg_fail(3)) SWIG_fail;
25460 }
25461 {
25462 PyThreadState* __tstate = wxPyBeginAllowThreads();
25463 (arg1)->RefreshItems(arg2,arg3);
25464
25465 wxPyEndAllowThreads(__tstate);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
25468 Py_INCREF(Py_None); resultobj = Py_None;
25469 return resultobj;
25470 fail:
25471 return NULL;
25472 }
25473
25474
25475 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25476 PyObject *resultobj;
25477 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25478 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25479 bool result;
25480 PyObject * obj0 = 0 ;
25481 PyObject * obj1 = 0 ;
25482 char *kwnames[] = {
25483 (char *) "self",(char *) "flag", NULL
25484 };
25485
25486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25488 if (SWIG_arg_fail(1)) SWIG_fail;
25489 if (obj1) {
25490 {
25491 arg2 = (int)(SWIG_As_int(obj1));
25492 if (SWIG_arg_fail(2)) SWIG_fail;
25493 }
25494 }
25495 {
25496 PyThreadState* __tstate = wxPyBeginAllowThreads();
25497 result = (bool)(arg1)->Arrange(arg2);
25498
25499 wxPyEndAllowThreads(__tstate);
25500 if (PyErr_Occurred()) SWIG_fail;
25501 }
25502 {
25503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25504 }
25505 return resultobj;
25506 fail:
25507 return NULL;
25508 }
25509
25510
25511 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25512 PyObject *resultobj;
25513 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25514 long arg2 ;
25515 bool result;
25516 PyObject * obj0 = 0 ;
25517 PyObject * obj1 = 0 ;
25518 char *kwnames[] = {
25519 (char *) "self",(char *) "item", NULL
25520 };
25521
25522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25524 if (SWIG_arg_fail(1)) SWIG_fail;
25525 {
25526 arg2 = (long)(SWIG_As_long(obj1));
25527 if (SWIG_arg_fail(2)) SWIG_fail;
25528 }
25529 {
25530 PyThreadState* __tstate = wxPyBeginAllowThreads();
25531 result = (bool)(arg1)->DeleteItem(arg2);
25532
25533 wxPyEndAllowThreads(__tstate);
25534 if (PyErr_Occurred()) SWIG_fail;
25535 }
25536 {
25537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25538 }
25539 return resultobj;
25540 fail:
25541 return NULL;
25542 }
25543
25544
25545 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25546 PyObject *resultobj;
25547 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25548 bool result;
25549 PyObject * obj0 = 0 ;
25550 char *kwnames[] = {
25551 (char *) "self", NULL
25552 };
25553
25554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25556 if (SWIG_arg_fail(1)) SWIG_fail;
25557 {
25558 PyThreadState* __tstate = wxPyBeginAllowThreads();
25559 result = (bool)(arg1)->DeleteAllItems();
25560
25561 wxPyEndAllowThreads(__tstate);
25562 if (PyErr_Occurred()) SWIG_fail;
25563 }
25564 {
25565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25566 }
25567 return resultobj;
25568 fail:
25569 return NULL;
25570 }
25571
25572
25573 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25574 PyObject *resultobj;
25575 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25576 int arg2 ;
25577 bool result;
25578 PyObject * obj0 = 0 ;
25579 PyObject * obj1 = 0 ;
25580 char *kwnames[] = {
25581 (char *) "self",(char *) "col", NULL
25582 };
25583
25584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25586 if (SWIG_arg_fail(1)) SWIG_fail;
25587 {
25588 arg2 = (int)(SWIG_As_int(obj1));
25589 if (SWIG_arg_fail(2)) SWIG_fail;
25590 }
25591 {
25592 PyThreadState* __tstate = wxPyBeginAllowThreads();
25593 result = (bool)(arg1)->DeleteColumn(arg2);
25594
25595 wxPyEndAllowThreads(__tstate);
25596 if (PyErr_Occurred()) SWIG_fail;
25597 }
25598 {
25599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25600 }
25601 return resultobj;
25602 fail:
25603 return NULL;
25604 }
25605
25606
25607 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25608 PyObject *resultobj;
25609 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25610 bool result;
25611 PyObject * obj0 = 0 ;
25612 char *kwnames[] = {
25613 (char *) "self", NULL
25614 };
25615
25616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25618 if (SWIG_arg_fail(1)) SWIG_fail;
25619 {
25620 PyThreadState* __tstate = wxPyBeginAllowThreads();
25621 result = (bool)(arg1)->DeleteAllColumns();
25622
25623 wxPyEndAllowThreads(__tstate);
25624 if (PyErr_Occurred()) SWIG_fail;
25625 }
25626 {
25627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25628 }
25629 return resultobj;
25630 fail:
25631 return NULL;
25632 }
25633
25634
25635 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25636 PyObject *resultobj;
25637 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25638 PyObject * obj0 = 0 ;
25639 char *kwnames[] = {
25640 (char *) "self", NULL
25641 };
25642
25643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25645 if (SWIG_arg_fail(1)) SWIG_fail;
25646 {
25647 PyThreadState* __tstate = wxPyBeginAllowThreads();
25648 (arg1)->ClearAll();
25649
25650 wxPyEndAllowThreads(__tstate);
25651 if (PyErr_Occurred()) SWIG_fail;
25652 }
25653 Py_INCREF(Py_None); resultobj = Py_None;
25654 return resultobj;
25655 fail:
25656 return NULL;
25657 }
25658
25659
25660 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25661 PyObject *resultobj;
25662 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25663 long arg2 ;
25664 PyObject * obj0 = 0 ;
25665 PyObject * obj1 = 0 ;
25666 char *kwnames[] = {
25667 (char *) "self",(char *) "item", NULL
25668 };
25669
25670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25672 if (SWIG_arg_fail(1)) SWIG_fail;
25673 {
25674 arg2 = (long)(SWIG_As_long(obj1));
25675 if (SWIG_arg_fail(2)) SWIG_fail;
25676 }
25677 {
25678 PyThreadState* __tstate = wxPyBeginAllowThreads();
25679 (arg1)->EditLabel(arg2);
25680
25681 wxPyEndAllowThreads(__tstate);
25682 if (PyErr_Occurred()) SWIG_fail;
25683 }
25684 Py_INCREF(Py_None); resultobj = Py_None;
25685 return resultobj;
25686 fail:
25687 return NULL;
25688 }
25689
25690
25691 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25692 PyObject *resultobj;
25693 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25694 long arg2 ;
25695 bool result;
25696 PyObject * obj0 = 0 ;
25697 PyObject * obj1 = 0 ;
25698 char *kwnames[] = {
25699 (char *) "self",(char *) "item", NULL
25700 };
25701
25702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25704 if (SWIG_arg_fail(1)) SWIG_fail;
25705 {
25706 arg2 = (long)(SWIG_As_long(obj1));
25707 if (SWIG_arg_fail(2)) SWIG_fail;
25708 }
25709 {
25710 PyThreadState* __tstate = wxPyBeginAllowThreads();
25711 result = (bool)(arg1)->EnsureVisible(arg2);
25712
25713 wxPyEndAllowThreads(__tstate);
25714 if (PyErr_Occurred()) SWIG_fail;
25715 }
25716 {
25717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25718 }
25719 return resultobj;
25720 fail:
25721 return NULL;
25722 }
25723
25724
25725 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25726 PyObject *resultobj;
25727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25728 long arg2 ;
25729 wxString *arg3 = 0 ;
25730 bool arg4 = (bool) false ;
25731 long result;
25732 bool temp3 = false ;
25733 PyObject * obj0 = 0 ;
25734 PyObject * obj1 = 0 ;
25735 PyObject * obj2 = 0 ;
25736 PyObject * obj3 = 0 ;
25737 char *kwnames[] = {
25738 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25739 };
25740
25741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25743 if (SWIG_arg_fail(1)) SWIG_fail;
25744 {
25745 arg2 = (long)(SWIG_As_long(obj1));
25746 if (SWIG_arg_fail(2)) SWIG_fail;
25747 }
25748 {
25749 arg3 = wxString_in_helper(obj2);
25750 if (arg3 == NULL) SWIG_fail;
25751 temp3 = true;
25752 }
25753 if (obj3) {
25754 {
25755 arg4 = (bool)(SWIG_As_bool(obj3));
25756 if (SWIG_arg_fail(4)) SWIG_fail;
25757 }
25758 }
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25762
25763 wxPyEndAllowThreads(__tstate);
25764 if (PyErr_Occurred()) SWIG_fail;
25765 }
25766 {
25767 resultobj = SWIG_From_long((long)(result));
25768 }
25769 {
25770 if (temp3)
25771 delete arg3;
25772 }
25773 return resultobj;
25774 fail:
25775 {
25776 if (temp3)
25777 delete arg3;
25778 }
25779 return NULL;
25780 }
25781
25782
25783 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25784 PyObject *resultobj;
25785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25786 long arg2 ;
25787 long arg3 ;
25788 long result;
25789 PyObject * obj0 = 0 ;
25790 PyObject * obj1 = 0 ;
25791 PyObject * obj2 = 0 ;
25792 char *kwnames[] = {
25793 (char *) "self",(char *) "start",(char *) "data", NULL
25794 };
25795
25796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25798 if (SWIG_arg_fail(1)) SWIG_fail;
25799 {
25800 arg2 = (long)(SWIG_As_long(obj1));
25801 if (SWIG_arg_fail(2)) SWIG_fail;
25802 }
25803 {
25804 arg3 = (long)(SWIG_As_long(obj2));
25805 if (SWIG_arg_fail(3)) SWIG_fail;
25806 }
25807 {
25808 PyThreadState* __tstate = wxPyBeginAllowThreads();
25809 result = (long)(arg1)->FindItem(arg2,arg3);
25810
25811 wxPyEndAllowThreads(__tstate);
25812 if (PyErr_Occurred()) SWIG_fail;
25813 }
25814 {
25815 resultobj = SWIG_From_long((long)(result));
25816 }
25817 return resultobj;
25818 fail:
25819 return NULL;
25820 }
25821
25822
25823 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25824 PyObject *resultobj;
25825 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25826 long arg2 ;
25827 wxPoint *arg3 = 0 ;
25828 int arg4 ;
25829 long result;
25830 wxPoint temp3 ;
25831 PyObject * obj0 = 0 ;
25832 PyObject * obj1 = 0 ;
25833 PyObject * obj2 = 0 ;
25834 PyObject * obj3 = 0 ;
25835 char *kwnames[] = {
25836 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25837 };
25838
25839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25841 if (SWIG_arg_fail(1)) SWIG_fail;
25842 {
25843 arg2 = (long)(SWIG_As_long(obj1));
25844 if (SWIG_arg_fail(2)) SWIG_fail;
25845 }
25846 {
25847 arg3 = &temp3;
25848 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25849 }
25850 {
25851 arg4 = (int)(SWIG_As_int(obj3));
25852 if (SWIG_arg_fail(4)) SWIG_fail;
25853 }
25854 {
25855 PyThreadState* __tstate = wxPyBeginAllowThreads();
25856 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25857
25858 wxPyEndAllowThreads(__tstate);
25859 if (PyErr_Occurred()) SWIG_fail;
25860 }
25861 {
25862 resultobj = SWIG_From_long((long)(result));
25863 }
25864 return resultobj;
25865 fail:
25866 return NULL;
25867 }
25868
25869
25870 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25871 PyObject *resultobj;
25872 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25873 wxPoint *arg2 = 0 ;
25874 int *arg3 = 0 ;
25875 long result;
25876 wxPoint temp2 ;
25877 int temp3 ;
25878 int res3 = 0 ;
25879 PyObject * obj0 = 0 ;
25880 PyObject * obj1 = 0 ;
25881 char *kwnames[] = {
25882 (char *) "self",(char *) "point", NULL
25883 };
25884
25885 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25888 if (SWIG_arg_fail(1)) SWIG_fail;
25889 {
25890 arg2 = &temp2;
25891 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25892 }
25893 {
25894 PyThreadState* __tstate = wxPyBeginAllowThreads();
25895 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25896
25897 wxPyEndAllowThreads(__tstate);
25898 if (PyErr_Occurred()) SWIG_fail;
25899 }
25900 {
25901 resultobj = SWIG_From_long((long)(result));
25902 }
25903 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25904 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25905 return resultobj;
25906 fail:
25907 return NULL;
25908 }
25909
25910
25911 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25912 PyObject *resultobj;
25913 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25914 wxListItem *arg2 = 0 ;
25915 long result;
25916 PyObject * obj0 = 0 ;
25917 PyObject * obj1 = 0 ;
25918 char *kwnames[] = {
25919 (char *) "self",(char *) "info", NULL
25920 };
25921
25922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
25923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25924 if (SWIG_arg_fail(1)) SWIG_fail;
25925 {
25926 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25927 if (SWIG_arg_fail(2)) SWIG_fail;
25928 if (arg2 == NULL) {
25929 SWIG_null_ref("wxListItem");
25930 }
25931 if (SWIG_arg_fail(2)) SWIG_fail;
25932 }
25933 {
25934 PyThreadState* __tstate = wxPyBeginAllowThreads();
25935 result = (long)(arg1)->InsertItem(*arg2);
25936
25937 wxPyEndAllowThreads(__tstate);
25938 if (PyErr_Occurred()) SWIG_fail;
25939 }
25940 {
25941 resultobj = SWIG_From_long((long)(result));
25942 }
25943 return resultobj;
25944 fail:
25945 return NULL;
25946 }
25947
25948
25949 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25950 PyObject *resultobj;
25951 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25952 long arg2 ;
25953 wxString *arg3 = 0 ;
25954 long result;
25955 bool temp3 = false ;
25956 PyObject * obj0 = 0 ;
25957 PyObject * obj1 = 0 ;
25958 PyObject * obj2 = 0 ;
25959 char *kwnames[] = {
25960 (char *) "self",(char *) "index",(char *) "label", NULL
25961 };
25962
25963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail;
25966 {
25967 arg2 = (long)(SWIG_As_long(obj1));
25968 if (SWIG_arg_fail(2)) SWIG_fail;
25969 }
25970 {
25971 arg3 = wxString_in_helper(obj2);
25972 if (arg3 == NULL) SWIG_fail;
25973 temp3 = true;
25974 }
25975 {
25976 PyThreadState* __tstate = wxPyBeginAllowThreads();
25977 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25978
25979 wxPyEndAllowThreads(__tstate);
25980 if (PyErr_Occurred()) SWIG_fail;
25981 }
25982 {
25983 resultobj = SWIG_From_long((long)(result));
25984 }
25985 {
25986 if (temp3)
25987 delete arg3;
25988 }
25989 return resultobj;
25990 fail:
25991 {
25992 if (temp3)
25993 delete arg3;
25994 }
25995 return NULL;
25996 }
25997
25998
25999 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
26000 PyObject *resultobj;
26001 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26002 long arg2 ;
26003 int arg3 ;
26004 long result;
26005 PyObject * obj0 = 0 ;
26006 PyObject * obj1 = 0 ;
26007 PyObject * obj2 = 0 ;
26008 char *kwnames[] = {
26009 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26010 };
26011
26012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26014 if (SWIG_arg_fail(1)) SWIG_fail;
26015 {
26016 arg2 = (long)(SWIG_As_long(obj1));
26017 if (SWIG_arg_fail(2)) SWIG_fail;
26018 }
26019 {
26020 arg3 = (int)(SWIG_As_int(obj2));
26021 if (SWIG_arg_fail(3)) SWIG_fail;
26022 }
26023 {
26024 PyThreadState* __tstate = wxPyBeginAllowThreads();
26025 result = (long)(arg1)->InsertItem(arg2,arg3);
26026
26027 wxPyEndAllowThreads(__tstate);
26028 if (PyErr_Occurred()) SWIG_fail;
26029 }
26030 {
26031 resultobj = SWIG_From_long((long)(result));
26032 }
26033 return resultobj;
26034 fail:
26035 return NULL;
26036 }
26037
26038
26039 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26040 PyObject *resultobj;
26041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26042 long arg2 ;
26043 wxString *arg3 = 0 ;
26044 int arg4 ;
26045 long result;
26046 bool temp3 = false ;
26047 PyObject * obj0 = 0 ;
26048 PyObject * obj1 = 0 ;
26049 PyObject * obj2 = 0 ;
26050 PyObject * obj3 = 0 ;
26051 char *kwnames[] = {
26052 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26053 };
26054
26055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26057 if (SWIG_arg_fail(1)) SWIG_fail;
26058 {
26059 arg2 = (long)(SWIG_As_long(obj1));
26060 if (SWIG_arg_fail(2)) SWIG_fail;
26061 }
26062 {
26063 arg3 = wxString_in_helper(obj2);
26064 if (arg3 == NULL) SWIG_fail;
26065 temp3 = true;
26066 }
26067 {
26068 arg4 = (int)(SWIG_As_int(obj3));
26069 if (SWIG_arg_fail(4)) SWIG_fail;
26070 }
26071 {
26072 PyThreadState* __tstate = wxPyBeginAllowThreads();
26073 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26074
26075 wxPyEndAllowThreads(__tstate);
26076 if (PyErr_Occurred()) SWIG_fail;
26077 }
26078 {
26079 resultobj = SWIG_From_long((long)(result));
26080 }
26081 {
26082 if (temp3)
26083 delete arg3;
26084 }
26085 return resultobj;
26086 fail:
26087 {
26088 if (temp3)
26089 delete arg3;
26090 }
26091 return NULL;
26092 }
26093
26094
26095 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26096 PyObject *resultobj;
26097 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26098 long arg2 ;
26099 wxListItem *arg3 = 0 ;
26100 long result;
26101 PyObject * obj0 = 0 ;
26102 PyObject * obj1 = 0 ;
26103 PyObject * obj2 = 0 ;
26104 char *kwnames[] = {
26105 (char *) "self",(char *) "col",(char *) "info", NULL
26106 };
26107
26108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26110 if (SWIG_arg_fail(1)) SWIG_fail;
26111 {
26112 arg2 = (long)(SWIG_As_long(obj1));
26113 if (SWIG_arg_fail(2)) SWIG_fail;
26114 }
26115 {
26116 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26117 if (SWIG_arg_fail(3)) SWIG_fail;
26118 if (arg3 == NULL) {
26119 SWIG_null_ref("wxListItem");
26120 }
26121 if (SWIG_arg_fail(3)) SWIG_fail;
26122 }
26123 {
26124 PyThreadState* __tstate = wxPyBeginAllowThreads();
26125 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26126
26127 wxPyEndAllowThreads(__tstate);
26128 if (PyErr_Occurred()) SWIG_fail;
26129 }
26130 {
26131 resultobj = SWIG_From_long((long)(result));
26132 }
26133 return resultobj;
26134 fail:
26135 return NULL;
26136 }
26137
26138
26139 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26140 PyObject *resultobj;
26141 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26142 long arg2 ;
26143 wxString *arg3 = 0 ;
26144 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26145 int arg5 = (int) -1 ;
26146 long result;
26147 bool temp3 = false ;
26148 PyObject * obj0 = 0 ;
26149 PyObject * obj1 = 0 ;
26150 PyObject * obj2 = 0 ;
26151 PyObject * obj3 = 0 ;
26152 PyObject * obj4 = 0 ;
26153 char *kwnames[] = {
26154 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26155 };
26156
26157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26159 if (SWIG_arg_fail(1)) SWIG_fail;
26160 {
26161 arg2 = (long)(SWIG_As_long(obj1));
26162 if (SWIG_arg_fail(2)) SWIG_fail;
26163 }
26164 {
26165 arg3 = wxString_in_helper(obj2);
26166 if (arg3 == NULL) SWIG_fail;
26167 temp3 = true;
26168 }
26169 if (obj3) {
26170 {
26171 arg4 = (int)(SWIG_As_int(obj3));
26172 if (SWIG_arg_fail(4)) SWIG_fail;
26173 }
26174 }
26175 if (obj4) {
26176 {
26177 arg5 = (int)(SWIG_As_int(obj4));
26178 if (SWIG_arg_fail(5)) SWIG_fail;
26179 }
26180 }
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 {
26189 resultobj = SWIG_From_long((long)(result));
26190 }
26191 {
26192 if (temp3)
26193 delete arg3;
26194 }
26195 return resultobj;
26196 fail:
26197 {
26198 if (temp3)
26199 delete arg3;
26200 }
26201 return NULL;
26202 }
26203
26204
26205 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26206 PyObject *resultobj;
26207 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26208 long arg2 ;
26209 PyObject * obj0 = 0 ;
26210 PyObject * obj1 = 0 ;
26211 char *kwnames[] = {
26212 (char *) "self",(char *) "count", NULL
26213 };
26214
26215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26217 if (SWIG_arg_fail(1)) SWIG_fail;
26218 {
26219 arg2 = (long)(SWIG_As_long(obj1));
26220 if (SWIG_arg_fail(2)) SWIG_fail;
26221 }
26222 {
26223 PyThreadState* __tstate = wxPyBeginAllowThreads();
26224 (arg1)->SetItemCount(arg2);
26225
26226 wxPyEndAllowThreads(__tstate);
26227 if (PyErr_Occurred()) SWIG_fail;
26228 }
26229 Py_INCREF(Py_None); resultobj = Py_None;
26230 return resultobj;
26231 fail:
26232 return NULL;
26233 }
26234
26235
26236 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26237 PyObject *resultobj;
26238 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26239 int arg2 ;
26240 int arg3 ;
26241 bool result;
26242 PyObject * obj0 = 0 ;
26243 PyObject * obj1 = 0 ;
26244 PyObject * obj2 = 0 ;
26245 char *kwnames[] = {
26246 (char *) "self",(char *) "dx",(char *) "dy", NULL
26247 };
26248
26249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26251 if (SWIG_arg_fail(1)) SWIG_fail;
26252 {
26253 arg2 = (int)(SWIG_As_int(obj1));
26254 if (SWIG_arg_fail(2)) SWIG_fail;
26255 }
26256 {
26257 arg3 = (int)(SWIG_As_int(obj2));
26258 if (SWIG_arg_fail(3)) SWIG_fail;
26259 }
26260 {
26261 PyThreadState* __tstate = wxPyBeginAllowThreads();
26262 result = (bool)(arg1)->ScrollList(arg2,arg3);
26263
26264 wxPyEndAllowThreads(__tstate);
26265 if (PyErr_Occurred()) SWIG_fail;
26266 }
26267 {
26268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26269 }
26270 return resultobj;
26271 fail:
26272 return NULL;
26273 }
26274
26275
26276 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26277 PyObject *resultobj;
26278 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26279 long arg2 ;
26280 wxColour *arg3 = 0 ;
26281 wxColour temp3 ;
26282 PyObject * obj0 = 0 ;
26283 PyObject * obj1 = 0 ;
26284 PyObject * obj2 = 0 ;
26285 char *kwnames[] = {
26286 (char *) "self",(char *) "item",(char *) "col", NULL
26287 };
26288
26289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26291 if (SWIG_arg_fail(1)) SWIG_fail;
26292 {
26293 arg2 = (long)(SWIG_As_long(obj1));
26294 if (SWIG_arg_fail(2)) SWIG_fail;
26295 }
26296 {
26297 arg3 = &temp3;
26298 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26299 }
26300 {
26301 PyThreadState* __tstate = wxPyBeginAllowThreads();
26302 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26303
26304 wxPyEndAllowThreads(__tstate);
26305 if (PyErr_Occurred()) SWIG_fail;
26306 }
26307 Py_INCREF(Py_None); resultobj = Py_None;
26308 return resultobj;
26309 fail:
26310 return NULL;
26311 }
26312
26313
26314 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26315 PyObject *resultobj;
26316 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26317 long arg2 ;
26318 wxColour result;
26319 PyObject * obj0 = 0 ;
26320 PyObject * obj1 = 0 ;
26321 char *kwnames[] = {
26322 (char *) "self",(char *) "item", NULL
26323 };
26324
26325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26327 if (SWIG_arg_fail(1)) SWIG_fail;
26328 {
26329 arg2 = (long)(SWIG_As_long(obj1));
26330 if (SWIG_arg_fail(2)) SWIG_fail;
26331 }
26332 {
26333 PyThreadState* __tstate = wxPyBeginAllowThreads();
26334 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26335
26336 wxPyEndAllowThreads(__tstate);
26337 if (PyErr_Occurred()) SWIG_fail;
26338 }
26339 {
26340 wxColour * resultptr;
26341 resultptr = new wxColour((wxColour &)(result));
26342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26343 }
26344 return resultobj;
26345 fail:
26346 return NULL;
26347 }
26348
26349
26350 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26351 PyObject *resultobj;
26352 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26353 long arg2 ;
26354 wxColour *arg3 = 0 ;
26355 wxColour temp3 ;
26356 PyObject * obj0 = 0 ;
26357 PyObject * obj1 = 0 ;
26358 PyObject * obj2 = 0 ;
26359 char *kwnames[] = {
26360 (char *) "self",(char *) "item",(char *) "col", NULL
26361 };
26362
26363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26365 if (SWIG_arg_fail(1)) SWIG_fail;
26366 {
26367 arg2 = (long)(SWIG_As_long(obj1));
26368 if (SWIG_arg_fail(2)) SWIG_fail;
26369 }
26370 {
26371 arg3 = &temp3;
26372 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26373 }
26374 {
26375 PyThreadState* __tstate = wxPyBeginAllowThreads();
26376 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26377
26378 wxPyEndAllowThreads(__tstate);
26379 if (PyErr_Occurred()) SWIG_fail;
26380 }
26381 Py_INCREF(Py_None); resultobj = Py_None;
26382 return resultobj;
26383 fail:
26384 return NULL;
26385 }
26386
26387
26388 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26389 PyObject *resultobj;
26390 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26391 long arg2 ;
26392 wxColour result;
26393 PyObject * obj0 = 0 ;
26394 PyObject * obj1 = 0 ;
26395 char *kwnames[] = {
26396 (char *) "self",(char *) "item", NULL
26397 };
26398
26399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26401 if (SWIG_arg_fail(1)) SWIG_fail;
26402 {
26403 arg2 = (long)(SWIG_As_long(obj1));
26404 if (SWIG_arg_fail(2)) SWIG_fail;
26405 }
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26409
26410 wxPyEndAllowThreads(__tstate);
26411 if (PyErr_Occurred()) SWIG_fail;
26412 }
26413 {
26414 wxColour * resultptr;
26415 resultptr = new wxColour((wxColour &)(result));
26416 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26417 }
26418 return resultobj;
26419 fail:
26420 return NULL;
26421 }
26422
26423
26424 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26425 PyObject *resultobj;
26426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26427 PyObject *arg2 = (PyObject *) 0 ;
26428 bool result;
26429 PyObject * obj0 = 0 ;
26430 PyObject * obj1 = 0 ;
26431 char *kwnames[] = {
26432 (char *) "self",(char *) "func", NULL
26433 };
26434
26435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26437 if (SWIG_arg_fail(1)) SWIG_fail;
26438 arg2 = obj1;
26439 {
26440 PyThreadState* __tstate = wxPyBeginAllowThreads();
26441 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26442
26443 wxPyEndAllowThreads(__tstate);
26444 if (PyErr_Occurred()) SWIG_fail;
26445 }
26446 {
26447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26448 }
26449 return resultobj;
26450 fail:
26451 return NULL;
26452 }
26453
26454
26455 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26456 PyObject *resultobj;
26457 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26458 wxWindow *result;
26459 PyObject * obj0 = 0 ;
26460 char *kwnames[] = {
26461 (char *) "self", NULL
26462 };
26463
26464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26466 if (SWIG_arg_fail(1)) SWIG_fail;
26467 {
26468 PyThreadState* __tstate = wxPyBeginAllowThreads();
26469 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26470
26471 wxPyEndAllowThreads(__tstate);
26472 if (PyErr_Occurred()) SWIG_fail;
26473 }
26474 {
26475 resultobj = wxPyMake_wxObject(result, 0);
26476 }
26477 return resultobj;
26478 fail:
26479 return NULL;
26480 }
26481
26482
26483 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26484 PyObject *resultobj;
26485 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26486 wxVisualAttributes result;
26487 PyObject * obj0 = 0 ;
26488 char *kwnames[] = {
26489 (char *) "variant", NULL
26490 };
26491
26492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26493 if (obj0) {
26494 {
26495 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26496 if (SWIG_arg_fail(1)) SWIG_fail;
26497 }
26498 }
26499 {
26500 if (!wxPyCheckForApp()) SWIG_fail;
26501 PyThreadState* __tstate = wxPyBeginAllowThreads();
26502 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26503
26504 wxPyEndAllowThreads(__tstate);
26505 if (PyErr_Occurred()) SWIG_fail;
26506 }
26507 {
26508 wxVisualAttributes * resultptr;
26509 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
26510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26511 }
26512 return resultobj;
26513 fail:
26514 return NULL;
26515 }
26516
26517
26518 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26519 PyObject *obj;
26520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26521 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26522 Py_INCREF(obj);
26523 return Py_BuildValue((char *)"");
26524 }
26525 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26526 PyObject *resultobj;
26527 wxWindow *arg1 = (wxWindow *) 0 ;
26528 int arg2 = (int) -1 ;
26529 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26530 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26531 wxSize const &arg4_defvalue = wxDefaultSize ;
26532 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26533 long arg5 = (long) wxLC_REPORT ;
26534 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26535 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26536 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26537 wxString *arg7 = (wxString *) &arg7_defvalue ;
26538 wxListView *result;
26539 wxPoint temp3 ;
26540 wxSize temp4 ;
26541 bool temp7 = false ;
26542 PyObject * obj0 = 0 ;
26543 PyObject * obj1 = 0 ;
26544 PyObject * obj2 = 0 ;
26545 PyObject * obj3 = 0 ;
26546 PyObject * obj4 = 0 ;
26547 PyObject * obj5 = 0 ;
26548 PyObject * obj6 = 0 ;
26549 char *kwnames[] = {
26550 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26551 };
26552
26553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26555 if (SWIG_arg_fail(1)) SWIG_fail;
26556 if (obj1) {
26557 {
26558 arg2 = (int)(SWIG_As_int(obj1));
26559 if (SWIG_arg_fail(2)) SWIG_fail;
26560 }
26561 }
26562 if (obj2) {
26563 {
26564 arg3 = &temp3;
26565 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26566 }
26567 }
26568 if (obj3) {
26569 {
26570 arg4 = &temp4;
26571 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26572 }
26573 }
26574 if (obj4) {
26575 {
26576 arg5 = (long)(SWIG_As_long(obj4));
26577 if (SWIG_arg_fail(5)) SWIG_fail;
26578 }
26579 }
26580 if (obj5) {
26581 {
26582 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26583 if (SWIG_arg_fail(6)) SWIG_fail;
26584 if (arg6 == NULL) {
26585 SWIG_null_ref("wxValidator");
26586 }
26587 if (SWIG_arg_fail(6)) SWIG_fail;
26588 }
26589 }
26590 if (obj6) {
26591 {
26592 arg7 = wxString_in_helper(obj6);
26593 if (arg7 == NULL) SWIG_fail;
26594 temp7 = true;
26595 }
26596 }
26597 {
26598 if (!wxPyCheckForApp()) SWIG_fail;
26599 PyThreadState* __tstate = wxPyBeginAllowThreads();
26600 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26601
26602 wxPyEndAllowThreads(__tstate);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 }
26605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26606 {
26607 if (temp7)
26608 delete arg7;
26609 }
26610 return resultobj;
26611 fail:
26612 {
26613 if (temp7)
26614 delete arg7;
26615 }
26616 return NULL;
26617 }
26618
26619
26620 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26621 PyObject *resultobj;
26622 wxListView *result;
26623 char *kwnames[] = {
26624 NULL
26625 };
26626
26627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26628 {
26629 if (!wxPyCheckForApp()) SWIG_fail;
26630 PyThreadState* __tstate = wxPyBeginAllowThreads();
26631 result = (wxListView *)new wxListView();
26632
26633 wxPyEndAllowThreads(__tstate);
26634 if (PyErr_Occurred()) SWIG_fail;
26635 }
26636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26637 return resultobj;
26638 fail:
26639 return NULL;
26640 }
26641
26642
26643 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26644 PyObject *resultobj;
26645 wxListView *arg1 = (wxListView *) 0 ;
26646 wxWindow *arg2 = (wxWindow *) 0 ;
26647 int arg3 = (int) -1 ;
26648 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26649 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26650 wxSize const &arg5_defvalue = wxDefaultSize ;
26651 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26652 long arg6 = (long) wxLC_REPORT ;
26653 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26654 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26655 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26656 wxString *arg8 = (wxString *) &arg8_defvalue ;
26657 bool result;
26658 wxPoint temp4 ;
26659 wxSize temp5 ;
26660 bool temp8 = false ;
26661 PyObject * obj0 = 0 ;
26662 PyObject * obj1 = 0 ;
26663 PyObject * obj2 = 0 ;
26664 PyObject * obj3 = 0 ;
26665 PyObject * obj4 = 0 ;
26666 PyObject * obj5 = 0 ;
26667 PyObject * obj6 = 0 ;
26668 PyObject * obj7 = 0 ;
26669 char *kwnames[] = {
26670 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26671 };
26672
26673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26675 if (SWIG_arg_fail(1)) SWIG_fail;
26676 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26677 if (SWIG_arg_fail(2)) SWIG_fail;
26678 if (obj2) {
26679 {
26680 arg3 = (int)(SWIG_As_int(obj2));
26681 if (SWIG_arg_fail(3)) SWIG_fail;
26682 }
26683 }
26684 if (obj3) {
26685 {
26686 arg4 = &temp4;
26687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26688 }
26689 }
26690 if (obj4) {
26691 {
26692 arg5 = &temp5;
26693 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26694 }
26695 }
26696 if (obj5) {
26697 {
26698 arg6 = (long)(SWIG_As_long(obj5));
26699 if (SWIG_arg_fail(6)) SWIG_fail;
26700 }
26701 }
26702 if (obj6) {
26703 {
26704 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26705 if (SWIG_arg_fail(7)) SWIG_fail;
26706 if (arg7 == NULL) {
26707 SWIG_null_ref("wxValidator");
26708 }
26709 if (SWIG_arg_fail(7)) SWIG_fail;
26710 }
26711 }
26712 if (obj7) {
26713 {
26714 arg8 = wxString_in_helper(obj7);
26715 if (arg8 == NULL) SWIG_fail;
26716 temp8 = true;
26717 }
26718 }
26719 {
26720 PyThreadState* __tstate = wxPyBeginAllowThreads();
26721 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26722
26723 wxPyEndAllowThreads(__tstate);
26724 if (PyErr_Occurred()) SWIG_fail;
26725 }
26726 {
26727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26728 }
26729 {
26730 if (temp8)
26731 delete arg8;
26732 }
26733 return resultobj;
26734 fail:
26735 {
26736 if (temp8)
26737 delete arg8;
26738 }
26739 return NULL;
26740 }
26741
26742
26743 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26744 PyObject *resultobj;
26745 wxListView *arg1 = (wxListView *) 0 ;
26746 long arg2 ;
26747 bool arg3 = (bool) true ;
26748 PyObject * obj0 = 0 ;
26749 PyObject * obj1 = 0 ;
26750 PyObject * obj2 = 0 ;
26751 char *kwnames[] = {
26752 (char *) "self",(char *) "n",(char *) "on", NULL
26753 };
26754
26755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26757 if (SWIG_arg_fail(1)) SWIG_fail;
26758 {
26759 arg2 = (long)(SWIG_As_long(obj1));
26760 if (SWIG_arg_fail(2)) SWIG_fail;
26761 }
26762 if (obj2) {
26763 {
26764 arg3 = (bool)(SWIG_As_bool(obj2));
26765 if (SWIG_arg_fail(3)) SWIG_fail;
26766 }
26767 }
26768 {
26769 PyThreadState* __tstate = wxPyBeginAllowThreads();
26770 (arg1)->Select(arg2,arg3);
26771
26772 wxPyEndAllowThreads(__tstate);
26773 if (PyErr_Occurred()) SWIG_fail;
26774 }
26775 Py_INCREF(Py_None); resultobj = Py_None;
26776 return resultobj;
26777 fail:
26778 return NULL;
26779 }
26780
26781
26782 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26783 PyObject *resultobj;
26784 wxListView *arg1 = (wxListView *) 0 ;
26785 long arg2 ;
26786 PyObject * obj0 = 0 ;
26787 PyObject * obj1 = 0 ;
26788 char *kwnames[] = {
26789 (char *) "self",(char *) "index", NULL
26790 };
26791
26792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26794 if (SWIG_arg_fail(1)) SWIG_fail;
26795 {
26796 arg2 = (long)(SWIG_As_long(obj1));
26797 if (SWIG_arg_fail(2)) SWIG_fail;
26798 }
26799 {
26800 PyThreadState* __tstate = wxPyBeginAllowThreads();
26801 (arg1)->Focus(arg2);
26802
26803 wxPyEndAllowThreads(__tstate);
26804 if (PyErr_Occurred()) SWIG_fail;
26805 }
26806 Py_INCREF(Py_None); resultobj = Py_None;
26807 return resultobj;
26808 fail:
26809 return NULL;
26810 }
26811
26812
26813 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26814 PyObject *resultobj;
26815 wxListView *arg1 = (wxListView *) 0 ;
26816 long result;
26817 PyObject * obj0 = 0 ;
26818 char *kwnames[] = {
26819 (char *) "self", NULL
26820 };
26821
26822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26824 if (SWIG_arg_fail(1)) SWIG_fail;
26825 {
26826 PyThreadState* __tstate = wxPyBeginAllowThreads();
26827 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26828
26829 wxPyEndAllowThreads(__tstate);
26830 if (PyErr_Occurred()) SWIG_fail;
26831 }
26832 {
26833 resultobj = SWIG_From_long((long)(result));
26834 }
26835 return resultobj;
26836 fail:
26837 return NULL;
26838 }
26839
26840
26841 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26842 PyObject *resultobj;
26843 wxListView *arg1 = (wxListView *) 0 ;
26844 long arg2 ;
26845 long result;
26846 PyObject * obj0 = 0 ;
26847 PyObject * obj1 = 0 ;
26848 char *kwnames[] = {
26849 (char *) "self",(char *) "item", NULL
26850 };
26851
26852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
26853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26854 if (SWIG_arg_fail(1)) SWIG_fail;
26855 {
26856 arg2 = (long)(SWIG_As_long(obj1));
26857 if (SWIG_arg_fail(2)) SWIG_fail;
26858 }
26859 {
26860 PyThreadState* __tstate = wxPyBeginAllowThreads();
26861 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26862
26863 wxPyEndAllowThreads(__tstate);
26864 if (PyErr_Occurred()) SWIG_fail;
26865 }
26866 {
26867 resultobj = SWIG_From_long((long)(result));
26868 }
26869 return resultobj;
26870 fail:
26871 return NULL;
26872 }
26873
26874
26875 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26876 PyObject *resultobj;
26877 wxListView *arg1 = (wxListView *) 0 ;
26878 long result;
26879 PyObject * obj0 = 0 ;
26880 char *kwnames[] = {
26881 (char *) "self", NULL
26882 };
26883
26884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
26885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26886 if (SWIG_arg_fail(1)) SWIG_fail;
26887 {
26888 PyThreadState* __tstate = wxPyBeginAllowThreads();
26889 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26890
26891 wxPyEndAllowThreads(__tstate);
26892 if (PyErr_Occurred()) SWIG_fail;
26893 }
26894 {
26895 resultobj = SWIG_From_long((long)(result));
26896 }
26897 return resultobj;
26898 fail:
26899 return NULL;
26900 }
26901
26902
26903 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26904 PyObject *resultobj;
26905 wxListView *arg1 = (wxListView *) 0 ;
26906 long arg2 ;
26907 bool result;
26908 PyObject * obj0 = 0 ;
26909 PyObject * obj1 = 0 ;
26910 char *kwnames[] = {
26911 (char *) "self",(char *) "index", NULL
26912 };
26913
26914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26916 if (SWIG_arg_fail(1)) SWIG_fail;
26917 {
26918 arg2 = (long)(SWIG_As_long(obj1));
26919 if (SWIG_arg_fail(2)) SWIG_fail;
26920 }
26921 {
26922 PyThreadState* __tstate = wxPyBeginAllowThreads();
26923 result = (bool)(arg1)->IsSelected(arg2);
26924
26925 wxPyEndAllowThreads(__tstate);
26926 if (PyErr_Occurred()) SWIG_fail;
26927 }
26928 {
26929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26930 }
26931 return resultobj;
26932 fail:
26933 return NULL;
26934 }
26935
26936
26937 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26938 PyObject *resultobj;
26939 wxListView *arg1 = (wxListView *) 0 ;
26940 int arg2 ;
26941 int arg3 ;
26942 PyObject * obj0 = 0 ;
26943 PyObject * obj1 = 0 ;
26944 PyObject * obj2 = 0 ;
26945 char *kwnames[] = {
26946 (char *) "self",(char *) "col",(char *) "image", NULL
26947 };
26948
26949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26951 if (SWIG_arg_fail(1)) SWIG_fail;
26952 {
26953 arg2 = (int)(SWIG_As_int(obj1));
26954 if (SWIG_arg_fail(2)) SWIG_fail;
26955 }
26956 {
26957 arg3 = (int)(SWIG_As_int(obj2));
26958 if (SWIG_arg_fail(3)) SWIG_fail;
26959 }
26960 {
26961 PyThreadState* __tstate = wxPyBeginAllowThreads();
26962 (arg1)->SetColumnImage(arg2,arg3);
26963
26964 wxPyEndAllowThreads(__tstate);
26965 if (PyErr_Occurred()) SWIG_fail;
26966 }
26967 Py_INCREF(Py_None); resultobj = Py_None;
26968 return resultobj;
26969 fail:
26970 return NULL;
26971 }
26972
26973
26974 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26975 PyObject *resultobj;
26976 wxListView *arg1 = (wxListView *) 0 ;
26977 int arg2 ;
26978 PyObject * obj0 = 0 ;
26979 PyObject * obj1 = 0 ;
26980 char *kwnames[] = {
26981 (char *) "self",(char *) "col", NULL
26982 };
26983
26984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
26985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26986 if (SWIG_arg_fail(1)) SWIG_fail;
26987 {
26988 arg2 = (int)(SWIG_As_int(obj1));
26989 if (SWIG_arg_fail(2)) SWIG_fail;
26990 }
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 (arg1)->ClearColumnImage(arg2);
26994
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 Py_INCREF(Py_None); resultobj = Py_None;
26999 return resultobj;
27000 fail:
27001 return NULL;
27002 }
27003
27004
27005 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
27006 PyObject *obj;
27007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27008 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27009 Py_INCREF(obj);
27010 return Py_BuildValue((char *)"");
27011 }
27012 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
27013 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27014 return 1;
27015 }
27016
27017
27018 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
27019 PyObject *pyobj;
27020
27021 {
27022 #if wxUSE_UNICODE
27023 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27024 #else
27025 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27026 #endif
27027 }
27028 return pyobj;
27029 }
27030
27031
27032 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27033 PyObject *resultobj;
27034 wxTreeItemId *result;
27035 char *kwnames[] = {
27036 NULL
27037 };
27038
27039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27040 {
27041 PyThreadState* __tstate = wxPyBeginAllowThreads();
27042 result = (wxTreeItemId *)new wxTreeItemId();
27043
27044 wxPyEndAllowThreads(__tstate);
27045 if (PyErr_Occurred()) SWIG_fail;
27046 }
27047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27048 return resultobj;
27049 fail:
27050 return NULL;
27051 }
27052
27053
27054 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27055 PyObject *resultobj;
27056 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27057 PyObject * obj0 = 0 ;
27058 char *kwnames[] = {
27059 (char *) "self", NULL
27060 };
27061
27062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
27063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27064 if (SWIG_arg_fail(1)) SWIG_fail;
27065 {
27066 PyThreadState* __tstate = wxPyBeginAllowThreads();
27067 delete arg1;
27068
27069 wxPyEndAllowThreads(__tstate);
27070 if (PyErr_Occurred()) SWIG_fail;
27071 }
27072 Py_INCREF(Py_None); resultobj = Py_None;
27073 return resultobj;
27074 fail:
27075 return NULL;
27076 }
27077
27078
27079 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27080 PyObject *resultobj;
27081 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27082 bool result;
27083 PyObject * obj0 = 0 ;
27084 char *kwnames[] = {
27085 (char *) "self", NULL
27086 };
27087
27088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
27089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27090 if (SWIG_arg_fail(1)) SWIG_fail;
27091 {
27092 PyThreadState* __tstate = wxPyBeginAllowThreads();
27093 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27094
27095 wxPyEndAllowThreads(__tstate);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 }
27098 {
27099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27100 }
27101 return resultobj;
27102 fail:
27103 return NULL;
27104 }
27105
27106
27107 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27108 PyObject *resultobj;
27109 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27110 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27111 bool result;
27112 PyObject * obj0 = 0 ;
27113 PyObject * obj1 = 0 ;
27114 char *kwnames[] = {
27115 (char *) "self",(char *) "other", NULL
27116 };
27117
27118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
27119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27120 if (SWIG_arg_fail(1)) SWIG_fail;
27121 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27122 if (SWIG_arg_fail(2)) SWIG_fail;
27123 {
27124 PyThreadState* __tstate = wxPyBeginAllowThreads();
27125 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27126
27127 wxPyEndAllowThreads(__tstate);
27128 if (PyErr_Occurred()) SWIG_fail;
27129 }
27130 {
27131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27132 }
27133 return resultobj;
27134 fail:
27135 return NULL;
27136 }
27137
27138
27139 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27140 PyObject *resultobj;
27141 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27142 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27143 bool result;
27144 PyObject * obj0 = 0 ;
27145 PyObject * obj1 = 0 ;
27146 char *kwnames[] = {
27147 (char *) "self",(char *) "other", NULL
27148 };
27149
27150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
27151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27152 if (SWIG_arg_fail(1)) SWIG_fail;
27153 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27154 if (SWIG_arg_fail(2)) SWIG_fail;
27155 {
27156 PyThreadState* __tstate = wxPyBeginAllowThreads();
27157 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27158
27159 wxPyEndAllowThreads(__tstate);
27160 if (PyErr_Occurred()) SWIG_fail;
27161 }
27162 {
27163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27164 }
27165 return resultobj;
27166 fail:
27167 return NULL;
27168 }
27169
27170
27171 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27172 PyObject *resultobj;
27173 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27174 void *arg2 = (void *) 0 ;
27175 PyObject * obj0 = 0 ;
27176 PyObject * obj1 = 0 ;
27177 char *kwnames[] = {
27178 (char *) "self",(char *) "m_pItem", NULL
27179 };
27180
27181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27183 if (SWIG_arg_fail(1)) SWIG_fail;
27184 {
27185 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27186 SWIG_arg_fail(2);SWIG_fail;
27187 }
27188 }
27189 if (arg1) (arg1)->m_pItem = arg2;
27190
27191 Py_INCREF(Py_None); resultobj = Py_None;
27192 return resultobj;
27193 fail:
27194 return NULL;
27195 }
27196
27197
27198 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27199 PyObject *resultobj;
27200 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27201 void *result;
27202 PyObject * obj0 = 0 ;
27203 char *kwnames[] = {
27204 (char *) "self", NULL
27205 };
27206
27207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail;
27210 result = (void *) ((arg1)->m_pItem);
27211
27212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27213 return resultobj;
27214 fail:
27215 return NULL;
27216 }
27217
27218
27219 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27220 PyObject *obj;
27221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27222 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27223 Py_INCREF(obj);
27224 return Py_BuildValue((char *)"");
27225 }
27226 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27227 PyObject *resultobj;
27228 PyObject *arg1 = (PyObject *) NULL ;
27229 wxPyTreeItemData *result;
27230 PyObject * obj0 = 0 ;
27231 char *kwnames[] = {
27232 (char *) "obj", NULL
27233 };
27234
27235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27236 if (obj0) {
27237 arg1 = obj0;
27238 }
27239 {
27240 PyThreadState* __tstate = wxPyBeginAllowThreads();
27241 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27242
27243 wxPyEndAllowThreads(__tstate);
27244 if (PyErr_Occurred()) SWIG_fail;
27245 }
27246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27247 return resultobj;
27248 fail:
27249 return NULL;
27250 }
27251
27252
27253 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27254 PyObject *resultobj;
27255 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27256 PyObject *result;
27257 PyObject * obj0 = 0 ;
27258 char *kwnames[] = {
27259 (char *) "self", NULL
27260 };
27261
27262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
27263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail;
27265 {
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 result = (PyObject *)(arg1)->GetData();
27268
27269 wxPyEndAllowThreads(__tstate);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 }
27272 resultobj = result;
27273 return resultobj;
27274 fail:
27275 return NULL;
27276 }
27277
27278
27279 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27280 PyObject *resultobj;
27281 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27282 PyObject *arg2 = (PyObject *) 0 ;
27283 PyObject * obj0 = 0 ;
27284 PyObject * obj1 = 0 ;
27285 char *kwnames[] = {
27286 (char *) "self",(char *) "obj", NULL
27287 };
27288
27289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27291 if (SWIG_arg_fail(1)) SWIG_fail;
27292 arg2 = obj1;
27293 {
27294 PyThreadState* __tstate = wxPyBeginAllowThreads();
27295 (arg1)->SetData(arg2);
27296
27297 wxPyEndAllowThreads(__tstate);
27298 if (PyErr_Occurred()) SWIG_fail;
27299 }
27300 Py_INCREF(Py_None); resultobj = Py_None;
27301 return resultobj;
27302 fail:
27303 return NULL;
27304 }
27305
27306
27307 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27308 PyObject *resultobj;
27309 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27310 wxTreeItemId *result;
27311 PyObject * obj0 = 0 ;
27312 char *kwnames[] = {
27313 (char *) "self", NULL
27314 };
27315
27316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27318 if (SWIG_arg_fail(1)) SWIG_fail;
27319 {
27320 PyThreadState* __tstate = wxPyBeginAllowThreads();
27321 {
27322 wxTreeItemId const &_result_ref = (arg1)->GetId();
27323 result = (wxTreeItemId *) &_result_ref;
27324 }
27325
27326 wxPyEndAllowThreads(__tstate);
27327 if (PyErr_Occurred()) SWIG_fail;
27328 }
27329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27330 return resultobj;
27331 fail:
27332 return NULL;
27333 }
27334
27335
27336 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27337 PyObject *resultobj;
27338 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27339 wxTreeItemId *arg2 = 0 ;
27340 PyObject * obj0 = 0 ;
27341 PyObject * obj1 = 0 ;
27342 char *kwnames[] = {
27343 (char *) "self",(char *) "id", NULL
27344 };
27345
27346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27348 if (SWIG_arg_fail(1)) SWIG_fail;
27349 {
27350 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27351 if (SWIG_arg_fail(2)) SWIG_fail;
27352 if (arg2 == NULL) {
27353 SWIG_null_ref("wxTreeItemId");
27354 }
27355 if (SWIG_arg_fail(2)) SWIG_fail;
27356 }
27357 {
27358 PyThreadState* __tstate = wxPyBeginAllowThreads();
27359 (arg1)->SetId((wxTreeItemId const &)*arg2);
27360
27361 wxPyEndAllowThreads(__tstate);
27362 if (PyErr_Occurred()) SWIG_fail;
27363 }
27364 Py_INCREF(Py_None); resultobj = Py_None;
27365 return resultobj;
27366 fail:
27367 return NULL;
27368 }
27369
27370
27371 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27372 PyObject *resultobj;
27373 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27374 PyObject * obj0 = 0 ;
27375 char *kwnames[] = {
27376 (char *) "self", NULL
27377 };
27378
27379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27381 if (SWIG_arg_fail(1)) SWIG_fail;
27382 {
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
27384 wxPyTreeItemData_Destroy(arg1);
27385
27386 wxPyEndAllowThreads(__tstate);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 }
27389 Py_INCREF(Py_None); resultobj = Py_None;
27390 return resultobj;
27391 fail:
27392 return NULL;
27393 }
27394
27395
27396 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27397 PyObject *obj;
27398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27399 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27400 Py_INCREF(obj);
27401 return Py_BuildValue((char *)"");
27402 }
27403 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27404 PyObject *resultobj;
27405 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27406 int arg2 = (int) 0 ;
27407 wxTreeEvent *result;
27408 PyObject * obj0 = 0 ;
27409 PyObject * obj1 = 0 ;
27410 char *kwnames[] = {
27411 (char *) "commandType",(char *) "id", NULL
27412 };
27413
27414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27415 if (obj0) {
27416 {
27417 arg1 = (wxEventType)(SWIG_As_int(obj0));
27418 if (SWIG_arg_fail(1)) SWIG_fail;
27419 }
27420 }
27421 if (obj1) {
27422 {
27423 arg2 = (int)(SWIG_As_int(obj1));
27424 if (SWIG_arg_fail(2)) SWIG_fail;
27425 }
27426 }
27427 {
27428 PyThreadState* __tstate = wxPyBeginAllowThreads();
27429 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27430
27431 wxPyEndAllowThreads(__tstate);
27432 if (PyErr_Occurred()) SWIG_fail;
27433 }
27434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27435 return resultobj;
27436 fail:
27437 return NULL;
27438 }
27439
27440
27441 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27442 PyObject *resultobj;
27443 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27444 wxTreeItemId result;
27445 PyObject * obj0 = 0 ;
27446 char *kwnames[] = {
27447 (char *) "self", NULL
27448 };
27449
27450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27452 if (SWIG_arg_fail(1)) SWIG_fail;
27453 {
27454 PyThreadState* __tstate = wxPyBeginAllowThreads();
27455 result = ((wxTreeEvent const *)arg1)->GetItem();
27456
27457 wxPyEndAllowThreads(__tstate);
27458 if (PyErr_Occurred()) SWIG_fail;
27459 }
27460 {
27461 wxTreeItemId * resultptr;
27462 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27464 }
27465 return resultobj;
27466 fail:
27467 return NULL;
27468 }
27469
27470
27471 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27472 PyObject *resultobj;
27473 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27474 wxTreeItemId *arg2 = 0 ;
27475 PyObject * obj0 = 0 ;
27476 PyObject * obj1 = 0 ;
27477 char *kwnames[] = {
27478 (char *) "self",(char *) "item", NULL
27479 };
27480
27481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27483 if (SWIG_arg_fail(1)) SWIG_fail;
27484 {
27485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27486 if (SWIG_arg_fail(2)) SWIG_fail;
27487 if (arg2 == NULL) {
27488 SWIG_null_ref("wxTreeItemId");
27489 }
27490 if (SWIG_arg_fail(2)) SWIG_fail;
27491 }
27492 {
27493 PyThreadState* __tstate = wxPyBeginAllowThreads();
27494 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27495
27496 wxPyEndAllowThreads(__tstate);
27497 if (PyErr_Occurred()) SWIG_fail;
27498 }
27499 Py_INCREF(Py_None); resultobj = Py_None;
27500 return resultobj;
27501 fail:
27502 return NULL;
27503 }
27504
27505
27506 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27507 PyObject *resultobj;
27508 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27509 wxTreeItemId result;
27510 PyObject * obj0 = 0 ;
27511 char *kwnames[] = {
27512 (char *) "self", NULL
27513 };
27514
27515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27517 if (SWIG_arg_fail(1)) SWIG_fail;
27518 {
27519 PyThreadState* __tstate = wxPyBeginAllowThreads();
27520 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27521
27522 wxPyEndAllowThreads(__tstate);
27523 if (PyErr_Occurred()) SWIG_fail;
27524 }
27525 {
27526 wxTreeItemId * resultptr;
27527 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27529 }
27530 return resultobj;
27531 fail:
27532 return NULL;
27533 }
27534
27535
27536 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27537 PyObject *resultobj;
27538 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27539 wxTreeItemId *arg2 = 0 ;
27540 PyObject * obj0 = 0 ;
27541 PyObject * obj1 = 0 ;
27542 char *kwnames[] = {
27543 (char *) "self",(char *) "item", NULL
27544 };
27545
27546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27548 if (SWIG_arg_fail(1)) SWIG_fail;
27549 {
27550 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27551 if (SWIG_arg_fail(2)) SWIG_fail;
27552 if (arg2 == NULL) {
27553 SWIG_null_ref("wxTreeItemId");
27554 }
27555 if (SWIG_arg_fail(2)) SWIG_fail;
27556 }
27557 {
27558 PyThreadState* __tstate = wxPyBeginAllowThreads();
27559 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27560
27561 wxPyEndAllowThreads(__tstate);
27562 if (PyErr_Occurred()) SWIG_fail;
27563 }
27564 Py_INCREF(Py_None); resultobj = Py_None;
27565 return resultobj;
27566 fail:
27567 return NULL;
27568 }
27569
27570
27571 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27572 PyObject *resultobj;
27573 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27574 wxPoint result;
27575 PyObject * obj0 = 0 ;
27576 char *kwnames[] = {
27577 (char *) "self", NULL
27578 };
27579
27580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27582 if (SWIG_arg_fail(1)) SWIG_fail;
27583 {
27584 PyThreadState* __tstate = wxPyBeginAllowThreads();
27585 result = ((wxTreeEvent const *)arg1)->GetPoint();
27586
27587 wxPyEndAllowThreads(__tstate);
27588 if (PyErr_Occurred()) SWIG_fail;
27589 }
27590 {
27591 wxPoint * resultptr;
27592 resultptr = new wxPoint((wxPoint &)(result));
27593 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27594 }
27595 return resultobj;
27596 fail:
27597 return NULL;
27598 }
27599
27600
27601 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27602 PyObject *resultobj;
27603 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27604 wxPoint *arg2 = 0 ;
27605 wxPoint temp2 ;
27606 PyObject * obj0 = 0 ;
27607 PyObject * obj1 = 0 ;
27608 char *kwnames[] = {
27609 (char *) "self",(char *) "pt", NULL
27610 };
27611
27612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27614 if (SWIG_arg_fail(1)) SWIG_fail;
27615 {
27616 arg2 = &temp2;
27617 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27618 }
27619 {
27620 PyThreadState* __tstate = wxPyBeginAllowThreads();
27621 (arg1)->SetPoint((wxPoint const &)*arg2);
27622
27623 wxPyEndAllowThreads(__tstate);
27624 if (PyErr_Occurred()) SWIG_fail;
27625 }
27626 Py_INCREF(Py_None); resultobj = Py_None;
27627 return resultobj;
27628 fail:
27629 return NULL;
27630 }
27631
27632
27633 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27634 PyObject *resultobj;
27635 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27636 wxKeyEvent *result;
27637 PyObject * obj0 = 0 ;
27638 char *kwnames[] = {
27639 (char *) "self", NULL
27640 };
27641
27642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27644 if (SWIG_arg_fail(1)) SWIG_fail;
27645 {
27646 PyThreadState* __tstate = wxPyBeginAllowThreads();
27647 {
27648 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27649 result = (wxKeyEvent *) &_result_ref;
27650 }
27651
27652 wxPyEndAllowThreads(__tstate);
27653 if (PyErr_Occurred()) SWIG_fail;
27654 }
27655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27656 return resultobj;
27657 fail:
27658 return NULL;
27659 }
27660
27661
27662 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27663 PyObject *resultobj;
27664 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27665 int result;
27666 PyObject * obj0 = 0 ;
27667 char *kwnames[] = {
27668 (char *) "self", NULL
27669 };
27670
27671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27673 if (SWIG_arg_fail(1)) SWIG_fail;
27674 {
27675 PyThreadState* __tstate = wxPyBeginAllowThreads();
27676 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27677
27678 wxPyEndAllowThreads(__tstate);
27679 if (PyErr_Occurred()) SWIG_fail;
27680 }
27681 {
27682 resultobj = SWIG_From_int((int)(result));
27683 }
27684 return resultobj;
27685 fail:
27686 return NULL;
27687 }
27688
27689
27690 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27691 PyObject *resultobj;
27692 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27693 wxKeyEvent *arg2 = 0 ;
27694 PyObject * obj0 = 0 ;
27695 PyObject * obj1 = 0 ;
27696 char *kwnames[] = {
27697 (char *) "self",(char *) "evt", NULL
27698 };
27699
27700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
27701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27702 if (SWIG_arg_fail(1)) SWIG_fail;
27703 {
27704 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27705 if (SWIG_arg_fail(2)) SWIG_fail;
27706 if (arg2 == NULL) {
27707 SWIG_null_ref("wxKeyEvent");
27708 }
27709 if (SWIG_arg_fail(2)) SWIG_fail;
27710 }
27711 {
27712 PyThreadState* __tstate = wxPyBeginAllowThreads();
27713 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27714
27715 wxPyEndAllowThreads(__tstate);
27716 if (PyErr_Occurred()) SWIG_fail;
27717 }
27718 Py_INCREF(Py_None); resultobj = Py_None;
27719 return resultobj;
27720 fail:
27721 return NULL;
27722 }
27723
27724
27725 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27726 PyObject *resultobj;
27727 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27728 wxString *result;
27729 PyObject * obj0 = 0 ;
27730 char *kwnames[] = {
27731 (char *) "self", NULL
27732 };
27733
27734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
27735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27736 if (SWIG_arg_fail(1)) SWIG_fail;
27737 {
27738 PyThreadState* __tstate = wxPyBeginAllowThreads();
27739 {
27740 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27741 result = (wxString *) &_result_ref;
27742 }
27743
27744 wxPyEndAllowThreads(__tstate);
27745 if (PyErr_Occurred()) SWIG_fail;
27746 }
27747 {
27748 #if wxUSE_UNICODE
27749 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27750 #else
27751 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27752 #endif
27753 }
27754 return resultobj;
27755 fail:
27756 return NULL;
27757 }
27758
27759
27760 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27761 PyObject *resultobj;
27762 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27763 wxString *arg2 = 0 ;
27764 bool temp2 = false ;
27765 PyObject * obj0 = 0 ;
27766 PyObject * obj1 = 0 ;
27767 char *kwnames[] = {
27768 (char *) "self",(char *) "label", NULL
27769 };
27770
27771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27773 if (SWIG_arg_fail(1)) SWIG_fail;
27774 {
27775 arg2 = wxString_in_helper(obj1);
27776 if (arg2 == NULL) SWIG_fail;
27777 temp2 = true;
27778 }
27779 {
27780 PyThreadState* __tstate = wxPyBeginAllowThreads();
27781 (arg1)->SetLabel((wxString const &)*arg2);
27782
27783 wxPyEndAllowThreads(__tstate);
27784 if (PyErr_Occurred()) SWIG_fail;
27785 }
27786 Py_INCREF(Py_None); resultobj = Py_None;
27787 {
27788 if (temp2)
27789 delete arg2;
27790 }
27791 return resultobj;
27792 fail:
27793 {
27794 if (temp2)
27795 delete arg2;
27796 }
27797 return NULL;
27798 }
27799
27800
27801 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27802 PyObject *resultobj;
27803 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27804 bool result;
27805 PyObject * obj0 = 0 ;
27806 char *kwnames[] = {
27807 (char *) "self", NULL
27808 };
27809
27810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27812 if (SWIG_arg_fail(1)) SWIG_fail;
27813 {
27814 PyThreadState* __tstate = wxPyBeginAllowThreads();
27815 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27816
27817 wxPyEndAllowThreads(__tstate);
27818 if (PyErr_Occurred()) SWIG_fail;
27819 }
27820 {
27821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27822 }
27823 return resultobj;
27824 fail:
27825 return NULL;
27826 }
27827
27828
27829 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27830 PyObject *resultobj;
27831 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27832 bool arg2 ;
27833 PyObject * obj0 = 0 ;
27834 PyObject * obj1 = 0 ;
27835 char *kwnames[] = {
27836 (char *) "self",(char *) "editCancelled", NULL
27837 };
27838
27839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
27840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27841 if (SWIG_arg_fail(1)) SWIG_fail;
27842 {
27843 arg2 = (bool)(SWIG_As_bool(obj1));
27844 if (SWIG_arg_fail(2)) SWIG_fail;
27845 }
27846 {
27847 PyThreadState* __tstate = wxPyBeginAllowThreads();
27848 (arg1)->SetEditCanceled(arg2);
27849
27850 wxPyEndAllowThreads(__tstate);
27851 if (PyErr_Occurred()) SWIG_fail;
27852 }
27853 Py_INCREF(Py_None); resultobj = Py_None;
27854 return resultobj;
27855 fail:
27856 return NULL;
27857 }
27858
27859
27860 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27861 PyObject *resultobj;
27862 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27863 wxString *arg2 = 0 ;
27864 bool temp2 = false ;
27865 PyObject * obj0 = 0 ;
27866 PyObject * obj1 = 0 ;
27867 char *kwnames[] = {
27868 (char *) "self",(char *) "toolTip", NULL
27869 };
27870
27871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27873 if (SWIG_arg_fail(1)) SWIG_fail;
27874 {
27875 arg2 = wxString_in_helper(obj1);
27876 if (arg2 == NULL) SWIG_fail;
27877 temp2 = true;
27878 }
27879 {
27880 PyThreadState* __tstate = wxPyBeginAllowThreads();
27881 (arg1)->SetToolTip((wxString const &)*arg2);
27882
27883 wxPyEndAllowThreads(__tstate);
27884 if (PyErr_Occurred()) SWIG_fail;
27885 }
27886 Py_INCREF(Py_None); resultobj = Py_None;
27887 {
27888 if (temp2)
27889 delete arg2;
27890 }
27891 return resultobj;
27892 fail:
27893 {
27894 if (temp2)
27895 delete arg2;
27896 }
27897 return NULL;
27898 }
27899
27900
27901 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
27902 PyObject *obj;
27903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27904 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27905 Py_INCREF(obj);
27906 return Py_BuildValue((char *)"");
27907 }
27908 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27909 PyObject *resultobj;
27910 wxWindow *arg1 = (wxWindow *) 0 ;
27911 int arg2 = (int) -1 ;
27912 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27913 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27914 wxSize const &arg4_defvalue = wxDefaultSize ;
27915 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27916 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27917 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27918 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27919 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27920 wxString *arg7 = (wxString *) &arg7_defvalue ;
27921 wxPyTreeCtrl *result;
27922 wxPoint temp3 ;
27923 wxSize temp4 ;
27924 bool temp7 = false ;
27925 PyObject * obj0 = 0 ;
27926 PyObject * obj1 = 0 ;
27927 PyObject * obj2 = 0 ;
27928 PyObject * obj3 = 0 ;
27929 PyObject * obj4 = 0 ;
27930 PyObject * obj5 = 0 ;
27931 PyObject * obj6 = 0 ;
27932 char *kwnames[] = {
27933 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27934 };
27935
27936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27938 if (SWIG_arg_fail(1)) SWIG_fail;
27939 if (obj1) {
27940 {
27941 arg2 = (int)(SWIG_As_int(obj1));
27942 if (SWIG_arg_fail(2)) SWIG_fail;
27943 }
27944 }
27945 if (obj2) {
27946 {
27947 arg3 = &temp3;
27948 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27949 }
27950 }
27951 if (obj3) {
27952 {
27953 arg4 = &temp4;
27954 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27955 }
27956 }
27957 if (obj4) {
27958 {
27959 arg5 = (long)(SWIG_As_long(obj4));
27960 if (SWIG_arg_fail(5)) SWIG_fail;
27961 }
27962 }
27963 if (obj5) {
27964 {
27965 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27966 if (SWIG_arg_fail(6)) SWIG_fail;
27967 if (arg6 == NULL) {
27968 SWIG_null_ref("wxValidator");
27969 }
27970 if (SWIG_arg_fail(6)) SWIG_fail;
27971 }
27972 }
27973 if (obj6) {
27974 {
27975 arg7 = wxString_in_helper(obj6);
27976 if (arg7 == NULL) SWIG_fail;
27977 temp7 = true;
27978 }
27979 }
27980 {
27981 if (!wxPyCheckForApp()) SWIG_fail;
27982 PyThreadState* __tstate = wxPyBeginAllowThreads();
27983 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27984
27985 wxPyEndAllowThreads(__tstate);
27986 if (PyErr_Occurred()) SWIG_fail;
27987 }
27988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
27989 {
27990 if (temp7)
27991 delete arg7;
27992 }
27993 return resultobj;
27994 fail:
27995 {
27996 if (temp7)
27997 delete arg7;
27998 }
27999 return NULL;
28000 }
28001
28002
28003 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28004 PyObject *resultobj;
28005 wxPyTreeCtrl *result;
28006 char *kwnames[] = {
28007 NULL
28008 };
28009
28010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28011 {
28012 if (!wxPyCheckForApp()) SWIG_fail;
28013 PyThreadState* __tstate = wxPyBeginAllowThreads();
28014 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28015
28016 wxPyEndAllowThreads(__tstate);
28017 if (PyErr_Occurred()) SWIG_fail;
28018 }
28019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28020 return resultobj;
28021 fail:
28022 return NULL;
28023 }
28024
28025
28026 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28027 PyObject *resultobj;
28028 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28029 wxWindow *arg2 = (wxWindow *) 0 ;
28030 int arg3 = (int) -1 ;
28031 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28032 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28033 wxSize const &arg5_defvalue = wxDefaultSize ;
28034 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28035 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28036 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28037 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28038 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28039 wxString *arg8 = (wxString *) &arg8_defvalue ;
28040 bool result;
28041 wxPoint temp4 ;
28042 wxSize temp5 ;
28043 bool temp8 = false ;
28044 PyObject * obj0 = 0 ;
28045 PyObject * obj1 = 0 ;
28046 PyObject * obj2 = 0 ;
28047 PyObject * obj3 = 0 ;
28048 PyObject * obj4 = 0 ;
28049 PyObject * obj5 = 0 ;
28050 PyObject * obj6 = 0 ;
28051 PyObject * obj7 = 0 ;
28052 char *kwnames[] = {
28053 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28054 };
28055
28056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28058 if (SWIG_arg_fail(1)) SWIG_fail;
28059 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28060 if (SWIG_arg_fail(2)) SWIG_fail;
28061 if (obj2) {
28062 {
28063 arg3 = (int)(SWIG_As_int(obj2));
28064 if (SWIG_arg_fail(3)) SWIG_fail;
28065 }
28066 }
28067 if (obj3) {
28068 {
28069 arg4 = &temp4;
28070 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28071 }
28072 }
28073 if (obj4) {
28074 {
28075 arg5 = &temp5;
28076 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28077 }
28078 }
28079 if (obj5) {
28080 {
28081 arg6 = (long)(SWIG_As_long(obj5));
28082 if (SWIG_arg_fail(6)) SWIG_fail;
28083 }
28084 }
28085 if (obj6) {
28086 {
28087 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28088 if (SWIG_arg_fail(7)) SWIG_fail;
28089 if (arg7 == NULL) {
28090 SWIG_null_ref("wxValidator");
28091 }
28092 if (SWIG_arg_fail(7)) SWIG_fail;
28093 }
28094 }
28095 if (obj7) {
28096 {
28097 arg8 = wxString_in_helper(obj7);
28098 if (arg8 == NULL) SWIG_fail;
28099 temp8 = true;
28100 }
28101 }
28102 {
28103 PyThreadState* __tstate = wxPyBeginAllowThreads();
28104 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28105
28106 wxPyEndAllowThreads(__tstate);
28107 if (PyErr_Occurred()) SWIG_fail;
28108 }
28109 {
28110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28111 }
28112 {
28113 if (temp8)
28114 delete arg8;
28115 }
28116 return resultobj;
28117 fail:
28118 {
28119 if (temp8)
28120 delete arg8;
28121 }
28122 return NULL;
28123 }
28124
28125
28126 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28127 PyObject *resultobj;
28128 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28129 PyObject *arg2 = (PyObject *) 0 ;
28130 PyObject *arg3 = (PyObject *) 0 ;
28131 PyObject * obj0 = 0 ;
28132 PyObject * obj1 = 0 ;
28133 PyObject * obj2 = 0 ;
28134 char *kwnames[] = {
28135 (char *) "self",(char *) "self",(char *) "_class", NULL
28136 };
28137
28138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28140 if (SWIG_arg_fail(1)) SWIG_fail;
28141 arg2 = obj1;
28142 arg3 = obj2;
28143 {
28144 PyThreadState* __tstate = wxPyBeginAllowThreads();
28145 (arg1)->_setCallbackInfo(arg2,arg3);
28146
28147 wxPyEndAllowThreads(__tstate);
28148 if (PyErr_Occurred()) SWIG_fail;
28149 }
28150 Py_INCREF(Py_None); resultobj = Py_None;
28151 return resultobj;
28152 fail:
28153 return NULL;
28154 }
28155
28156
28157 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28158 PyObject *resultobj;
28159 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28160 size_t result;
28161 PyObject * obj0 = 0 ;
28162 char *kwnames[] = {
28163 (char *) "self", NULL
28164 };
28165
28166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28168 if (SWIG_arg_fail(1)) SWIG_fail;
28169 {
28170 PyThreadState* __tstate = wxPyBeginAllowThreads();
28171 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28172
28173 wxPyEndAllowThreads(__tstate);
28174 if (PyErr_Occurred()) SWIG_fail;
28175 }
28176 {
28177 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28178 }
28179 return resultobj;
28180 fail:
28181 return NULL;
28182 }
28183
28184
28185 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28186 PyObject *resultobj;
28187 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28188 unsigned int result;
28189 PyObject * obj0 = 0 ;
28190 char *kwnames[] = {
28191 (char *) "self", NULL
28192 };
28193
28194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28196 if (SWIG_arg_fail(1)) SWIG_fail;
28197 {
28198 PyThreadState* __tstate = wxPyBeginAllowThreads();
28199 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28200
28201 wxPyEndAllowThreads(__tstate);
28202 if (PyErr_Occurred()) SWIG_fail;
28203 }
28204 {
28205 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28206 }
28207 return resultobj;
28208 fail:
28209 return NULL;
28210 }
28211
28212
28213 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28214 PyObject *resultobj;
28215 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28216 unsigned int arg2 ;
28217 PyObject * obj0 = 0 ;
28218 PyObject * obj1 = 0 ;
28219 char *kwnames[] = {
28220 (char *) "self",(char *) "indent", NULL
28221 };
28222
28223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28225 if (SWIG_arg_fail(1)) SWIG_fail;
28226 {
28227 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28228 if (SWIG_arg_fail(2)) SWIG_fail;
28229 }
28230 {
28231 PyThreadState* __tstate = wxPyBeginAllowThreads();
28232 (arg1)->SetIndent(arg2);
28233
28234 wxPyEndAllowThreads(__tstate);
28235 if (PyErr_Occurred()) SWIG_fail;
28236 }
28237 Py_INCREF(Py_None); resultobj = Py_None;
28238 return resultobj;
28239 fail:
28240 return NULL;
28241 }
28242
28243
28244 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28245 PyObject *resultobj;
28246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28247 unsigned int result;
28248 PyObject * obj0 = 0 ;
28249 char *kwnames[] = {
28250 (char *) "self", NULL
28251 };
28252
28253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28255 if (SWIG_arg_fail(1)) SWIG_fail;
28256 {
28257 PyThreadState* __tstate = wxPyBeginAllowThreads();
28258 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28259
28260 wxPyEndAllowThreads(__tstate);
28261 if (PyErr_Occurred()) SWIG_fail;
28262 }
28263 {
28264 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28265 }
28266 return resultobj;
28267 fail:
28268 return NULL;
28269 }
28270
28271
28272 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28273 PyObject *resultobj;
28274 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28275 unsigned int arg2 ;
28276 PyObject * obj0 = 0 ;
28277 PyObject * obj1 = 0 ;
28278 char *kwnames[] = {
28279 (char *) "self",(char *) "spacing", NULL
28280 };
28281
28282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
28283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28284 if (SWIG_arg_fail(1)) SWIG_fail;
28285 {
28286 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28287 if (SWIG_arg_fail(2)) SWIG_fail;
28288 }
28289 {
28290 PyThreadState* __tstate = wxPyBeginAllowThreads();
28291 (arg1)->SetSpacing(arg2);
28292
28293 wxPyEndAllowThreads(__tstate);
28294 if (PyErr_Occurred()) SWIG_fail;
28295 }
28296 Py_INCREF(Py_None); resultobj = Py_None;
28297 return resultobj;
28298 fail:
28299 return NULL;
28300 }
28301
28302
28303 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28304 PyObject *resultobj;
28305 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28306 wxImageList *result;
28307 PyObject * obj0 = 0 ;
28308 char *kwnames[] = {
28309 (char *) "self", NULL
28310 };
28311
28312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28314 if (SWIG_arg_fail(1)) SWIG_fail;
28315 {
28316 PyThreadState* __tstate = wxPyBeginAllowThreads();
28317 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28318
28319 wxPyEndAllowThreads(__tstate);
28320 if (PyErr_Occurred()) SWIG_fail;
28321 }
28322 {
28323 resultobj = wxPyMake_wxObject(result, 0);
28324 }
28325 return resultobj;
28326 fail:
28327 return NULL;
28328 }
28329
28330
28331 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28332 PyObject *resultobj;
28333 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28334 wxImageList *result;
28335 PyObject * obj0 = 0 ;
28336 char *kwnames[] = {
28337 (char *) "self", NULL
28338 };
28339
28340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28342 if (SWIG_arg_fail(1)) SWIG_fail;
28343 {
28344 PyThreadState* __tstate = wxPyBeginAllowThreads();
28345 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28346
28347 wxPyEndAllowThreads(__tstate);
28348 if (PyErr_Occurred()) SWIG_fail;
28349 }
28350 {
28351 resultobj = wxPyMake_wxObject(result, 0);
28352 }
28353 return resultobj;
28354 fail:
28355 return NULL;
28356 }
28357
28358
28359 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28360 PyObject *resultobj;
28361 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28362 wxImageList *arg2 = (wxImageList *) 0 ;
28363 PyObject * obj0 = 0 ;
28364 PyObject * obj1 = 0 ;
28365 char *kwnames[] = {
28366 (char *) "self",(char *) "imageList", NULL
28367 };
28368
28369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28371 if (SWIG_arg_fail(1)) SWIG_fail;
28372 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28373 if (SWIG_arg_fail(2)) SWIG_fail;
28374 {
28375 PyThreadState* __tstate = wxPyBeginAllowThreads();
28376 (arg1)->SetImageList(arg2);
28377
28378 wxPyEndAllowThreads(__tstate);
28379 if (PyErr_Occurred()) SWIG_fail;
28380 }
28381 Py_INCREF(Py_None); resultobj = Py_None;
28382 return resultobj;
28383 fail:
28384 return NULL;
28385 }
28386
28387
28388 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28389 PyObject *resultobj;
28390 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28391 wxImageList *arg2 = (wxImageList *) 0 ;
28392 PyObject * obj0 = 0 ;
28393 PyObject * obj1 = 0 ;
28394 char *kwnames[] = {
28395 (char *) "self",(char *) "imageList", NULL
28396 };
28397
28398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28400 if (SWIG_arg_fail(1)) SWIG_fail;
28401 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28402 if (SWIG_arg_fail(2)) SWIG_fail;
28403 {
28404 PyThreadState* __tstate = wxPyBeginAllowThreads();
28405 (arg1)->SetStateImageList(arg2);
28406
28407 wxPyEndAllowThreads(__tstate);
28408 if (PyErr_Occurred()) SWIG_fail;
28409 }
28410 Py_INCREF(Py_None); resultobj = Py_None;
28411 return resultobj;
28412 fail:
28413 return NULL;
28414 }
28415
28416
28417 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28418 PyObject *resultobj;
28419 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28420 wxImageList *arg2 = (wxImageList *) 0 ;
28421 PyObject * obj0 = 0 ;
28422 PyObject * obj1 = 0 ;
28423 char *kwnames[] = {
28424 (char *) "self",(char *) "imageList", NULL
28425 };
28426
28427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28429 if (SWIG_arg_fail(1)) SWIG_fail;
28430 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28431 if (SWIG_arg_fail(2)) SWIG_fail;
28432 {
28433 PyThreadState* __tstate = wxPyBeginAllowThreads();
28434 (arg1)->AssignImageList(arg2);
28435
28436 wxPyEndAllowThreads(__tstate);
28437 if (PyErr_Occurred()) SWIG_fail;
28438 }
28439 Py_INCREF(Py_None); resultobj = Py_None;
28440 return resultobj;
28441 fail:
28442 return NULL;
28443 }
28444
28445
28446 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28447 PyObject *resultobj;
28448 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28449 wxImageList *arg2 = (wxImageList *) 0 ;
28450 PyObject * obj0 = 0 ;
28451 PyObject * obj1 = 0 ;
28452 char *kwnames[] = {
28453 (char *) "self",(char *) "imageList", NULL
28454 };
28455
28456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
28457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28458 if (SWIG_arg_fail(1)) SWIG_fail;
28459 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28460 if (SWIG_arg_fail(2)) SWIG_fail;
28461 {
28462 PyThreadState* __tstate = wxPyBeginAllowThreads();
28463 (arg1)->AssignStateImageList(arg2);
28464
28465 wxPyEndAllowThreads(__tstate);
28466 if (PyErr_Occurred()) SWIG_fail;
28467 }
28468 Py_INCREF(Py_None); resultobj = Py_None;
28469 return resultobj;
28470 fail:
28471 return NULL;
28472 }
28473
28474
28475 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28476 PyObject *resultobj;
28477 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28478 wxTreeItemId *arg2 = 0 ;
28479 wxString result;
28480 PyObject * obj0 = 0 ;
28481 PyObject * obj1 = 0 ;
28482 char *kwnames[] = {
28483 (char *) "self",(char *) "item", NULL
28484 };
28485
28486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28488 if (SWIG_arg_fail(1)) SWIG_fail;
28489 {
28490 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28491 if (SWIG_arg_fail(2)) SWIG_fail;
28492 if (arg2 == NULL) {
28493 SWIG_null_ref("wxTreeItemId");
28494 }
28495 if (SWIG_arg_fail(2)) SWIG_fail;
28496 }
28497 {
28498 PyThreadState* __tstate = wxPyBeginAllowThreads();
28499 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28500
28501 wxPyEndAllowThreads(__tstate);
28502 if (PyErr_Occurred()) SWIG_fail;
28503 }
28504 {
28505 #if wxUSE_UNICODE
28506 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28507 #else
28508 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28509 #endif
28510 }
28511 return resultobj;
28512 fail:
28513 return NULL;
28514 }
28515
28516
28517 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28518 PyObject *resultobj;
28519 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28520 wxTreeItemId *arg2 = 0 ;
28521 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28522 int result;
28523 PyObject * obj0 = 0 ;
28524 PyObject * obj1 = 0 ;
28525 PyObject * obj2 = 0 ;
28526 char *kwnames[] = {
28527 (char *) "self",(char *) "item",(char *) "which", NULL
28528 };
28529
28530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28532 if (SWIG_arg_fail(1)) SWIG_fail;
28533 {
28534 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28535 if (SWIG_arg_fail(2)) SWIG_fail;
28536 if (arg2 == NULL) {
28537 SWIG_null_ref("wxTreeItemId");
28538 }
28539 if (SWIG_arg_fail(2)) SWIG_fail;
28540 }
28541 if (obj2) {
28542 {
28543 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28544 if (SWIG_arg_fail(3)) SWIG_fail;
28545 }
28546 }
28547 {
28548 PyThreadState* __tstate = wxPyBeginAllowThreads();
28549 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28550
28551 wxPyEndAllowThreads(__tstate);
28552 if (PyErr_Occurred()) SWIG_fail;
28553 }
28554 {
28555 resultobj = SWIG_From_int((int)(result));
28556 }
28557 return resultobj;
28558 fail:
28559 return NULL;
28560 }
28561
28562
28563 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28564 PyObject *resultobj;
28565 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28566 wxTreeItemId *arg2 = 0 ;
28567 wxPyTreeItemData *result;
28568 PyObject * obj0 = 0 ;
28569 PyObject * obj1 = 0 ;
28570 char *kwnames[] = {
28571 (char *) "self",(char *) "item", NULL
28572 };
28573
28574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28576 if (SWIG_arg_fail(1)) SWIG_fail;
28577 {
28578 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28579 if (SWIG_arg_fail(2)) SWIG_fail;
28580 if (arg2 == NULL) {
28581 SWIG_null_ref("wxTreeItemId");
28582 }
28583 if (SWIG_arg_fail(2)) SWIG_fail;
28584 }
28585 {
28586 PyThreadState* __tstate = wxPyBeginAllowThreads();
28587 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28588
28589 wxPyEndAllowThreads(__tstate);
28590 if (PyErr_Occurred()) SWIG_fail;
28591 }
28592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28593 return resultobj;
28594 fail:
28595 return NULL;
28596 }
28597
28598
28599 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28600 PyObject *resultobj;
28601 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28602 wxTreeItemId *arg2 = 0 ;
28603 PyObject *result;
28604 PyObject * obj0 = 0 ;
28605 PyObject * obj1 = 0 ;
28606 char *kwnames[] = {
28607 (char *) "self",(char *) "item", NULL
28608 };
28609
28610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28612 if (SWIG_arg_fail(1)) SWIG_fail;
28613 {
28614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28615 if (SWIG_arg_fail(2)) SWIG_fail;
28616 if (arg2 == NULL) {
28617 SWIG_null_ref("wxTreeItemId");
28618 }
28619 if (SWIG_arg_fail(2)) SWIG_fail;
28620 }
28621 {
28622 PyThreadState* __tstate = wxPyBeginAllowThreads();
28623 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28624
28625 wxPyEndAllowThreads(__tstate);
28626 if (PyErr_Occurred()) SWIG_fail;
28627 }
28628 resultobj = result;
28629 return resultobj;
28630 fail:
28631 return NULL;
28632 }
28633
28634
28635 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28636 PyObject *resultobj;
28637 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28638 wxTreeItemId *arg2 = 0 ;
28639 wxColour result;
28640 PyObject * obj0 = 0 ;
28641 PyObject * obj1 = 0 ;
28642 char *kwnames[] = {
28643 (char *) "self",(char *) "item", NULL
28644 };
28645
28646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
28647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28648 if (SWIG_arg_fail(1)) SWIG_fail;
28649 {
28650 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28651 if (SWIG_arg_fail(2)) SWIG_fail;
28652 if (arg2 == NULL) {
28653 SWIG_null_ref("wxTreeItemId");
28654 }
28655 if (SWIG_arg_fail(2)) SWIG_fail;
28656 }
28657 {
28658 PyThreadState* __tstate = wxPyBeginAllowThreads();
28659 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28660
28661 wxPyEndAllowThreads(__tstate);
28662 if (PyErr_Occurred()) SWIG_fail;
28663 }
28664 {
28665 wxColour * resultptr;
28666 resultptr = new wxColour((wxColour &)(result));
28667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28668 }
28669 return resultobj;
28670 fail:
28671 return NULL;
28672 }
28673
28674
28675 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28676 PyObject *resultobj;
28677 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28678 wxTreeItemId *arg2 = 0 ;
28679 wxColour result;
28680 PyObject * obj0 = 0 ;
28681 PyObject * obj1 = 0 ;
28682 char *kwnames[] = {
28683 (char *) "self",(char *) "item", NULL
28684 };
28685
28686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28688 if (SWIG_arg_fail(1)) SWIG_fail;
28689 {
28690 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28691 if (SWIG_arg_fail(2)) SWIG_fail;
28692 if (arg2 == NULL) {
28693 SWIG_null_ref("wxTreeItemId");
28694 }
28695 if (SWIG_arg_fail(2)) SWIG_fail;
28696 }
28697 {
28698 PyThreadState* __tstate = wxPyBeginAllowThreads();
28699 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28700
28701 wxPyEndAllowThreads(__tstate);
28702 if (PyErr_Occurred()) SWIG_fail;
28703 }
28704 {
28705 wxColour * resultptr;
28706 resultptr = new wxColour((wxColour &)(result));
28707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28708 }
28709 return resultobj;
28710 fail:
28711 return NULL;
28712 }
28713
28714
28715 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28716 PyObject *resultobj;
28717 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28718 wxTreeItemId *arg2 = 0 ;
28719 wxFont result;
28720 PyObject * obj0 = 0 ;
28721 PyObject * obj1 = 0 ;
28722 char *kwnames[] = {
28723 (char *) "self",(char *) "item", NULL
28724 };
28725
28726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28728 if (SWIG_arg_fail(1)) SWIG_fail;
28729 {
28730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28731 if (SWIG_arg_fail(2)) SWIG_fail;
28732 if (arg2 == NULL) {
28733 SWIG_null_ref("wxTreeItemId");
28734 }
28735 if (SWIG_arg_fail(2)) SWIG_fail;
28736 }
28737 {
28738 PyThreadState* __tstate = wxPyBeginAllowThreads();
28739 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28740
28741 wxPyEndAllowThreads(__tstate);
28742 if (PyErr_Occurred()) SWIG_fail;
28743 }
28744 {
28745 wxFont * resultptr;
28746 resultptr = new wxFont((wxFont &)(result));
28747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28748 }
28749 return resultobj;
28750 fail:
28751 return NULL;
28752 }
28753
28754
28755 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28756 PyObject *resultobj;
28757 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28758 wxTreeItemId *arg2 = 0 ;
28759 wxString *arg3 = 0 ;
28760 bool temp3 = false ;
28761 PyObject * obj0 = 0 ;
28762 PyObject * obj1 = 0 ;
28763 PyObject * obj2 = 0 ;
28764 char *kwnames[] = {
28765 (char *) "self",(char *) "item",(char *) "text", NULL
28766 };
28767
28768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
28769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28770 if (SWIG_arg_fail(1)) SWIG_fail;
28771 {
28772 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28773 if (SWIG_arg_fail(2)) SWIG_fail;
28774 if (arg2 == NULL) {
28775 SWIG_null_ref("wxTreeItemId");
28776 }
28777 if (SWIG_arg_fail(2)) SWIG_fail;
28778 }
28779 {
28780 arg3 = wxString_in_helper(obj2);
28781 if (arg3 == NULL) SWIG_fail;
28782 temp3 = true;
28783 }
28784 {
28785 PyThreadState* __tstate = wxPyBeginAllowThreads();
28786 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28787
28788 wxPyEndAllowThreads(__tstate);
28789 if (PyErr_Occurred()) SWIG_fail;
28790 }
28791 Py_INCREF(Py_None); resultobj = Py_None;
28792 {
28793 if (temp3)
28794 delete arg3;
28795 }
28796 return resultobj;
28797 fail:
28798 {
28799 if (temp3)
28800 delete arg3;
28801 }
28802 return NULL;
28803 }
28804
28805
28806 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28807 PyObject *resultobj;
28808 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28809 wxTreeItemId *arg2 = 0 ;
28810 int arg3 ;
28811 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28812 PyObject * obj0 = 0 ;
28813 PyObject * obj1 = 0 ;
28814 PyObject * obj2 = 0 ;
28815 PyObject * obj3 = 0 ;
28816 char *kwnames[] = {
28817 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28818 };
28819
28820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28822 if (SWIG_arg_fail(1)) SWIG_fail;
28823 {
28824 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28825 if (SWIG_arg_fail(2)) SWIG_fail;
28826 if (arg2 == NULL) {
28827 SWIG_null_ref("wxTreeItemId");
28828 }
28829 if (SWIG_arg_fail(2)) SWIG_fail;
28830 }
28831 {
28832 arg3 = (int)(SWIG_As_int(obj2));
28833 if (SWIG_arg_fail(3)) SWIG_fail;
28834 }
28835 if (obj3) {
28836 {
28837 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28838 if (SWIG_arg_fail(4)) SWIG_fail;
28839 }
28840 }
28841 {
28842 PyThreadState* __tstate = wxPyBeginAllowThreads();
28843 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28844
28845 wxPyEndAllowThreads(__tstate);
28846 if (PyErr_Occurred()) SWIG_fail;
28847 }
28848 Py_INCREF(Py_None); resultobj = Py_None;
28849 return resultobj;
28850 fail:
28851 return NULL;
28852 }
28853
28854
28855 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28856 PyObject *resultobj;
28857 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28858 wxTreeItemId *arg2 = 0 ;
28859 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28860 PyObject * obj0 = 0 ;
28861 PyObject * obj1 = 0 ;
28862 PyObject * obj2 = 0 ;
28863 char *kwnames[] = {
28864 (char *) "self",(char *) "item",(char *) "data", NULL
28865 };
28866
28867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28869 if (SWIG_arg_fail(1)) SWIG_fail;
28870 {
28871 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28872 if (SWIG_arg_fail(2)) SWIG_fail;
28873 if (arg2 == NULL) {
28874 SWIG_null_ref("wxTreeItemId");
28875 }
28876 if (SWIG_arg_fail(2)) SWIG_fail;
28877 }
28878 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28879 if (SWIG_arg_fail(3)) SWIG_fail;
28880 {
28881 PyThreadState* __tstate = wxPyBeginAllowThreads();
28882 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28883
28884 wxPyEndAllowThreads(__tstate);
28885 if (PyErr_Occurred()) SWIG_fail;
28886 }
28887 Py_INCREF(Py_None); resultobj = Py_None;
28888 return resultobj;
28889 fail:
28890 return NULL;
28891 }
28892
28893
28894 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28895 PyObject *resultobj;
28896 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28897 wxTreeItemId *arg2 = 0 ;
28898 PyObject *arg3 = (PyObject *) 0 ;
28899 PyObject * obj0 = 0 ;
28900 PyObject * obj1 = 0 ;
28901 PyObject * obj2 = 0 ;
28902 char *kwnames[] = {
28903 (char *) "self",(char *) "item",(char *) "obj", NULL
28904 };
28905
28906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28908 if (SWIG_arg_fail(1)) SWIG_fail;
28909 {
28910 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28911 if (SWIG_arg_fail(2)) SWIG_fail;
28912 if (arg2 == NULL) {
28913 SWIG_null_ref("wxTreeItemId");
28914 }
28915 if (SWIG_arg_fail(2)) SWIG_fail;
28916 }
28917 arg3 = obj2;
28918 {
28919 PyThreadState* __tstate = wxPyBeginAllowThreads();
28920 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28921
28922 wxPyEndAllowThreads(__tstate);
28923 if (PyErr_Occurred()) SWIG_fail;
28924 }
28925 Py_INCREF(Py_None); resultobj = Py_None;
28926 return resultobj;
28927 fail:
28928 return NULL;
28929 }
28930
28931
28932 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28933 PyObject *resultobj;
28934 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28935 wxTreeItemId *arg2 = 0 ;
28936 bool arg3 = (bool) true ;
28937 PyObject * obj0 = 0 ;
28938 PyObject * obj1 = 0 ;
28939 PyObject * obj2 = 0 ;
28940 char *kwnames[] = {
28941 (char *) "self",(char *) "item",(char *) "has", NULL
28942 };
28943
28944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
28945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28946 if (SWIG_arg_fail(1)) SWIG_fail;
28947 {
28948 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28949 if (SWIG_arg_fail(2)) SWIG_fail;
28950 if (arg2 == NULL) {
28951 SWIG_null_ref("wxTreeItemId");
28952 }
28953 if (SWIG_arg_fail(2)) SWIG_fail;
28954 }
28955 if (obj2) {
28956 {
28957 arg3 = (bool)(SWIG_As_bool(obj2));
28958 if (SWIG_arg_fail(3)) SWIG_fail;
28959 }
28960 }
28961 {
28962 PyThreadState* __tstate = wxPyBeginAllowThreads();
28963 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28964
28965 wxPyEndAllowThreads(__tstate);
28966 if (PyErr_Occurred()) SWIG_fail;
28967 }
28968 Py_INCREF(Py_None); resultobj = Py_None;
28969 return resultobj;
28970 fail:
28971 return NULL;
28972 }
28973
28974
28975 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
28976 PyObject *resultobj;
28977 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28978 wxTreeItemId *arg2 = 0 ;
28979 bool arg3 = (bool) true ;
28980 PyObject * obj0 = 0 ;
28981 PyObject * obj1 = 0 ;
28982 PyObject * obj2 = 0 ;
28983 char *kwnames[] = {
28984 (char *) "self",(char *) "item",(char *) "bold", NULL
28985 };
28986
28987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
28988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28989 if (SWIG_arg_fail(1)) SWIG_fail;
28990 {
28991 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28992 if (SWIG_arg_fail(2)) SWIG_fail;
28993 if (arg2 == NULL) {
28994 SWIG_null_ref("wxTreeItemId");
28995 }
28996 if (SWIG_arg_fail(2)) SWIG_fail;
28997 }
28998 if (obj2) {
28999 {
29000 arg3 = (bool)(SWIG_As_bool(obj2));
29001 if (SWIG_arg_fail(3)) SWIG_fail;
29002 }
29003 }
29004 {
29005 PyThreadState* __tstate = wxPyBeginAllowThreads();
29006 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29007
29008 wxPyEndAllowThreads(__tstate);
29009 if (PyErr_Occurred()) SWIG_fail;
29010 }
29011 Py_INCREF(Py_None); resultobj = Py_None;
29012 return resultobj;
29013 fail:
29014 return NULL;
29015 }
29016
29017
29018 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
29019 PyObject *resultobj;
29020 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29021 wxTreeItemId *arg2 = 0 ;
29022 bool arg3 = (bool) true ;
29023 PyObject * obj0 = 0 ;
29024 PyObject * obj1 = 0 ;
29025 PyObject * obj2 = 0 ;
29026 char *kwnames[] = {
29027 (char *) "self",(char *) "item",(char *) "highlight", NULL
29028 };
29029
29030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
29031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29032 if (SWIG_arg_fail(1)) SWIG_fail;
29033 {
29034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29035 if (SWIG_arg_fail(2)) SWIG_fail;
29036 if (arg2 == NULL) {
29037 SWIG_null_ref("wxTreeItemId");
29038 }
29039 if (SWIG_arg_fail(2)) SWIG_fail;
29040 }
29041 if (obj2) {
29042 {
29043 arg3 = (bool)(SWIG_As_bool(obj2));
29044 if (SWIG_arg_fail(3)) SWIG_fail;
29045 }
29046 }
29047 {
29048 PyThreadState* __tstate = wxPyBeginAllowThreads();
29049 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29050
29051 wxPyEndAllowThreads(__tstate);
29052 if (PyErr_Occurred()) SWIG_fail;
29053 }
29054 Py_INCREF(Py_None); resultobj = Py_None;
29055 return resultobj;
29056 fail:
29057 return NULL;
29058 }
29059
29060
29061 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29062 PyObject *resultobj;
29063 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29064 wxTreeItemId *arg2 = 0 ;
29065 wxColour *arg3 = 0 ;
29066 wxColour temp3 ;
29067 PyObject * obj0 = 0 ;
29068 PyObject * obj1 = 0 ;
29069 PyObject * obj2 = 0 ;
29070 char *kwnames[] = {
29071 (char *) "self",(char *) "item",(char *) "col", NULL
29072 };
29073
29074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29076 if (SWIG_arg_fail(1)) SWIG_fail;
29077 {
29078 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29079 if (SWIG_arg_fail(2)) SWIG_fail;
29080 if (arg2 == NULL) {
29081 SWIG_null_ref("wxTreeItemId");
29082 }
29083 if (SWIG_arg_fail(2)) SWIG_fail;
29084 }
29085 {
29086 arg3 = &temp3;
29087 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29088 }
29089 {
29090 PyThreadState* __tstate = wxPyBeginAllowThreads();
29091 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29092
29093 wxPyEndAllowThreads(__tstate);
29094 if (PyErr_Occurred()) SWIG_fail;
29095 }
29096 Py_INCREF(Py_None); resultobj = Py_None;
29097 return resultobj;
29098 fail:
29099 return NULL;
29100 }
29101
29102
29103 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29104 PyObject *resultobj;
29105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29106 wxTreeItemId *arg2 = 0 ;
29107 wxColour *arg3 = 0 ;
29108 wxColour temp3 ;
29109 PyObject * obj0 = 0 ;
29110 PyObject * obj1 = 0 ;
29111 PyObject * obj2 = 0 ;
29112 char *kwnames[] = {
29113 (char *) "self",(char *) "item",(char *) "col", NULL
29114 };
29115
29116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29118 if (SWIG_arg_fail(1)) SWIG_fail;
29119 {
29120 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29121 if (SWIG_arg_fail(2)) SWIG_fail;
29122 if (arg2 == NULL) {
29123 SWIG_null_ref("wxTreeItemId");
29124 }
29125 if (SWIG_arg_fail(2)) SWIG_fail;
29126 }
29127 {
29128 arg3 = &temp3;
29129 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29130 }
29131 {
29132 PyThreadState* __tstate = wxPyBeginAllowThreads();
29133 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29134
29135 wxPyEndAllowThreads(__tstate);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 }
29138 Py_INCREF(Py_None); resultobj = Py_None;
29139 return resultobj;
29140 fail:
29141 return NULL;
29142 }
29143
29144
29145 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29146 PyObject *resultobj;
29147 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29148 wxTreeItemId *arg2 = 0 ;
29149 wxFont *arg3 = 0 ;
29150 PyObject * obj0 = 0 ;
29151 PyObject * obj1 = 0 ;
29152 PyObject * obj2 = 0 ;
29153 char *kwnames[] = {
29154 (char *) "self",(char *) "item",(char *) "font", NULL
29155 };
29156
29157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29159 if (SWIG_arg_fail(1)) SWIG_fail;
29160 {
29161 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29162 if (SWIG_arg_fail(2)) SWIG_fail;
29163 if (arg2 == NULL) {
29164 SWIG_null_ref("wxTreeItemId");
29165 }
29166 if (SWIG_arg_fail(2)) SWIG_fail;
29167 }
29168 {
29169 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29170 if (SWIG_arg_fail(3)) SWIG_fail;
29171 if (arg3 == NULL) {
29172 SWIG_null_ref("wxFont");
29173 }
29174 if (SWIG_arg_fail(3)) SWIG_fail;
29175 }
29176 {
29177 PyThreadState* __tstate = wxPyBeginAllowThreads();
29178 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29179
29180 wxPyEndAllowThreads(__tstate);
29181 if (PyErr_Occurred()) SWIG_fail;
29182 }
29183 Py_INCREF(Py_None); resultobj = Py_None;
29184 return resultobj;
29185 fail:
29186 return NULL;
29187 }
29188
29189
29190 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29191 PyObject *resultobj;
29192 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29193 wxTreeItemId *arg2 = 0 ;
29194 bool result;
29195 PyObject * obj0 = 0 ;
29196 PyObject * obj1 = 0 ;
29197 char *kwnames[] = {
29198 (char *) "self",(char *) "item", NULL
29199 };
29200
29201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
29202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29203 if (SWIG_arg_fail(1)) SWIG_fail;
29204 {
29205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29206 if (SWIG_arg_fail(2)) SWIG_fail;
29207 if (arg2 == NULL) {
29208 SWIG_null_ref("wxTreeItemId");
29209 }
29210 if (SWIG_arg_fail(2)) SWIG_fail;
29211 }
29212 {
29213 PyThreadState* __tstate = wxPyBeginAllowThreads();
29214 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29215
29216 wxPyEndAllowThreads(__tstate);
29217 if (PyErr_Occurred()) SWIG_fail;
29218 }
29219 {
29220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29221 }
29222 return resultobj;
29223 fail:
29224 return NULL;
29225 }
29226
29227
29228 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29229 PyObject *resultobj;
29230 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29231 wxTreeItemId *arg2 = 0 ;
29232 bool result;
29233 PyObject * obj0 = 0 ;
29234 PyObject * obj1 = 0 ;
29235 char *kwnames[] = {
29236 (char *) "self",(char *) "item", NULL
29237 };
29238
29239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
29240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29241 if (SWIG_arg_fail(1)) SWIG_fail;
29242 {
29243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29244 if (SWIG_arg_fail(2)) SWIG_fail;
29245 if (arg2 == NULL) {
29246 SWIG_null_ref("wxTreeItemId");
29247 }
29248 if (SWIG_arg_fail(2)) SWIG_fail;
29249 }
29250 {
29251 PyThreadState* __tstate = wxPyBeginAllowThreads();
29252 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29253
29254 wxPyEndAllowThreads(__tstate);
29255 if (PyErr_Occurred()) SWIG_fail;
29256 }
29257 {
29258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29259 }
29260 return resultobj;
29261 fail:
29262 return NULL;
29263 }
29264
29265
29266 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
29267 PyObject *resultobj;
29268 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29269 wxTreeItemId *arg2 = 0 ;
29270 bool result;
29271 PyObject * obj0 = 0 ;
29272 PyObject * obj1 = 0 ;
29273 char *kwnames[] = {
29274 (char *) "self",(char *) "item", NULL
29275 };
29276
29277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
29278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29279 if (SWIG_arg_fail(1)) SWIG_fail;
29280 {
29281 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29282 if (SWIG_arg_fail(2)) SWIG_fail;
29283 if (arg2 == NULL) {
29284 SWIG_null_ref("wxTreeItemId");
29285 }
29286 if (SWIG_arg_fail(2)) SWIG_fail;
29287 }
29288 {
29289 PyThreadState* __tstate = wxPyBeginAllowThreads();
29290 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29291
29292 wxPyEndAllowThreads(__tstate);
29293 if (PyErr_Occurred()) SWIG_fail;
29294 }
29295 {
29296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29297 }
29298 return resultobj;
29299 fail:
29300 return NULL;
29301 }
29302
29303
29304 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
29305 PyObject *resultobj;
29306 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29307 wxTreeItemId *arg2 = 0 ;
29308 bool result;
29309 PyObject * obj0 = 0 ;
29310 PyObject * obj1 = 0 ;
29311 char *kwnames[] = {
29312 (char *) "self",(char *) "item", NULL
29313 };
29314
29315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
29316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29317 if (SWIG_arg_fail(1)) SWIG_fail;
29318 {
29319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29320 if (SWIG_arg_fail(2)) SWIG_fail;
29321 if (arg2 == NULL) {
29322 SWIG_null_ref("wxTreeItemId");
29323 }
29324 if (SWIG_arg_fail(2)) SWIG_fail;
29325 }
29326 {
29327 PyThreadState* __tstate = wxPyBeginAllowThreads();
29328 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29329
29330 wxPyEndAllowThreads(__tstate);
29331 if (PyErr_Occurred()) SWIG_fail;
29332 }
29333 {
29334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29335 }
29336 return resultobj;
29337 fail:
29338 return NULL;
29339 }
29340
29341
29342 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29343 PyObject *resultobj;
29344 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29345 wxTreeItemId *arg2 = 0 ;
29346 bool result;
29347 PyObject * obj0 = 0 ;
29348 PyObject * obj1 = 0 ;
29349 char *kwnames[] = {
29350 (char *) "self",(char *) "item", NULL
29351 };
29352
29353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29355 if (SWIG_arg_fail(1)) SWIG_fail;
29356 {
29357 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29358 if (SWIG_arg_fail(2)) SWIG_fail;
29359 if (arg2 == NULL) {
29360 SWIG_null_ref("wxTreeItemId");
29361 }
29362 if (SWIG_arg_fail(2)) SWIG_fail;
29363 }
29364 {
29365 PyThreadState* __tstate = wxPyBeginAllowThreads();
29366 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29367
29368 wxPyEndAllowThreads(__tstate);
29369 if (PyErr_Occurred()) SWIG_fail;
29370 }
29371 {
29372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29373 }
29374 return resultobj;
29375 fail:
29376 return NULL;
29377 }
29378
29379
29380 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29381 PyObject *resultobj;
29382 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29383 wxTreeItemId *arg2 = 0 ;
29384 bool arg3 = (bool) true ;
29385 size_t result;
29386 PyObject * obj0 = 0 ;
29387 PyObject * obj1 = 0 ;
29388 PyObject * obj2 = 0 ;
29389 char *kwnames[] = {
29390 (char *) "self",(char *) "item",(char *) "recursively", NULL
29391 };
29392
29393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29395 if (SWIG_arg_fail(1)) SWIG_fail;
29396 {
29397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29398 if (SWIG_arg_fail(2)) SWIG_fail;
29399 if (arg2 == NULL) {
29400 SWIG_null_ref("wxTreeItemId");
29401 }
29402 if (SWIG_arg_fail(2)) SWIG_fail;
29403 }
29404 if (obj2) {
29405 {
29406 arg3 = (bool)(SWIG_As_bool(obj2));
29407 if (SWIG_arg_fail(3)) SWIG_fail;
29408 }
29409 }
29410 {
29411 PyThreadState* __tstate = wxPyBeginAllowThreads();
29412 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29413
29414 wxPyEndAllowThreads(__tstate);
29415 if (PyErr_Occurred()) SWIG_fail;
29416 }
29417 {
29418 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29419 }
29420 return resultobj;
29421 fail:
29422 return NULL;
29423 }
29424
29425
29426 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29427 PyObject *resultobj;
29428 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29429 wxTreeItemId result;
29430 PyObject * obj0 = 0 ;
29431 char *kwnames[] = {
29432 (char *) "self", NULL
29433 };
29434
29435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29437 if (SWIG_arg_fail(1)) SWIG_fail;
29438 {
29439 PyThreadState* __tstate = wxPyBeginAllowThreads();
29440 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29441
29442 wxPyEndAllowThreads(__tstate);
29443 if (PyErr_Occurred()) SWIG_fail;
29444 }
29445 {
29446 wxTreeItemId * resultptr;
29447 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29449 }
29450 return resultobj;
29451 fail:
29452 return NULL;
29453 }
29454
29455
29456 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29457 PyObject *resultobj;
29458 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29459 wxTreeItemId result;
29460 PyObject * obj0 = 0 ;
29461 char *kwnames[] = {
29462 (char *) "self", NULL
29463 };
29464
29465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29467 if (SWIG_arg_fail(1)) SWIG_fail;
29468 {
29469 PyThreadState* __tstate = wxPyBeginAllowThreads();
29470 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29471
29472 wxPyEndAllowThreads(__tstate);
29473 if (PyErr_Occurred()) SWIG_fail;
29474 }
29475 {
29476 wxTreeItemId * resultptr;
29477 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29478 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29479 }
29480 return resultobj;
29481 fail:
29482 return NULL;
29483 }
29484
29485
29486 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29487 PyObject *resultobj;
29488 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29489 PyObject *result;
29490 PyObject * obj0 = 0 ;
29491 char *kwnames[] = {
29492 (char *) "self", NULL
29493 };
29494
29495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29497 if (SWIG_arg_fail(1)) SWIG_fail;
29498 {
29499 PyThreadState* __tstate = wxPyBeginAllowThreads();
29500 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29501
29502 wxPyEndAllowThreads(__tstate);
29503 if (PyErr_Occurred()) SWIG_fail;
29504 }
29505 resultobj = result;
29506 return resultobj;
29507 fail:
29508 return NULL;
29509 }
29510
29511
29512 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29513 PyObject *resultobj;
29514 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29515 wxTreeItemId *arg2 = 0 ;
29516 wxTreeItemId result;
29517 PyObject * obj0 = 0 ;
29518 PyObject * obj1 = 0 ;
29519 char *kwnames[] = {
29520 (char *) "self",(char *) "item", NULL
29521 };
29522
29523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29525 if (SWIG_arg_fail(1)) SWIG_fail;
29526 {
29527 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29528 if (SWIG_arg_fail(2)) SWIG_fail;
29529 if (arg2 == NULL) {
29530 SWIG_null_ref("wxTreeItemId");
29531 }
29532 if (SWIG_arg_fail(2)) SWIG_fail;
29533 }
29534 {
29535 PyThreadState* __tstate = wxPyBeginAllowThreads();
29536 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29537
29538 wxPyEndAllowThreads(__tstate);
29539 if (PyErr_Occurred()) SWIG_fail;
29540 }
29541 {
29542 wxTreeItemId * resultptr;
29543 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29545 }
29546 return resultobj;
29547 fail:
29548 return NULL;
29549 }
29550
29551
29552 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29553 PyObject *resultobj;
29554 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29555 wxTreeItemId *arg2 = 0 ;
29556 PyObject *result;
29557 PyObject * obj0 = 0 ;
29558 PyObject * obj1 = 0 ;
29559 char *kwnames[] = {
29560 (char *) "self",(char *) "item", NULL
29561 };
29562
29563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
29564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29565 if (SWIG_arg_fail(1)) SWIG_fail;
29566 {
29567 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29568 if (SWIG_arg_fail(2)) SWIG_fail;
29569 if (arg2 == NULL) {
29570 SWIG_null_ref("wxTreeItemId");
29571 }
29572 if (SWIG_arg_fail(2)) SWIG_fail;
29573 }
29574 {
29575 PyThreadState* __tstate = wxPyBeginAllowThreads();
29576 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29577
29578 wxPyEndAllowThreads(__tstate);
29579 if (PyErr_Occurred()) SWIG_fail;
29580 }
29581 resultobj = result;
29582 return resultobj;
29583 fail:
29584 return NULL;
29585 }
29586
29587
29588 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29589 PyObject *resultobj;
29590 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29591 wxTreeItemId *arg2 = 0 ;
29592 void *arg3 = (void *) 0 ;
29593 PyObject *result;
29594 PyObject * obj0 = 0 ;
29595 PyObject * obj1 = 0 ;
29596 PyObject * obj2 = 0 ;
29597 char *kwnames[] = {
29598 (char *) "self",(char *) "item",(char *) "cookie", NULL
29599 };
29600
29601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29603 if (SWIG_arg_fail(1)) SWIG_fail;
29604 {
29605 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29606 if (SWIG_arg_fail(2)) SWIG_fail;
29607 if (arg2 == NULL) {
29608 SWIG_null_ref("wxTreeItemId");
29609 }
29610 if (SWIG_arg_fail(2)) SWIG_fail;
29611 }
29612 {
29613 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29614 SWIG_arg_fail(3);SWIG_fail;
29615 }
29616 }
29617 {
29618 PyThreadState* __tstate = wxPyBeginAllowThreads();
29619 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29620
29621 wxPyEndAllowThreads(__tstate);
29622 if (PyErr_Occurred()) SWIG_fail;
29623 }
29624 resultobj = result;
29625 return resultobj;
29626 fail:
29627 return NULL;
29628 }
29629
29630
29631 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29632 PyObject *resultobj;
29633 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29634 wxTreeItemId *arg2 = 0 ;
29635 wxTreeItemId result;
29636 PyObject * obj0 = 0 ;
29637 PyObject * obj1 = 0 ;
29638 char *kwnames[] = {
29639 (char *) "self",(char *) "item", NULL
29640 };
29641
29642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29644 if (SWIG_arg_fail(1)) SWIG_fail;
29645 {
29646 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29647 if (SWIG_arg_fail(2)) SWIG_fail;
29648 if (arg2 == NULL) {
29649 SWIG_null_ref("wxTreeItemId");
29650 }
29651 if (SWIG_arg_fail(2)) SWIG_fail;
29652 }
29653 {
29654 PyThreadState* __tstate = wxPyBeginAllowThreads();
29655 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29656
29657 wxPyEndAllowThreads(__tstate);
29658 if (PyErr_Occurred()) SWIG_fail;
29659 }
29660 {
29661 wxTreeItemId * resultptr;
29662 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29663 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29664 }
29665 return resultobj;
29666 fail:
29667 return NULL;
29668 }
29669
29670
29671 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29672 PyObject *resultobj;
29673 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29674 wxTreeItemId *arg2 = 0 ;
29675 wxTreeItemId result;
29676 PyObject * obj0 = 0 ;
29677 PyObject * obj1 = 0 ;
29678 char *kwnames[] = {
29679 (char *) "self",(char *) "item", NULL
29680 };
29681
29682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29684 if (SWIG_arg_fail(1)) SWIG_fail;
29685 {
29686 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29687 if (SWIG_arg_fail(2)) SWIG_fail;
29688 if (arg2 == NULL) {
29689 SWIG_null_ref("wxTreeItemId");
29690 }
29691 if (SWIG_arg_fail(2)) SWIG_fail;
29692 }
29693 {
29694 PyThreadState* __tstate = wxPyBeginAllowThreads();
29695 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29696
29697 wxPyEndAllowThreads(__tstate);
29698 if (PyErr_Occurred()) SWIG_fail;
29699 }
29700 {
29701 wxTreeItemId * resultptr;
29702 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29704 }
29705 return resultobj;
29706 fail:
29707 return NULL;
29708 }
29709
29710
29711 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29712 PyObject *resultobj;
29713 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29714 wxTreeItemId *arg2 = 0 ;
29715 wxTreeItemId result;
29716 PyObject * obj0 = 0 ;
29717 PyObject * obj1 = 0 ;
29718 char *kwnames[] = {
29719 (char *) "self",(char *) "item", NULL
29720 };
29721
29722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
29723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29724 if (SWIG_arg_fail(1)) SWIG_fail;
29725 {
29726 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29727 if (SWIG_arg_fail(2)) SWIG_fail;
29728 if (arg2 == NULL) {
29729 SWIG_null_ref("wxTreeItemId");
29730 }
29731 if (SWIG_arg_fail(2)) SWIG_fail;
29732 }
29733 {
29734 PyThreadState* __tstate = wxPyBeginAllowThreads();
29735 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29736
29737 wxPyEndAllowThreads(__tstate);
29738 if (PyErr_Occurred()) SWIG_fail;
29739 }
29740 {
29741 wxTreeItemId * resultptr;
29742 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29744 }
29745 return resultobj;
29746 fail:
29747 return NULL;
29748 }
29749
29750
29751 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29752 PyObject *resultobj;
29753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29754 wxTreeItemId result;
29755 PyObject * obj0 = 0 ;
29756 char *kwnames[] = {
29757 (char *) "self", NULL
29758 };
29759
29760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29762 if (SWIG_arg_fail(1)) SWIG_fail;
29763 {
29764 PyThreadState* __tstate = wxPyBeginAllowThreads();
29765 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29766
29767 wxPyEndAllowThreads(__tstate);
29768 if (PyErr_Occurred()) SWIG_fail;
29769 }
29770 {
29771 wxTreeItemId * resultptr;
29772 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29774 }
29775 return resultobj;
29776 fail:
29777 return NULL;
29778 }
29779
29780
29781 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29782 PyObject *resultobj;
29783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29784 wxTreeItemId *arg2 = 0 ;
29785 wxTreeItemId result;
29786 PyObject * obj0 = 0 ;
29787 PyObject * obj1 = 0 ;
29788 char *kwnames[] = {
29789 (char *) "self",(char *) "item", NULL
29790 };
29791
29792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29794 if (SWIG_arg_fail(1)) SWIG_fail;
29795 {
29796 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29797 if (SWIG_arg_fail(2)) SWIG_fail;
29798 if (arg2 == NULL) {
29799 SWIG_null_ref("wxTreeItemId");
29800 }
29801 if (SWIG_arg_fail(2)) SWIG_fail;
29802 }
29803 {
29804 PyThreadState* __tstate = wxPyBeginAllowThreads();
29805 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29806
29807 wxPyEndAllowThreads(__tstate);
29808 if (PyErr_Occurred()) SWIG_fail;
29809 }
29810 {
29811 wxTreeItemId * resultptr;
29812 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29814 }
29815 return resultobj;
29816 fail:
29817 return NULL;
29818 }
29819
29820
29821 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29822 PyObject *resultobj;
29823 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29824 wxTreeItemId *arg2 = 0 ;
29825 wxTreeItemId result;
29826 PyObject * obj0 = 0 ;
29827 PyObject * obj1 = 0 ;
29828 char *kwnames[] = {
29829 (char *) "self",(char *) "item", NULL
29830 };
29831
29832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29837 if (SWIG_arg_fail(2)) SWIG_fail;
29838 if (arg2 == NULL) {
29839 SWIG_null_ref("wxTreeItemId");
29840 }
29841 if (SWIG_arg_fail(2)) SWIG_fail;
29842 }
29843 {
29844 PyThreadState* __tstate = wxPyBeginAllowThreads();
29845 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29846
29847 wxPyEndAllowThreads(__tstate);
29848 if (PyErr_Occurred()) SWIG_fail;
29849 }
29850 {
29851 wxTreeItemId * resultptr;
29852 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29854 }
29855 return resultobj;
29856 fail:
29857 return NULL;
29858 }
29859
29860
29861 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
29862 PyObject *resultobj;
29863 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29864 wxString *arg2 = 0 ;
29865 int arg3 = (int) -1 ;
29866 int arg4 = (int) -1 ;
29867 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29868 wxTreeItemId result;
29869 bool temp2 = false ;
29870 PyObject * obj0 = 0 ;
29871 PyObject * obj1 = 0 ;
29872 PyObject * obj2 = 0 ;
29873 PyObject * obj3 = 0 ;
29874 PyObject * obj4 = 0 ;
29875 char *kwnames[] = {
29876 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29877 };
29878
29879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29881 if (SWIG_arg_fail(1)) SWIG_fail;
29882 {
29883 arg2 = wxString_in_helper(obj1);
29884 if (arg2 == NULL) SWIG_fail;
29885 temp2 = true;
29886 }
29887 if (obj2) {
29888 {
29889 arg3 = (int)(SWIG_As_int(obj2));
29890 if (SWIG_arg_fail(3)) SWIG_fail;
29891 }
29892 }
29893 if (obj3) {
29894 {
29895 arg4 = (int)(SWIG_As_int(obj3));
29896 if (SWIG_arg_fail(4)) SWIG_fail;
29897 }
29898 }
29899 if (obj4) {
29900 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29901 if (SWIG_arg_fail(5)) SWIG_fail;
29902 }
29903 {
29904 PyThreadState* __tstate = wxPyBeginAllowThreads();
29905 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29906
29907 wxPyEndAllowThreads(__tstate);
29908 if (PyErr_Occurred()) SWIG_fail;
29909 }
29910 {
29911 wxTreeItemId * resultptr;
29912 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29913 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29914 }
29915 {
29916 if (temp2)
29917 delete arg2;
29918 }
29919 return resultobj;
29920 fail:
29921 {
29922 if (temp2)
29923 delete arg2;
29924 }
29925 return NULL;
29926 }
29927
29928
29929 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
29930 PyObject *resultobj;
29931 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29932 wxTreeItemId *arg2 = 0 ;
29933 wxString *arg3 = 0 ;
29934 int arg4 = (int) -1 ;
29935 int arg5 = (int) -1 ;
29936 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29937 wxTreeItemId result;
29938 bool temp3 = false ;
29939 PyObject * obj0 = 0 ;
29940 PyObject * obj1 = 0 ;
29941 PyObject * obj2 = 0 ;
29942 PyObject * obj3 = 0 ;
29943 PyObject * obj4 = 0 ;
29944 PyObject * obj5 = 0 ;
29945 char *kwnames[] = {
29946 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29947 };
29948
29949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29951 if (SWIG_arg_fail(1)) SWIG_fail;
29952 {
29953 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29954 if (SWIG_arg_fail(2)) SWIG_fail;
29955 if (arg2 == NULL) {
29956 SWIG_null_ref("wxTreeItemId");
29957 }
29958 if (SWIG_arg_fail(2)) SWIG_fail;
29959 }
29960 {
29961 arg3 = wxString_in_helper(obj2);
29962 if (arg3 == NULL) SWIG_fail;
29963 temp3 = true;
29964 }
29965 if (obj3) {
29966 {
29967 arg4 = (int)(SWIG_As_int(obj3));
29968 if (SWIG_arg_fail(4)) SWIG_fail;
29969 }
29970 }
29971 if (obj4) {
29972 {
29973 arg5 = (int)(SWIG_As_int(obj4));
29974 if (SWIG_arg_fail(5)) SWIG_fail;
29975 }
29976 }
29977 if (obj5) {
29978 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29979 if (SWIG_arg_fail(6)) SWIG_fail;
29980 }
29981 {
29982 PyThreadState* __tstate = wxPyBeginAllowThreads();
29983 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
29984
29985 wxPyEndAllowThreads(__tstate);
29986 if (PyErr_Occurred()) SWIG_fail;
29987 }
29988 {
29989 wxTreeItemId * resultptr;
29990 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29991 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29992 }
29993 {
29994 if (temp3)
29995 delete arg3;
29996 }
29997 return resultobj;
29998 fail:
29999 {
30000 if (temp3)
30001 delete arg3;
30002 }
30003 return NULL;
30004 }
30005
30006
30007 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
30008 PyObject *resultobj;
30009 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30010 wxTreeItemId *arg2 = 0 ;
30011 wxTreeItemId *arg3 = 0 ;
30012 wxString *arg4 = 0 ;
30013 int arg5 = (int) -1 ;
30014 int arg6 = (int) -1 ;
30015 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30016 wxTreeItemId result;
30017 bool temp4 = false ;
30018 PyObject * obj0 = 0 ;
30019 PyObject * obj1 = 0 ;
30020 PyObject * obj2 = 0 ;
30021 PyObject * obj3 = 0 ;
30022 PyObject * obj4 = 0 ;
30023 PyObject * obj5 = 0 ;
30024 PyObject * obj6 = 0 ;
30025 char *kwnames[] = {
30026 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30027 };
30028
30029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30031 if (SWIG_arg_fail(1)) SWIG_fail;
30032 {
30033 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30034 if (SWIG_arg_fail(2)) SWIG_fail;
30035 if (arg2 == NULL) {
30036 SWIG_null_ref("wxTreeItemId");
30037 }
30038 if (SWIG_arg_fail(2)) SWIG_fail;
30039 }
30040 {
30041 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30042 if (SWIG_arg_fail(3)) SWIG_fail;
30043 if (arg3 == NULL) {
30044 SWIG_null_ref("wxTreeItemId");
30045 }
30046 if (SWIG_arg_fail(3)) SWIG_fail;
30047 }
30048 {
30049 arg4 = wxString_in_helper(obj3);
30050 if (arg4 == NULL) SWIG_fail;
30051 temp4 = true;
30052 }
30053 if (obj4) {
30054 {
30055 arg5 = (int)(SWIG_As_int(obj4));
30056 if (SWIG_arg_fail(5)) SWIG_fail;
30057 }
30058 }
30059 if (obj5) {
30060 {
30061 arg6 = (int)(SWIG_As_int(obj5));
30062 if (SWIG_arg_fail(6)) SWIG_fail;
30063 }
30064 }
30065 if (obj6) {
30066 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30067 if (SWIG_arg_fail(7)) SWIG_fail;
30068 }
30069 {
30070 PyThreadState* __tstate = wxPyBeginAllowThreads();
30071 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30072
30073 wxPyEndAllowThreads(__tstate);
30074 if (PyErr_Occurred()) SWIG_fail;
30075 }
30076 {
30077 wxTreeItemId * resultptr;
30078 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30079 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30080 }
30081 {
30082 if (temp4)
30083 delete arg4;
30084 }
30085 return resultobj;
30086 fail:
30087 {
30088 if (temp4)
30089 delete arg4;
30090 }
30091 return NULL;
30092 }
30093
30094
30095 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
30096 PyObject *resultobj;
30097 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30098 wxTreeItemId *arg2 = 0 ;
30099 size_t arg3 ;
30100 wxString *arg4 = 0 ;
30101 int arg5 = (int) -1 ;
30102 int arg6 = (int) -1 ;
30103 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30104 wxTreeItemId result;
30105 bool temp4 = false ;
30106 PyObject * obj0 = 0 ;
30107 PyObject * obj1 = 0 ;
30108 PyObject * obj2 = 0 ;
30109 PyObject * obj3 = 0 ;
30110 PyObject * obj4 = 0 ;
30111 PyObject * obj5 = 0 ;
30112 PyObject * obj6 = 0 ;
30113 char *kwnames[] = {
30114 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30115 };
30116
30117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30119 if (SWIG_arg_fail(1)) SWIG_fail;
30120 {
30121 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30122 if (SWIG_arg_fail(2)) SWIG_fail;
30123 if (arg2 == NULL) {
30124 SWIG_null_ref("wxTreeItemId");
30125 }
30126 if (SWIG_arg_fail(2)) SWIG_fail;
30127 }
30128 {
30129 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30130 if (SWIG_arg_fail(3)) SWIG_fail;
30131 }
30132 {
30133 arg4 = wxString_in_helper(obj3);
30134 if (arg4 == NULL) SWIG_fail;
30135 temp4 = true;
30136 }
30137 if (obj4) {
30138 {
30139 arg5 = (int)(SWIG_As_int(obj4));
30140 if (SWIG_arg_fail(5)) SWIG_fail;
30141 }
30142 }
30143 if (obj5) {
30144 {
30145 arg6 = (int)(SWIG_As_int(obj5));
30146 if (SWIG_arg_fail(6)) SWIG_fail;
30147 }
30148 }
30149 if (obj6) {
30150 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30151 if (SWIG_arg_fail(7)) SWIG_fail;
30152 }
30153 {
30154 PyThreadState* __tstate = wxPyBeginAllowThreads();
30155 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30156
30157 wxPyEndAllowThreads(__tstate);
30158 if (PyErr_Occurred()) SWIG_fail;
30159 }
30160 {
30161 wxTreeItemId * resultptr;
30162 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30163 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30164 }
30165 {
30166 if (temp4)
30167 delete arg4;
30168 }
30169 return resultobj;
30170 fail:
30171 {
30172 if (temp4)
30173 delete arg4;
30174 }
30175 return NULL;
30176 }
30177
30178
30179 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30180 PyObject *resultobj;
30181 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30182 wxTreeItemId *arg2 = 0 ;
30183 wxString *arg3 = 0 ;
30184 int arg4 = (int) -1 ;
30185 int arg5 = (int) -1 ;
30186 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30187 wxTreeItemId result;
30188 bool temp3 = false ;
30189 PyObject * obj0 = 0 ;
30190 PyObject * obj1 = 0 ;
30191 PyObject * obj2 = 0 ;
30192 PyObject * obj3 = 0 ;
30193 PyObject * obj4 = 0 ;
30194 PyObject * obj5 = 0 ;
30195 char *kwnames[] = {
30196 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30197 };
30198
30199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30201 if (SWIG_arg_fail(1)) SWIG_fail;
30202 {
30203 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30204 if (SWIG_arg_fail(2)) SWIG_fail;
30205 if (arg2 == NULL) {
30206 SWIG_null_ref("wxTreeItemId");
30207 }
30208 if (SWIG_arg_fail(2)) SWIG_fail;
30209 }
30210 {
30211 arg3 = wxString_in_helper(obj2);
30212 if (arg3 == NULL) SWIG_fail;
30213 temp3 = true;
30214 }
30215 if (obj3) {
30216 {
30217 arg4 = (int)(SWIG_As_int(obj3));
30218 if (SWIG_arg_fail(4)) SWIG_fail;
30219 }
30220 }
30221 if (obj4) {
30222 {
30223 arg5 = (int)(SWIG_As_int(obj4));
30224 if (SWIG_arg_fail(5)) SWIG_fail;
30225 }
30226 }
30227 if (obj5) {
30228 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30229 if (SWIG_arg_fail(6)) SWIG_fail;
30230 }
30231 {
30232 PyThreadState* __tstate = wxPyBeginAllowThreads();
30233 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30234
30235 wxPyEndAllowThreads(__tstate);
30236 if (PyErr_Occurred()) SWIG_fail;
30237 }
30238 {
30239 wxTreeItemId * resultptr;
30240 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30241 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30242 }
30243 {
30244 if (temp3)
30245 delete arg3;
30246 }
30247 return resultobj;
30248 fail:
30249 {
30250 if (temp3)
30251 delete arg3;
30252 }
30253 return NULL;
30254 }
30255
30256
30257 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30258 PyObject *resultobj;
30259 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30260 wxTreeItemId *arg2 = 0 ;
30261 PyObject * obj0 = 0 ;
30262 PyObject * obj1 = 0 ;
30263 char *kwnames[] = {
30264 (char *) "self",(char *) "item", NULL
30265 };
30266
30267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30269 if (SWIG_arg_fail(1)) SWIG_fail;
30270 {
30271 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30272 if (SWIG_arg_fail(2)) SWIG_fail;
30273 if (arg2 == NULL) {
30274 SWIG_null_ref("wxTreeItemId");
30275 }
30276 if (SWIG_arg_fail(2)) SWIG_fail;
30277 }
30278 {
30279 PyThreadState* __tstate = wxPyBeginAllowThreads();
30280 (arg1)->Delete((wxTreeItemId const &)*arg2);
30281
30282 wxPyEndAllowThreads(__tstate);
30283 if (PyErr_Occurred()) SWIG_fail;
30284 }
30285 Py_INCREF(Py_None); resultobj = Py_None;
30286 return resultobj;
30287 fail:
30288 return NULL;
30289 }
30290
30291
30292 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30293 PyObject *resultobj;
30294 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30295 wxTreeItemId *arg2 = 0 ;
30296 PyObject * obj0 = 0 ;
30297 PyObject * obj1 = 0 ;
30298 char *kwnames[] = {
30299 (char *) "self",(char *) "item", NULL
30300 };
30301
30302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30304 if (SWIG_arg_fail(1)) SWIG_fail;
30305 {
30306 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30307 if (SWIG_arg_fail(2)) SWIG_fail;
30308 if (arg2 == NULL) {
30309 SWIG_null_ref("wxTreeItemId");
30310 }
30311 if (SWIG_arg_fail(2)) SWIG_fail;
30312 }
30313 {
30314 PyThreadState* __tstate = wxPyBeginAllowThreads();
30315 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30316
30317 wxPyEndAllowThreads(__tstate);
30318 if (PyErr_Occurred()) SWIG_fail;
30319 }
30320 Py_INCREF(Py_None); resultobj = Py_None;
30321 return resultobj;
30322 fail:
30323 return NULL;
30324 }
30325
30326
30327 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30328 PyObject *resultobj;
30329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30330 PyObject * obj0 = 0 ;
30331 char *kwnames[] = {
30332 (char *) "self", NULL
30333 };
30334
30335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30337 if (SWIG_arg_fail(1)) SWIG_fail;
30338 {
30339 PyThreadState* __tstate = wxPyBeginAllowThreads();
30340 (arg1)->DeleteAllItems();
30341
30342 wxPyEndAllowThreads(__tstate);
30343 if (PyErr_Occurred()) SWIG_fail;
30344 }
30345 Py_INCREF(Py_None); resultobj = Py_None;
30346 return resultobj;
30347 fail:
30348 return NULL;
30349 }
30350
30351
30352 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30353 PyObject *resultobj;
30354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30355 wxTreeItemId *arg2 = 0 ;
30356 PyObject * obj0 = 0 ;
30357 PyObject * obj1 = 0 ;
30358 char *kwnames[] = {
30359 (char *) "self",(char *) "item", NULL
30360 };
30361
30362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30364 if (SWIG_arg_fail(1)) SWIG_fail;
30365 {
30366 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30367 if (SWIG_arg_fail(2)) SWIG_fail;
30368 if (arg2 == NULL) {
30369 SWIG_null_ref("wxTreeItemId");
30370 }
30371 if (SWIG_arg_fail(2)) SWIG_fail;
30372 }
30373 {
30374 PyThreadState* __tstate = wxPyBeginAllowThreads();
30375 (arg1)->Expand((wxTreeItemId const &)*arg2);
30376
30377 wxPyEndAllowThreads(__tstate);
30378 if (PyErr_Occurred()) SWIG_fail;
30379 }
30380 Py_INCREF(Py_None); resultobj = Py_None;
30381 return resultobj;
30382 fail:
30383 return NULL;
30384 }
30385
30386
30387 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30388 PyObject *resultobj;
30389 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30390 wxTreeItemId *arg2 = 0 ;
30391 PyObject * obj0 = 0 ;
30392 PyObject * obj1 = 0 ;
30393 char *kwnames[] = {
30394 (char *) "self",(char *) "item", NULL
30395 };
30396
30397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30399 if (SWIG_arg_fail(1)) SWIG_fail;
30400 {
30401 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30402 if (SWIG_arg_fail(2)) SWIG_fail;
30403 if (arg2 == NULL) {
30404 SWIG_null_ref("wxTreeItemId");
30405 }
30406 if (SWIG_arg_fail(2)) SWIG_fail;
30407 }
30408 {
30409 PyThreadState* __tstate = wxPyBeginAllowThreads();
30410 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30411
30412 wxPyEndAllowThreads(__tstate);
30413 if (PyErr_Occurred()) SWIG_fail;
30414 }
30415 Py_INCREF(Py_None); resultobj = Py_None;
30416 return resultobj;
30417 fail:
30418 return NULL;
30419 }
30420
30421
30422 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30423 PyObject *resultobj;
30424 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30425 wxTreeItemId *arg2 = 0 ;
30426 PyObject * obj0 = 0 ;
30427 PyObject * obj1 = 0 ;
30428 char *kwnames[] = {
30429 (char *) "self",(char *) "item", NULL
30430 };
30431
30432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30434 if (SWIG_arg_fail(1)) SWIG_fail;
30435 {
30436 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30437 if (SWIG_arg_fail(2)) SWIG_fail;
30438 if (arg2 == NULL) {
30439 SWIG_null_ref("wxTreeItemId");
30440 }
30441 if (SWIG_arg_fail(2)) SWIG_fail;
30442 }
30443 {
30444 PyThreadState* __tstate = wxPyBeginAllowThreads();
30445 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30446
30447 wxPyEndAllowThreads(__tstate);
30448 if (PyErr_Occurred()) SWIG_fail;
30449 }
30450 Py_INCREF(Py_None); resultobj = Py_None;
30451 return resultobj;
30452 fail:
30453 return NULL;
30454 }
30455
30456
30457 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30458 PyObject *resultobj;
30459 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30460 wxTreeItemId *arg2 = 0 ;
30461 PyObject * obj0 = 0 ;
30462 PyObject * obj1 = 0 ;
30463 char *kwnames[] = {
30464 (char *) "self",(char *) "item", NULL
30465 };
30466
30467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30469 if (SWIG_arg_fail(1)) SWIG_fail;
30470 {
30471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30472 if (SWIG_arg_fail(2)) SWIG_fail;
30473 if (arg2 == NULL) {
30474 SWIG_null_ref("wxTreeItemId");
30475 }
30476 if (SWIG_arg_fail(2)) SWIG_fail;
30477 }
30478 {
30479 PyThreadState* __tstate = wxPyBeginAllowThreads();
30480 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30481
30482 wxPyEndAllowThreads(__tstate);
30483 if (PyErr_Occurred()) SWIG_fail;
30484 }
30485 Py_INCREF(Py_None); resultobj = Py_None;
30486 return resultobj;
30487 fail:
30488 return NULL;
30489 }
30490
30491
30492 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30493 PyObject *resultobj;
30494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30495 PyObject * obj0 = 0 ;
30496 char *kwnames[] = {
30497 (char *) "self", NULL
30498 };
30499
30500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30502 if (SWIG_arg_fail(1)) SWIG_fail;
30503 {
30504 PyThreadState* __tstate = wxPyBeginAllowThreads();
30505 (arg1)->Unselect();
30506
30507 wxPyEndAllowThreads(__tstate);
30508 if (PyErr_Occurred()) SWIG_fail;
30509 }
30510 Py_INCREF(Py_None); resultobj = Py_None;
30511 return resultobj;
30512 fail:
30513 return NULL;
30514 }
30515
30516
30517 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30518 PyObject *resultobj;
30519 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30520 wxTreeItemId *arg2 = 0 ;
30521 PyObject * obj0 = 0 ;
30522 PyObject * obj1 = 0 ;
30523 char *kwnames[] = {
30524 (char *) "self",(char *) "item", NULL
30525 };
30526
30527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30529 if (SWIG_arg_fail(1)) SWIG_fail;
30530 {
30531 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30532 if (SWIG_arg_fail(2)) SWIG_fail;
30533 if (arg2 == NULL) {
30534 SWIG_null_ref("wxTreeItemId");
30535 }
30536 if (SWIG_arg_fail(2)) SWIG_fail;
30537 }
30538 {
30539 PyThreadState* __tstate = wxPyBeginAllowThreads();
30540 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30541
30542 wxPyEndAllowThreads(__tstate);
30543 if (PyErr_Occurred()) SWIG_fail;
30544 }
30545 Py_INCREF(Py_None); resultobj = Py_None;
30546 return resultobj;
30547 fail:
30548 return NULL;
30549 }
30550
30551
30552 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30553 PyObject *resultobj;
30554 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30555 PyObject * obj0 = 0 ;
30556 char *kwnames[] = {
30557 (char *) "self", NULL
30558 };
30559
30560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30562 if (SWIG_arg_fail(1)) SWIG_fail;
30563 {
30564 PyThreadState* __tstate = wxPyBeginAllowThreads();
30565 (arg1)->UnselectAll();
30566
30567 wxPyEndAllowThreads(__tstate);
30568 if (PyErr_Occurred()) SWIG_fail;
30569 }
30570 Py_INCREF(Py_None); resultobj = Py_None;
30571 return resultobj;
30572 fail:
30573 return NULL;
30574 }
30575
30576
30577 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30578 PyObject *resultobj;
30579 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30580 wxTreeItemId *arg2 = 0 ;
30581 bool arg3 = (bool) true ;
30582 PyObject * obj0 = 0 ;
30583 PyObject * obj1 = 0 ;
30584 PyObject * obj2 = 0 ;
30585 char *kwnames[] = {
30586 (char *) "self",(char *) "item",(char *) "select", NULL
30587 };
30588
30589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30591 if (SWIG_arg_fail(1)) SWIG_fail;
30592 {
30593 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30594 if (SWIG_arg_fail(2)) SWIG_fail;
30595 if (arg2 == NULL) {
30596 SWIG_null_ref("wxTreeItemId");
30597 }
30598 if (SWIG_arg_fail(2)) SWIG_fail;
30599 }
30600 if (obj2) {
30601 {
30602 arg3 = (bool)(SWIG_As_bool(obj2));
30603 if (SWIG_arg_fail(3)) SWIG_fail;
30604 }
30605 }
30606 {
30607 PyThreadState* __tstate = wxPyBeginAllowThreads();
30608 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30609
30610 wxPyEndAllowThreads(__tstate);
30611 if (PyErr_Occurred()) SWIG_fail;
30612 }
30613 Py_INCREF(Py_None); resultobj = Py_None;
30614 return resultobj;
30615 fail:
30616 return NULL;
30617 }
30618
30619
30620 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30621 PyObject *resultobj;
30622 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30623 wxTreeItemId *arg2 = 0 ;
30624 PyObject * obj0 = 0 ;
30625 PyObject * obj1 = 0 ;
30626 char *kwnames[] = {
30627 (char *) "self",(char *) "item", NULL
30628 };
30629
30630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30632 if (SWIG_arg_fail(1)) SWIG_fail;
30633 {
30634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30635 if (SWIG_arg_fail(2)) SWIG_fail;
30636 if (arg2 == NULL) {
30637 SWIG_null_ref("wxTreeItemId");
30638 }
30639 if (SWIG_arg_fail(2)) SWIG_fail;
30640 }
30641 {
30642 PyThreadState* __tstate = wxPyBeginAllowThreads();
30643 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30644
30645 wxPyEndAllowThreads(__tstate);
30646 if (PyErr_Occurred()) SWIG_fail;
30647 }
30648 Py_INCREF(Py_None); resultobj = Py_None;
30649 return resultobj;
30650 fail:
30651 return NULL;
30652 }
30653
30654
30655 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30656 PyObject *resultobj;
30657 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30658 wxTreeItemId *arg2 = 0 ;
30659 PyObject * obj0 = 0 ;
30660 PyObject * obj1 = 0 ;
30661 char *kwnames[] = {
30662 (char *) "self",(char *) "item", NULL
30663 };
30664
30665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
30666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30667 if (SWIG_arg_fail(1)) SWIG_fail;
30668 {
30669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30670 if (SWIG_arg_fail(2)) SWIG_fail;
30671 if (arg2 == NULL) {
30672 SWIG_null_ref("wxTreeItemId");
30673 }
30674 if (SWIG_arg_fail(2)) SWIG_fail;
30675 }
30676 {
30677 PyThreadState* __tstate = wxPyBeginAllowThreads();
30678 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30679
30680 wxPyEndAllowThreads(__tstate);
30681 if (PyErr_Occurred()) SWIG_fail;
30682 }
30683 Py_INCREF(Py_None); resultobj = Py_None;
30684 return resultobj;
30685 fail:
30686 return NULL;
30687 }
30688
30689
30690 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30691 PyObject *resultobj;
30692 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30693 wxTreeItemId *arg2 = 0 ;
30694 PyObject * obj0 = 0 ;
30695 PyObject * obj1 = 0 ;
30696 char *kwnames[] = {
30697 (char *) "self",(char *) "item", NULL
30698 };
30699
30700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30702 if (SWIG_arg_fail(1)) SWIG_fail;
30703 {
30704 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30705 if (SWIG_arg_fail(2)) SWIG_fail;
30706 if (arg2 == NULL) {
30707 SWIG_null_ref("wxTreeItemId");
30708 }
30709 if (SWIG_arg_fail(2)) SWIG_fail;
30710 }
30711 {
30712 PyThreadState* __tstate = wxPyBeginAllowThreads();
30713 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30714
30715 wxPyEndAllowThreads(__tstate);
30716 if (PyErr_Occurred()) SWIG_fail;
30717 }
30718 Py_INCREF(Py_None); resultobj = Py_None;
30719 return resultobj;
30720 fail:
30721 return NULL;
30722 }
30723
30724
30725 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30726 PyObject *resultobj;
30727 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30728 wxTreeItemId *arg2 = 0 ;
30729 PyObject * obj0 = 0 ;
30730 PyObject * obj1 = 0 ;
30731 char *kwnames[] = {
30732 (char *) "self",(char *) "item", NULL
30733 };
30734
30735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30737 if (SWIG_arg_fail(1)) SWIG_fail;
30738 {
30739 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30740 if (SWIG_arg_fail(2)) SWIG_fail;
30741 if (arg2 == NULL) {
30742 SWIG_null_ref("wxTreeItemId");
30743 }
30744 if (SWIG_arg_fail(2)) SWIG_fail;
30745 }
30746 {
30747 PyThreadState* __tstate = wxPyBeginAllowThreads();
30748 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30749
30750 wxPyEndAllowThreads(__tstate);
30751 if (PyErr_Occurred()) SWIG_fail;
30752 }
30753 Py_INCREF(Py_None); resultobj = Py_None;
30754 return resultobj;
30755 fail:
30756 return NULL;
30757 }
30758
30759
30760 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30761 PyObject *resultobj;
30762 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30763 wxTextCtrl *result;
30764 PyObject * obj0 = 0 ;
30765 char *kwnames[] = {
30766 (char *) "self", NULL
30767 };
30768
30769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30771 if (SWIG_arg_fail(1)) SWIG_fail;
30772 {
30773 PyThreadState* __tstate = wxPyBeginAllowThreads();
30774 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30775
30776 wxPyEndAllowThreads(__tstate);
30777 if (PyErr_Occurred()) SWIG_fail;
30778 }
30779 {
30780 resultobj = wxPyMake_wxObject(result, 0);
30781 }
30782 return resultobj;
30783 fail:
30784 return NULL;
30785 }
30786
30787
30788 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30789 PyObject *resultobj;
30790 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30791 wxTreeItemId *arg2 = 0 ;
30792 PyObject * obj0 = 0 ;
30793 PyObject * obj1 = 0 ;
30794 char *kwnames[] = {
30795 (char *) "self",(char *) "item", NULL
30796 };
30797
30798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
30799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30800 if (SWIG_arg_fail(1)) SWIG_fail;
30801 {
30802 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30803 if (SWIG_arg_fail(2)) SWIG_fail;
30804 if (arg2 == NULL) {
30805 SWIG_null_ref("wxTreeItemId");
30806 }
30807 if (SWIG_arg_fail(2)) SWIG_fail;
30808 }
30809 {
30810 PyThreadState* __tstate = wxPyBeginAllowThreads();
30811 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30812
30813 wxPyEndAllowThreads(__tstate);
30814 if (PyErr_Occurred()) SWIG_fail;
30815 }
30816 Py_INCREF(Py_None); resultobj = Py_None;
30817 return resultobj;
30818 fail:
30819 return NULL;
30820 }
30821
30822
30823 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
30824 PyObject *resultobj;
30825 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30826 wxPoint *arg2 = 0 ;
30827 int *arg3 = 0 ;
30828 wxTreeItemId result;
30829 wxPoint temp2 ;
30830 int temp3 ;
30831 int res3 = 0 ;
30832 PyObject * obj0 = 0 ;
30833 PyObject * obj1 = 0 ;
30834 char *kwnames[] = {
30835 (char *) "self",(char *) "point", NULL
30836 };
30837
30838 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
30840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30841 if (SWIG_arg_fail(1)) SWIG_fail;
30842 {
30843 arg2 = &temp2;
30844 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30845 }
30846 {
30847 PyThreadState* __tstate = wxPyBeginAllowThreads();
30848 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30849
30850 wxPyEndAllowThreads(__tstate);
30851 if (PyErr_Occurred()) SWIG_fail;
30852 }
30853 {
30854 wxTreeItemId * resultptr;
30855 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30856 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30857 }
30858 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30859 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30860 return resultobj;
30861 fail:
30862 return NULL;
30863 }
30864
30865
30866 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
30867 PyObject *resultobj;
30868 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30869 wxTreeItemId *arg2 = 0 ;
30870 bool arg3 = (bool) false ;
30871 PyObject *result;
30872 PyObject * obj0 = 0 ;
30873 PyObject * obj1 = 0 ;
30874 PyObject * obj2 = 0 ;
30875 char *kwnames[] = {
30876 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30877 };
30878
30879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
30880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30881 if (SWIG_arg_fail(1)) SWIG_fail;
30882 {
30883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30884 if (SWIG_arg_fail(2)) SWIG_fail;
30885 if (arg2 == NULL) {
30886 SWIG_null_ref("wxTreeItemId");
30887 }
30888 if (SWIG_arg_fail(2)) SWIG_fail;
30889 }
30890 if (obj2) {
30891 {
30892 arg3 = (bool)(SWIG_As_bool(obj2));
30893 if (SWIG_arg_fail(3)) SWIG_fail;
30894 }
30895 }
30896 {
30897 PyThreadState* __tstate = wxPyBeginAllowThreads();
30898 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30899
30900 wxPyEndAllowThreads(__tstate);
30901 if (PyErr_Occurred()) SWIG_fail;
30902 }
30903 resultobj = result;
30904 return resultobj;
30905 fail:
30906 return NULL;
30907 }
30908
30909
30910 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30911 PyObject *resultobj;
30912 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
30913 wxVisualAttributes result;
30914 PyObject * obj0 = 0 ;
30915 char *kwnames[] = {
30916 (char *) "variant", NULL
30917 };
30918
30919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30920 if (obj0) {
30921 {
30922 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30923 if (SWIG_arg_fail(1)) SWIG_fail;
30924 }
30925 }
30926 {
30927 if (!wxPyCheckForApp()) SWIG_fail;
30928 PyThreadState* __tstate = wxPyBeginAllowThreads();
30929 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30930
30931 wxPyEndAllowThreads(__tstate);
30932 if (PyErr_Occurred()) SWIG_fail;
30933 }
30934 {
30935 wxVisualAttributes * resultptr;
30936 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
30937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30938 }
30939 return resultobj;
30940 fail:
30941 return NULL;
30942 }
30943
30944
30945 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
30946 PyObject *obj;
30947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30948 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30949 Py_INCREF(obj);
30950 return Py_BuildValue((char *)"");
30951 }
30952 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
30953 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30954 return 1;
30955 }
30956
30957
30958 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
30959 PyObject *pyobj;
30960
30961 {
30962 #if wxUSE_UNICODE
30963 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30964 #else
30965 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30966 #endif
30967 }
30968 return pyobj;
30969 }
30970
30971
30972 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
30973 PyObject *resultobj;
30974 wxWindow *arg1 = (wxWindow *) 0 ;
30975 int arg2 = (int) (int)-1 ;
30976 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30977 wxString *arg3 = (wxString *) &arg3_defvalue ;
30978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30980 wxSize const &arg5_defvalue = wxDefaultSize ;
30981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30982 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
30983 wxString const &arg7_defvalue = wxPyEmptyString ;
30984 wxString *arg7 = (wxString *) &arg7_defvalue ;
30985 int arg8 = (int) 0 ;
30986 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
30987 wxString *arg9 = (wxString *) &arg9_defvalue ;
30988 wxGenericDirCtrl *result;
30989 bool temp3 = false ;
30990 wxPoint temp4 ;
30991 wxSize temp5 ;
30992 bool temp7 = false ;
30993 bool temp9 = false ;
30994 PyObject * obj0 = 0 ;
30995 PyObject * obj1 = 0 ;
30996 PyObject * obj2 = 0 ;
30997 PyObject * obj3 = 0 ;
30998 PyObject * obj4 = 0 ;
30999 PyObject * obj5 = 0 ;
31000 PyObject * obj6 = 0 ;
31001 PyObject * obj7 = 0 ;
31002 PyObject * obj8 = 0 ;
31003 char *kwnames[] = {
31004 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31005 };
31006
31007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
31008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31009 if (SWIG_arg_fail(1)) SWIG_fail;
31010 if (obj1) {
31011 {
31012 arg2 = (int const)(SWIG_As_int(obj1));
31013 if (SWIG_arg_fail(2)) SWIG_fail;
31014 }
31015 }
31016 if (obj2) {
31017 {
31018 arg3 = wxString_in_helper(obj2);
31019 if (arg3 == NULL) SWIG_fail;
31020 temp3 = true;
31021 }
31022 }
31023 if (obj3) {
31024 {
31025 arg4 = &temp4;
31026 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31027 }
31028 }
31029 if (obj4) {
31030 {
31031 arg5 = &temp5;
31032 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31033 }
31034 }
31035 if (obj5) {
31036 {
31037 arg6 = (long)(SWIG_As_long(obj5));
31038 if (SWIG_arg_fail(6)) SWIG_fail;
31039 }
31040 }
31041 if (obj6) {
31042 {
31043 arg7 = wxString_in_helper(obj6);
31044 if (arg7 == NULL) SWIG_fail;
31045 temp7 = true;
31046 }
31047 }
31048 if (obj7) {
31049 {
31050 arg8 = (int)(SWIG_As_int(obj7));
31051 if (SWIG_arg_fail(8)) SWIG_fail;
31052 }
31053 }
31054 if (obj8) {
31055 {
31056 arg9 = wxString_in_helper(obj8);
31057 if (arg9 == NULL) SWIG_fail;
31058 temp9 = true;
31059 }
31060 }
31061 {
31062 if (!wxPyCheckForApp()) SWIG_fail;
31063 PyThreadState* __tstate = wxPyBeginAllowThreads();
31064 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31065
31066 wxPyEndAllowThreads(__tstate);
31067 if (PyErr_Occurred()) SWIG_fail;
31068 }
31069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31070 {
31071 if (temp3)
31072 delete arg3;
31073 }
31074 {
31075 if (temp7)
31076 delete arg7;
31077 }
31078 {
31079 if (temp9)
31080 delete arg9;
31081 }
31082 return resultobj;
31083 fail:
31084 {
31085 if (temp3)
31086 delete arg3;
31087 }
31088 {
31089 if (temp7)
31090 delete arg7;
31091 }
31092 {
31093 if (temp9)
31094 delete arg9;
31095 }
31096 return NULL;
31097 }
31098
31099
31100 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31101 PyObject *resultobj;
31102 wxGenericDirCtrl *result;
31103 char *kwnames[] = {
31104 NULL
31105 };
31106
31107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31108 {
31109 if (!wxPyCheckForApp()) SWIG_fail;
31110 PyThreadState* __tstate = wxPyBeginAllowThreads();
31111 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31112
31113 wxPyEndAllowThreads(__tstate);
31114 if (PyErr_Occurred()) SWIG_fail;
31115 }
31116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31117 return resultobj;
31118 fail:
31119 return NULL;
31120 }
31121
31122
31123 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31124 PyObject *resultobj;
31125 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31126 wxWindow *arg2 = (wxWindow *) 0 ;
31127 int arg3 = (int) (int)-1 ;
31128 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31129 wxString *arg4 = (wxString *) &arg4_defvalue ;
31130 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31131 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31132 wxSize const &arg6_defvalue = wxDefaultSize ;
31133 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31134 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31135 wxString const &arg8_defvalue = wxPyEmptyString ;
31136 wxString *arg8 = (wxString *) &arg8_defvalue ;
31137 int arg9 = (int) 0 ;
31138 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31139 wxString *arg10 = (wxString *) &arg10_defvalue ;
31140 bool result;
31141 bool temp4 = false ;
31142 wxPoint temp5 ;
31143 wxSize temp6 ;
31144 bool temp8 = false ;
31145 bool temp10 = false ;
31146 PyObject * obj0 = 0 ;
31147 PyObject * obj1 = 0 ;
31148 PyObject * obj2 = 0 ;
31149 PyObject * obj3 = 0 ;
31150 PyObject * obj4 = 0 ;
31151 PyObject * obj5 = 0 ;
31152 PyObject * obj6 = 0 ;
31153 PyObject * obj7 = 0 ;
31154 PyObject * obj8 = 0 ;
31155 PyObject * obj9 = 0 ;
31156 char *kwnames[] = {
31157 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31158 };
31159
31160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31162 if (SWIG_arg_fail(1)) SWIG_fail;
31163 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31164 if (SWIG_arg_fail(2)) SWIG_fail;
31165 if (obj2) {
31166 {
31167 arg3 = (int const)(SWIG_As_int(obj2));
31168 if (SWIG_arg_fail(3)) SWIG_fail;
31169 }
31170 }
31171 if (obj3) {
31172 {
31173 arg4 = wxString_in_helper(obj3);
31174 if (arg4 == NULL) SWIG_fail;
31175 temp4 = true;
31176 }
31177 }
31178 if (obj4) {
31179 {
31180 arg5 = &temp5;
31181 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31182 }
31183 }
31184 if (obj5) {
31185 {
31186 arg6 = &temp6;
31187 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31188 }
31189 }
31190 if (obj6) {
31191 {
31192 arg7 = (long)(SWIG_As_long(obj6));
31193 if (SWIG_arg_fail(7)) SWIG_fail;
31194 }
31195 }
31196 if (obj7) {
31197 {
31198 arg8 = wxString_in_helper(obj7);
31199 if (arg8 == NULL) SWIG_fail;
31200 temp8 = true;
31201 }
31202 }
31203 if (obj8) {
31204 {
31205 arg9 = (int)(SWIG_As_int(obj8));
31206 if (SWIG_arg_fail(9)) SWIG_fail;
31207 }
31208 }
31209 if (obj9) {
31210 {
31211 arg10 = wxString_in_helper(obj9);
31212 if (arg10 == NULL) SWIG_fail;
31213 temp10 = true;
31214 }
31215 }
31216 {
31217 PyThreadState* __tstate = wxPyBeginAllowThreads();
31218 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31219
31220 wxPyEndAllowThreads(__tstate);
31221 if (PyErr_Occurred()) SWIG_fail;
31222 }
31223 {
31224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31225 }
31226 {
31227 if (temp4)
31228 delete arg4;
31229 }
31230 {
31231 if (temp8)
31232 delete arg8;
31233 }
31234 {
31235 if (temp10)
31236 delete arg10;
31237 }
31238 return resultobj;
31239 fail:
31240 {
31241 if (temp4)
31242 delete arg4;
31243 }
31244 {
31245 if (temp8)
31246 delete arg8;
31247 }
31248 {
31249 if (temp10)
31250 delete arg10;
31251 }
31252 return NULL;
31253 }
31254
31255
31256 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31257 PyObject *resultobj;
31258 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31259 wxString *arg2 = 0 ;
31260 bool result;
31261 bool temp2 = false ;
31262 PyObject * obj0 = 0 ;
31263 PyObject * obj1 = 0 ;
31264 char *kwnames[] = {
31265 (char *) "self",(char *) "path", NULL
31266 };
31267
31268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31270 if (SWIG_arg_fail(1)) SWIG_fail;
31271 {
31272 arg2 = wxString_in_helper(obj1);
31273 if (arg2 == NULL) SWIG_fail;
31274 temp2 = true;
31275 }
31276 {
31277 PyThreadState* __tstate = wxPyBeginAllowThreads();
31278 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31279
31280 wxPyEndAllowThreads(__tstate);
31281 if (PyErr_Occurred()) SWIG_fail;
31282 }
31283 {
31284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31285 }
31286 {
31287 if (temp2)
31288 delete arg2;
31289 }
31290 return resultobj;
31291 fail:
31292 {
31293 if (temp2)
31294 delete arg2;
31295 }
31296 return NULL;
31297 }
31298
31299
31300 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31301 PyObject *resultobj;
31302 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31303 wxString result;
31304 PyObject * obj0 = 0 ;
31305 char *kwnames[] = {
31306 (char *) "self", NULL
31307 };
31308
31309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31311 if (SWIG_arg_fail(1)) SWIG_fail;
31312 {
31313 PyThreadState* __tstate = wxPyBeginAllowThreads();
31314 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31315
31316 wxPyEndAllowThreads(__tstate);
31317 if (PyErr_Occurred()) SWIG_fail;
31318 }
31319 {
31320 #if wxUSE_UNICODE
31321 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31322 #else
31323 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31324 #endif
31325 }
31326 return resultobj;
31327 fail:
31328 return NULL;
31329 }
31330
31331
31332 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31333 PyObject *resultobj;
31334 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31335 wxString *arg2 = 0 ;
31336 bool temp2 = false ;
31337 PyObject * obj0 = 0 ;
31338 PyObject * obj1 = 0 ;
31339 char *kwnames[] = {
31340 (char *) "self",(char *) "path", NULL
31341 };
31342
31343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31345 if (SWIG_arg_fail(1)) SWIG_fail;
31346 {
31347 arg2 = wxString_in_helper(obj1);
31348 if (arg2 == NULL) SWIG_fail;
31349 temp2 = true;
31350 }
31351 {
31352 PyThreadState* __tstate = wxPyBeginAllowThreads();
31353 (arg1)->SetDefaultPath((wxString const &)*arg2);
31354
31355 wxPyEndAllowThreads(__tstate);
31356 if (PyErr_Occurred()) SWIG_fail;
31357 }
31358 Py_INCREF(Py_None); resultobj = Py_None;
31359 {
31360 if (temp2)
31361 delete arg2;
31362 }
31363 return resultobj;
31364 fail:
31365 {
31366 if (temp2)
31367 delete arg2;
31368 }
31369 return NULL;
31370 }
31371
31372
31373 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31374 PyObject *resultobj;
31375 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31376 wxString result;
31377 PyObject * obj0 = 0 ;
31378 char *kwnames[] = {
31379 (char *) "self", NULL
31380 };
31381
31382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31384 if (SWIG_arg_fail(1)) SWIG_fail;
31385 {
31386 PyThreadState* __tstate = wxPyBeginAllowThreads();
31387 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31388
31389 wxPyEndAllowThreads(__tstate);
31390 if (PyErr_Occurred()) SWIG_fail;
31391 }
31392 {
31393 #if wxUSE_UNICODE
31394 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31395 #else
31396 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31397 #endif
31398 }
31399 return resultobj;
31400 fail:
31401 return NULL;
31402 }
31403
31404
31405 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31406 PyObject *resultobj;
31407 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31408 wxString result;
31409 PyObject * obj0 = 0 ;
31410 char *kwnames[] = {
31411 (char *) "self", NULL
31412 };
31413
31414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31416 if (SWIG_arg_fail(1)) SWIG_fail;
31417 {
31418 PyThreadState* __tstate = wxPyBeginAllowThreads();
31419 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31420
31421 wxPyEndAllowThreads(__tstate);
31422 if (PyErr_Occurred()) SWIG_fail;
31423 }
31424 {
31425 #if wxUSE_UNICODE
31426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31427 #else
31428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31429 #endif
31430 }
31431 return resultobj;
31432 fail:
31433 return NULL;
31434 }
31435
31436
31437 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31438 PyObject *resultobj;
31439 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31440 wxString *arg2 = 0 ;
31441 bool temp2 = false ;
31442 PyObject * obj0 = 0 ;
31443 PyObject * obj1 = 0 ;
31444 char *kwnames[] = {
31445 (char *) "self",(char *) "path", NULL
31446 };
31447
31448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31450 if (SWIG_arg_fail(1)) SWIG_fail;
31451 {
31452 arg2 = wxString_in_helper(obj1);
31453 if (arg2 == NULL) SWIG_fail;
31454 temp2 = true;
31455 }
31456 {
31457 PyThreadState* __tstate = wxPyBeginAllowThreads();
31458 (arg1)->SetPath((wxString const &)*arg2);
31459
31460 wxPyEndAllowThreads(__tstate);
31461 if (PyErr_Occurred()) SWIG_fail;
31462 }
31463 Py_INCREF(Py_None); resultobj = Py_None;
31464 {
31465 if (temp2)
31466 delete arg2;
31467 }
31468 return resultobj;
31469 fail:
31470 {
31471 if (temp2)
31472 delete arg2;
31473 }
31474 return NULL;
31475 }
31476
31477
31478 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31479 PyObject *resultobj;
31480 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31481 bool arg2 ;
31482 PyObject * obj0 = 0 ;
31483 PyObject * obj1 = 0 ;
31484 char *kwnames[] = {
31485 (char *) "self",(char *) "show", NULL
31486 };
31487
31488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31490 if (SWIG_arg_fail(1)) SWIG_fail;
31491 {
31492 arg2 = (bool)(SWIG_As_bool(obj1));
31493 if (SWIG_arg_fail(2)) SWIG_fail;
31494 }
31495 {
31496 PyThreadState* __tstate = wxPyBeginAllowThreads();
31497 (arg1)->ShowHidden(arg2);
31498
31499 wxPyEndAllowThreads(__tstate);
31500 if (PyErr_Occurred()) SWIG_fail;
31501 }
31502 Py_INCREF(Py_None); resultobj = Py_None;
31503 return resultobj;
31504 fail:
31505 return NULL;
31506 }
31507
31508
31509 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31510 PyObject *resultobj;
31511 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31512 bool result;
31513 PyObject * obj0 = 0 ;
31514 char *kwnames[] = {
31515 (char *) "self", NULL
31516 };
31517
31518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31520 if (SWIG_arg_fail(1)) SWIG_fail;
31521 {
31522 PyThreadState* __tstate = wxPyBeginAllowThreads();
31523 result = (bool)(arg1)->GetShowHidden();
31524
31525 wxPyEndAllowThreads(__tstate);
31526 if (PyErr_Occurred()) SWIG_fail;
31527 }
31528 {
31529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31530 }
31531 return resultobj;
31532 fail:
31533 return NULL;
31534 }
31535
31536
31537 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31538 PyObject *resultobj;
31539 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31540 wxString result;
31541 PyObject * obj0 = 0 ;
31542 char *kwnames[] = {
31543 (char *) "self", NULL
31544 };
31545
31546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31548 if (SWIG_arg_fail(1)) SWIG_fail;
31549 {
31550 PyThreadState* __tstate = wxPyBeginAllowThreads();
31551 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31552
31553 wxPyEndAllowThreads(__tstate);
31554 if (PyErr_Occurred()) SWIG_fail;
31555 }
31556 {
31557 #if wxUSE_UNICODE
31558 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31559 #else
31560 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31561 #endif
31562 }
31563 return resultobj;
31564 fail:
31565 return NULL;
31566 }
31567
31568
31569 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31570 PyObject *resultobj;
31571 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31572 wxString *arg2 = 0 ;
31573 bool temp2 = false ;
31574 PyObject * obj0 = 0 ;
31575 PyObject * obj1 = 0 ;
31576 char *kwnames[] = {
31577 (char *) "self",(char *) "filter", NULL
31578 };
31579
31580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31582 if (SWIG_arg_fail(1)) SWIG_fail;
31583 {
31584 arg2 = wxString_in_helper(obj1);
31585 if (arg2 == NULL) SWIG_fail;
31586 temp2 = true;
31587 }
31588 {
31589 PyThreadState* __tstate = wxPyBeginAllowThreads();
31590 (arg1)->SetFilter((wxString const &)*arg2);
31591
31592 wxPyEndAllowThreads(__tstate);
31593 if (PyErr_Occurred()) SWIG_fail;
31594 }
31595 Py_INCREF(Py_None); resultobj = Py_None;
31596 {
31597 if (temp2)
31598 delete arg2;
31599 }
31600 return resultobj;
31601 fail:
31602 {
31603 if (temp2)
31604 delete arg2;
31605 }
31606 return NULL;
31607 }
31608
31609
31610 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31611 PyObject *resultobj;
31612 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31613 int result;
31614 PyObject * obj0 = 0 ;
31615 char *kwnames[] = {
31616 (char *) "self", NULL
31617 };
31618
31619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31621 if (SWIG_arg_fail(1)) SWIG_fail;
31622 {
31623 PyThreadState* __tstate = wxPyBeginAllowThreads();
31624 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31625
31626 wxPyEndAllowThreads(__tstate);
31627 if (PyErr_Occurred()) SWIG_fail;
31628 }
31629 {
31630 resultobj = SWIG_From_int((int)(result));
31631 }
31632 return resultobj;
31633 fail:
31634 return NULL;
31635 }
31636
31637
31638 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31639 PyObject *resultobj;
31640 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31641 int arg2 ;
31642 PyObject * obj0 = 0 ;
31643 PyObject * obj1 = 0 ;
31644 char *kwnames[] = {
31645 (char *) "self",(char *) "n", NULL
31646 };
31647
31648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
31649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31650 if (SWIG_arg_fail(1)) SWIG_fail;
31651 {
31652 arg2 = (int)(SWIG_As_int(obj1));
31653 if (SWIG_arg_fail(2)) SWIG_fail;
31654 }
31655 {
31656 PyThreadState* __tstate = wxPyBeginAllowThreads();
31657 (arg1)->SetFilterIndex(arg2);
31658
31659 wxPyEndAllowThreads(__tstate);
31660 if (PyErr_Occurred()) SWIG_fail;
31661 }
31662 Py_INCREF(Py_None); resultobj = Py_None;
31663 return resultobj;
31664 fail:
31665 return NULL;
31666 }
31667
31668
31669 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31670 PyObject *resultobj;
31671 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31672 wxTreeItemId result;
31673 PyObject * obj0 = 0 ;
31674 char *kwnames[] = {
31675 (char *) "self", NULL
31676 };
31677
31678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
31679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31680 if (SWIG_arg_fail(1)) SWIG_fail;
31681 {
31682 PyThreadState* __tstate = wxPyBeginAllowThreads();
31683 result = (arg1)->GetRootId();
31684
31685 wxPyEndAllowThreads(__tstate);
31686 if (PyErr_Occurred()) SWIG_fail;
31687 }
31688 {
31689 wxTreeItemId * resultptr;
31690 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31692 }
31693 return resultobj;
31694 fail:
31695 return NULL;
31696 }
31697
31698
31699 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31700 PyObject *resultobj;
31701 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31702 wxPyTreeCtrl *result;
31703 PyObject * obj0 = 0 ;
31704 char *kwnames[] = {
31705 (char *) "self", NULL
31706 };
31707
31708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
31709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31710 if (SWIG_arg_fail(1)) SWIG_fail;
31711 {
31712 PyThreadState* __tstate = wxPyBeginAllowThreads();
31713 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31714
31715 wxPyEndAllowThreads(__tstate);
31716 if (PyErr_Occurred()) SWIG_fail;
31717 }
31718 {
31719 resultobj = wxPyMake_wxObject(result, 0);
31720 }
31721 return resultobj;
31722 fail:
31723 return NULL;
31724 }
31725
31726
31727 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31728 PyObject *resultobj;
31729 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31730 wxDirFilterListCtrl *result;
31731 PyObject * obj0 = 0 ;
31732 char *kwnames[] = {
31733 (char *) "self", NULL
31734 };
31735
31736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
31737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31738 if (SWIG_arg_fail(1)) SWIG_fail;
31739 {
31740 PyThreadState* __tstate = wxPyBeginAllowThreads();
31741 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31742
31743 wxPyEndAllowThreads(__tstate);
31744 if (PyErr_Occurred()) SWIG_fail;
31745 }
31746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31747 return resultobj;
31748 fail:
31749 return NULL;
31750 }
31751
31752
31753 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
31754 PyObject *resultobj;
31755 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31756 wxTreeItemId arg2 ;
31757 wxString *arg3 = 0 ;
31758 bool *arg4 = 0 ;
31759 wxTreeItemId result;
31760 bool temp3 = false ;
31761 bool temp4 ;
31762 int res4 = 0 ;
31763 PyObject * obj0 = 0 ;
31764 PyObject * obj1 = 0 ;
31765 PyObject * obj2 = 0 ;
31766 char *kwnames[] = {
31767 (char *) "self",(char *) "parentId",(char *) "path", NULL
31768 };
31769
31770 arg4 = &temp4; res4 = SWIG_NEWOBJ;
31771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
31772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31773 if (SWIG_arg_fail(1)) SWIG_fail;
31774 {
31775 wxTreeItemId * argp;
31776 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31777 if (SWIG_arg_fail(2)) SWIG_fail;
31778 if (argp == NULL) {
31779 SWIG_null_ref("wxTreeItemId");
31780 }
31781 if (SWIG_arg_fail(2)) SWIG_fail;
31782 arg2 = *argp;
31783 }
31784 {
31785 arg3 = wxString_in_helper(obj2);
31786 if (arg3 == NULL) SWIG_fail;
31787 temp3 = true;
31788 }
31789 {
31790 PyThreadState* __tstate = wxPyBeginAllowThreads();
31791 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31792
31793 wxPyEndAllowThreads(__tstate);
31794 if (PyErr_Occurred()) SWIG_fail;
31795 }
31796 {
31797 wxTreeItemId * resultptr;
31798 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31800 }
31801 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31802 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
31803 {
31804 if (temp3)
31805 delete arg3;
31806 }
31807 return resultobj;
31808 fail:
31809 {
31810 if (temp3)
31811 delete arg3;
31812 }
31813 return NULL;
31814 }
31815
31816
31817 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
31818 PyObject *resultobj;
31819 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31820 PyObject * obj0 = 0 ;
31821 char *kwnames[] = {
31822 (char *) "self", NULL
31823 };
31824
31825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
31826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31827 if (SWIG_arg_fail(1)) SWIG_fail;
31828 {
31829 PyThreadState* __tstate = wxPyBeginAllowThreads();
31830 (arg1)->DoResize();
31831
31832 wxPyEndAllowThreads(__tstate);
31833 if (PyErr_Occurred()) SWIG_fail;
31834 }
31835 Py_INCREF(Py_None); resultobj = Py_None;
31836 return resultobj;
31837 fail:
31838 return NULL;
31839 }
31840
31841
31842 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
31843 PyObject *resultobj;
31844 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31845 PyObject * obj0 = 0 ;
31846 char *kwnames[] = {
31847 (char *) "self", NULL
31848 };
31849
31850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
31851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31852 if (SWIG_arg_fail(1)) SWIG_fail;
31853 {
31854 PyThreadState* __tstate = wxPyBeginAllowThreads();
31855 (arg1)->ReCreateTree();
31856
31857 wxPyEndAllowThreads(__tstate);
31858 if (PyErr_Occurred()) SWIG_fail;
31859 }
31860 Py_INCREF(Py_None); resultobj = Py_None;
31861 return resultobj;
31862 fail:
31863 return NULL;
31864 }
31865
31866
31867 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
31868 PyObject *obj;
31869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31870 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31871 Py_INCREF(obj);
31872 return Py_BuildValue((char *)"");
31873 }
31874 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31875 PyObject *resultobj;
31876 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31877 int arg2 = (int) (int)-1 ;
31878 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31879 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31880 wxSize const &arg4_defvalue = wxDefaultSize ;
31881 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31882 long arg5 = (long) 0 ;
31883 wxDirFilterListCtrl *result;
31884 wxPoint temp3 ;
31885 wxSize temp4 ;
31886 PyObject * obj0 = 0 ;
31887 PyObject * obj1 = 0 ;
31888 PyObject * obj2 = 0 ;
31889 PyObject * obj3 = 0 ;
31890 PyObject * obj4 = 0 ;
31891 char *kwnames[] = {
31892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31893 };
31894
31895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31897 if (SWIG_arg_fail(1)) SWIG_fail;
31898 if (obj1) {
31899 {
31900 arg2 = (int const)(SWIG_As_int(obj1));
31901 if (SWIG_arg_fail(2)) SWIG_fail;
31902 }
31903 }
31904 if (obj2) {
31905 {
31906 arg3 = &temp3;
31907 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31908 }
31909 }
31910 if (obj3) {
31911 {
31912 arg4 = &temp4;
31913 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31914 }
31915 }
31916 if (obj4) {
31917 {
31918 arg5 = (long)(SWIG_As_long(obj4));
31919 if (SWIG_arg_fail(5)) SWIG_fail;
31920 }
31921 }
31922 {
31923 if (!wxPyCheckForApp()) SWIG_fail;
31924 PyThreadState* __tstate = wxPyBeginAllowThreads();
31925 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31926
31927 wxPyEndAllowThreads(__tstate);
31928 if (PyErr_Occurred()) SWIG_fail;
31929 }
31930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31931 return resultobj;
31932 fail:
31933 return NULL;
31934 }
31935
31936
31937 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31938 PyObject *resultobj;
31939 wxDirFilterListCtrl *result;
31940 char *kwnames[] = {
31941 NULL
31942 };
31943
31944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31945 {
31946 if (!wxPyCheckForApp()) SWIG_fail;
31947 PyThreadState* __tstate = wxPyBeginAllowThreads();
31948 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31949
31950 wxPyEndAllowThreads(__tstate);
31951 if (PyErr_Occurred()) SWIG_fail;
31952 }
31953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31954 return resultobj;
31955 fail:
31956 return NULL;
31957 }
31958
31959
31960 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31961 PyObject *resultobj;
31962 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31963 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
31964 int arg3 = (int) (int)-1 ;
31965 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31966 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31967 wxSize const &arg5_defvalue = wxDefaultSize ;
31968 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31969 long arg6 = (long) 0 ;
31970 bool result;
31971 wxPoint temp4 ;
31972 wxSize temp5 ;
31973 PyObject * obj0 = 0 ;
31974 PyObject * obj1 = 0 ;
31975 PyObject * obj2 = 0 ;
31976 PyObject * obj3 = 0 ;
31977 PyObject * obj4 = 0 ;
31978 PyObject * obj5 = 0 ;
31979 char *kwnames[] = {
31980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31981 };
31982
31983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31985 if (SWIG_arg_fail(1)) SWIG_fail;
31986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31987 if (SWIG_arg_fail(2)) SWIG_fail;
31988 if (obj2) {
31989 {
31990 arg3 = (int const)(SWIG_As_int(obj2));
31991 if (SWIG_arg_fail(3)) SWIG_fail;
31992 }
31993 }
31994 if (obj3) {
31995 {
31996 arg4 = &temp4;
31997 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31998 }
31999 }
32000 if (obj4) {
32001 {
32002 arg5 = &temp5;
32003 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32004 }
32005 }
32006 if (obj5) {
32007 {
32008 arg6 = (long)(SWIG_As_long(obj5));
32009 if (SWIG_arg_fail(6)) SWIG_fail;
32010 }
32011 }
32012 {
32013 PyThreadState* __tstate = wxPyBeginAllowThreads();
32014 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32015
32016 wxPyEndAllowThreads(__tstate);
32017 if (PyErr_Occurred()) SWIG_fail;
32018 }
32019 {
32020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32021 }
32022 return resultobj;
32023 fail:
32024 return NULL;
32025 }
32026
32027
32028 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
32029 PyObject *resultobj;
32030 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32031 wxString *arg2 = 0 ;
32032 int arg3 ;
32033 bool temp2 = false ;
32034 PyObject * obj0 = 0 ;
32035 PyObject * obj1 = 0 ;
32036 PyObject * obj2 = 0 ;
32037 char *kwnames[] = {
32038 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32039 };
32040
32041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
32042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32043 if (SWIG_arg_fail(1)) SWIG_fail;
32044 {
32045 arg2 = wxString_in_helper(obj1);
32046 if (arg2 == NULL) SWIG_fail;
32047 temp2 = true;
32048 }
32049 {
32050 arg3 = (int)(SWIG_As_int(obj2));
32051 if (SWIG_arg_fail(3)) SWIG_fail;
32052 }
32053 {
32054 PyThreadState* __tstate = wxPyBeginAllowThreads();
32055 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32056
32057 wxPyEndAllowThreads(__tstate);
32058 if (PyErr_Occurred()) SWIG_fail;
32059 }
32060 Py_INCREF(Py_None); resultobj = Py_None;
32061 {
32062 if (temp2)
32063 delete arg2;
32064 }
32065 return resultobj;
32066 fail:
32067 {
32068 if (temp2)
32069 delete arg2;
32070 }
32071 return NULL;
32072 }
32073
32074
32075 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32076 PyObject *obj;
32077 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32078 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32079 Py_INCREF(obj);
32080 return Py_BuildValue((char *)"");
32081 }
32082 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32083 PyObject *resultobj;
32084 wxWindow *arg1 = (wxWindow *) 0 ;
32085 int arg2 = (int) (int)-1 ;
32086 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32087 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32088 wxSize const &arg4_defvalue = wxDefaultSize ;
32089 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32090 long arg5 = (long) 0 ;
32091 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32092 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32093 wxString const &arg7_defvalue = wxPyControlNameStr ;
32094 wxString *arg7 = (wxString *) &arg7_defvalue ;
32095 wxPyControl *result;
32096 wxPoint temp3 ;
32097 wxSize temp4 ;
32098 bool temp7 = false ;
32099 PyObject * obj0 = 0 ;
32100 PyObject * obj1 = 0 ;
32101 PyObject * obj2 = 0 ;
32102 PyObject * obj3 = 0 ;
32103 PyObject * obj4 = 0 ;
32104 PyObject * obj5 = 0 ;
32105 PyObject * obj6 = 0 ;
32106 char *kwnames[] = {
32107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32108 };
32109
32110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32112 if (SWIG_arg_fail(1)) SWIG_fail;
32113 if (obj1) {
32114 {
32115 arg2 = (int const)(SWIG_As_int(obj1));
32116 if (SWIG_arg_fail(2)) SWIG_fail;
32117 }
32118 }
32119 if (obj2) {
32120 {
32121 arg3 = &temp3;
32122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32123 }
32124 }
32125 if (obj3) {
32126 {
32127 arg4 = &temp4;
32128 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32129 }
32130 }
32131 if (obj4) {
32132 {
32133 arg5 = (long)(SWIG_As_long(obj4));
32134 if (SWIG_arg_fail(5)) SWIG_fail;
32135 }
32136 }
32137 if (obj5) {
32138 {
32139 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32140 if (SWIG_arg_fail(6)) SWIG_fail;
32141 if (arg6 == NULL) {
32142 SWIG_null_ref("wxValidator");
32143 }
32144 if (SWIG_arg_fail(6)) SWIG_fail;
32145 }
32146 }
32147 if (obj6) {
32148 {
32149 arg7 = wxString_in_helper(obj6);
32150 if (arg7 == NULL) SWIG_fail;
32151 temp7 = true;
32152 }
32153 }
32154 {
32155 if (!wxPyCheckForApp()) SWIG_fail;
32156 PyThreadState* __tstate = wxPyBeginAllowThreads();
32157 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32158
32159 wxPyEndAllowThreads(__tstate);
32160 if (PyErr_Occurred()) SWIG_fail;
32161 }
32162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32163 {
32164 if (temp7)
32165 delete arg7;
32166 }
32167 return resultobj;
32168 fail:
32169 {
32170 if (temp7)
32171 delete arg7;
32172 }
32173 return NULL;
32174 }
32175
32176
32177 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32178 PyObject *resultobj;
32179 wxPyControl *result;
32180 char *kwnames[] = {
32181 NULL
32182 };
32183
32184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32185 {
32186 if (!wxPyCheckForApp()) SWIG_fail;
32187 PyThreadState* __tstate = wxPyBeginAllowThreads();
32188 result = (wxPyControl *)new wxPyControl();
32189
32190 wxPyEndAllowThreads(__tstate);
32191 if (PyErr_Occurred()) SWIG_fail;
32192 }
32193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32194 return resultobj;
32195 fail:
32196 return NULL;
32197 }
32198
32199
32200 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32201 PyObject *resultobj;
32202 wxPyControl *arg1 = (wxPyControl *) 0 ;
32203 PyObject *arg2 = (PyObject *) 0 ;
32204 PyObject *arg3 = (PyObject *) 0 ;
32205 PyObject * obj0 = 0 ;
32206 PyObject * obj1 = 0 ;
32207 PyObject * obj2 = 0 ;
32208 char *kwnames[] = {
32209 (char *) "self",(char *) "self",(char *) "_class", NULL
32210 };
32211
32212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32214 if (SWIG_arg_fail(1)) SWIG_fail;
32215 arg2 = obj1;
32216 arg3 = obj2;
32217 {
32218 PyThreadState* __tstate = wxPyBeginAllowThreads();
32219 (arg1)->_setCallbackInfo(arg2,arg3);
32220
32221 wxPyEndAllowThreads(__tstate);
32222 if (PyErr_Occurred()) SWIG_fail;
32223 }
32224 Py_INCREF(Py_None); resultobj = Py_None;
32225 return resultobj;
32226 fail:
32227 return NULL;
32228 }
32229
32230
32231 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32232 PyObject *resultobj;
32233 wxPyControl *arg1 = (wxPyControl *) 0 ;
32234 wxSize *arg2 = 0 ;
32235 wxSize temp2 ;
32236 PyObject * obj0 = 0 ;
32237 PyObject * obj1 = 0 ;
32238 char *kwnames[] = {
32239 (char *) "self",(char *) "size", NULL
32240 };
32241
32242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32244 if (SWIG_arg_fail(1)) SWIG_fail;
32245 {
32246 arg2 = &temp2;
32247 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32248 }
32249 {
32250 PyThreadState* __tstate = wxPyBeginAllowThreads();
32251 (arg1)->SetBestSize((wxSize const &)*arg2);
32252
32253 wxPyEndAllowThreads(__tstate);
32254 if (PyErr_Occurred()) SWIG_fail;
32255 }
32256 Py_INCREF(Py_None); resultobj = Py_None;
32257 return resultobj;
32258 fail:
32259 return NULL;
32260 }
32261
32262
32263 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32264 PyObject *resultobj;
32265 wxPyControl *arg1 = (wxPyControl *) 0 ;
32266 int arg2 ;
32267 int arg3 ;
32268 int arg4 ;
32269 int arg5 ;
32270 PyObject * obj0 = 0 ;
32271 PyObject * obj1 = 0 ;
32272 PyObject * obj2 = 0 ;
32273 PyObject * obj3 = 0 ;
32274 PyObject * obj4 = 0 ;
32275 char *kwnames[] = {
32276 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32277 };
32278
32279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32281 if (SWIG_arg_fail(1)) SWIG_fail;
32282 {
32283 arg2 = (int)(SWIG_As_int(obj1));
32284 if (SWIG_arg_fail(2)) SWIG_fail;
32285 }
32286 {
32287 arg3 = (int)(SWIG_As_int(obj2));
32288 if (SWIG_arg_fail(3)) SWIG_fail;
32289 }
32290 {
32291 arg4 = (int)(SWIG_As_int(obj3));
32292 if (SWIG_arg_fail(4)) SWIG_fail;
32293 }
32294 {
32295 arg5 = (int)(SWIG_As_int(obj4));
32296 if (SWIG_arg_fail(5)) SWIG_fail;
32297 }
32298 {
32299 PyThreadState* __tstate = wxPyBeginAllowThreads();
32300 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32301
32302 wxPyEndAllowThreads(__tstate);
32303 if (PyErr_Occurred()) SWIG_fail;
32304 }
32305 Py_INCREF(Py_None); resultobj = Py_None;
32306 return resultobj;
32307 fail:
32308 return NULL;
32309 }
32310
32311
32312 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32313 PyObject *resultobj;
32314 wxPyControl *arg1 = (wxPyControl *) 0 ;
32315 int arg2 ;
32316 int arg3 ;
32317 int arg4 ;
32318 int arg5 ;
32319 int arg6 = (int) wxSIZE_AUTO ;
32320 PyObject * obj0 = 0 ;
32321 PyObject * obj1 = 0 ;
32322 PyObject * obj2 = 0 ;
32323 PyObject * obj3 = 0 ;
32324 PyObject * obj4 = 0 ;
32325 PyObject * obj5 = 0 ;
32326 char *kwnames[] = {
32327 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32328 };
32329
32330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32332 if (SWIG_arg_fail(1)) SWIG_fail;
32333 {
32334 arg2 = (int)(SWIG_As_int(obj1));
32335 if (SWIG_arg_fail(2)) SWIG_fail;
32336 }
32337 {
32338 arg3 = (int)(SWIG_As_int(obj2));
32339 if (SWIG_arg_fail(3)) SWIG_fail;
32340 }
32341 {
32342 arg4 = (int)(SWIG_As_int(obj3));
32343 if (SWIG_arg_fail(4)) SWIG_fail;
32344 }
32345 {
32346 arg5 = (int)(SWIG_As_int(obj4));
32347 if (SWIG_arg_fail(5)) SWIG_fail;
32348 }
32349 if (obj5) {
32350 {
32351 arg6 = (int)(SWIG_As_int(obj5));
32352 if (SWIG_arg_fail(6)) SWIG_fail;
32353 }
32354 }
32355 {
32356 PyThreadState* __tstate = wxPyBeginAllowThreads();
32357 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32358
32359 wxPyEndAllowThreads(__tstate);
32360 if (PyErr_Occurred()) SWIG_fail;
32361 }
32362 Py_INCREF(Py_None); resultobj = Py_None;
32363 return resultobj;
32364 fail:
32365 return NULL;
32366 }
32367
32368
32369 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32370 PyObject *resultobj;
32371 wxPyControl *arg1 = (wxPyControl *) 0 ;
32372 int arg2 ;
32373 int arg3 ;
32374 PyObject * obj0 = 0 ;
32375 PyObject * obj1 = 0 ;
32376 PyObject * obj2 = 0 ;
32377 char *kwnames[] = {
32378 (char *) "self",(char *) "width",(char *) "height", NULL
32379 };
32380
32381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32383 if (SWIG_arg_fail(1)) SWIG_fail;
32384 {
32385 arg2 = (int)(SWIG_As_int(obj1));
32386 if (SWIG_arg_fail(2)) SWIG_fail;
32387 }
32388 {
32389 arg3 = (int)(SWIG_As_int(obj2));
32390 if (SWIG_arg_fail(3)) SWIG_fail;
32391 }
32392 {
32393 PyThreadState* __tstate = wxPyBeginAllowThreads();
32394 (arg1)->base_DoSetClientSize(arg2,arg3);
32395
32396 wxPyEndAllowThreads(__tstate);
32397 if (PyErr_Occurred()) SWIG_fail;
32398 }
32399 Py_INCREF(Py_None); resultobj = Py_None;
32400 return resultobj;
32401 fail:
32402 return NULL;
32403 }
32404
32405
32406 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32407 PyObject *resultobj;
32408 wxPyControl *arg1 = (wxPyControl *) 0 ;
32409 int arg2 ;
32410 int arg3 ;
32411 PyObject * obj0 = 0 ;
32412 PyObject * obj1 = 0 ;
32413 PyObject * obj2 = 0 ;
32414 char *kwnames[] = {
32415 (char *) "self",(char *) "x",(char *) "y", NULL
32416 };
32417
32418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32420 if (SWIG_arg_fail(1)) SWIG_fail;
32421 {
32422 arg2 = (int)(SWIG_As_int(obj1));
32423 if (SWIG_arg_fail(2)) SWIG_fail;
32424 }
32425 {
32426 arg3 = (int)(SWIG_As_int(obj2));
32427 if (SWIG_arg_fail(3)) SWIG_fail;
32428 }
32429 {
32430 PyThreadState* __tstate = wxPyBeginAllowThreads();
32431 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32432
32433 wxPyEndAllowThreads(__tstate);
32434 if (PyErr_Occurred()) SWIG_fail;
32435 }
32436 Py_INCREF(Py_None); resultobj = Py_None;
32437 return resultobj;
32438 fail:
32439 return NULL;
32440 }
32441
32442
32443 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32444 PyObject *resultobj;
32445 wxPyControl *arg1 = (wxPyControl *) 0 ;
32446 int *arg2 = (int *) 0 ;
32447 int *arg3 = (int *) 0 ;
32448 int temp2 ;
32449 int res2 = 0 ;
32450 int temp3 ;
32451 int res3 = 0 ;
32452 PyObject * obj0 = 0 ;
32453 char *kwnames[] = {
32454 (char *) "self", NULL
32455 };
32456
32457 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32458 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32461 if (SWIG_arg_fail(1)) SWIG_fail;
32462 {
32463 PyThreadState* __tstate = wxPyBeginAllowThreads();
32464 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32465
32466 wxPyEndAllowThreads(__tstate);
32467 if (PyErr_Occurred()) SWIG_fail;
32468 }
32469 Py_INCREF(Py_None); resultobj = Py_None;
32470 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32471 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32472 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32473 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32474 return resultobj;
32475 fail:
32476 return NULL;
32477 }
32478
32479
32480 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32481 PyObject *resultobj;
32482 wxPyControl *arg1 = (wxPyControl *) 0 ;
32483 int *arg2 = (int *) 0 ;
32484 int *arg3 = (int *) 0 ;
32485 int temp2 ;
32486 int res2 = 0 ;
32487 int temp3 ;
32488 int res3 = 0 ;
32489 PyObject * obj0 = 0 ;
32490 char *kwnames[] = {
32491 (char *) "self", NULL
32492 };
32493
32494 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32495 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32498 if (SWIG_arg_fail(1)) SWIG_fail;
32499 {
32500 PyThreadState* __tstate = wxPyBeginAllowThreads();
32501 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32502
32503 wxPyEndAllowThreads(__tstate);
32504 if (PyErr_Occurred()) SWIG_fail;
32505 }
32506 Py_INCREF(Py_None); resultobj = Py_None;
32507 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32508 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32509 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32510 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32511 return resultobj;
32512 fail:
32513 return NULL;
32514 }
32515
32516
32517 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32518 PyObject *resultobj;
32519 wxPyControl *arg1 = (wxPyControl *) 0 ;
32520 int *arg2 = (int *) 0 ;
32521 int *arg3 = (int *) 0 ;
32522 int temp2 ;
32523 int res2 = 0 ;
32524 int temp3 ;
32525 int res3 = 0 ;
32526 PyObject * obj0 = 0 ;
32527 char *kwnames[] = {
32528 (char *) "self", NULL
32529 };
32530
32531 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32532 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
32534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32535 if (SWIG_arg_fail(1)) SWIG_fail;
32536 {
32537 PyThreadState* __tstate = wxPyBeginAllowThreads();
32538 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32539
32540 wxPyEndAllowThreads(__tstate);
32541 if (PyErr_Occurred()) SWIG_fail;
32542 }
32543 Py_INCREF(Py_None); resultobj = Py_None;
32544 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32545 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32546 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32547 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32548 return resultobj;
32549 fail:
32550 return NULL;
32551 }
32552
32553
32554 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32555 PyObject *resultobj;
32556 wxPyControl *arg1 = (wxPyControl *) 0 ;
32557 wxSize result;
32558 PyObject * obj0 = 0 ;
32559 char *kwnames[] = {
32560 (char *) "self", NULL
32561 };
32562
32563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32565 if (SWIG_arg_fail(1)) SWIG_fail;
32566 {
32567 PyThreadState* __tstate = wxPyBeginAllowThreads();
32568 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32569
32570 wxPyEndAllowThreads(__tstate);
32571 if (PyErr_Occurred()) SWIG_fail;
32572 }
32573 {
32574 wxSize * resultptr;
32575 resultptr = new wxSize((wxSize &)(result));
32576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32577 }
32578 return resultobj;
32579 fail:
32580 return NULL;
32581 }
32582
32583
32584 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32585 PyObject *resultobj;
32586 wxPyControl *arg1 = (wxPyControl *) 0 ;
32587 wxSize result;
32588 PyObject * obj0 = 0 ;
32589 char *kwnames[] = {
32590 (char *) "self", NULL
32591 };
32592
32593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
32594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32595 if (SWIG_arg_fail(1)) SWIG_fail;
32596 {
32597 PyThreadState* __tstate = wxPyBeginAllowThreads();
32598 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32599
32600 wxPyEndAllowThreads(__tstate);
32601 if (PyErr_Occurred()) SWIG_fail;
32602 }
32603 {
32604 wxSize * resultptr;
32605 resultptr = new wxSize((wxSize &)(result));
32606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32607 }
32608 return resultobj;
32609 fail:
32610 return NULL;
32611 }
32612
32613
32614 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32615 PyObject *resultobj;
32616 wxPyControl *arg1 = (wxPyControl *) 0 ;
32617 PyObject * obj0 = 0 ;
32618 char *kwnames[] = {
32619 (char *) "self", NULL
32620 };
32621
32622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32624 if (SWIG_arg_fail(1)) SWIG_fail;
32625 {
32626 PyThreadState* __tstate = wxPyBeginAllowThreads();
32627 (arg1)->base_InitDialog();
32628
32629 wxPyEndAllowThreads(__tstate);
32630 if (PyErr_Occurred()) SWIG_fail;
32631 }
32632 Py_INCREF(Py_None); resultobj = Py_None;
32633 return resultobj;
32634 fail:
32635 return NULL;
32636 }
32637
32638
32639 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32640 PyObject *resultobj;
32641 wxPyControl *arg1 = (wxPyControl *) 0 ;
32642 bool result;
32643 PyObject * obj0 = 0 ;
32644 char *kwnames[] = {
32645 (char *) "self", NULL
32646 };
32647
32648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
32649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32650 if (SWIG_arg_fail(1)) SWIG_fail;
32651 {
32652 PyThreadState* __tstate = wxPyBeginAllowThreads();
32653 result = (bool)(arg1)->base_TransferDataToWindow();
32654
32655 wxPyEndAllowThreads(__tstate);
32656 if (PyErr_Occurred()) SWIG_fail;
32657 }
32658 {
32659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32660 }
32661 return resultobj;
32662 fail:
32663 return NULL;
32664 }
32665
32666
32667 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32668 PyObject *resultobj;
32669 wxPyControl *arg1 = (wxPyControl *) 0 ;
32670 bool result;
32671 PyObject * obj0 = 0 ;
32672 char *kwnames[] = {
32673 (char *) "self", NULL
32674 };
32675
32676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
32677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32678 if (SWIG_arg_fail(1)) SWIG_fail;
32679 {
32680 PyThreadState* __tstate = wxPyBeginAllowThreads();
32681 result = (bool)(arg1)->base_TransferDataFromWindow();
32682
32683 wxPyEndAllowThreads(__tstate);
32684 if (PyErr_Occurred()) SWIG_fail;
32685 }
32686 {
32687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32688 }
32689 return resultobj;
32690 fail:
32691 return NULL;
32692 }
32693
32694
32695 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32696 PyObject *resultobj;
32697 wxPyControl *arg1 = (wxPyControl *) 0 ;
32698 bool result;
32699 PyObject * obj0 = 0 ;
32700 char *kwnames[] = {
32701 (char *) "self", NULL
32702 };
32703
32704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
32705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32706 if (SWIG_arg_fail(1)) SWIG_fail;
32707 {
32708 PyThreadState* __tstate = wxPyBeginAllowThreads();
32709 result = (bool)(arg1)->base_Validate();
32710
32711 wxPyEndAllowThreads(__tstate);
32712 if (PyErr_Occurred()) SWIG_fail;
32713 }
32714 {
32715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32716 }
32717 return resultobj;
32718 fail:
32719 return NULL;
32720 }
32721
32722
32723 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32724 PyObject *resultobj;
32725 wxPyControl *arg1 = (wxPyControl *) 0 ;
32726 bool result;
32727 PyObject * obj0 = 0 ;
32728 char *kwnames[] = {
32729 (char *) "self", NULL
32730 };
32731
32732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
32733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32734 if (SWIG_arg_fail(1)) SWIG_fail;
32735 {
32736 PyThreadState* __tstate = wxPyBeginAllowThreads();
32737 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32738
32739 wxPyEndAllowThreads(__tstate);
32740 if (PyErr_Occurred()) SWIG_fail;
32741 }
32742 {
32743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32744 }
32745 return resultobj;
32746 fail:
32747 return NULL;
32748 }
32749
32750
32751 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32752 PyObject *resultobj;
32753 wxPyControl *arg1 = (wxPyControl *) 0 ;
32754 bool result;
32755 PyObject * obj0 = 0 ;
32756 char *kwnames[] = {
32757 (char *) "self", NULL
32758 };
32759
32760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
32761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32762 if (SWIG_arg_fail(1)) SWIG_fail;
32763 {
32764 PyThreadState* __tstate = wxPyBeginAllowThreads();
32765 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32766
32767 wxPyEndAllowThreads(__tstate);
32768 if (PyErr_Occurred()) SWIG_fail;
32769 }
32770 {
32771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32772 }
32773 return resultobj;
32774 fail:
32775 return NULL;
32776 }
32777
32778
32779 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32780 PyObject *resultobj;
32781 wxPyControl *arg1 = (wxPyControl *) 0 ;
32782 wxSize result;
32783 PyObject * obj0 = 0 ;
32784 char *kwnames[] = {
32785 (char *) "self", NULL
32786 };
32787
32788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
32789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32790 if (SWIG_arg_fail(1)) SWIG_fail;
32791 {
32792 PyThreadState* __tstate = wxPyBeginAllowThreads();
32793 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32794
32795 wxPyEndAllowThreads(__tstate);
32796 if (PyErr_Occurred()) SWIG_fail;
32797 }
32798 {
32799 wxSize * resultptr;
32800 resultptr = new wxSize((wxSize &)(result));
32801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32802 }
32803 return resultobj;
32804 fail:
32805 return NULL;
32806 }
32807
32808
32809 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32810 PyObject *resultobj;
32811 wxPyControl *arg1 = (wxPyControl *) 0 ;
32812 wxWindow *arg2 = (wxWindow *) 0 ;
32813 PyObject * obj0 = 0 ;
32814 PyObject * obj1 = 0 ;
32815 char *kwnames[] = {
32816 (char *) "self",(char *) "child", NULL
32817 };
32818
32819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
32820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32821 if (SWIG_arg_fail(1)) SWIG_fail;
32822 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32823 if (SWIG_arg_fail(2)) SWIG_fail;
32824 {
32825 PyThreadState* __tstate = wxPyBeginAllowThreads();
32826 (arg1)->base_AddChild(arg2);
32827
32828 wxPyEndAllowThreads(__tstate);
32829 if (PyErr_Occurred()) SWIG_fail;
32830 }
32831 Py_INCREF(Py_None); resultobj = Py_None;
32832 return resultobj;
32833 fail:
32834 return NULL;
32835 }
32836
32837
32838 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32839 PyObject *resultobj;
32840 wxPyControl *arg1 = (wxPyControl *) 0 ;
32841 wxWindow *arg2 = (wxWindow *) 0 ;
32842 PyObject * obj0 = 0 ;
32843 PyObject * obj1 = 0 ;
32844 char *kwnames[] = {
32845 (char *) "self",(char *) "child", NULL
32846 };
32847
32848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
32849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32850 if (SWIG_arg_fail(1)) SWIG_fail;
32851 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32852 if (SWIG_arg_fail(2)) SWIG_fail;
32853 {
32854 PyThreadState* __tstate = wxPyBeginAllowThreads();
32855 (arg1)->base_RemoveChild(arg2);
32856
32857 wxPyEndAllowThreads(__tstate);
32858 if (PyErr_Occurred()) SWIG_fail;
32859 }
32860 Py_INCREF(Py_None); resultobj = Py_None;
32861 return resultobj;
32862 fail:
32863 return NULL;
32864 }
32865
32866
32867 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32868 PyObject *resultobj;
32869 wxPyControl *arg1 = (wxPyControl *) 0 ;
32870 bool result;
32871 PyObject * obj0 = 0 ;
32872 char *kwnames[] = {
32873 (char *) "self", NULL
32874 };
32875
32876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
32877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32878 if (SWIG_arg_fail(1)) SWIG_fail;
32879 {
32880 PyThreadState* __tstate = wxPyBeginAllowThreads();
32881 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
32882
32883 wxPyEndAllowThreads(__tstate);
32884 if (PyErr_Occurred()) SWIG_fail;
32885 }
32886 {
32887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32888 }
32889 return resultobj;
32890 fail:
32891 return NULL;
32892 }
32893
32894
32895 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32896 PyObject *resultobj;
32897 wxPyControl *arg1 = (wxPyControl *) 0 ;
32898 wxColour *arg2 = 0 ;
32899 wxColour temp2 ;
32900 PyObject * obj0 = 0 ;
32901 PyObject * obj1 = 0 ;
32902 char *kwnames[] = {
32903 (char *) "self",(char *) "c", NULL
32904 };
32905
32906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
32907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32908 if (SWIG_arg_fail(1)) SWIG_fail;
32909 {
32910 arg2 = &temp2;
32911 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32912 }
32913 {
32914 PyThreadState* __tstate = wxPyBeginAllowThreads();
32915 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
32916
32917 wxPyEndAllowThreads(__tstate);
32918 if (PyErr_Occurred()) SWIG_fail;
32919 }
32920 Py_INCREF(Py_None); resultobj = Py_None;
32921 return resultobj;
32922 fail:
32923 return NULL;
32924 }
32925
32926
32927 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32928 PyObject *resultobj;
32929 wxPyControl *arg1 = (wxPyControl *) 0 ;
32930 wxVisualAttributes result;
32931 PyObject * obj0 = 0 ;
32932 char *kwnames[] = {
32933 (char *) "self", NULL
32934 };
32935
32936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
32937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32938 if (SWIG_arg_fail(1)) SWIG_fail;
32939 {
32940 PyThreadState* __tstate = wxPyBeginAllowThreads();
32941 result = (arg1)->base_GetDefaultAttributes();
32942
32943 wxPyEndAllowThreads(__tstate);
32944 if (PyErr_Occurred()) SWIG_fail;
32945 }
32946 {
32947 wxVisualAttributes * resultptr;
32948 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
32949 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32950 }
32951 return resultobj;
32952 fail:
32953 return NULL;
32954 }
32955
32956
32957 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
32958 PyObject *obj;
32959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32960 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32961 Py_INCREF(obj);
32962 return Py_BuildValue((char *)"");
32963 }
32964 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32965 PyObject *resultobj;
32966 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32967 int arg2 = (int) 0 ;
32968 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32969 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32970 wxHelpEvent *result;
32971 wxPoint temp3 ;
32972 PyObject * obj0 = 0 ;
32973 PyObject * obj1 = 0 ;
32974 PyObject * obj2 = 0 ;
32975 char *kwnames[] = {
32976 (char *) "type",(char *) "winid",(char *) "pt", NULL
32977 };
32978
32979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
32980 if (obj0) {
32981 {
32982 arg1 = (wxEventType)(SWIG_As_int(obj0));
32983 if (SWIG_arg_fail(1)) SWIG_fail;
32984 }
32985 }
32986 if (obj1) {
32987 {
32988 arg2 = (int)(SWIG_As_int(obj1));
32989 if (SWIG_arg_fail(2)) SWIG_fail;
32990 }
32991 }
32992 if (obj2) {
32993 {
32994 arg3 = &temp3;
32995 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32996 }
32997 }
32998 {
32999 PyThreadState* __tstate = wxPyBeginAllowThreads();
33000 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33001
33002 wxPyEndAllowThreads(__tstate);
33003 if (PyErr_Occurred()) SWIG_fail;
33004 }
33005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
33006 return resultobj;
33007 fail:
33008 return NULL;
33009 }
33010
33011
33012 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33013 PyObject *resultobj;
33014 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33015 wxPoint result;
33016 PyObject * obj0 = 0 ;
33017 char *kwnames[] = {
33018 (char *) "self", NULL
33019 };
33020
33021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
33022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33023 if (SWIG_arg_fail(1)) SWIG_fail;
33024 {
33025 PyThreadState* __tstate = wxPyBeginAllowThreads();
33026 result = ((wxHelpEvent const *)arg1)->GetPosition();
33027
33028 wxPyEndAllowThreads(__tstate);
33029 if (PyErr_Occurred()) SWIG_fail;
33030 }
33031 {
33032 wxPoint * resultptr;
33033 resultptr = new wxPoint((wxPoint const &)(result));
33034 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33035 }
33036 return resultobj;
33037 fail:
33038 return NULL;
33039 }
33040
33041
33042 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33043 PyObject *resultobj;
33044 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33045 wxPoint *arg2 = 0 ;
33046 wxPoint temp2 ;
33047 PyObject * obj0 = 0 ;
33048 PyObject * obj1 = 0 ;
33049 char *kwnames[] = {
33050 (char *) "self",(char *) "pos", NULL
33051 };
33052
33053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33055 if (SWIG_arg_fail(1)) SWIG_fail;
33056 {
33057 arg2 = &temp2;
33058 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33059 }
33060 {
33061 PyThreadState* __tstate = wxPyBeginAllowThreads();
33062 (arg1)->SetPosition((wxPoint const &)*arg2);
33063
33064 wxPyEndAllowThreads(__tstate);
33065 if (PyErr_Occurred()) SWIG_fail;
33066 }
33067 Py_INCREF(Py_None); resultobj = Py_None;
33068 return resultobj;
33069 fail:
33070 return NULL;
33071 }
33072
33073
33074 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33075 PyObject *resultobj;
33076 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33077 wxString *result;
33078 PyObject * obj0 = 0 ;
33079 char *kwnames[] = {
33080 (char *) "self", NULL
33081 };
33082
33083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33085 if (SWIG_arg_fail(1)) SWIG_fail;
33086 {
33087 PyThreadState* __tstate = wxPyBeginAllowThreads();
33088 {
33089 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33090 result = (wxString *) &_result_ref;
33091 }
33092
33093 wxPyEndAllowThreads(__tstate);
33094 if (PyErr_Occurred()) SWIG_fail;
33095 }
33096 {
33097 #if wxUSE_UNICODE
33098 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33099 #else
33100 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33101 #endif
33102 }
33103 return resultobj;
33104 fail:
33105 return NULL;
33106 }
33107
33108
33109 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33110 PyObject *resultobj;
33111 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33112 wxString *arg2 = 0 ;
33113 bool temp2 = false ;
33114 PyObject * obj0 = 0 ;
33115 PyObject * obj1 = 0 ;
33116 char *kwnames[] = {
33117 (char *) "self",(char *) "link", NULL
33118 };
33119
33120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33122 if (SWIG_arg_fail(1)) SWIG_fail;
33123 {
33124 arg2 = wxString_in_helper(obj1);
33125 if (arg2 == NULL) SWIG_fail;
33126 temp2 = true;
33127 }
33128 {
33129 PyThreadState* __tstate = wxPyBeginAllowThreads();
33130 (arg1)->SetLink((wxString const &)*arg2);
33131
33132 wxPyEndAllowThreads(__tstate);
33133 if (PyErr_Occurred()) SWIG_fail;
33134 }
33135 Py_INCREF(Py_None); resultobj = Py_None;
33136 {
33137 if (temp2)
33138 delete arg2;
33139 }
33140 return resultobj;
33141 fail:
33142 {
33143 if (temp2)
33144 delete arg2;
33145 }
33146 return NULL;
33147 }
33148
33149
33150 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33151 PyObject *resultobj;
33152 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33153 wxString *result;
33154 PyObject * obj0 = 0 ;
33155 char *kwnames[] = {
33156 (char *) "self", NULL
33157 };
33158
33159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33161 if (SWIG_arg_fail(1)) SWIG_fail;
33162 {
33163 PyThreadState* __tstate = wxPyBeginAllowThreads();
33164 {
33165 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33166 result = (wxString *) &_result_ref;
33167 }
33168
33169 wxPyEndAllowThreads(__tstate);
33170 if (PyErr_Occurred()) SWIG_fail;
33171 }
33172 {
33173 #if wxUSE_UNICODE
33174 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33175 #else
33176 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33177 #endif
33178 }
33179 return resultobj;
33180 fail:
33181 return NULL;
33182 }
33183
33184
33185 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33186 PyObject *resultobj;
33187 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33188 wxString *arg2 = 0 ;
33189 bool temp2 = false ;
33190 PyObject * obj0 = 0 ;
33191 PyObject * obj1 = 0 ;
33192 char *kwnames[] = {
33193 (char *) "self",(char *) "target", NULL
33194 };
33195
33196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33198 if (SWIG_arg_fail(1)) SWIG_fail;
33199 {
33200 arg2 = wxString_in_helper(obj1);
33201 if (arg2 == NULL) SWIG_fail;
33202 temp2 = true;
33203 }
33204 {
33205 PyThreadState* __tstate = wxPyBeginAllowThreads();
33206 (arg1)->SetTarget((wxString const &)*arg2);
33207
33208 wxPyEndAllowThreads(__tstate);
33209 if (PyErr_Occurred()) SWIG_fail;
33210 }
33211 Py_INCREF(Py_None); resultobj = Py_None;
33212 {
33213 if (temp2)
33214 delete arg2;
33215 }
33216 return resultobj;
33217 fail:
33218 {
33219 if (temp2)
33220 delete arg2;
33221 }
33222 return NULL;
33223 }
33224
33225
33226 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33227 PyObject *obj;
33228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33229 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33230 Py_INCREF(obj);
33231 return Py_BuildValue((char *)"");
33232 }
33233 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33234 PyObject *resultobj;
33235 wxWindow *arg1 = (wxWindow *) NULL ;
33236 bool arg2 = (bool) true ;
33237 wxContextHelp *result;
33238 PyObject * obj0 = 0 ;
33239 PyObject * obj1 = 0 ;
33240 char *kwnames[] = {
33241 (char *) "window",(char *) "doNow", NULL
33242 };
33243
33244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33245 if (obj0) {
33246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33247 if (SWIG_arg_fail(1)) SWIG_fail;
33248 }
33249 if (obj1) {
33250 {
33251 arg2 = (bool)(SWIG_As_bool(obj1));
33252 if (SWIG_arg_fail(2)) SWIG_fail;
33253 }
33254 }
33255 {
33256 if (!wxPyCheckForApp()) SWIG_fail;
33257 PyThreadState* __tstate = wxPyBeginAllowThreads();
33258 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33259
33260 wxPyEndAllowThreads(__tstate);
33261 if (PyErr_Occurred()) SWIG_fail;
33262 }
33263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33264 return resultobj;
33265 fail:
33266 return NULL;
33267 }
33268
33269
33270 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33271 PyObject *resultobj;
33272 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33273 PyObject * obj0 = 0 ;
33274 char *kwnames[] = {
33275 (char *) "self", NULL
33276 };
33277
33278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33280 if (SWIG_arg_fail(1)) SWIG_fail;
33281 {
33282 PyThreadState* __tstate = wxPyBeginAllowThreads();
33283 delete arg1;
33284
33285 wxPyEndAllowThreads(__tstate);
33286 if (PyErr_Occurred()) SWIG_fail;
33287 }
33288 Py_INCREF(Py_None); resultobj = Py_None;
33289 return resultobj;
33290 fail:
33291 return NULL;
33292 }
33293
33294
33295 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33296 PyObject *resultobj;
33297 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33298 wxWindow *arg2 = (wxWindow *) NULL ;
33299 bool result;
33300 PyObject * obj0 = 0 ;
33301 PyObject * obj1 = 0 ;
33302 char *kwnames[] = {
33303 (char *) "self",(char *) "window", NULL
33304 };
33305
33306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33308 if (SWIG_arg_fail(1)) SWIG_fail;
33309 if (obj1) {
33310 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33311 if (SWIG_arg_fail(2)) SWIG_fail;
33312 }
33313 {
33314 PyThreadState* __tstate = wxPyBeginAllowThreads();
33315 result = (bool)(arg1)->BeginContextHelp(arg2);
33316
33317 wxPyEndAllowThreads(__tstate);
33318 if (PyErr_Occurred()) SWIG_fail;
33319 }
33320 {
33321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33322 }
33323 return resultobj;
33324 fail:
33325 return NULL;
33326 }
33327
33328
33329 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33330 PyObject *resultobj;
33331 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33332 bool result;
33333 PyObject * obj0 = 0 ;
33334 char *kwnames[] = {
33335 (char *) "self", NULL
33336 };
33337
33338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33340 if (SWIG_arg_fail(1)) SWIG_fail;
33341 {
33342 PyThreadState* __tstate = wxPyBeginAllowThreads();
33343 result = (bool)(arg1)->EndContextHelp();
33344
33345 wxPyEndAllowThreads(__tstate);
33346 if (PyErr_Occurred()) SWIG_fail;
33347 }
33348 {
33349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33350 }
33351 return resultobj;
33352 fail:
33353 return NULL;
33354 }
33355
33356
33357 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33358 PyObject *obj;
33359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33360 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33361 Py_INCREF(obj);
33362 return Py_BuildValue((char *)"");
33363 }
33364 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33365 PyObject *resultobj;
33366 wxWindow *arg1 = (wxWindow *) 0 ;
33367 int arg2 = (int) wxID_CONTEXT_HELP ;
33368 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33369 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33370 wxSize const &arg4_defvalue = wxDefaultSize ;
33371 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33372 long arg5 = (long) wxBU_AUTODRAW ;
33373 wxContextHelpButton *result;
33374 wxPoint temp3 ;
33375 wxSize temp4 ;
33376 PyObject * obj0 = 0 ;
33377 PyObject * obj1 = 0 ;
33378 PyObject * obj2 = 0 ;
33379 PyObject * obj3 = 0 ;
33380 PyObject * obj4 = 0 ;
33381 char *kwnames[] = {
33382 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33383 };
33384
33385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33387 if (SWIG_arg_fail(1)) SWIG_fail;
33388 if (obj1) {
33389 {
33390 arg2 = (int)(SWIG_As_int(obj1));
33391 if (SWIG_arg_fail(2)) SWIG_fail;
33392 }
33393 }
33394 if (obj2) {
33395 {
33396 arg3 = &temp3;
33397 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33398 }
33399 }
33400 if (obj3) {
33401 {
33402 arg4 = &temp4;
33403 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33404 }
33405 }
33406 if (obj4) {
33407 {
33408 arg5 = (long)(SWIG_As_long(obj4));
33409 if (SWIG_arg_fail(5)) SWIG_fail;
33410 }
33411 }
33412 {
33413 if (!wxPyCheckForApp()) SWIG_fail;
33414 PyThreadState* __tstate = wxPyBeginAllowThreads();
33415 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33416
33417 wxPyEndAllowThreads(__tstate);
33418 if (PyErr_Occurred()) SWIG_fail;
33419 }
33420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33421 return resultobj;
33422 fail:
33423 return NULL;
33424 }
33425
33426
33427 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33428 PyObject *obj;
33429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33430 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33431 Py_INCREF(obj);
33432 return Py_BuildValue((char *)"");
33433 }
33434 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33435 PyObject *resultobj;
33436 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33437 wxHelpProvider *result;
33438 PyObject * obj0 = 0 ;
33439 char *kwnames[] = {
33440 (char *) "helpProvider", NULL
33441 };
33442
33443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33445 if (SWIG_arg_fail(1)) SWIG_fail;
33446 {
33447 PyThreadState* __tstate = wxPyBeginAllowThreads();
33448 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33449
33450 wxPyEndAllowThreads(__tstate);
33451 if (PyErr_Occurred()) SWIG_fail;
33452 }
33453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33454 return resultobj;
33455 fail:
33456 return NULL;
33457 }
33458
33459
33460 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33461 PyObject *resultobj;
33462 wxHelpProvider *result;
33463 char *kwnames[] = {
33464 NULL
33465 };
33466
33467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33468 {
33469 PyThreadState* __tstate = wxPyBeginAllowThreads();
33470 result = (wxHelpProvider *)wxHelpProvider::Get();
33471
33472 wxPyEndAllowThreads(__tstate);
33473 if (PyErr_Occurred()) SWIG_fail;
33474 }
33475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33476 return resultobj;
33477 fail:
33478 return NULL;
33479 }
33480
33481
33482 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33483 PyObject *resultobj;
33484 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33485 wxWindow *arg2 = (wxWindow *) 0 ;
33486 wxString result;
33487 PyObject * obj0 = 0 ;
33488 PyObject * obj1 = 0 ;
33489 char *kwnames[] = {
33490 (char *) "self",(char *) "window", NULL
33491 };
33492
33493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33495 if (SWIG_arg_fail(1)) SWIG_fail;
33496 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33497 if (SWIG_arg_fail(2)) SWIG_fail;
33498 {
33499 PyThreadState* __tstate = wxPyBeginAllowThreads();
33500 result = (arg1)->GetHelp((wxWindow const *)arg2);
33501
33502 wxPyEndAllowThreads(__tstate);
33503 if (PyErr_Occurred()) SWIG_fail;
33504 }
33505 {
33506 #if wxUSE_UNICODE
33507 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33508 #else
33509 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33510 #endif
33511 }
33512 return resultobj;
33513 fail:
33514 return NULL;
33515 }
33516
33517
33518 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33519 PyObject *resultobj;
33520 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33521 wxWindow *arg2 = (wxWindow *) 0 ;
33522 bool result;
33523 PyObject * obj0 = 0 ;
33524 PyObject * obj1 = 0 ;
33525 char *kwnames[] = {
33526 (char *) "self",(char *) "window", NULL
33527 };
33528
33529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33531 if (SWIG_arg_fail(1)) SWIG_fail;
33532 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33533 if (SWIG_arg_fail(2)) SWIG_fail;
33534 {
33535 PyThreadState* __tstate = wxPyBeginAllowThreads();
33536 result = (bool)(arg1)->ShowHelp(arg2);
33537
33538 wxPyEndAllowThreads(__tstate);
33539 if (PyErr_Occurred()) SWIG_fail;
33540 }
33541 {
33542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33543 }
33544 return resultobj;
33545 fail:
33546 return NULL;
33547 }
33548
33549
33550 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33551 PyObject *resultobj;
33552 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33553 wxWindow *arg2 = (wxWindow *) 0 ;
33554 wxString *arg3 = 0 ;
33555 bool temp3 = false ;
33556 PyObject * obj0 = 0 ;
33557 PyObject * obj1 = 0 ;
33558 PyObject * obj2 = 0 ;
33559 char *kwnames[] = {
33560 (char *) "self",(char *) "window",(char *) "text", NULL
33561 };
33562
33563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33565 if (SWIG_arg_fail(1)) SWIG_fail;
33566 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33567 if (SWIG_arg_fail(2)) SWIG_fail;
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_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33596 PyObject *resultobj;
33597 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33598 int arg2 ;
33599 wxString *arg3 = 0 ;
33600 bool temp3 = false ;
33601 PyObject * obj0 = 0 ;
33602 PyObject * obj1 = 0 ;
33603 PyObject * obj2 = 0 ;
33604 char *kwnames[] = {
33605 (char *) "self",(char *) "id",(char *) "text", NULL
33606 };
33607
33608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33610 if (SWIG_arg_fail(1)) SWIG_fail;
33611 {
33612 arg2 = (int)(SWIG_As_int(obj1));
33613 if (SWIG_arg_fail(2)) SWIG_fail;
33614 }
33615 {
33616 arg3 = wxString_in_helper(obj2);
33617 if (arg3 == NULL) SWIG_fail;
33618 temp3 = true;
33619 }
33620 {
33621 PyThreadState* __tstate = wxPyBeginAllowThreads();
33622 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33623
33624 wxPyEndAllowThreads(__tstate);
33625 if (PyErr_Occurred()) SWIG_fail;
33626 }
33627 Py_INCREF(Py_None); resultobj = Py_None;
33628 {
33629 if (temp3)
33630 delete arg3;
33631 }
33632 return resultobj;
33633 fail:
33634 {
33635 if (temp3)
33636 delete arg3;
33637 }
33638 return NULL;
33639 }
33640
33641
33642 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33643 PyObject *resultobj;
33644 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33645 wxWindow *arg2 = (wxWindow *) 0 ;
33646 PyObject * obj0 = 0 ;
33647 PyObject * obj1 = 0 ;
33648 char *kwnames[] = {
33649 (char *) "self",(char *) "window", NULL
33650 };
33651
33652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33654 if (SWIG_arg_fail(1)) SWIG_fail;
33655 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33656 if (SWIG_arg_fail(2)) SWIG_fail;
33657 {
33658 PyThreadState* __tstate = wxPyBeginAllowThreads();
33659 (arg1)->RemoveHelp(arg2);
33660
33661 wxPyEndAllowThreads(__tstate);
33662 if (PyErr_Occurred()) SWIG_fail;
33663 }
33664 Py_INCREF(Py_None); resultobj = Py_None;
33665 return resultobj;
33666 fail:
33667 return NULL;
33668 }
33669
33670
33671 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
33672 PyObject *resultobj;
33673 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33674 PyObject * obj0 = 0 ;
33675 char *kwnames[] = {
33676 (char *) "self", NULL
33677 };
33678
33679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
33680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33681 if (SWIG_arg_fail(1)) SWIG_fail;
33682 {
33683 PyThreadState* __tstate = wxPyBeginAllowThreads();
33684 wxHelpProvider_Destroy(arg1);
33685
33686 wxPyEndAllowThreads(__tstate);
33687 if (PyErr_Occurred()) SWIG_fail;
33688 }
33689 Py_INCREF(Py_None); resultobj = Py_None;
33690 return resultobj;
33691 fail:
33692 return NULL;
33693 }
33694
33695
33696 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
33697 PyObject *obj;
33698 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33699 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33700 Py_INCREF(obj);
33701 return Py_BuildValue((char *)"");
33702 }
33703 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
33704 PyObject *resultobj;
33705 wxSimpleHelpProvider *result;
33706 char *kwnames[] = {
33707 NULL
33708 };
33709
33710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33711 {
33712 PyThreadState* __tstate = wxPyBeginAllowThreads();
33713 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33714
33715 wxPyEndAllowThreads(__tstate);
33716 if (PyErr_Occurred()) SWIG_fail;
33717 }
33718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33719 return resultobj;
33720 fail:
33721 return NULL;
33722 }
33723
33724
33725 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
33726 PyObject *obj;
33727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33728 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33729 Py_INCREF(obj);
33730 return Py_BuildValue((char *)"");
33731 }
33732 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33733 PyObject *resultobj;
33734 wxBitmap *arg1 = 0 ;
33735 wxCursor const &arg2_defvalue = wxNullCursor ;
33736 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33737 wxGenericDragImage *result;
33738 PyObject * obj0 = 0 ;
33739 PyObject * obj1 = 0 ;
33740 char *kwnames[] = {
33741 (char *) "image",(char *) "cursor", NULL
33742 };
33743
33744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
33745 {
33746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33747 if (SWIG_arg_fail(1)) SWIG_fail;
33748 if (arg1 == NULL) {
33749 SWIG_null_ref("wxBitmap");
33750 }
33751 if (SWIG_arg_fail(1)) SWIG_fail;
33752 }
33753 if (obj1) {
33754 {
33755 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33756 if (SWIG_arg_fail(2)) SWIG_fail;
33757 if (arg2 == NULL) {
33758 SWIG_null_ref("wxCursor");
33759 }
33760 if (SWIG_arg_fail(2)) SWIG_fail;
33761 }
33762 }
33763 {
33764 if (!wxPyCheckForApp()) SWIG_fail;
33765 PyThreadState* __tstate = wxPyBeginAllowThreads();
33766 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33767
33768 wxPyEndAllowThreads(__tstate);
33769 if (PyErr_Occurred()) SWIG_fail;
33770 }
33771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33772 return resultobj;
33773 fail:
33774 return NULL;
33775 }
33776
33777
33778 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
33779 PyObject *resultobj;
33780 wxIcon *arg1 = 0 ;
33781 wxCursor const &arg2_defvalue = wxNullCursor ;
33782 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33783 wxGenericDragImage *result;
33784 PyObject * obj0 = 0 ;
33785 PyObject * obj1 = 0 ;
33786 char *kwnames[] = {
33787 (char *) "image",(char *) "cursor", NULL
33788 };
33789
33790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
33791 {
33792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33793 if (SWIG_arg_fail(1)) SWIG_fail;
33794 if (arg1 == NULL) {
33795 SWIG_null_ref("wxIcon");
33796 }
33797 if (SWIG_arg_fail(1)) SWIG_fail;
33798 }
33799 if (obj1) {
33800 {
33801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33802 if (SWIG_arg_fail(2)) SWIG_fail;
33803 if (arg2 == NULL) {
33804 SWIG_null_ref("wxCursor");
33805 }
33806 if (SWIG_arg_fail(2)) SWIG_fail;
33807 }
33808 }
33809 {
33810 if (!wxPyCheckForApp()) SWIG_fail;
33811 PyThreadState* __tstate = wxPyBeginAllowThreads();
33812 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33813
33814 wxPyEndAllowThreads(__tstate);
33815 if (PyErr_Occurred()) SWIG_fail;
33816 }
33817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33818 return resultobj;
33819 fail:
33820 return NULL;
33821 }
33822
33823
33824 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
33825 PyObject *resultobj;
33826 wxString *arg1 = 0 ;
33827 wxCursor const &arg2_defvalue = wxNullCursor ;
33828 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33829 wxGenericDragImage *result;
33830 bool temp1 = false ;
33831 PyObject * obj0 = 0 ;
33832 PyObject * obj1 = 0 ;
33833 char *kwnames[] = {
33834 (char *) "str",(char *) "cursor", NULL
33835 };
33836
33837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33838 {
33839 arg1 = wxString_in_helper(obj0);
33840 if (arg1 == NULL) SWIG_fail;
33841 temp1 = true;
33842 }
33843 if (obj1) {
33844 {
33845 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33846 if (SWIG_arg_fail(2)) SWIG_fail;
33847 if (arg2 == NULL) {
33848 SWIG_null_ref("wxCursor");
33849 }
33850 if (SWIG_arg_fail(2)) SWIG_fail;
33851 }
33852 }
33853 {
33854 if (!wxPyCheckForApp()) SWIG_fail;
33855 PyThreadState* __tstate = wxPyBeginAllowThreads();
33856 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33857
33858 wxPyEndAllowThreads(__tstate);
33859 if (PyErr_Occurred()) SWIG_fail;
33860 }
33861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33862 {
33863 if (temp1)
33864 delete arg1;
33865 }
33866 return resultobj;
33867 fail:
33868 {
33869 if (temp1)
33870 delete arg1;
33871 }
33872 return NULL;
33873 }
33874
33875
33876 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
33877 PyObject *resultobj;
33878 wxPyTreeCtrl *arg1 = 0 ;
33879 wxTreeItemId *arg2 = 0 ;
33880 wxGenericDragImage *result;
33881 PyObject * obj0 = 0 ;
33882 PyObject * obj1 = 0 ;
33883 char *kwnames[] = {
33884 (char *) "treeCtrl",(char *) "id", NULL
33885 };
33886
33887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
33888 {
33889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33890 if (SWIG_arg_fail(1)) SWIG_fail;
33891 if (arg1 == NULL) {
33892 SWIG_null_ref("wxPyTreeCtrl");
33893 }
33894 if (SWIG_arg_fail(1)) SWIG_fail;
33895 }
33896 {
33897 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33898 if (SWIG_arg_fail(2)) SWIG_fail;
33899 if (arg2 == NULL) {
33900 SWIG_null_ref("wxTreeItemId");
33901 }
33902 if (SWIG_arg_fail(2)) SWIG_fail;
33903 }
33904 {
33905 if (!wxPyCheckForApp()) SWIG_fail;
33906 PyThreadState* __tstate = wxPyBeginAllowThreads();
33907 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33908
33909 wxPyEndAllowThreads(__tstate);
33910 if (PyErr_Occurred()) SWIG_fail;
33911 }
33912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33913 return resultobj;
33914 fail:
33915 return NULL;
33916 }
33917
33918
33919 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
33920 PyObject *resultobj;
33921 wxPyListCtrl *arg1 = 0 ;
33922 long arg2 ;
33923 wxGenericDragImage *result;
33924 PyObject * obj0 = 0 ;
33925 PyObject * obj1 = 0 ;
33926 char *kwnames[] = {
33927 (char *) "listCtrl",(char *) "id", NULL
33928 };
33929
33930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
33931 {
33932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33933 if (SWIG_arg_fail(1)) SWIG_fail;
33934 if (arg1 == NULL) {
33935 SWIG_null_ref("wxPyListCtrl");
33936 }
33937 if (SWIG_arg_fail(1)) SWIG_fail;
33938 }
33939 {
33940 arg2 = (long)(SWIG_As_long(obj1));
33941 if (SWIG_arg_fail(2)) SWIG_fail;
33942 }
33943 {
33944 if (!wxPyCheckForApp()) SWIG_fail;
33945 PyThreadState* __tstate = wxPyBeginAllowThreads();
33946 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33947
33948 wxPyEndAllowThreads(__tstate);
33949 if (PyErr_Occurred()) SWIG_fail;
33950 }
33951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33952 return resultobj;
33953 fail:
33954 return NULL;
33955 }
33956
33957
33958 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33959 PyObject *resultobj;
33960 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33961 PyObject * obj0 = 0 ;
33962 char *kwnames[] = {
33963 (char *) "self", NULL
33964 };
33965
33966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
33967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33968 if (SWIG_arg_fail(1)) SWIG_fail;
33969 {
33970 PyThreadState* __tstate = wxPyBeginAllowThreads();
33971 delete arg1;
33972
33973 wxPyEndAllowThreads(__tstate);
33974 if (PyErr_Occurred()) SWIG_fail;
33975 }
33976 Py_INCREF(Py_None); resultobj = Py_None;
33977 return resultobj;
33978 fail:
33979 return NULL;
33980 }
33981
33982
33983 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
33984 PyObject *resultobj;
33985 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33986 wxBitmap *arg2 = (wxBitmap *) 0 ;
33987 PyObject * obj0 = 0 ;
33988 PyObject * obj1 = 0 ;
33989 char *kwnames[] = {
33990 (char *) "self",(char *) "bitmap", NULL
33991 };
33992
33993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
33994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33995 if (SWIG_arg_fail(1)) SWIG_fail;
33996 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33997 if (SWIG_arg_fail(2)) SWIG_fail;
33998 {
33999 PyThreadState* __tstate = wxPyBeginAllowThreads();
34000 (arg1)->SetBackingBitmap(arg2);
34001
34002 wxPyEndAllowThreads(__tstate);
34003 if (PyErr_Occurred()) SWIG_fail;
34004 }
34005 Py_INCREF(Py_None); resultobj = Py_None;
34006 return resultobj;
34007 fail:
34008 return NULL;
34009 }
34010
34011
34012 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34013 PyObject *resultobj;
34014 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34015 wxPoint *arg2 = 0 ;
34016 wxWindow *arg3 = (wxWindow *) 0 ;
34017 bool arg4 = (bool) false ;
34018 wxRect *arg5 = (wxRect *) NULL ;
34019 bool result;
34020 wxPoint temp2 ;
34021 PyObject * obj0 = 0 ;
34022 PyObject * obj1 = 0 ;
34023 PyObject * obj2 = 0 ;
34024 PyObject * obj3 = 0 ;
34025 PyObject * obj4 = 0 ;
34026 char *kwnames[] = {
34027 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34028 };
34029
34030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34032 if (SWIG_arg_fail(1)) SWIG_fail;
34033 {
34034 arg2 = &temp2;
34035 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34036 }
34037 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34038 if (SWIG_arg_fail(3)) SWIG_fail;
34039 if (obj3) {
34040 {
34041 arg4 = (bool)(SWIG_As_bool(obj3));
34042 if (SWIG_arg_fail(4)) SWIG_fail;
34043 }
34044 }
34045 if (obj4) {
34046 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34047 if (SWIG_arg_fail(5)) SWIG_fail;
34048 }
34049 {
34050 PyThreadState* __tstate = wxPyBeginAllowThreads();
34051 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34052
34053 wxPyEndAllowThreads(__tstate);
34054 if (PyErr_Occurred()) SWIG_fail;
34055 }
34056 {
34057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34058 }
34059 return resultobj;
34060 fail:
34061 return NULL;
34062 }
34063
34064
34065 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34066 PyObject *resultobj;
34067 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34068 wxPoint *arg2 = 0 ;
34069 wxWindow *arg3 = (wxWindow *) 0 ;
34070 wxWindow *arg4 = (wxWindow *) 0 ;
34071 bool result;
34072 wxPoint temp2 ;
34073 PyObject * obj0 = 0 ;
34074 PyObject * obj1 = 0 ;
34075 PyObject * obj2 = 0 ;
34076 PyObject * obj3 = 0 ;
34077 char *kwnames[] = {
34078 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34079 };
34080
34081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34083 if (SWIG_arg_fail(1)) SWIG_fail;
34084 {
34085 arg2 = &temp2;
34086 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34087 }
34088 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34089 if (SWIG_arg_fail(3)) SWIG_fail;
34090 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34091 if (SWIG_arg_fail(4)) SWIG_fail;
34092 {
34093 PyThreadState* __tstate = wxPyBeginAllowThreads();
34094 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34095
34096 wxPyEndAllowThreads(__tstate);
34097 if (PyErr_Occurred()) SWIG_fail;
34098 }
34099 {
34100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34101 }
34102 return resultobj;
34103 fail:
34104 return NULL;
34105 }
34106
34107
34108 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34109 PyObject *resultobj;
34110 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34111 bool result;
34112 PyObject * obj0 = 0 ;
34113 char *kwnames[] = {
34114 (char *) "self", NULL
34115 };
34116
34117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34119 if (SWIG_arg_fail(1)) SWIG_fail;
34120 {
34121 PyThreadState* __tstate = wxPyBeginAllowThreads();
34122 result = (bool)(arg1)->EndDrag();
34123
34124 wxPyEndAllowThreads(__tstate);
34125 if (PyErr_Occurred()) SWIG_fail;
34126 }
34127 {
34128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34129 }
34130 return resultobj;
34131 fail:
34132 return NULL;
34133 }
34134
34135
34136 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34137 PyObject *resultobj;
34138 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34139 wxPoint *arg2 = 0 ;
34140 bool result;
34141 wxPoint temp2 ;
34142 PyObject * obj0 = 0 ;
34143 PyObject * obj1 = 0 ;
34144 char *kwnames[] = {
34145 (char *) "self",(char *) "pt", NULL
34146 };
34147
34148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34150 if (SWIG_arg_fail(1)) SWIG_fail;
34151 {
34152 arg2 = &temp2;
34153 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34154 }
34155 {
34156 PyThreadState* __tstate = wxPyBeginAllowThreads();
34157 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34158
34159 wxPyEndAllowThreads(__tstate);
34160 if (PyErr_Occurred()) SWIG_fail;
34161 }
34162 {
34163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34164 }
34165 return resultobj;
34166 fail:
34167 return NULL;
34168 }
34169
34170
34171 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34172 PyObject *resultobj;
34173 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34174 bool result;
34175 PyObject * obj0 = 0 ;
34176 char *kwnames[] = {
34177 (char *) "self", NULL
34178 };
34179
34180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34182 if (SWIG_arg_fail(1)) SWIG_fail;
34183 {
34184 PyThreadState* __tstate = wxPyBeginAllowThreads();
34185 result = (bool)(arg1)->Show();
34186
34187 wxPyEndAllowThreads(__tstate);
34188 if (PyErr_Occurred()) SWIG_fail;
34189 }
34190 {
34191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34192 }
34193 return resultobj;
34194 fail:
34195 return NULL;
34196 }
34197
34198
34199 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34200 PyObject *resultobj;
34201 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34202 bool result;
34203 PyObject * obj0 = 0 ;
34204 char *kwnames[] = {
34205 (char *) "self", NULL
34206 };
34207
34208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34210 if (SWIG_arg_fail(1)) SWIG_fail;
34211 {
34212 PyThreadState* __tstate = wxPyBeginAllowThreads();
34213 result = (bool)(arg1)->Hide();
34214
34215 wxPyEndAllowThreads(__tstate);
34216 if (PyErr_Occurred()) SWIG_fail;
34217 }
34218 {
34219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34220 }
34221 return resultobj;
34222 fail:
34223 return NULL;
34224 }
34225
34226
34227 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34228 PyObject *resultobj;
34229 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34230 wxPoint *arg2 = 0 ;
34231 wxRect result;
34232 wxPoint temp2 ;
34233 PyObject * obj0 = 0 ;
34234 PyObject * obj1 = 0 ;
34235 char *kwnames[] = {
34236 (char *) "self",(char *) "pos", NULL
34237 };
34238
34239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34241 if (SWIG_arg_fail(1)) SWIG_fail;
34242 {
34243 arg2 = &temp2;
34244 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34245 }
34246 {
34247 PyThreadState* __tstate = wxPyBeginAllowThreads();
34248 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34249
34250 wxPyEndAllowThreads(__tstate);
34251 if (PyErr_Occurred()) SWIG_fail;
34252 }
34253 {
34254 wxRect * resultptr;
34255 resultptr = new wxRect((wxRect &)(result));
34256 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34257 }
34258 return resultobj;
34259 fail:
34260 return NULL;
34261 }
34262
34263
34264 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34265 PyObject *resultobj;
34266 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34267 wxDC *arg2 = 0 ;
34268 wxPoint *arg3 = 0 ;
34269 bool result;
34270 wxPoint temp3 ;
34271 PyObject * obj0 = 0 ;
34272 PyObject * obj1 = 0 ;
34273 PyObject * obj2 = 0 ;
34274 char *kwnames[] = {
34275 (char *) "self",(char *) "dc",(char *) "pos", NULL
34276 };
34277
34278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34280 if (SWIG_arg_fail(1)) SWIG_fail;
34281 {
34282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34283 if (SWIG_arg_fail(2)) SWIG_fail;
34284 if (arg2 == NULL) {
34285 SWIG_null_ref("wxDC");
34286 }
34287 if (SWIG_arg_fail(2)) SWIG_fail;
34288 }
34289 {
34290 arg3 = &temp3;
34291 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34292 }
34293 {
34294 PyThreadState* __tstate = wxPyBeginAllowThreads();
34295 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34296
34297 wxPyEndAllowThreads(__tstate);
34298 if (PyErr_Occurred()) SWIG_fail;
34299 }
34300 {
34301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34302 }
34303 return resultobj;
34304 fail:
34305 return NULL;
34306 }
34307
34308
34309 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34310 PyObject *resultobj;
34311 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34312 wxDC *arg2 = 0 ;
34313 wxMemoryDC *arg3 = 0 ;
34314 wxRect *arg4 = 0 ;
34315 wxRect *arg5 = 0 ;
34316 bool result;
34317 wxRect temp4 ;
34318 wxRect temp5 ;
34319 PyObject * obj0 = 0 ;
34320 PyObject * obj1 = 0 ;
34321 PyObject * obj2 = 0 ;
34322 PyObject * obj3 = 0 ;
34323 PyObject * obj4 = 0 ;
34324 char *kwnames[] = {
34325 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34326 };
34327
34328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34330 if (SWIG_arg_fail(1)) SWIG_fail;
34331 {
34332 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34333 if (SWIG_arg_fail(2)) SWIG_fail;
34334 if (arg2 == NULL) {
34335 SWIG_null_ref("wxDC");
34336 }
34337 if (SWIG_arg_fail(2)) SWIG_fail;
34338 }
34339 {
34340 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34341 if (SWIG_arg_fail(3)) SWIG_fail;
34342 if (arg3 == NULL) {
34343 SWIG_null_ref("wxMemoryDC");
34344 }
34345 if (SWIG_arg_fail(3)) SWIG_fail;
34346 }
34347 {
34348 arg4 = &temp4;
34349 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34350 }
34351 {
34352 arg5 = &temp5;
34353 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34354 }
34355 {
34356 PyThreadState* __tstate = wxPyBeginAllowThreads();
34357 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34358
34359 wxPyEndAllowThreads(__tstate);
34360 if (PyErr_Occurred()) SWIG_fail;
34361 }
34362 {
34363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34364 }
34365 return resultobj;
34366 fail:
34367 return NULL;
34368 }
34369
34370
34371 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34372 PyObject *resultobj;
34373 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34374 wxPoint *arg2 = 0 ;
34375 wxPoint *arg3 = 0 ;
34376 bool arg4 ;
34377 bool arg5 ;
34378 bool result;
34379 wxPoint temp2 ;
34380 wxPoint temp3 ;
34381 PyObject * obj0 = 0 ;
34382 PyObject * obj1 = 0 ;
34383 PyObject * obj2 = 0 ;
34384 PyObject * obj3 = 0 ;
34385 PyObject * obj4 = 0 ;
34386 char *kwnames[] = {
34387 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34388 };
34389
34390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34392 if (SWIG_arg_fail(1)) SWIG_fail;
34393 {
34394 arg2 = &temp2;
34395 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34396 }
34397 {
34398 arg3 = &temp3;
34399 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34400 }
34401 {
34402 arg4 = (bool)(SWIG_As_bool(obj3));
34403 if (SWIG_arg_fail(4)) SWIG_fail;
34404 }
34405 {
34406 arg5 = (bool)(SWIG_As_bool(obj4));
34407 if (SWIG_arg_fail(5)) SWIG_fail;
34408 }
34409 {
34410 PyThreadState* __tstate = wxPyBeginAllowThreads();
34411 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34412
34413 wxPyEndAllowThreads(__tstate);
34414 if (PyErr_Occurred()) SWIG_fail;
34415 }
34416 {
34417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34418 }
34419 return resultobj;
34420 fail:
34421 return NULL;
34422 }
34423
34424
34425 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34426 PyObject *obj;
34427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34428 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34429 Py_INCREF(obj);
34430 return Py_BuildValue((char *)"");
34431 }
34432 static PyMethodDef SwigMethods[] = {
34433 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34434 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34435 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34436 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34437 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34438 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34439 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34440 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34441 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34442 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34443 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34444 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34445 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34446 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34447 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34448 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34449 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34450 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34451 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34452 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34453 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34454 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34455 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34456 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34457 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34458 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34459 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34460 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34461 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34462 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34463 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34464 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34465 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34466 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34467 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34468 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34469 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34470 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34471 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34472 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34473 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34474 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34475 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34476 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34477 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34478 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34479 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34480 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34481 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34482 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34483 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34484 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34485 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34486 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34487 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34488 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34489 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34490 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34491 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34492 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34493 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34494 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34495 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34496 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34497 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34498 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34499 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34500 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34501 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34502 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34503 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34504 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34505 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34506 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34507 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34508 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34509 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34510 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34511 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34512 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34513 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34514 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34515 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34516 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34517 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34518 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34519 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34520 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34521 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34522 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34523 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34524 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34525 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34526 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34527 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34528 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34529 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34530 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34531 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34532 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34533 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34534 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34535 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34536 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34537 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34538 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34539 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34540 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34541 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34542 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34543 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34544 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34545 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34546 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34547 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
34548 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
34549 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
34550 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34551 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34552 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34553 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
34554 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34555 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34556 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34557 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
34558 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
34559 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34560 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34561 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
34562 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34563 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34564 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
34565 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34566 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
34567 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34568 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34569 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34570 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34571 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
34572 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34573 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
34574 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
34575 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34576 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34577 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
34578 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34579 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34580 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34581 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34582 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34583 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34584 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34585 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34586 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34587 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34588 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34589 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34590 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34591 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34592 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34593 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
34594 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34595 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34596 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34597 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34598 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34599 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34600 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34601 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34602 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34603 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34604 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
34605 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
34606 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34607 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34608 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34609 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34610 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34611 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34612 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
34613 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
34614 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
34615 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
34616 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34617 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
34618 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
34619 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34620 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34621 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
34622 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34623 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34624 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
34625 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
34626 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
34627 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
34628 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
34629 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
34630 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
34631 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
34632 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34633 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34634 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34635 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34636 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34637 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
34638 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34639 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34640 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
34641 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34642 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34643 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34644 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34645 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34646 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34647 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34648 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34649 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34650 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34651 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34652 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34653 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34654 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34655 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34656 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34657 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34658 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
34659 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
34660 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34661 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
34662 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34663 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34664 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
34665 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34666 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
34667 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
34668 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
34669 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34670 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34671 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
34672 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34673 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34674 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34675 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34676 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
34677 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34678 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
34679 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
34680 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
34681 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34682 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34683 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34684 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34685 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34686 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34687 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34688 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34689 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34690 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34691 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
34692 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34693 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34694 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34695 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34696 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34697 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
34698 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34699 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34700 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34701 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34702 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34703 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
34704 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34705 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34706 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34707 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
34708 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
34709 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
34710 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34711 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34712 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34713 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34714 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34715 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
34716 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
34717 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
34718 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34719 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
34720 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
34721 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34722 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34723 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
34724 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34725 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
34726 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
34727 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
34728 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34729 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34730 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34731 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34732 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
34733 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
34734 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
34735 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34736 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34737 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34738 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34739 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34740 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34741 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
34742 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
34743 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
34744 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34745 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
34746 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34747 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
34748 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
34749 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
34750 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
34751 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
34752 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
34753 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
34754 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34755 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
34756 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34757 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34758 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
34759 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
34760 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
34761 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34762 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34763 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34764 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34765 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34766 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
34767 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
34768 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
34769 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
34770 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34771 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
34772 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
34773 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34774 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34775 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
34776 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
34777 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
34778 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34779 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34780 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
34781 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
34782 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34783 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
34784 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
34785 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34786 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34787 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34788 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
34789 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34790 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34791 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34792 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34793 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34794 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
34795 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
34796 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
34797 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34798 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34799 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
34800 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
34801 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34802 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34803 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34804 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
34805 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34806 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
34807 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
34808 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
34809 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34810 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34811 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
34812 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
34813 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34814 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
34815 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
34816 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
34817 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34818 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34819 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34820 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
34821 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34822 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
34823 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34824 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
34825 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
34826 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
34827 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
34828 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34829 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
34830 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
34831 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
34832 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
34833 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
34834 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
34835 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34836 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
34837 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
34838 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34839 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
34840 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
34841 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
34842 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
34843 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
34844 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34845 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34846 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34847 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34848 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34849 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34850 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
34851 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
34852 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
34853 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34854 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34855 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34856 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34857 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34858 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
34859 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
34860 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34861 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34862 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
34863 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
34864 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
34865 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
34866 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
34867 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
34868 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
34869 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
34870 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34871 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34872 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
34873 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
34874 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
34875 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
34876 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
34877 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
34878 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
34879 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
34880 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34881 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
34882 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
34883 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
34884 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
34885 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34886 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34887 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34889 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
34890 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
34893 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34894 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34895 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
34902 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
34908 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34909 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
34914 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
34926 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
34934 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
34978 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35005 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35076 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35088 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35096 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35103 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35119 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35195 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35217 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35222 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35248 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35256 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35261 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35263 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35272 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35274 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
35292 { NULL, NULL, 0, NULL }
35293 };
35294
35295
35296 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35297
35298 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35299 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35300 }
35301 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35302 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35303 }
35304 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35305 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35306 }
35307 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35308 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35309 }
35310 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35311 return (void *)((wxSizer *) ((wxGridSizer *) x));
35312 }
35313 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35314 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35315 }
35316 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35317 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35318 }
35319 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35320 return (void *)((wxSizer *) ((wxPySizer *) x));
35321 }
35322 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35323 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35324 }
35325 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35326 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35327 }
35328 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35329 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35330 }
35331 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35332 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35333 }
35334 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35335 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35336 }
35337 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35338 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35339 }
35340 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35341 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35342 }
35343 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35344 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35345 }
35346 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35347 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35348 }
35349 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35350 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35351 }
35352 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35353 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35354 }
35355 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35356 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35357 }
35358 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35359 return (void *)((wxEvent *) ((wxPyEvent *) x));
35360 }
35361 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35362 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35363 }
35364 static void *_p_wxListEventTo_p_wxEvent(void *x) {
35365 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35366 }
35367 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
35368 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
35369 }
35370 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
35371 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
35372 }
35373 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
35374 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35375 }
35376 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35377 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35378 }
35379 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35380 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35381 }
35382 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35383 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35384 }
35385 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35386 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35387 }
35388 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35389 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35390 }
35391 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35392 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35393 }
35394 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35395 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35396 }
35397 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35398 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35399 }
35400 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35401 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35402 }
35403 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35404 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35405 }
35406 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35407 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35408 }
35409 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35410 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35411 }
35412 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35413 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35414 }
35415 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35416 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35417 }
35418 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35419 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35420 }
35421 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35422 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35423 }
35424 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35425 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35426 }
35427 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35428 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35429 }
35430 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35431 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35432 }
35433 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35434 return (void *)((wxEvent *) ((wxShowEvent *) x));
35435 }
35436 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35437 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35438 }
35439 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35440 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35441 }
35442 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35443 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35444 }
35445 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35446 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35447 }
35448 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35449 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35450 }
35451 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35452 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35453 }
35454 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35455 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35456 }
35457 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35458 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35459 }
35460 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35461 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35462 }
35463 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35464 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35465 }
35466 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35467 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35468 }
35469 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35470 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35471 }
35472 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35473 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35474 }
35475 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35476 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35477 }
35478 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35479 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
35480 }
35481 static void *_p_wxToolBarTo_p_wxControl(void *x) {
35482 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35483 }
35484 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35485 return (void *)((wxControl *) ((wxToggleButton *) x));
35486 }
35487 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35488 return (void *)((wxControl *) ((wxRadioButton *) x));
35489 }
35490 static void *_p_wxPyControlTo_p_wxControl(void *x) {
35491 return (void *)((wxControl *) ((wxPyControl *) x));
35492 }
35493 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35494 return (void *)((wxControl *) ((wxToolBarBase *) x));
35495 }
35496 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35497 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35498 }
35499 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35500 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35501 }
35502 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35503 return (void *)((wxControl *) ((wxComboBox *) x));
35504 }
35505 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35506 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
35507 }
35508 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35509 return (void *)((wxControl *) ((wxScrollBar *) x));
35510 }
35511 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35512 return (void *)((wxControl *) ((wxControlWithItems *) x));
35513 }
35514 static void *_p_wxGaugeTo_p_wxControl(void *x) {
35515 return (void *)((wxControl *) ((wxGauge *) x));
35516 }
35517 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35518 return (void *)((wxControl *) ((wxStaticLine *) x));
35519 }
35520 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
35521 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
35522 }
35523 static void *_p_wxListbookTo_p_wxControl(void *x) {
35524 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
35525 }
35526 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35527 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
35528 }
35529 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35530 return (void *)((wxControl *) ((wxCheckBox *) x));
35531 }
35532 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
35533 return (void *)((wxControl *) ((wxRadioBox *) x));
35534 }
35535 static void *_p_wxChoiceTo_p_wxControl(void *x) {
35536 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
35537 }
35538 static void *_p_wxListBoxTo_p_wxControl(void *x) {
35539 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
35540 }
35541 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
35542 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35543 }
35544 static void *_p_wxListViewTo_p_wxControl(void *x) {
35545 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
35546 }
35547 static void *_p_wxNotebookTo_p_wxControl(void *x) {
35548 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
35549 }
35550 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
35551 return (void *)((wxControl *) ((wxStaticBitmap *) x));
35552 }
35553 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
35554 return (void *)((wxControl *) ((wxSpinCtrl *) x));
35555 }
35556 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
35557 return (void *)((wxControl *) ((wxStaticText *) x));
35558 }
35559 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
35560 return (void *)((wxControl *) ((wxStaticBox *) x));
35561 }
35562 static void *_p_wxSliderTo_p_wxControl(void *x) {
35563 return (void *)((wxControl *) ((wxSlider *) x));
35564 }
35565 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
35566 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
35567 }
35568 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
35569 return (void *)((wxControl *) ((wxSpinButton *) x));
35570 }
35571 static void *_p_wxButtonTo_p_wxControl(void *x) {
35572 return (void *)((wxControl *) ((wxButton *) x));
35573 }
35574 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
35575 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
35576 }
35577 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
35578 return (void *)((wxControl *) ((wxTextCtrl *) x));
35579 }
35580 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
35581 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
35582 }
35583 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
35584 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
35585 }
35586 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
35587 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35588 }
35589 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
35590 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
35591 }
35592 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
35593 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
35594 }
35595 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
35596 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
35597 }
35598 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
35599 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
35600 }
35601 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
35602 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
35603 }
35604 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
35605 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35606 }
35607 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
35608 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
35609 }
35610 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
35611 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
35612 }
35613 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
35614 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
35615 }
35616 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
35617 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
35618 }
35619 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
35620 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
35621 }
35622 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
35623 return (void *)((wxEvtHandler *) ((wxValidator *) x));
35624 }
35625 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
35626 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
35627 }
35628 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
35629 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
35630 }
35631 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
35632 return (void *)((wxEvtHandler *) ((wxMenu *) x));
35633 }
35634 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
35635 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
35636 }
35637 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
35638 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
35639 }
35640 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
35641 return (void *)((wxEvtHandler *) ((wxWindow *) x));
35642 }
35643 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
35644 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
35645 }
35646 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
35647 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
35648 }
35649 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
35650 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
35651 }
35652 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
35653 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
35654 }
35655 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
35656 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35657 }
35658 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
35659 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
35660 }
35661 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
35662 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
35663 }
35664 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
35665 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
35666 }
35667 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
35668 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
35669 }
35670 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
35671 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35672 }
35673 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
35674 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
35675 }
35676 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
35677 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
35678 }
35679 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
35680 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
35681 }
35682 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
35683 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
35684 }
35685 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
35686 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
35687 }
35688 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
35689 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
35690 }
35691 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
35692 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
35693 }
35694 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
35695 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35696 }
35697 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
35698 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
35699 }
35700 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
35701 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
35702 }
35703 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
35704 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
35705 }
35706 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
35707 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
35708 }
35709 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
35710 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
35711 }
35712 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
35713 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
35714 }
35715 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
35716 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
35717 }
35718 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
35719 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
35720 }
35721 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
35722 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
35723 }
35724 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
35725 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
35726 }
35727 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
35728 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
35729 }
35730 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
35731 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
35732 }
35733 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
35734 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
35735 }
35736 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
35737 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
35738 }
35739 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
35740 return (void *)((wxListBox *) ((wxCheckListBox *) x));
35741 }
35742 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
35743 return (void *)((wxButton *) ((wxBitmapButton *) x));
35744 }
35745 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
35746 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
35747 }
35748 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
35749 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
35750 }
35751 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
35752 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
35753 }
35754 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
35755 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
35756 }
35757 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
35758 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
35759 }
35760 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
35761 return (void *)((wxObject *) ((wxSizerItem *) x));
35762 }
35763 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
35764 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
35765 }
35766 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
35767 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
35768 }
35769 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
35770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
35771 }
35772 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
35773 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
35774 }
35775 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
35776 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
35777 }
35778 static void *_p_wxSizerTo_p_wxObject(void *x) {
35779 return (void *)((wxObject *) ((wxSizer *) x));
35780 }
35781 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
35782 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35783 }
35784 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
35785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
35786 }
35787 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
35788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
35789 }
35790 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
35791 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
35792 }
35793 static void *_p_wxEventTo_p_wxObject(void *x) {
35794 return (void *)((wxObject *) ((wxEvent *) x));
35795 }
35796 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
35797 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
35798 }
35799 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
35800 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
35801 }
35802 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
35803 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
35804 }
35805 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
35806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
35807 }
35808 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
35809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
35810 }
35811 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
35812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35813 }
35814 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
35815 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
35816 }
35817 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
35818 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
35819 }
35820 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
35821 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
35822 }
35823 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
35824 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
35825 }
35826 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
35827 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35828 }
35829 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
35830 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
35831 }
35832 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
35833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
35834 }
35835 static void *_p_wxControlTo_p_wxObject(void *x) {
35836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
35837 }
35838 static void *_p_wxPyControlTo_p_wxObject(void *x) {
35839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
35840 }
35841 static void *_p_wxGaugeTo_p_wxObject(void *x) {
35842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
35843 }
35844 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
35845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
35846 }
35847 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
35848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
35849 }
35850 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
35851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
35852 }
35853 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
35854 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
35855 }
35856 static void *_p_wxChoiceTo_p_wxObject(void *x) {
35857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
35858 }
35859 static void *_p_wxFSFileTo_p_wxObject(void *x) {
35860 return (void *)((wxObject *) ((wxFSFile *) x));
35861 }
35862 static void *_p_wxPySizerTo_p_wxObject(void *x) {
35863 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
35864 }
35865 static void *_p_wxListViewTo_p_wxObject(void *x) {
35866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
35867 }
35868 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
35869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
35870 }
35871 static void *_p_wxNotebookTo_p_wxObject(void *x) {
35872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
35873 }
35874 static void *_p_wxPyEventTo_p_wxObject(void *x) {
35875 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
35876 }
35877 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
35878 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
35879 }
35880 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
35881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
35882 }
35883 static void *_p_wxListbookTo_p_wxObject(void *x) {
35884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
35885 }
35886 static void *_p_wxShowEventTo_p_wxObject(void *x) {
35887 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
35888 }
35889 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
35890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
35891 }
35892 static void *_p_wxSliderTo_p_wxObject(void *x) {
35893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
35894 }
35895 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
35896 return (void *)((wxObject *) ((wxMenuItem *) x));
35897 }
35898 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
35899 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
35900 }
35901 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
35902 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
35903 }
35904 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
35905 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
35906 }
35907 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
35908 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
35909 }
35910 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
35911 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
35912 }
35913 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
35914 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
35915 }
35916 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
35917 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
35918 }
35919 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
35920 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
35921 }
35922 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
35923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
35924 }
35925 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
35926 return (void *)((wxObject *) ((wxContextHelp *) x));
35927 }
35928 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
35929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
35930 }
35931 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
35932 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
35933 }
35934 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
35935 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
35936 }
35937 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
35938 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
35939 }
35940 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
35941 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
35942 }
35943 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
35944 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
35945 }
35946 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
35947 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
35948 }
35949 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
35950 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
35951 }
35952 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
35953 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
35954 }
35955 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
35956 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
35957 }
35958 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
35959 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
35960 }
35961 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
35962 return (void *)((wxObject *) ((wxImageHandler *) x));
35963 }
35964 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
35965 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
35966 }
35967 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
35968 return (void *)((wxObject *) ((wxEvtHandler *) x));
35969 }
35970 static void *_p_wxListEventTo_p_wxObject(void *x) {
35971 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35972 }
35973 static void *_p_wxListBoxTo_p_wxObject(void *x) {
35974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
35975 }
35976 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
35977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35978 }
35979 static void *_p_wxButtonTo_p_wxObject(void *x) {
35980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
35981 }
35982 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
35983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
35984 }
35985 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
35986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
35987 }
35988 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
35989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
35990 }
35991 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
35992 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35993 }
35994 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
35995 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
35996 }
35997 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
35998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
35999 }
36000 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36002 }
36003 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
36005 }
36006 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36007 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36008 }
36009 static void *_p_wxListItemTo_p_wxObject(void *x) {
36010 return (void *)((wxObject *) ((wxListItem *) x));
36011 }
36012 static void *_p_wxImageTo_p_wxObject(void *x) {
36013 return (void *)((wxObject *) ((wxImage *) x));
36014 }
36015 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36016 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36017 }
36018 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36019 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36020 }
36021 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36022 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36023 }
36024 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36025 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36026 }
36027 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36029 }
36030 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
36031 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36032 }
36033 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
36034 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36035 }
36036 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
36037 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36038 }
36039 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36040 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36041 }
36042 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36043 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36044 }
36045 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36046 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36047 }
36048 static void *_p_wxWindowTo_p_wxObject(void *x) {
36049 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36050 }
36051 static void *_p_wxMenuTo_p_wxObject(void *x) {
36052 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36053 }
36054 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36056 }
36057 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36058 return (void *)((wxObject *) ((wxFileSystem *) x));
36059 }
36060 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36061 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36062 }
36063 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36064 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36065 }
36066 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36067 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36068 }
36069 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36070 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36071 }
36072 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36073 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36074 }
36075 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36076 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36077 }
36078 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36079 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36080 }
36081 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36082 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36083 }
36084 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36085 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36086 }
36087 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36088 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36089 }
36090 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36092 }
36093 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36094 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36095 }
36096 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36097 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36098 }
36099 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36100 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36101 }
36102 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36104 }
36105 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36106 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36107 }
36108 static void *_p_wxToolBarTo_p_wxObject(void *x) {
36109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36110 }
36111 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36112 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36113 }
36114 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36115 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36116 }
36117 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36118 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36119 }
36120 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36121 return (void *)((wxWindow *) ((wxMenuBar *) x));
36122 }
36123 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36124 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36125 }
36126 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36127 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36128 }
36129 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36130 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36131 }
36132 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36133 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36134 }
36135 static void *_p_wxControlTo_p_wxWindow(void *x) {
36136 return (void *)((wxWindow *) ((wxControl *) x));
36137 }
36138 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36139 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36140 }
36141 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36142 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36143 }
36144 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36145 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36146 }
36147 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36148 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36149 }
36150 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36151 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36152 }
36153 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36154 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36155 }
36156 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36157 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36158 }
36159 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36160 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36161 }
36162 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36163 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36164 }
36165 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36166 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36167 }
36168 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36169 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36170 }
36171 static void *_p_wxListbookTo_p_wxWindow(void *x) {
36172 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36173 }
36174 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36175 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36176 }
36177 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36178 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36179 }
36180 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36181 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36182 }
36183 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36184 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36185 }
36186 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36187 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36188 }
36189 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36190 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36191 }
36192 static void *_p_wxListViewTo_p_wxWindow(void *x) {
36193 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36194 }
36195 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36196 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36197 }
36198 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36199 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36200 }
36201 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36202 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36203 }
36204 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36205 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36206 }
36207 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36208 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36209 }
36210 static void *_p_wxSliderTo_p_wxWindow(void *x) {
36211 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36212 }
36213 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36214 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36215 }
36216 static void *_p_wxButtonTo_p_wxWindow(void *x) {
36217 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36218 }
36219 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36220 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36221 }
36222 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36223 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36224 }
36225 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36226 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36227 }
36228 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36229 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36230 }
36231 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36232 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36233 }
36234 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36235 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36236 }
36237 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36238 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36239 }
36240 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36241 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36242 }
36243 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36244 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36245 }
36246 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36247 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36248 }
36249 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36250 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36251 }
36252 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36253 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36254 }
36255 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36256 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36257 }
36258 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
36259 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36260 }
36261 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
36262 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36263 }
36264 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36265 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36266 }
36267 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36268 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36269 }
36270 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36271 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36272 }
36273 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36274 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36275 }
36276 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36277 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36278 }
36279 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36280 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36281 }
36282 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36283 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36284 }
36285 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36286 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36287 }
36288 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36289 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36290 }
36291 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36292 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36293 }
36294 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36295 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36296 }
36297 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36298 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36299 }
36300 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36301 return (void *)((wxValidator *) ((wxPyValidator *) x));
36302 }
36303 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}};
36304 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}};
36305 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}};
36306 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}};
36307 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}};
36308 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}};
36309 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}};
36310 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}};
36311 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}};
36312 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}};
36313 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}};
36314 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}};
36315 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}};
36316 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}};
36317 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}};
36318 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}};
36319 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}};
36320 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}};
36321 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}};
36322 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}};
36323 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}};
36324 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}};
36325 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}};
36326 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}};
36327 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}};
36328 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}};
36329 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}};
36330 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}};
36331 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}};
36332 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}};
36333 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}};
36334 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}};
36335 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}};
36336 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}};
36337 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}};
36338 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}};
36339 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}};
36340 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}};
36341 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}};
36342 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}};
36343 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}};
36344 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}};
36345 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}};
36346 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}};
36347 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}};
36348 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}};
36349 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}};
36350 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}};
36351 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}};
36352 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}};
36353 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}};
36354 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}};
36355 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}};
36356 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}};
36357 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}};
36358 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}};
36359 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}};
36360 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}};
36361 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}};
36362 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}};
36363 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}};
36364 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}};
36365 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}};
36366 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}};
36367 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}};
36368 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}};
36369 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}};
36370 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}};
36371 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}};
36372 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}};
36373 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}};
36374 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}};
36375 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}};
36376 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}};
36377 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}};
36378 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}};
36379 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}};
36380 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}};
36381 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}};
36382 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}};
36383 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}};
36384 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}};
36385 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}};
36386 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}};
36387 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}};
36388 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}};
36389 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}};
36390 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}};
36391 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}};
36392 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}};
36393 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}};
36394 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}};
36395 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}};
36396 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}};
36397 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}};
36398 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}};
36399
36400 static swig_type_info *swig_types_initial[] = {
36401 _swigt__p_wxTextUrlEvent,
36402 _swigt__p_wxSizer,
36403 _swigt__p_wxCheckBox,
36404 _swigt__p_wxPyTreeCtrl,
36405 _swigt__p_wxEvent,
36406 _swigt__p_wxGenericDirCtrl,
36407 _swigt__p_bool,
36408 _swigt__p_wxItemContainer,
36409 _swigt__p_wxPyListCtrl,
36410 _swigt__p_wxPyTreeItemData,
36411 _swigt__p_wxDirFilterListCtrl,
36412 _swigt__p_wxStaticLine,
36413 _swigt__p_wxControl,
36414 _swigt__p_wxPyControl,
36415 _swigt__p_wxGauge,
36416 _swigt__p_wxToolBarBase,
36417 _swigt__p_wxFont,
36418 _swigt__p_wxToggleButton,
36419 _swigt__p_wxRadioButton,
36420 _swigt__p_wxChoice,
36421 _swigt__p_wxMemoryDC,
36422 _swigt__ptrdiff_t,
36423 _swigt__std__ptrdiff_t,
36424 _swigt__p_wxListItemAttr,
36425 _swigt__p_void,
36426 _swigt__p_int,
36427 _swigt__p_wxSize,
36428 _swigt__p_wxDC,
36429 _swigt__p_wxListView,
36430 _swigt__p_wxIcon,
36431 _swigt__p_wxVisualAttributes,
36432 _swigt__p_wxTextCtrl,
36433 _swigt__p_wxNotebook,
36434 _swigt__p_wxChoicebook,
36435 _swigt__p_wxNotifyEvent,
36436 _swigt__p_wxArrayString,
36437 _swigt__p_form_ops_t,
36438 _swigt__p_wxListbook,
36439 _swigt__p_wxStaticBitmap,
36440 _swigt__p_wxSlider,
36441 _swigt__p_wxStaticBox,
36442 _swigt__p_wxArrayInt,
36443 _swigt__p_wxContextHelp,
36444 _swigt__p_long,
36445 _swigt__p_wxDuplexMode,
36446 _swigt__p_wxBookCtrlBase,
36447 _swigt__p_wxEvtHandler,
36448 _swigt__p_wxListEvent,
36449 _swigt__p_wxCheckListBox,
36450 _swigt__p_wxListBox,
36451 _swigt__p_wxSpinButton,
36452 _swigt__p_wxButton,
36453 _swigt__p_wxBitmapButton,
36454 _swigt__p_wxRect,
36455 _swigt__p_wxContextHelpButton,
36456 _swigt__p_wxRadioBox,
36457 _swigt__p_wxScrollBar,
36458 _swigt__p_char,
36459 _swigt__p_wxComboBox,
36460 _swigt__p_wxTreeItemId,
36461 _swigt__p_wxHelpEvent,
36462 _swigt__p_wxListItem,
36463 _swigt__p_wxNotebookSizer,
36464 _swigt__p_wxSpinEvent,
36465 _swigt__p_wxGenericDragImage,
36466 _swigt__p_wxSpinCtrl,
36467 _swigt__p_wxPaperSize,
36468 _swigt__p_wxImageList,
36469 _swigt__p_wxHelpProvider,
36470 _swigt__p_wxTextAttr,
36471 _swigt__p_wxSimpleHelpProvider,
36472 _swigt__p_wxChoicebookEvent,
36473 _swigt__p_wxListbookEvent,
36474 _swigt__p_wxNotebookEvent,
36475 _swigt__p_wxPoint,
36476 _swigt__p_wxObject,
36477 _swigt__p_wxCursor,
36478 _swigt__p_wxKeyEvent,
36479 _swigt__p_unsigned_long,
36480 _swigt__p_wxWindow,
36481 _swigt__p_wxString,
36482 _swigt__p_wxBitmap,
36483 _swigt__unsigned_int,
36484 _swigt__p_unsigned_int,
36485 _swigt__p_unsigned_char,
36486 _swigt__p_wxMouseEvent,
36487 _swigt__p_wxBookCtrlBaseEvent,
36488 _swigt__p_wxTreeEvent,
36489 _swigt__p_wxCommandEvent,
36490 _swigt__p_wxStaticText,
36491 _swigt__p_wxControlWithItems,
36492 _swigt__p_wxToolBarToolBase,
36493 _swigt__p_wxColour,
36494 _swigt__p_wxToolBar,
36495 _swigt__p_wxBookCtrlSizer,
36496 _swigt__p_wxValidator,
36497 0
36498 };
36499
36500
36501 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36502
36503 static swig_const_info swig_const_table[] = {
36504 {0, 0, 0, 0.0, 0, 0}};
36505
36506 #ifdef __cplusplus
36507 }
36508 #endif
36509
36510
36511 #ifdef __cplusplus
36512 extern "C" {
36513 #endif
36514
36515 /* Python-specific SWIG API */
36516 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36517 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36518 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36519
36520 /* -----------------------------------------------------------------------------
36521 * global variable support code.
36522 * ----------------------------------------------------------------------------- */
36523
36524 typedef struct swig_globalvar {
36525 char *name; /* Name of global variable */
36526 PyObject *(*get_attr)(); /* Return the current value */
36527 int (*set_attr)(PyObject *); /* Set the value */
36528 struct swig_globalvar *next;
36529 } swig_globalvar;
36530
36531 typedef struct swig_varlinkobject {
36532 PyObject_HEAD
36533 swig_globalvar *vars;
36534 } swig_varlinkobject;
36535
36536 static PyObject *
36537 swig_varlink_repr(swig_varlinkobject *v) {
36538 v = v;
36539 return PyString_FromString("<Swig global variables>");
36540 }
36541
36542 static int
36543 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
36544 swig_globalvar *var;
36545 flags = flags;
36546 fprintf(fp,"Swig global variables { ");
36547 for (var = v->vars; var; var=var->next) {
36548 fprintf(fp,"%s", var->name);
36549 if (var->next) fprintf(fp,", ");
36550 }
36551 fprintf(fp," }\n");
36552 return 0;
36553 }
36554
36555 static PyObject *
36556 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36557 swig_globalvar *var = v->vars;
36558 while (var) {
36559 if (strcmp(var->name,n) == 0) {
36560 return (*var->get_attr)();
36561 }
36562 var = var->next;
36563 }
36564 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36565 return NULL;
36566 }
36567
36568 static int
36569 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36570 swig_globalvar *var = v->vars;
36571 while (var) {
36572 if (strcmp(var->name,n) == 0) {
36573 return (*var->set_attr)(p);
36574 }
36575 var = var->next;
36576 }
36577 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36578 return 1;
36579 }
36580
36581 static PyTypeObject varlinktype = {
36582 PyObject_HEAD_INIT(0)
36583 0, /* Number of items in variable part (ob_size) */
36584 (char *)"swigvarlink", /* Type name (tp_name) */
36585 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
36586 0, /* Itemsize (tp_itemsize) */
36587 0, /* Deallocator (tp_dealloc) */
36588 (printfunc) swig_varlink_print, /* Print (tp_print) */
36589 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
36590 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
36591 0, /* tp_compare */
36592 (reprfunc) swig_varlink_repr, /* tp_repr */
36593 0, /* tp_as_number */
36594 0, /* tp_as_sequence */
36595 0, /* tp_as_mapping */
36596 0, /* tp_hash */
36597 0, /* tp_call */
36598 0, /* tp_str */
36599 0, /* tp_getattro */
36600 0, /* tp_setattro */
36601 0, /* tp_as_buffer */
36602 0, /* tp_flags */
36603 0, /* tp_doc */
36604 #if PY_VERSION_HEX >= 0x02000000
36605 0, /* tp_traverse */
36606 0, /* tp_clear */
36607 #endif
36608 #if PY_VERSION_HEX >= 0x02010000
36609 0, /* tp_richcompare */
36610 0, /* tp_weaklistoffset */
36611 #endif
36612 #if PY_VERSION_HEX >= 0x02020000
36613 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36614 #endif
36615 #if PY_VERSION_HEX >= 0x02030000
36616 0, /* tp_del */
36617 #endif
36618 #ifdef COUNT_ALLOCS
36619 0,0,0,0 /* tp_alloc -> tp_next */
36620 #endif
36621 };
36622
36623 /* Create a variable linking object for use later */
36624 static PyObject *
36625 SWIG_Python_newvarlink(void) {
36626 swig_varlinkobject *result = 0;
36627 result = PyMem_NEW(swig_varlinkobject,1);
36628 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
36629 result->ob_type = &varlinktype;
36630 result->vars = 0;
36631 result->ob_refcnt = 0;
36632 Py_XINCREF((PyObject *) result);
36633 return ((PyObject*) result);
36634 }
36635
36636 static void
36637 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
36638 swig_varlinkobject *v;
36639 swig_globalvar *gv;
36640 v= (swig_varlinkobject *) p;
36641 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
36642 gv->name = (char *) malloc(strlen(name)+1);
36643 strcpy(gv->name,name);
36644 gv->get_attr = get_attr;
36645 gv->set_attr = set_attr;
36646 gv->next = v->vars;
36647 v->vars = gv;
36648 }
36649
36650 /* -----------------------------------------------------------------------------
36651 * constants/methods manipulation
36652 * ----------------------------------------------------------------------------- */
36653
36654 /* Install Constants */
36655 static void
36656 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
36657 PyObject *obj = 0;
36658 size_t i;
36659 for (i = 0; constants[i].type; i++) {
36660 switch(constants[i].type) {
36661 case SWIG_PY_INT:
36662 obj = PyInt_FromLong(constants[i].lvalue);
36663 break;
36664 case SWIG_PY_FLOAT:
36665 obj = PyFloat_FromDouble(constants[i].dvalue);
36666 break;
36667 case SWIG_PY_STRING:
36668 if (constants[i].pvalue) {
36669 obj = PyString_FromString((char *) constants[i].pvalue);
36670 } else {
36671 Py_INCREF(Py_None);
36672 obj = Py_None;
36673 }
36674 break;
36675 case SWIG_PY_POINTER:
36676 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
36677 break;
36678 case SWIG_PY_BINARY:
36679 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
36680 break;
36681 default:
36682 obj = 0;
36683 break;
36684 }
36685 if (obj) {
36686 PyDict_SetItemString(d,constants[i].name,obj);
36687 Py_DECREF(obj);
36688 }
36689 }
36690 }
36691
36692 /* -----------------------------------------------------------------------------*/
36693 /* Fix SwigMethods to carry the callback ptrs when needed */
36694 /* -----------------------------------------------------------------------------*/
36695
36696 static void
36697 SWIG_Python_FixMethods(PyMethodDef *methods,
36698 swig_const_info *const_table,
36699 swig_type_info **types,
36700 swig_type_info **types_initial) {
36701 size_t i;
36702 for (i = 0; methods[i].ml_name; ++i) {
36703 char *c = methods[i].ml_doc;
36704 if (c && (c = strstr(c, "swig_ptr: "))) {
36705 int j;
36706 swig_const_info *ci = 0;
36707 char *name = c + 10;
36708 for (j = 0; const_table[j].type; j++) {
36709 if (strncmp(const_table[j].name, name,
36710 strlen(const_table[j].name)) == 0) {
36711 ci = &(const_table[j]);
36712 break;
36713 }
36714 }
36715 if (ci) {
36716 size_t shift = (ci->ptype) - types;
36717 swig_type_info *ty = types_initial[shift];
36718 size_t ldoc = (c - methods[i].ml_doc);
36719 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
36720 char *ndoc = (char*)malloc(ldoc + lptr + 10);
36721 char *buff = ndoc;
36722 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
36723 strncpy(buff, methods[i].ml_doc, ldoc);
36724 buff += ldoc;
36725 strncpy(buff, "swig_ptr: ", 10);
36726 buff += 10;
36727 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
36728 methods[i].ml_doc = ndoc;
36729 }
36730 }
36731 }
36732 }
36733
36734 /* -----------------------------------------------------------------------------*
36735 * Initialize type list
36736 * -----------------------------------------------------------------------------*/
36737
36738 #if PY_MAJOR_VERSION < 2
36739 /* PyModule_AddObject function was introduced in Python 2.0. The following function
36740 is copied out of Python/modsupport.c in python version 2.3.4 */
36741 static int
36742 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
36743 {
36744 PyObject *dict;
36745 if (!PyModule_Check(m)) {
36746 PyErr_SetString(PyExc_TypeError,
36747 "PyModule_AddObject() needs module as first arg");
36748 return -1;
36749 }
36750 if (!o) {
36751 PyErr_SetString(PyExc_TypeError,
36752 "PyModule_AddObject() needs non-NULL value");
36753 return -1;
36754 }
36755
36756 dict = PyModule_GetDict(m);
36757 if (dict == NULL) {
36758 /* Internal error -- modules must have a dict! */
36759 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
36760 PyModule_GetName(m));
36761 return -1;
36762 }
36763 if (PyDict_SetItemString(dict, name, o))
36764 return -1;
36765 Py_DECREF(o);
36766 return 0;
36767 }
36768 #endif
36769
36770 static swig_type_info **
36771 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
36772 static PyMethodDef swig_empty_runtime_method_table[] = {
36773 {
36774 NULL, NULL, 0, NULL
36775 }
36776 };/* Sentinel */
36777
36778 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
36779 swig_empty_runtime_method_table);
36780 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
36781 if (pointer && module) {
36782 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
36783 }
36784 return type_list_handle;
36785 }
36786
36787 static swig_type_info **
36788 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
36789 swig_type_info **type_pointer;
36790
36791 /* first check if module already created */
36792 type_pointer = SWIG_Python_GetTypeListHandle();
36793 if (type_pointer) {
36794 return type_pointer;
36795 } else {
36796 /* create a new module and variable */
36797 return SWIG_Python_SetTypeListHandle(type_list_handle);
36798 }
36799 }
36800
36801 #ifdef __cplusplus
36802 }
36803 #endif
36804
36805 /* -----------------------------------------------------------------------------*
36806 * Partial Init method
36807 * -----------------------------------------------------------------------------*/
36808
36809 #ifdef SWIG_LINK_RUNTIME
36810 #ifdef __cplusplus
36811 extern "C"
36812 #endif
36813 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
36814 #endif
36815
36816 #ifdef __cplusplus
36817 extern "C"
36818 #endif
36819 SWIGEXPORT(void) SWIG_init(void) {
36820 static PyObject *SWIG_globals = 0;
36821 static int typeinit = 0;
36822 PyObject *m, *d;
36823 int i;
36824 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36825
36826 /* Fix SwigMethods to carry the callback ptrs when needed */
36827 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
36828
36829 m = Py_InitModule((char *) SWIG_name, SwigMethods);
36830 d = PyModule_GetDict(m);
36831
36832 if (!typeinit) {
36833 #ifdef SWIG_LINK_RUNTIME
36834 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
36835 #else
36836 # ifndef SWIG_STATIC_RUNTIME
36837 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
36838 # endif
36839 #endif
36840 for (i = 0; swig_types_initial[i]; i++) {
36841 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
36842 }
36843 typeinit = 1;
36844 }
36845 SWIG_InstallConstants(d,swig_const_table);
36846
36847 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
36848 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
36849 {
36850 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
36851 }
36852 {
36853 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
36854 }
36855 {
36856 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
36857 }
36858 {
36859 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
36860 }
36861 {
36862 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
36863 }
36864 {
36865 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
36866 }
36867 {
36868 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
36869 }
36870 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
36871 {
36872 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
36873 }
36874 {
36875 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
36876 }
36877 {
36878 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
36879 }
36880 {
36881 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
36882 }
36883 {
36884 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
36885 }
36886 {
36887 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
36888 }
36889 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
36890 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
36891 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
36892 {
36893 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
36894 }
36895 {
36896 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
36897 }
36898 {
36899 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
36900 }
36901 {
36902 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
36903 }
36904 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
36905 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
36906 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
36907 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
36908 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
36909 {
36910 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
36911 }
36912 {
36913 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
36914 }
36915 {
36916 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
36917 }
36918 {
36919 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
36920 }
36921 {
36922 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
36923 }
36924 {
36925 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
36926 }
36927 {
36928 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
36929 }
36930 {
36931 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
36932 }
36933 {
36934 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
36935 }
36936 {
36937 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
36938 }
36939 {
36940 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
36941 }
36942 {
36943 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
36944 }
36945 {
36946 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
36947 }
36948 {
36949 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
36950 }
36951 {
36952 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
36953 }
36954 {
36955 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
36956 }
36957 {
36958 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
36959 }
36960 {
36961 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
36962 }
36963 {
36964 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
36965 }
36966 {
36967 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
36968 }
36969 {
36970 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
36971 }
36972 {
36973 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
36974 }
36975 {
36976 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
36977 }
36978 {
36979 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
36980 }
36981 {
36982 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
36983 }
36984 {
36985 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
36986 }
36987 {
36988 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
36989 }
36990 {
36991 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
36992 }
36993 {
36994 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
36995 }
36996 {
36997 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
36998 }
36999 {
37000 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37001 }
37002 {
37003 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37004 }
37005 {
37006 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37007 }
37008 {
37009 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37010 }
37011 {
37012 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37013 }
37014 {
37015 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37016 }
37017 {
37018 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37019 }
37020 {
37021 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37022 }
37023 {
37024 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37025 }
37026 {
37027 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37028 }
37029 {
37030 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37031 }
37032 {
37033 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37034 }
37035 {
37036 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37037 }
37038 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37039 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37040 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37041 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37042 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37043 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37044 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
37045 {
37046 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37047 }
37048 {
37049 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37050 }
37051 {
37052 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37053 }
37054 {
37055 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37056 }
37057 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37058 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37059 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37060 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37061 {
37062 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37063 }
37064 {
37065 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37066 }
37067 {
37068 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37069 }
37070 {
37071 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37072 }
37073 {
37074 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37075 }
37076 {
37077 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37078 }
37079 {
37080 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37081 }
37082 {
37083 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37084 }
37085 {
37086 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37087 }
37088 {
37089 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37090 }
37091 {
37092 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37093 }
37094 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37095 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
37096 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
37097 {
37098 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37099 }
37100 {
37101 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37102 }
37103 {
37104 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37105 }
37106 {
37107 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37108 }
37109 {
37110 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37111 }
37112 {
37113 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37114 }
37115 {
37116 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37117 }
37118 {
37119 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37120 }
37121 {
37122 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37123 }
37124 {
37125 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37126 }
37127 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37128 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
37129 {
37130 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37131 }
37132 {
37133 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37134 }
37135 {
37136 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37137 }
37138 {
37139 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37140 }
37141 {
37142 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37143 }
37144 {
37145 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37146 }
37147 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37148 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
37149 {
37150 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37151 }
37152 {
37153 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37154 }
37155 {
37156 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37157 }
37158 {
37159 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37160 }
37161 {
37162 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37163 }
37164 {
37165 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37166 }
37167 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37168 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
37169 {
37170 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37171 }
37172 {
37173 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37174 }
37175 {
37176 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37177 }
37178 {
37179 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37180 }
37181 {
37182 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37183 }
37184 {
37185 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37186 }
37187 {
37188 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37189 }
37190 {
37191 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37192 }
37193 {
37194 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37195 }
37196 {
37197 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37198 }
37199 {
37200 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37201 }
37202 {
37203 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37204 }
37205 {
37206 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37207 }
37208 {
37209 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37210 }
37211 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
37212 {
37213 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37214 }
37215 {
37216 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37217 }
37218 {
37219 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37220 }
37221 {
37222 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37223 }
37224 {
37225 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37226 }
37227 {
37228 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37229 }
37230 {
37231 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37232 }
37233 {
37234 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37235 }
37236 {
37237 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37238 }
37239 {
37240 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37241 }
37242 {
37243 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37244 }
37245 {
37246 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37247 }
37248 {
37249 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37250 }
37251 {
37252 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37253 }
37254 {
37255 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37256 }
37257 {
37258 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37259 }
37260 {
37261 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37262 }
37263 {
37264 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37265 }
37266 {
37267 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37268 }
37269 {
37270 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37271 }
37272 {
37273 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37274 }
37275 {
37276 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37277 }
37278 {
37279 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37280 }
37281 {
37282 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37283 }
37284 {
37285 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37286 }
37287 {
37288 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37289 }
37290 {
37291 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37292 }
37293 {
37294 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37295 }
37296 {
37297 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37298 }
37299 {
37300 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37301 }
37302 {
37303 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37304 }
37305 {
37306 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37307 }
37308 {
37309 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37310 }
37311 {
37312 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37313 }
37314 {
37315 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37316 }
37317 {
37318 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37319 }
37320 {
37321 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37322 }
37323 {
37324 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37325 }
37326 {
37327 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37328 }
37329 {
37330 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37331 }
37332 {
37333 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37334 }
37335 {
37336 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37337 }
37338 {
37339 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37340 }
37341 {
37342 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37343 }
37344 {
37345 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37346 }
37347 {
37348 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37349 }
37350 {
37351 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37352 }
37353 {
37354 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37355 }
37356 {
37357 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37358 }
37359 {
37360 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37361 }
37362 {
37363 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37364 }
37365 {
37366 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37367 }
37368 {
37369 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37370 }
37371 {
37372 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37373 }
37374 {
37375 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37376 }
37377 {
37378 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37379 }
37380 {
37381 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37382 }
37383 {
37384 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37385 }
37386 {
37387 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37388 }
37389 {
37390 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37391 }
37392 {
37393 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37394 }
37395 {
37396 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37397 }
37398 {
37399 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37400 }
37401 {
37402 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37403 }
37404 {
37405 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37406 }
37407 {
37408 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37409 }
37410 {
37411 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37412 }
37413 {
37414 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37415 }
37416 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37417 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37418 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37419 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37420 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37421 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
37422 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37423 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37424 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37425 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37426 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37427 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37428 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37429 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37430 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37431 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37432 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37433 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37434 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37435 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
37436 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37437 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
37438
37439 // Map renamed classes back to their common name for OOR
37440 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37441
37442 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
37443 {
37444 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37445 }
37446 {
37447 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37448 }
37449 {
37450 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37451 }
37452 {
37453 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37454 }
37455 {
37456 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37457 }
37458 {
37459 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37460 }
37461 {
37462 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37463 }
37464 {
37465 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37466 }
37467 {
37468 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37469 }
37470 {
37471 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37472 }
37473 {
37474 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37475 }
37476 {
37477 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37478 }
37479 {
37480 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37481 }
37482 {
37483 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37484 }
37485 {
37486 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37487 }
37488 {
37489 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37490 }
37491 {
37492 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37493 }
37494 {
37495 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
37496 }
37497 {
37498 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
37499 }
37500 {
37501 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
37502 }
37503 {
37504 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
37505 }
37506 {
37507 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
37508 }
37509 {
37510 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
37511 }
37512 {
37513 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
37514 }
37515 {
37516 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
37517 }
37518 {
37519 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
37520 }
37521 {
37522 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
37523 }
37524 {
37525 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
37526 }
37527 {
37528 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
37529 }
37530 {
37531 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
37532 }
37533 {
37534 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
37535 }
37536 {
37537 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
37538 }
37539 {
37540 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
37541 }
37542 {
37543 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
37544 }
37545 {
37546 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
37547 }
37548 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
37549 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
37550 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
37551 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
37552 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
37553 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
37554 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
37555 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
37556 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
37557 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
37558 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
37559 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
37560 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
37561 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
37562 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
37563 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
37564 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
37565 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
37566 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
37567 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
37568 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
37569
37570 // Map renamed classes back to their common name for OOR
37571 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
37572 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
37573
37574 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
37575 {
37576 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
37577 }
37578 {
37579 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
37580 }
37581 {
37582 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
37583 }
37584 {
37585 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
37586 }
37587 {
37588 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
37589 }
37590 {
37591 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
37592 }
37593 {
37594 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
37595 }
37596 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
37597 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
37598
37599 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
37600
37601 }
37602