]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048 }
1049
1050 SWIGRUNTIMEINLINE void
1051 SWIG_Python_NullRef(const char *type)
1052 {
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058 }
1059
1060 SWIGRUNTIME int
1061 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062 {
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083 }
1084
1085 SWIGRUNTIME int
1086 SWIG_Python_ArgFail(int argnum)
1087 {
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096 }
1097
1098
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103 /* Convert a pointer value */
1104 SWIGRUNTIME int
1105 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136 #else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154 #endif
1155
1156 type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171 type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194 }
1195
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1197 SWIGRUNTIME void *
1198 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208 }
1209
1210 /* Convert a packed value value */
1211 SWIGRUNTIME int
1212 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218 #else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223 #endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231 type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241 }
1242
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject *
1245 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253 #else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259 #endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275 }
1276
1277 SWIGRUNTIME PyObject *
1278 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286 #else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292 #endif
1293 return robj;
1294 }
1295
1296 /* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1302 #endif
1303
1304 SWIGRUNTIME swig_type_info **
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311 #else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319 #endif
1320 return (swig_type_info **) type_pointer;
1321 }
1322
1323 /*
1324 Search for a swig_type_info structure
1325 */
1326 SWIGRUNTIMEINLINE swig_type_info *
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330 }
1331
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334 #ifdef __cplusplus
1335 }
1336 #endif
1337
1338
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1340
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxDateTime swig_types[77]
1419 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1420 #define SWIGTYPE_p_unsigned_long swig_types[79]
1421 #define SWIGTYPE_p_wxWindow swig_types[80]
1422 #define SWIGTYPE_p_wxString swig_types[81]
1423 #define SWIGTYPE_p_wxBitmap swig_types[82]
1424 #define SWIGTYPE_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_int swig_types[84]
1426 #define SWIGTYPE_p_unsigned_char swig_types[85]
1427 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1429 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1430 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1431 #define SWIGTYPE_p_wxStaticText swig_types[90]
1432 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1433 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1434 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1435 #define SWIGTYPE_p_wxColour swig_types[94]
1436 #define SWIGTYPE_p_wxToolBar swig_types[95]
1437 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1438 #define SWIGTYPE_p_wxValidator swig_types[97]
1439 static swig_type_info *swig_types[99];
1440
1441 /* -------- TYPES TABLE (END) -------- */
1442
1443
1444 /*-----------------------------------------------
1445 @(target):= _controls_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_controls_
1448
1449 #define SWIG_name "_controls_"
1450
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1453
1454 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1455 static const wxString wxPyEmptyString(wxEmptyString);
1456 static const wxString wxPyControlNameStr(wxControlNameStr);
1457
1458 const wxArrayString wxPyEmptyStringArray;
1459
1460 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1461
1462 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1463 #define SWIG_From_int PyInt_FromLong
1464 /*@@*/
1465
1466
1467 #include <limits.h>
1468
1469
1470 SWIGINTERN int
1471 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1472 const char *errmsg)
1473 {
1474 if (value < min_value) {
1475 if (errmsg) {
1476 PyErr_Format(PyExc_OverflowError,
1477 "value %ld is less than '%s' minimum %ld",
1478 value, errmsg, min_value);
1479 }
1480 return 0;
1481 } else if (value > max_value) {
1482 if (errmsg) {
1483 PyErr_Format(PyExc_OverflowError,
1484 "value %ld is greater than '%s' maximum %ld",
1485 value, errmsg, max_value);
1486 }
1487 return 0;
1488 }
1489 return 1;
1490 }
1491
1492
1493 SWIGINTERN int
1494 SWIG_AsVal_long(PyObject* obj, long* val)
1495 {
1496 if (PyNumber_Check(obj)) {
1497 if (val) *val = PyInt_AsLong(obj);
1498 return 1;
1499 }
1500 else {
1501 SWIG_type_error("number", obj);
1502 }
1503 return 0;
1504 }
1505
1506
1507 #if INT_MAX != LONG_MAX
1508 SWIGINTERN int
1509 SWIG_AsVal_int(PyObject *obj, int *val)
1510 {
1511 const char* errmsg = val ? "int" : (char*)0;
1512 long v;
1513 if (SWIG_AsVal_long(obj, &v)) {
1514 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1515 if (val) *val = (int)(v);
1516 return 1;
1517 } else {
1518 return 0;
1519 }
1520 } else {
1521 PyErr_Clear();
1522 }
1523 if (val) {
1524 SWIG_type_error(errmsg, obj);
1525 }
1526 return 0;
1527 }
1528 #else
1529 SWIGINTERNSHORT int
1530 SWIG_AsVal_int(PyObject *obj, int *val)
1531 {
1532 return SWIG_AsVal_long(obj,(long*)val);
1533 }
1534 #endif
1535
1536
1537 SWIGINTERNSHORT int
1538 SWIG_As_int(PyObject* obj)
1539 {
1540 int v;
1541 if (!SWIG_AsVal_int(obj, &v)) {
1542 /*
1543 this is needed to make valgrind/purify happier.
1544 */
1545 memset((void*)&v, 0, sizeof(int));
1546 }
1547 return v;
1548 }
1549
1550
1551 SWIGINTERNSHORT long
1552 SWIG_As_long(PyObject* obj)
1553 {
1554 long v;
1555 if (!SWIG_AsVal_long(obj, &v)) {
1556 /*
1557 this is needed to make valgrind/purify happier.
1558 */
1559 memset((void*)&v, 0, sizeof(long));
1560 }
1561 return v;
1562 }
1563
1564
1565 SWIGINTERNSHORT int
1566 SWIG_Check_int(PyObject* obj)
1567 {
1568 return SWIG_AsVal_int(obj, (int*)0);
1569 }
1570
1571
1572 SWIGINTERNSHORT int
1573 SWIG_Check_long(PyObject* obj)
1574 {
1575 return SWIG_AsVal_long(obj, (long*)0);
1576 }
1577
1578 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1579
1580 SWIGINTERN int
1581 SWIG_AsVal_bool(PyObject *obj, bool *val)
1582 {
1583 if (obj == Py_True) {
1584 if (val) *val = true;
1585 return 1;
1586 }
1587 if (obj == Py_False) {
1588 if (val) *val = false;
1589 return 1;
1590 }
1591 int res = 0;
1592 if (SWIG_AsVal_int(obj, &res)) {
1593 if (val) *val = res ? true : false;
1594 return 1;
1595 } else {
1596 PyErr_Clear();
1597 }
1598 if (val) {
1599 SWIG_type_error("bool", obj);
1600 }
1601 return 0;
1602 }
1603
1604
1605 SWIGINTERNSHORT bool
1606 SWIG_As_bool(PyObject* obj)
1607 {
1608 bool v;
1609 if (!SWIG_AsVal_bool(obj, &v)) {
1610 /*
1611 this is needed to make valgrind/purify happier.
1612 */
1613 memset((void*)&v, 0, sizeof(bool));
1614 }
1615 return v;
1616 }
1617
1618
1619 SWIGINTERNSHORT int
1620 SWIG_Check_bool(PyObject* obj)
1621 {
1622 return SWIG_AsVal_bool(obj, (bool*)0);
1623 }
1624
1625 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1626 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1627
1628 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1629 #define SWIG_From_long PyInt_FromLong
1630 /*@@*/
1631
1632 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1633 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1634 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1635 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1636
1637 #include <wx/checklst.h>
1638
1639
1640 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1641 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1642 if (clientData) {
1643 wxPyClientData* data = new wxPyClientData(clientData);
1644 self->Insert(item, pos, data);
1645 } else
1646 self->Insert(item, pos);
1647 }
1648 static PyObject *wxListBox_GetSelections(wxListBox *self){
1649 wxArrayInt lst;
1650 self->GetSelections(lst);
1651 PyObject *tup = PyTuple_New(lst.GetCount());
1652 for(size_t i=0; i<lst.GetCount(); i++) {
1653 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1654 }
1655 return tup;
1656 }
1657 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1658 #ifdef __WXMSW__
1659 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1660 self->GetItem(item)->SetTextColour(c);
1661 #endif
1662 }
1663 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1664 #ifdef __WXMSW__
1665 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1666 self->GetItem(item)->SetBackgroundColour(c);
1667 #endif
1668 }
1669 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1670 #ifdef __WXMSW__
1671 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1672 self->GetItem(item)->SetFont(f);
1673 #endif
1674 }
1675 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1676
1677 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1678 PyObject* o2;
1679 PyObject* o3;
1680
1681 if (!target) {
1682 target = o;
1683 } else if (target == Py_None) {
1684 Py_DECREF(Py_None);
1685 target = o;
1686 } else {
1687 if (!PyTuple_Check(target)) {
1688 o2 = target;
1689 target = PyTuple_New(1);
1690 PyTuple_SetItem(target, 0, o2);
1691 }
1692 o3 = PyTuple_New(1);
1693 PyTuple_SetItem(o3, 0, o);
1694
1695 o2 = target;
1696 target = PySequence_Concat(o2, o3);
1697 Py_DECREF(o2);
1698 Py_DECREF(o3);
1699 }
1700 return target;
1701 }
1702
1703
1704
1705 SWIGINTERN int
1706 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1707 {
1708 long v = 0;
1709 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1710 SWIG_type_error("unsigned number", obj);
1711 }
1712 else if (val)
1713 *val = (unsigned long)v;
1714 return 1;
1715 }
1716
1717
1718 SWIGINTERNSHORT unsigned long
1719 SWIG_As_unsigned_SS_long(PyObject* obj)
1720 {
1721 unsigned long v;
1722 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1723 /*
1724 this is needed to make valgrind/purify happier.
1725 */
1726 memset((void*)&v, 0, sizeof(unsigned long));
1727 }
1728 return v;
1729 }
1730
1731
1732 SWIGINTERNSHORT int
1733 SWIG_Check_unsigned_SS_long(PyObject* obj)
1734 {
1735 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1736 }
1737
1738 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1739 self->AppendText(text);
1740 }
1741 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
1742 return self->GetValue().Mid(from, to - from);
1743 }
1744 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1745 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1746 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1747 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1748 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1749 static int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
1750 static int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
1751 static int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
1752
1753 #include <wx/slider.h>
1754
1755
1756 static const wxString wxPySliderNameStr(wxSliderNameStr);
1757 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1758
1759 #if !wxUSE_TOGGLEBTN
1760 // implement dummy items for platforms that don't have this class
1761
1762 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1763
1764 class wxToggleButton : public wxControl
1765 {
1766 public:
1767 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1768 const wxPoint&, const wxSize&, long,
1769 const wxValidator&, const wxString&)
1770 { wxPyRaiseNotImplemented(); }
1771
1772 wxToggleButton()
1773 { wxPyRaiseNotImplemented(); }
1774 };
1775 #endif
1776
1777 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
1778
1779 SWIGINTERNSHORT PyObject*
1780 SWIG_From_unsigned_SS_long(unsigned long value)
1781 {
1782 return (value > LONG_MAX) ?
1783 PyLong_FromUnsignedLong(value)
1784 : PyInt_FromLong((long)(value));
1785 }
1786
1787 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1788 static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
1789 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1790 if (udata) {
1791 Py_INCREF(udata->m_obj);
1792 return udata->m_obj;
1793 } else {
1794 Py_INCREF(Py_None);
1795 return Py_None;
1796 }
1797 }
1798 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
1799 self->SetClientData(new wxPyUserData(clientData));
1800 }
1801 static wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
1802 wxPyUserData* udata = NULL;
1803 if (clientData && clientData != Py_None)
1804 udata = new wxPyUserData(clientData);
1805 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1806 shortHelp, longHelp, udata);
1807 }
1808 static wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
1809 wxPyUserData* udata = NULL;
1810 if (clientData && clientData != Py_None)
1811 udata = new wxPyUserData(clientData);
1812 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1813 shortHelp, longHelp, udata);
1814 }
1815 static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
1816 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1817 if (udata) {
1818 Py_INCREF(udata->m_obj);
1819 return udata->m_obj;
1820 } else {
1821 Py_INCREF(Py_None);
1822 return Py_None;
1823 }
1824 }
1825 static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
1826 self->SetToolClientData(id, new wxPyUserData(clientData));
1827 }
1828
1829 #include <wx/listctrl.h>
1830
1831 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
1832 static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
1833 // Python aware sorting function for wxPyListCtrl
1834 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1835 int retval = 0;
1836 PyObject* func = (PyObject*)funcPtr;
1837 bool blocked = wxPyBeginBlockThreads();
1838
1839 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1840 PyObject* result = PyEval_CallObject(func, args);
1841 Py_DECREF(args);
1842 if (result) {
1843 retval = PyInt_AsLong(result);
1844 Py_DECREF(result);
1845 }
1846
1847 wxPyEndBlockThreads(blocked);
1848 return retval;
1849 }
1850
1851 // C++ Version of a Python aware class
1852 class wxPyListCtrl : public wxListCtrl {
1853 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1854 public:
1855 wxPyListCtrl() : wxListCtrl() {}
1856 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1857 const wxPoint& pos,
1858 const wxSize& size,
1859 long style,
1860 const wxValidator& validator,
1861 const wxString& name) :
1862 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1863
1864 bool Create(wxWindow* parent, wxWindowID id,
1865 const wxPoint& pos,
1866 const wxSize& size,
1867 long style,
1868 const wxValidator& validator,
1869 const wxString& name) {
1870 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1871 }
1872
1873 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
1874 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1875
1876 // use the virtual version to avoid a confusing assert in the base class
1877 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1878
1879 PYPRIVATE;
1880 };
1881
1882 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1883
1884 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
1885 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
1886 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1887
1888
1889 static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
1890 wxListItem item;
1891 item.SetMask( wxLIST_MASK_STATE |
1892 wxLIST_MASK_TEXT |
1893 wxLIST_MASK_IMAGE |
1894 wxLIST_MASK_DATA |
1895 wxLIST_SET_ITEM |
1896 wxLIST_MASK_WIDTH |
1897 wxLIST_MASK_FORMAT
1898 );
1899 if (self->GetColumn(col, item))
1900 return new wxListItem(item);
1901 else
1902 return NULL;
1903 }
1904 static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
1905 wxListItem* info = new wxListItem;
1906 info->m_itemId = itemId;
1907 info->m_col = col;
1908 info->m_mask = 0xFFFF;
1909 self->GetItem(*info);
1910 return info;
1911 }
1912 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
1913 wxPoint pos;
1914 self->GetItemPosition(item, pos);
1915 return pos;
1916 }
1917 static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
1918 wxRect rect;
1919 self->GetItemRect(item, rect, code);
1920 return rect;
1921 }
1922
1923 static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
1924 if (!PyCallable_Check(func))
1925 return false;
1926 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1927 }
1928 static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
1929
1930
1931
1932 return (wxWindow*)self->m_mainWin;
1933
1934 }
1935
1936 #include <wx/treectrl.h>
1937 #include "wx/wxPython/pytree.h"
1938
1939 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1940 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1941 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1942 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
1943 // C++ version of Python aware wxTreeCtrl
1944 class wxPyTreeCtrl : public wxTreeCtrl {
1945 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1946 public:
1947 wxPyTreeCtrl() : wxTreeCtrl() {}
1948 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1949 const wxPoint& pos,
1950 const wxSize& size,
1951 long style,
1952 const wxValidator& validator,
1953 const wxString& name) :
1954 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1955
1956 bool Create(wxWindow *parent, wxWindowID id,
1957 const wxPoint& pos,
1958 const wxSize& size,
1959 long style,
1960 const wxValidator& validator,
1961 const wxString& name) {
1962 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1963 }
1964
1965
1966 int OnCompareItems(const wxTreeItemId& item1,
1967 const wxTreeItemId& item2) {
1968 int rval = 0;
1969 bool found;
1970 bool blocked = wxPyBeginBlockThreads();
1971 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1972 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1973 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
1974 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1975 Py_DECREF(o1);
1976 Py_DECREF(o2);
1977 }
1978 wxPyEndBlockThreads(blocked);
1979 if (! found)
1980 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1981 return rval;
1982 }
1983 PYPRIVATE;
1984 };
1985
1986 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1987
1988
1989
1990 #if UINT_MAX < LONG_MAX
1991 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1992 #define SWIG_From_unsigned_SS_int SWIG_From_long
1993 /*@@*/
1994 #else
1995 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1996 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1997 /*@@*/
1998 #endif
1999
2000
2001 SWIGINTERNSHORT int
2002 SWIG_CheckUnsignedLongInRange(unsigned long value,
2003 unsigned long max_value,
2004 const char *errmsg)
2005 {
2006 if (value > max_value) {
2007 if (errmsg) {
2008 PyErr_Format(PyExc_OverflowError,
2009 "value %lu is greater than '%s' minimum %lu",
2010 value, errmsg, max_value);
2011 }
2012 return 0;
2013 }
2014 return 1;
2015 }
2016
2017
2018 #if UINT_MAX != ULONG_MAX
2019 SWIGINTERN int
2020 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2021 {
2022 const char* errmsg = val ? "unsigned int" : (char*)0;
2023 unsigned long v;
2024 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2025 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2026 if (val) *val = (unsigned int)(v);
2027 return 1;
2028 }
2029 } else {
2030 PyErr_Clear();
2031 }
2032 if (val) {
2033 SWIG_type_error(errmsg, obj);
2034 }
2035 return 0;
2036 }
2037 #else
2038 SWIGINTERNSHORT unsigned int
2039 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2040 {
2041 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2042 }
2043 #endif
2044
2045
2046 SWIGINTERNSHORT unsigned int
2047 SWIG_As_unsigned_SS_int(PyObject* obj)
2048 {
2049 unsigned int v;
2050 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2051 /*
2052 this is needed to make valgrind/purify happier.
2053 */
2054 memset((void*)&v, 0, sizeof(unsigned int));
2055 }
2056 return v;
2057 }
2058
2059
2060 SWIGINTERNSHORT int
2061 SWIG_Check_unsigned_SS_int(PyObject* obj)
2062 {
2063 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2064 }
2065
2066 static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2067 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2068 if (data == NULL) {
2069 data = new wxPyTreeItemData();
2070 data->SetId(item); // set the id
2071 self->SetItemData(item, data);
2072 }
2073 return data;
2074 }
2075 static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2076 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2077 if (data == NULL) {
2078 data = new wxPyTreeItemData();
2079 data->SetId(item); // set the id
2080 self->SetItemData(item, data);
2081 }
2082 return data->GetData();
2083 }
2084 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2085 data->SetId(item); // set the id
2086 self->SetItemData(item, data);
2087 }
2088 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
2089 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2090 if (data == NULL) {
2091 data = new wxPyTreeItemData(obj);
2092 data->SetId(item); // set the id
2093 self->SetItemData(item, data);
2094 } else
2095 data->SetData(obj);
2096 }
2097 static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2098 bool blocked = wxPyBeginBlockThreads();
2099 PyObject* rval = PyList_New(0);
2100 wxArrayTreeItemIds array;
2101 size_t num, x;
2102 num = self->GetSelections(array);
2103 for (x=0; x < num; x++) {
2104 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2105 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2106 PyList_Append(rval, item);
2107 Py_DECREF(item);
2108 }
2109 wxPyEndBlockThreads(blocked);
2110 return rval;
2111 }
2112 static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2113 void* cookie = 0;
2114 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2115 bool blocked = wxPyBeginBlockThreads();
2116 PyObject* tup = PyTuple_New(2);
2117 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2118 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2119 wxPyEndBlockThreads(blocked);
2120 return tup;
2121 }
2122 static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2123 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2124 bool blocked = wxPyBeginBlockThreads();
2125 PyObject* tup = PyTuple_New(2);
2126 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2127 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2128 wxPyEndBlockThreads(blocked);
2129 return tup;
2130 }
2131 static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2132 wxRect rect;
2133 if (self->GetBoundingRect(item, rect, textOnly)) {
2134 bool blocked = wxPyBeginBlockThreads();
2135 wxRect* r = new wxRect(rect);
2136 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2137 wxPyEndBlockThreads(blocked);
2138 return val;
2139 }
2140 else
2141 RETURN_NONE();
2142 }
2143 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2144
2145 SWIGINTERNSHORT PyObject*
2146 SWIG_From_bool(bool value)
2147 {
2148 PyObject *obj = value ? Py_True : Py_False;
2149 Py_INCREF(obj);
2150 return obj;
2151 }
2152
2153
2154 // C++ version of Python aware wxControl
2155 class wxPyControl : public wxControl
2156 {
2157 DECLARE_DYNAMIC_CLASS(wxPyControl)
2158 public:
2159 wxPyControl() : wxControl() {}
2160 wxPyControl(wxWindow* parent, const wxWindowID id,
2161 const wxPoint& pos = wxDefaultPosition,
2162 const wxSize& size = wxDefaultSize,
2163 long style = 0,
2164 const wxValidator& validator=wxDefaultValidator,
2165 const wxString& name = wxPyControlNameStr)
2166 : wxControl(parent, id, pos, size, style, validator, name) {}
2167
2168 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2169
2170 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2171 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2172 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2173 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2174
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2176 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2177 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2178
2179 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2180 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2181
2182 DEC_PYCALLBACK__(InitDialog);
2183 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2184 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2185 DEC_PYCALLBACK_BOOL_(Validate);
2186
2187 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2188 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2189 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2190
2191 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2192 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2193
2194 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2195 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2196 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2197
2198 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2199
2200 PYPRIVATE;
2201 };
2202
2203 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2204
2205 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2206 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2207 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2208 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2209
2210 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2211 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2212 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2213
2214 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2215 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2216
2217 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2218 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2219 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2220 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2221
2222 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2223 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2224 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2225
2226 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2227 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2228
2229 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2230 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
2231 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2232
2233 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2234
2235
2236
2237 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2238
2239 #include <wx/generic/dragimgg.h>
2240
2241 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2242 static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2243 wxDateTime rv;
2244 self->GetRange(&rv, NULL);
2245 return rv;
2246 }
2247 static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2248 wxDateTime rv;
2249 self->GetRange(NULL, &rv);
2250 return rv;
2251 }
2252 #ifdef __cplusplus
2253 extern "C" {
2254 #endif
2255 static int _wrap_ButtonNameStr_set(PyObject *) {
2256 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2257 return 1;
2258 }
2259
2260
2261 static PyObject *_wrap_ButtonNameStr_get(void) {
2262 PyObject *pyobj;
2263
2264 {
2265 #if wxUSE_UNICODE
2266 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2267 #else
2268 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2269 #endif
2270 }
2271 return pyobj;
2272 }
2273
2274
2275 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2276 PyObject *resultobj;
2277 wxWindow *arg1 = (wxWindow *) 0 ;
2278 int arg2 = (int) -1 ;
2279 wxString const &arg3_defvalue = wxPyEmptyString ;
2280 wxString *arg3 = (wxString *) &arg3_defvalue ;
2281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2283 wxSize const &arg5_defvalue = wxDefaultSize ;
2284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2285 long arg6 = (long) 0 ;
2286 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2287 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2288 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2289 wxString *arg8 = (wxString *) &arg8_defvalue ;
2290 wxButton *result;
2291 bool temp3 = false ;
2292 wxPoint temp4 ;
2293 wxSize temp5 ;
2294 bool temp8 = false ;
2295 PyObject * obj0 = 0 ;
2296 PyObject * obj1 = 0 ;
2297 PyObject * obj2 = 0 ;
2298 PyObject * obj3 = 0 ;
2299 PyObject * obj4 = 0 ;
2300 PyObject * obj5 = 0 ;
2301 PyObject * obj6 = 0 ;
2302 PyObject * obj7 = 0 ;
2303 char *kwnames[] = {
2304 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2305 };
2306
2307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2309 if (SWIG_arg_fail(1)) SWIG_fail;
2310 if (obj1) {
2311 {
2312 arg2 = (int)(SWIG_As_int(obj1));
2313 if (SWIG_arg_fail(2)) SWIG_fail;
2314 }
2315 }
2316 if (obj2) {
2317 {
2318 arg3 = wxString_in_helper(obj2);
2319 if (arg3 == NULL) SWIG_fail;
2320 temp3 = true;
2321 }
2322 }
2323 if (obj3) {
2324 {
2325 arg4 = &temp4;
2326 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2327 }
2328 }
2329 if (obj4) {
2330 {
2331 arg5 = &temp5;
2332 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2333 }
2334 }
2335 if (obj5) {
2336 {
2337 arg6 = (long)(SWIG_As_long(obj5));
2338 if (SWIG_arg_fail(6)) SWIG_fail;
2339 }
2340 }
2341 if (obj6) {
2342 {
2343 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2344 if (SWIG_arg_fail(7)) SWIG_fail;
2345 if (arg7 == NULL) {
2346 SWIG_null_ref("wxValidator");
2347 }
2348 if (SWIG_arg_fail(7)) SWIG_fail;
2349 }
2350 }
2351 if (obj7) {
2352 {
2353 arg8 = wxString_in_helper(obj7);
2354 if (arg8 == NULL) SWIG_fail;
2355 temp8 = true;
2356 }
2357 }
2358 {
2359 if (!wxPyCheckForApp()) SWIG_fail;
2360 PyThreadState* __tstate = wxPyBeginAllowThreads();
2361 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2362
2363 wxPyEndAllowThreads(__tstate);
2364 if (PyErr_Occurred()) SWIG_fail;
2365 }
2366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2367 {
2368 if (temp3)
2369 delete arg3;
2370 }
2371 {
2372 if (temp8)
2373 delete arg8;
2374 }
2375 return resultobj;
2376 fail:
2377 {
2378 if (temp3)
2379 delete arg3;
2380 }
2381 {
2382 if (temp8)
2383 delete arg8;
2384 }
2385 return NULL;
2386 }
2387
2388
2389 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2390 PyObject *resultobj;
2391 wxButton *result;
2392 char *kwnames[] = {
2393 NULL
2394 };
2395
2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2397 {
2398 if (!wxPyCheckForApp()) SWIG_fail;
2399 PyThreadState* __tstate = wxPyBeginAllowThreads();
2400 result = (wxButton *)new wxButton();
2401
2402 wxPyEndAllowThreads(__tstate);
2403 if (PyErr_Occurred()) SWIG_fail;
2404 }
2405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2406 return resultobj;
2407 fail:
2408 return NULL;
2409 }
2410
2411
2412 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2413 PyObject *resultobj;
2414 wxButton *arg1 = (wxButton *) 0 ;
2415 wxWindow *arg2 = (wxWindow *) 0 ;
2416 int arg3 = (int) -1 ;
2417 wxString const &arg4_defvalue = wxPyEmptyString ;
2418 wxString *arg4 = (wxString *) &arg4_defvalue ;
2419 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2420 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2421 wxSize const &arg6_defvalue = wxDefaultSize ;
2422 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2423 long arg7 = (long) 0 ;
2424 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2425 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2426 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2427 wxString *arg9 = (wxString *) &arg9_defvalue ;
2428 bool result;
2429 bool temp4 = false ;
2430 wxPoint temp5 ;
2431 wxSize temp6 ;
2432 bool temp9 = false ;
2433 PyObject * obj0 = 0 ;
2434 PyObject * obj1 = 0 ;
2435 PyObject * obj2 = 0 ;
2436 PyObject * obj3 = 0 ;
2437 PyObject * obj4 = 0 ;
2438 PyObject * obj5 = 0 ;
2439 PyObject * obj6 = 0 ;
2440 PyObject * obj7 = 0 ;
2441 PyObject * obj8 = 0 ;
2442 char *kwnames[] = {
2443 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2444 };
2445
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2448 if (SWIG_arg_fail(1)) SWIG_fail;
2449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2450 if (SWIG_arg_fail(2)) SWIG_fail;
2451 if (obj2) {
2452 {
2453 arg3 = (int)(SWIG_As_int(obj2));
2454 if (SWIG_arg_fail(3)) SWIG_fail;
2455 }
2456 }
2457 if (obj3) {
2458 {
2459 arg4 = wxString_in_helper(obj3);
2460 if (arg4 == NULL) SWIG_fail;
2461 temp4 = true;
2462 }
2463 }
2464 if (obj4) {
2465 {
2466 arg5 = &temp5;
2467 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2468 }
2469 }
2470 if (obj5) {
2471 {
2472 arg6 = &temp6;
2473 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2474 }
2475 }
2476 if (obj6) {
2477 {
2478 arg7 = (long)(SWIG_As_long(obj6));
2479 if (SWIG_arg_fail(7)) SWIG_fail;
2480 }
2481 }
2482 if (obj7) {
2483 {
2484 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2485 if (SWIG_arg_fail(8)) SWIG_fail;
2486 if (arg8 == NULL) {
2487 SWIG_null_ref("wxValidator");
2488 }
2489 if (SWIG_arg_fail(8)) SWIG_fail;
2490 }
2491 }
2492 if (obj8) {
2493 {
2494 arg9 = wxString_in_helper(obj8);
2495 if (arg9 == NULL) SWIG_fail;
2496 temp9 = true;
2497 }
2498 }
2499 {
2500 PyThreadState* __tstate = wxPyBeginAllowThreads();
2501 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2502
2503 wxPyEndAllowThreads(__tstate);
2504 if (PyErr_Occurred()) SWIG_fail;
2505 }
2506 {
2507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2508 }
2509 {
2510 if (temp4)
2511 delete arg4;
2512 }
2513 {
2514 if (temp9)
2515 delete arg9;
2516 }
2517 return resultobj;
2518 fail:
2519 {
2520 if (temp4)
2521 delete arg4;
2522 }
2523 {
2524 if (temp9)
2525 delete arg9;
2526 }
2527 return NULL;
2528 }
2529
2530
2531 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2532 PyObject *resultobj;
2533 wxButton *arg1 = (wxButton *) 0 ;
2534 PyObject * obj0 = 0 ;
2535 char *kwnames[] = {
2536 (char *) "self", NULL
2537 };
2538
2539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2541 if (SWIG_arg_fail(1)) SWIG_fail;
2542 {
2543 PyThreadState* __tstate = wxPyBeginAllowThreads();
2544 (arg1)->SetDefault();
2545
2546 wxPyEndAllowThreads(__tstate);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 }
2549 Py_INCREF(Py_None); resultobj = Py_None;
2550 return resultobj;
2551 fail:
2552 return NULL;
2553 }
2554
2555
2556 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 wxSize result;
2559 char *kwnames[] = {
2560 NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2564 {
2565 PyThreadState* __tstate = wxPyBeginAllowThreads();
2566 result = wxButton::GetDefaultSize();
2567
2568 wxPyEndAllowThreads(__tstate);
2569 if (PyErr_Occurred()) SWIG_fail;
2570 }
2571 {
2572 wxSize * resultptr;
2573 resultptr = new wxSize((wxSize &)(result));
2574 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2575 }
2576 return resultobj;
2577 fail:
2578 return NULL;
2579 }
2580
2581
2582 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2583 PyObject *resultobj;
2584 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2585 wxVisualAttributes result;
2586 PyObject * obj0 = 0 ;
2587 char *kwnames[] = {
2588 (char *) "variant", NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2592 if (obj0) {
2593 {
2594 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2595 if (SWIG_arg_fail(1)) SWIG_fail;
2596 }
2597 }
2598 {
2599 if (!wxPyCheckForApp()) SWIG_fail;
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 {
2607 wxVisualAttributes * resultptr;
2608 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2610 }
2611 return resultobj;
2612 fail:
2613 return NULL;
2614 }
2615
2616
2617 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2618 PyObject *obj;
2619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2620 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2621 Py_INCREF(obj);
2622 return Py_BuildValue((char *)"");
2623 }
2624 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2625 PyObject *resultobj;
2626 wxWindow *arg1 = (wxWindow *) 0 ;
2627 int arg2 = (int) -1 ;
2628 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2629 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2632 wxSize const &arg5_defvalue = wxDefaultSize ;
2633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2634 long arg6 = (long) wxBU_AUTODRAW ;
2635 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2636 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2637 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2638 wxString *arg8 = (wxString *) &arg8_defvalue ;
2639 wxBitmapButton *result;
2640 wxPoint temp4 ;
2641 wxSize temp5 ;
2642 bool temp8 = false ;
2643 PyObject * obj0 = 0 ;
2644 PyObject * obj1 = 0 ;
2645 PyObject * obj2 = 0 ;
2646 PyObject * obj3 = 0 ;
2647 PyObject * obj4 = 0 ;
2648 PyObject * obj5 = 0 ;
2649 PyObject * obj6 = 0 ;
2650 PyObject * obj7 = 0 ;
2651 char *kwnames[] = {
2652 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2653 };
2654
2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2657 if (SWIG_arg_fail(1)) SWIG_fail;
2658 if (obj1) {
2659 {
2660 arg2 = (int)(SWIG_As_int(obj1));
2661 if (SWIG_arg_fail(2)) SWIG_fail;
2662 }
2663 }
2664 if (obj2) {
2665 {
2666 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2667 if (SWIG_arg_fail(3)) SWIG_fail;
2668 if (arg3 == NULL) {
2669 SWIG_null_ref("wxBitmap");
2670 }
2671 if (SWIG_arg_fail(3)) SWIG_fail;
2672 }
2673 }
2674 if (obj3) {
2675 {
2676 arg4 = &temp4;
2677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2678 }
2679 }
2680 if (obj4) {
2681 {
2682 arg5 = &temp5;
2683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2684 }
2685 }
2686 if (obj5) {
2687 {
2688 arg6 = (long)(SWIG_As_long(obj5));
2689 if (SWIG_arg_fail(6)) SWIG_fail;
2690 }
2691 }
2692 if (obj6) {
2693 {
2694 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2695 if (SWIG_arg_fail(7)) SWIG_fail;
2696 if (arg7 == NULL) {
2697 SWIG_null_ref("wxValidator");
2698 }
2699 if (SWIG_arg_fail(7)) SWIG_fail;
2700 }
2701 }
2702 if (obj7) {
2703 {
2704 arg8 = wxString_in_helper(obj7);
2705 if (arg8 == NULL) SWIG_fail;
2706 temp8 = true;
2707 }
2708 }
2709 {
2710 if (!wxPyCheckForApp()) SWIG_fail;
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2718 {
2719 if (temp8)
2720 delete arg8;
2721 }
2722 return resultobj;
2723 fail:
2724 {
2725 if (temp8)
2726 delete arg8;
2727 }
2728 return NULL;
2729 }
2730
2731
2732 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2733 PyObject *resultobj;
2734 wxBitmapButton *result;
2735 char *kwnames[] = {
2736 NULL
2737 };
2738
2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2740 {
2741 if (!wxPyCheckForApp()) SWIG_fail;
2742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2743 result = (wxBitmapButton *)new wxBitmapButton();
2744
2745 wxPyEndAllowThreads(__tstate);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 }
2748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2749 return resultobj;
2750 fail:
2751 return NULL;
2752 }
2753
2754
2755 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2756 PyObject *resultobj;
2757 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2758 wxWindow *arg2 = (wxWindow *) 0 ;
2759 int arg3 = (int) -1 ;
2760 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2761 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2762 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2763 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2764 wxSize const &arg6_defvalue = wxDefaultSize ;
2765 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2766 long arg7 = (long) wxBU_AUTODRAW ;
2767 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2768 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2769 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2770 wxString *arg9 = (wxString *) &arg9_defvalue ;
2771 bool result;
2772 wxPoint temp5 ;
2773 wxSize temp6 ;
2774 bool temp9 = false ;
2775 PyObject * obj0 = 0 ;
2776 PyObject * obj1 = 0 ;
2777 PyObject * obj2 = 0 ;
2778 PyObject * obj3 = 0 ;
2779 PyObject * obj4 = 0 ;
2780 PyObject * obj5 = 0 ;
2781 PyObject * obj6 = 0 ;
2782 PyObject * obj7 = 0 ;
2783 PyObject * obj8 = 0 ;
2784 char *kwnames[] = {
2785 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2786 };
2787
2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2790 if (SWIG_arg_fail(1)) SWIG_fail;
2791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2792 if (SWIG_arg_fail(2)) SWIG_fail;
2793 if (obj2) {
2794 {
2795 arg3 = (int)(SWIG_As_int(obj2));
2796 if (SWIG_arg_fail(3)) SWIG_fail;
2797 }
2798 }
2799 if (obj3) {
2800 {
2801 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2802 if (SWIG_arg_fail(4)) SWIG_fail;
2803 if (arg4 == NULL) {
2804 SWIG_null_ref("wxBitmap");
2805 }
2806 if (SWIG_arg_fail(4)) SWIG_fail;
2807 }
2808 }
2809 if (obj4) {
2810 {
2811 arg5 = &temp5;
2812 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2813 }
2814 }
2815 if (obj5) {
2816 {
2817 arg6 = &temp6;
2818 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2819 }
2820 }
2821 if (obj6) {
2822 {
2823 arg7 = (long)(SWIG_As_long(obj6));
2824 if (SWIG_arg_fail(7)) SWIG_fail;
2825 }
2826 }
2827 if (obj7) {
2828 {
2829 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2830 if (SWIG_arg_fail(8)) SWIG_fail;
2831 if (arg8 == NULL) {
2832 SWIG_null_ref("wxValidator");
2833 }
2834 if (SWIG_arg_fail(8)) SWIG_fail;
2835 }
2836 }
2837 if (obj8) {
2838 {
2839 arg9 = wxString_in_helper(obj8);
2840 if (arg9 == NULL) SWIG_fail;
2841 temp9 = true;
2842 }
2843 }
2844 {
2845 PyThreadState* __tstate = wxPyBeginAllowThreads();
2846 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2847
2848 wxPyEndAllowThreads(__tstate);
2849 if (PyErr_Occurred()) SWIG_fail;
2850 }
2851 {
2852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2853 }
2854 {
2855 if (temp9)
2856 delete arg9;
2857 }
2858 return resultobj;
2859 fail:
2860 {
2861 if (temp9)
2862 delete arg9;
2863 }
2864 return NULL;
2865 }
2866
2867
2868 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2869 PyObject *resultobj;
2870 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2871 wxBitmap result;
2872 PyObject * obj0 = 0 ;
2873 char *kwnames[] = {
2874 (char *) "self", NULL
2875 };
2876
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
2878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2879 if (SWIG_arg_fail(1)) SWIG_fail;
2880 {
2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
2882 result = (arg1)->GetBitmapLabel();
2883
2884 wxPyEndAllowThreads(__tstate);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 }
2887 {
2888 wxBitmap * resultptr;
2889 resultptr = new wxBitmap((wxBitmap &)(result));
2890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2891 }
2892 return resultobj;
2893 fail:
2894 return NULL;
2895 }
2896
2897
2898 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2901 wxBitmap result;
2902 PyObject * obj0 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
2908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2909 if (SWIG_arg_fail(1)) SWIG_fail;
2910 {
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 result = (arg1)->GetBitmapDisabled();
2913
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
2917 {
2918 wxBitmap * resultptr;
2919 resultptr = new wxBitmap((wxBitmap &)(result));
2920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2921 }
2922 return resultobj;
2923 fail:
2924 return NULL;
2925 }
2926
2927
2928 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2929 PyObject *resultobj;
2930 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2931 wxBitmap result;
2932 PyObject * obj0 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "self", NULL
2935 };
2936
2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
2938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2939 if (SWIG_arg_fail(1)) SWIG_fail;
2940 {
2941 PyThreadState* __tstate = wxPyBeginAllowThreads();
2942 result = (arg1)->GetBitmapFocus();
2943
2944 wxPyEndAllowThreads(__tstate);
2945 if (PyErr_Occurred()) SWIG_fail;
2946 }
2947 {
2948 wxBitmap * resultptr;
2949 resultptr = new wxBitmap((wxBitmap &)(result));
2950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2951 }
2952 return resultobj;
2953 fail:
2954 return NULL;
2955 }
2956
2957
2958 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
2959 PyObject *resultobj;
2960 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2961 wxBitmap result;
2962 PyObject * obj0 = 0 ;
2963 char *kwnames[] = {
2964 (char *) "self", NULL
2965 };
2966
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
2968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2969 if (SWIG_arg_fail(1)) SWIG_fail;
2970 {
2971 PyThreadState* __tstate = wxPyBeginAllowThreads();
2972 result = (arg1)->GetBitmapSelected();
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 {
2978 wxBitmap * resultptr;
2979 resultptr = new wxBitmap((wxBitmap &)(result));
2980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2981 }
2982 return resultobj;
2983 fail:
2984 return NULL;
2985 }
2986
2987
2988 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2989 PyObject *resultobj;
2990 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2991 wxBitmap *arg2 = 0 ;
2992 PyObject * obj0 = 0 ;
2993 PyObject * obj1 = 0 ;
2994 char *kwnames[] = {
2995 (char *) "self",(char *) "bitmap", NULL
2996 };
2997
2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
2999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3000 if (SWIG_arg_fail(1)) SWIG_fail;
3001 {
3002 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3003 if (SWIG_arg_fail(2)) SWIG_fail;
3004 if (arg2 == NULL) {
3005 SWIG_null_ref("wxBitmap");
3006 }
3007 if (SWIG_arg_fail(2)) SWIG_fail;
3008 }
3009 {
3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
3011 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3012
3013 wxPyEndAllowThreads(__tstate);
3014 if (PyErr_Occurred()) SWIG_fail;
3015 }
3016 Py_INCREF(Py_None); resultobj = Py_None;
3017 return resultobj;
3018 fail:
3019 return NULL;
3020 }
3021
3022
3023 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3024 PyObject *resultobj;
3025 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3026 wxBitmap *arg2 = 0 ;
3027 PyObject * obj0 = 0 ;
3028 PyObject * obj1 = 0 ;
3029 char *kwnames[] = {
3030 (char *) "self",(char *) "bitmap", NULL
3031 };
3032
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3035 if (SWIG_arg_fail(1)) SWIG_fail;
3036 {
3037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3038 if (SWIG_arg_fail(2)) SWIG_fail;
3039 if (arg2 == NULL) {
3040 SWIG_null_ref("wxBitmap");
3041 }
3042 if (SWIG_arg_fail(2)) SWIG_fail;
3043 }
3044 {
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3047
3048 wxPyEndAllowThreads(__tstate);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
3051 Py_INCREF(Py_None); resultobj = Py_None;
3052 return resultobj;
3053 fail:
3054 return NULL;
3055 }
3056
3057
3058 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3059 PyObject *resultobj;
3060 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3061 wxBitmap *arg2 = 0 ;
3062 PyObject * obj0 = 0 ;
3063 PyObject * obj1 = 0 ;
3064 char *kwnames[] = {
3065 (char *) "self",(char *) "bitmap", NULL
3066 };
3067
3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3070 if (SWIG_arg_fail(1)) SWIG_fail;
3071 {
3072 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3073 if (SWIG_arg_fail(2)) SWIG_fail;
3074 if (arg2 == NULL) {
3075 SWIG_null_ref("wxBitmap");
3076 }
3077 if (SWIG_arg_fail(2)) SWIG_fail;
3078 }
3079 {
3080 PyThreadState* __tstate = wxPyBeginAllowThreads();
3081 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3082
3083 wxPyEndAllowThreads(__tstate);
3084 if (PyErr_Occurred()) SWIG_fail;
3085 }
3086 Py_INCREF(Py_None); resultobj = Py_None;
3087 return resultobj;
3088 fail:
3089 return NULL;
3090 }
3091
3092
3093 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3094 PyObject *resultobj;
3095 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3096 wxBitmap *arg2 = 0 ;
3097 PyObject * obj0 = 0 ;
3098 PyObject * obj1 = 0 ;
3099 char *kwnames[] = {
3100 (char *) "self",(char *) "bitmap", NULL
3101 };
3102
3103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3105 if (SWIG_arg_fail(1)) SWIG_fail;
3106 {
3107 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3108 if (SWIG_arg_fail(2)) SWIG_fail;
3109 if (arg2 == NULL) {
3110 SWIG_null_ref("wxBitmap");
3111 }
3112 if (SWIG_arg_fail(2)) SWIG_fail;
3113 }
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 Py_INCREF(Py_None); resultobj = Py_None;
3122 return resultobj;
3123 fail:
3124 return NULL;
3125 }
3126
3127
3128 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3129 PyObject *resultobj;
3130 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3131 int arg2 ;
3132 int arg3 ;
3133 PyObject * obj0 = 0 ;
3134 PyObject * obj1 = 0 ;
3135 PyObject * obj2 = 0 ;
3136 char *kwnames[] = {
3137 (char *) "self",(char *) "x",(char *) "y", NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3142 if (SWIG_arg_fail(1)) SWIG_fail;
3143 {
3144 arg2 = (int)(SWIG_As_int(obj1));
3145 if (SWIG_arg_fail(2)) SWIG_fail;
3146 }
3147 {
3148 arg3 = (int)(SWIG_As_int(obj2));
3149 if (SWIG_arg_fail(3)) SWIG_fail;
3150 }
3151 {
3152 PyThreadState* __tstate = wxPyBeginAllowThreads();
3153 (arg1)->SetMargins(arg2,arg3);
3154
3155 wxPyEndAllowThreads(__tstate);
3156 if (PyErr_Occurred()) SWIG_fail;
3157 }
3158 Py_INCREF(Py_None); resultobj = Py_None;
3159 return resultobj;
3160 fail:
3161 return NULL;
3162 }
3163
3164
3165 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj;
3167 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3168 int result;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "self", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3176 if (SWIG_arg_fail(1)) SWIG_fail;
3177 {
3178 PyThreadState* __tstate = wxPyBeginAllowThreads();
3179 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3180
3181 wxPyEndAllowThreads(__tstate);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 }
3184 {
3185 resultobj = SWIG_From_int((int)(result));
3186 }
3187 return resultobj;
3188 fail:
3189 return NULL;
3190 }
3191
3192
3193 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3194 PyObject *resultobj;
3195 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3196 int result;
3197 PyObject * obj0 = 0 ;
3198 char *kwnames[] = {
3199 (char *) "self", NULL
3200 };
3201
3202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3204 if (SWIG_arg_fail(1)) SWIG_fail;
3205 {
3206 PyThreadState* __tstate = wxPyBeginAllowThreads();
3207 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3208
3209 wxPyEndAllowThreads(__tstate);
3210 if (PyErr_Occurred()) SWIG_fail;
3211 }
3212 {
3213 resultobj = SWIG_From_int((int)(result));
3214 }
3215 return resultobj;
3216 fail:
3217 return NULL;
3218 }
3219
3220
3221 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3222 PyObject *obj;
3223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3224 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3225 Py_INCREF(obj);
3226 return Py_BuildValue((char *)"");
3227 }
3228 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3229 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3230 return 1;
3231 }
3232
3233
3234 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3235 PyObject *pyobj;
3236
3237 {
3238 #if wxUSE_UNICODE
3239 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3240 #else
3241 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3242 #endif
3243 }
3244 return pyobj;
3245 }
3246
3247
3248 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3249 PyObject *resultobj;
3250 wxWindow *arg1 = (wxWindow *) 0 ;
3251 int arg2 = (int) -1 ;
3252 wxString const &arg3_defvalue = wxPyEmptyString ;
3253 wxString *arg3 = (wxString *) &arg3_defvalue ;
3254 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3255 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3256 wxSize const &arg5_defvalue = wxDefaultSize ;
3257 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3258 long arg6 = (long) 0 ;
3259 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3260 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3261 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3262 wxString *arg8 = (wxString *) &arg8_defvalue ;
3263 wxCheckBox *result;
3264 bool temp3 = false ;
3265 wxPoint temp4 ;
3266 wxSize temp5 ;
3267 bool temp8 = false ;
3268 PyObject * obj0 = 0 ;
3269 PyObject * obj1 = 0 ;
3270 PyObject * obj2 = 0 ;
3271 PyObject * obj3 = 0 ;
3272 PyObject * obj4 = 0 ;
3273 PyObject * obj5 = 0 ;
3274 PyObject * obj6 = 0 ;
3275 PyObject * obj7 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail;
3283 if (obj1) {
3284 {
3285 arg2 = (int)(SWIG_As_int(obj1));
3286 if (SWIG_arg_fail(2)) SWIG_fail;
3287 }
3288 }
3289 if (obj2) {
3290 {
3291 arg3 = wxString_in_helper(obj2);
3292 if (arg3 == NULL) SWIG_fail;
3293 temp3 = true;
3294 }
3295 }
3296 if (obj3) {
3297 {
3298 arg4 = &temp4;
3299 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3300 }
3301 }
3302 if (obj4) {
3303 {
3304 arg5 = &temp5;
3305 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3306 }
3307 }
3308 if (obj5) {
3309 {
3310 arg6 = (long)(SWIG_As_long(obj5));
3311 if (SWIG_arg_fail(6)) SWIG_fail;
3312 }
3313 }
3314 if (obj6) {
3315 {
3316 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3317 if (SWIG_arg_fail(7)) SWIG_fail;
3318 if (arg7 == NULL) {
3319 SWIG_null_ref("wxValidator");
3320 }
3321 if (SWIG_arg_fail(7)) SWIG_fail;
3322 }
3323 }
3324 if (obj7) {
3325 {
3326 arg8 = wxString_in_helper(obj7);
3327 if (arg8 == NULL) SWIG_fail;
3328 temp8 = true;
3329 }
3330 }
3331 {
3332 if (!wxPyCheckForApp()) SWIG_fail;
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3340 {
3341 if (temp3)
3342 delete arg3;
3343 }
3344 {
3345 if (temp8)
3346 delete arg8;
3347 }
3348 return resultobj;
3349 fail:
3350 {
3351 if (temp3)
3352 delete arg3;
3353 }
3354 {
3355 if (temp8)
3356 delete arg8;
3357 }
3358 return NULL;
3359 }
3360
3361
3362 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3363 PyObject *resultobj;
3364 wxCheckBox *result;
3365 char *kwnames[] = {
3366 NULL
3367 };
3368
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3370 {
3371 if (!wxPyCheckForApp()) SWIG_fail;
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 result = (wxCheckBox *)new wxCheckBox();
3374
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3379 return resultobj;
3380 fail:
3381 return NULL;
3382 }
3383
3384
3385 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3386 PyObject *resultobj;
3387 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3388 wxWindow *arg2 = (wxWindow *) 0 ;
3389 int arg3 = (int) -1 ;
3390 wxString const &arg4_defvalue = wxPyEmptyString ;
3391 wxString *arg4 = (wxString *) &arg4_defvalue ;
3392 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3393 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3394 wxSize const &arg6_defvalue = wxDefaultSize ;
3395 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3396 long arg7 = (long) 0 ;
3397 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3398 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3399 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3400 wxString *arg9 = (wxString *) &arg9_defvalue ;
3401 bool result;
3402 bool temp4 = false ;
3403 wxPoint temp5 ;
3404 wxSize temp6 ;
3405 bool temp9 = false ;
3406 PyObject * obj0 = 0 ;
3407 PyObject * obj1 = 0 ;
3408 PyObject * obj2 = 0 ;
3409 PyObject * obj3 = 0 ;
3410 PyObject * obj4 = 0 ;
3411 PyObject * obj5 = 0 ;
3412 PyObject * obj6 = 0 ;
3413 PyObject * obj7 = 0 ;
3414 PyObject * obj8 = 0 ;
3415 char *kwnames[] = {
3416 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3417 };
3418
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3421 if (SWIG_arg_fail(1)) SWIG_fail;
3422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3423 if (SWIG_arg_fail(2)) SWIG_fail;
3424 if (obj2) {
3425 {
3426 arg3 = (int)(SWIG_As_int(obj2));
3427 if (SWIG_arg_fail(3)) SWIG_fail;
3428 }
3429 }
3430 if (obj3) {
3431 {
3432 arg4 = wxString_in_helper(obj3);
3433 if (arg4 == NULL) SWIG_fail;
3434 temp4 = true;
3435 }
3436 }
3437 if (obj4) {
3438 {
3439 arg5 = &temp5;
3440 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3441 }
3442 }
3443 if (obj5) {
3444 {
3445 arg6 = &temp6;
3446 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3447 }
3448 }
3449 if (obj6) {
3450 {
3451 arg7 = (long)(SWIG_As_long(obj6));
3452 if (SWIG_arg_fail(7)) SWIG_fail;
3453 }
3454 }
3455 if (obj7) {
3456 {
3457 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3458 if (SWIG_arg_fail(8)) SWIG_fail;
3459 if (arg8 == NULL) {
3460 SWIG_null_ref("wxValidator");
3461 }
3462 if (SWIG_arg_fail(8)) SWIG_fail;
3463 }
3464 }
3465 if (obj8) {
3466 {
3467 arg9 = wxString_in_helper(obj8);
3468 if (arg9 == NULL) SWIG_fail;
3469 temp9 = true;
3470 }
3471 }
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 {
3480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3481 }
3482 {
3483 if (temp4)
3484 delete arg4;
3485 }
3486 {
3487 if (temp9)
3488 delete arg9;
3489 }
3490 return resultobj;
3491 fail:
3492 {
3493 if (temp4)
3494 delete arg4;
3495 }
3496 {
3497 if (temp9)
3498 delete arg9;
3499 }
3500 return NULL;
3501 }
3502
3503
3504 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3505 PyObject *resultobj;
3506 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3507 bool result;
3508 PyObject * obj0 = 0 ;
3509 char *kwnames[] = {
3510 (char *) "self", NULL
3511 };
3512
3513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3515 if (SWIG_arg_fail(1)) SWIG_fail;
3516 {
3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3518 result = (bool)(arg1)->GetValue();
3519
3520 wxPyEndAllowThreads(__tstate);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 }
3523 {
3524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3525 }
3526 return resultobj;
3527 fail:
3528 return NULL;
3529 }
3530
3531
3532 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3535 bool result;
3536 PyObject * obj0 = 0 ;
3537 char *kwnames[] = {
3538 (char *) "self", NULL
3539 };
3540
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3543 if (SWIG_arg_fail(1)) SWIG_fail;
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 result = (bool)(arg1)->IsChecked();
3547
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 {
3552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3553 }
3554 return resultobj;
3555 fail:
3556 return NULL;
3557 }
3558
3559
3560 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3561 PyObject *resultobj;
3562 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3563 bool arg2 ;
3564 PyObject * obj0 = 0 ;
3565 PyObject * obj1 = 0 ;
3566 char *kwnames[] = {
3567 (char *) "self",(char *) "state", NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3572 if (SWIG_arg_fail(1)) SWIG_fail;
3573 {
3574 arg2 = (bool const)(SWIG_As_bool(obj1));
3575 if (SWIG_arg_fail(2)) SWIG_fail;
3576 }
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 (arg1)->SetValue(arg2);
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 Py_INCREF(Py_None); resultobj = Py_None;
3585 return resultobj;
3586 fail:
3587 return NULL;
3588 }
3589
3590
3591 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3594 wxCheckBoxState result;
3595 PyObject * obj0 = 0 ;
3596 char *kwnames[] = {
3597 (char *) "self", NULL
3598 };
3599
3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3602 if (SWIG_arg_fail(1)) SWIG_fail;
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 resultobj = SWIG_From_int((result));
3611 return resultobj;
3612 fail:
3613 return NULL;
3614 }
3615
3616
3617 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3618 PyObject *resultobj;
3619 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3620 wxCheckBoxState arg2 ;
3621 PyObject * obj0 = 0 ;
3622 PyObject * obj1 = 0 ;
3623 char *kwnames[] = {
3624 (char *) "self",(char *) "state", NULL
3625 };
3626
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3629 if (SWIG_arg_fail(1)) SWIG_fail;
3630 {
3631 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3632 if (SWIG_arg_fail(2)) SWIG_fail;
3633 }
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3637
3638 wxPyEndAllowThreads(__tstate);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
3641 Py_INCREF(Py_None); resultobj = Py_None;
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3651 bool result;
3652 PyObject * obj0 = 0 ;
3653 char *kwnames[] = {
3654 (char *) "self", NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3659 if (SWIG_arg_fail(1)) SWIG_fail;
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 {
3668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3669 }
3670 return resultobj;
3671 fail:
3672 return NULL;
3673 }
3674
3675
3676 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3677 PyObject *resultobj;
3678 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3679 bool result;
3680 PyObject * obj0 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3687 if (SWIG_arg_fail(1)) SWIG_fail;
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 {
3696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3697 }
3698 return resultobj;
3699 fail:
3700 return NULL;
3701 }
3702
3703
3704 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3705 PyObject *resultobj;
3706 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3707 wxVisualAttributes result;
3708 PyObject * obj0 = 0 ;
3709 char *kwnames[] = {
3710 (char *) "variant", NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3714 if (obj0) {
3715 {
3716 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3717 if (SWIG_arg_fail(1)) SWIG_fail;
3718 }
3719 }
3720 {
3721 if (!wxPyCheckForApp()) SWIG_fail;
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 {
3729 wxVisualAttributes * resultptr;
3730 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3732 }
3733 return resultobj;
3734 fail:
3735 return NULL;
3736 }
3737
3738
3739 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3740 PyObject *obj;
3741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3742 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3743 Py_INCREF(obj);
3744 return Py_BuildValue((char *)"");
3745 }
3746 static int _wrap_ChoiceNameStr_set(PyObject *) {
3747 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3748 return 1;
3749 }
3750
3751
3752 static PyObject *_wrap_ChoiceNameStr_get(void) {
3753 PyObject *pyobj;
3754
3755 {
3756 #if wxUSE_UNICODE
3757 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3758 #else
3759 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3760 #endif
3761 }
3762 return pyobj;
3763 }
3764
3765
3766 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 wxWindow *arg1 = (wxWindow *) 0 ;
3769 int arg2 = (int) -1 ;
3770 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3771 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3772 wxSize const &arg4_defvalue = wxDefaultSize ;
3773 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3774 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3775 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3776 long arg6 = (long) 0 ;
3777 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3778 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3779 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3780 wxString *arg8 = (wxString *) &arg8_defvalue ;
3781 wxChoice *result;
3782 wxPoint temp3 ;
3783 wxSize temp4 ;
3784 bool temp5 = false ;
3785 bool temp8 = false ;
3786 PyObject * obj0 = 0 ;
3787 PyObject * obj1 = 0 ;
3788 PyObject * obj2 = 0 ;
3789 PyObject * obj3 = 0 ;
3790 PyObject * obj4 = 0 ;
3791 PyObject * obj5 = 0 ;
3792 PyObject * obj6 = 0 ;
3793 PyObject * obj7 = 0 ;
3794 char *kwnames[] = {
3795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3796 };
3797
3798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3800 if (SWIG_arg_fail(1)) SWIG_fail;
3801 if (obj1) {
3802 {
3803 arg2 = (int)(SWIG_As_int(obj1));
3804 if (SWIG_arg_fail(2)) SWIG_fail;
3805 }
3806 }
3807 if (obj2) {
3808 {
3809 arg3 = &temp3;
3810 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3811 }
3812 }
3813 if (obj3) {
3814 {
3815 arg4 = &temp4;
3816 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3817 }
3818 }
3819 if (obj4) {
3820 {
3821 if (! PySequence_Check(obj4)) {
3822 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3823 SWIG_fail;
3824 }
3825 arg5 = new wxArrayString;
3826 temp5 = true;
3827 int i, len=PySequence_Length(obj4);
3828 for (i=0; i<len; i++) {
3829 PyObject* item = PySequence_GetItem(obj4, i);
3830 #if wxUSE_UNICODE
3831 PyObject* str = PyObject_Unicode(item);
3832 #else
3833 PyObject* str = PyObject_Str(item);
3834 #endif
3835 if (PyErr_Occurred()) SWIG_fail;
3836 arg5->Add(Py2wxString(str));
3837 Py_DECREF(item);
3838 Py_DECREF(str);
3839 }
3840 }
3841 }
3842 if (obj5) {
3843 {
3844 arg6 = (long)(SWIG_As_long(obj5));
3845 if (SWIG_arg_fail(6)) SWIG_fail;
3846 }
3847 }
3848 if (obj6) {
3849 {
3850 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3851 if (SWIG_arg_fail(7)) SWIG_fail;
3852 if (arg7 == NULL) {
3853 SWIG_null_ref("wxValidator");
3854 }
3855 if (SWIG_arg_fail(7)) SWIG_fail;
3856 }
3857 }
3858 if (obj7) {
3859 {
3860 arg8 = wxString_in_helper(obj7);
3861 if (arg8 == NULL) SWIG_fail;
3862 temp8 = true;
3863 }
3864 }
3865 {
3866 if (!wxPyCheckForApp()) SWIG_fail;
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3869
3870 wxPyEndAllowThreads(__tstate);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 }
3873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3874 {
3875 if (temp5) delete arg5;
3876 }
3877 {
3878 if (temp8)
3879 delete arg8;
3880 }
3881 return resultobj;
3882 fail:
3883 {
3884 if (temp5) delete arg5;
3885 }
3886 {
3887 if (temp8)
3888 delete arg8;
3889 }
3890 return NULL;
3891 }
3892
3893
3894 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3895 PyObject *resultobj;
3896 wxChoice *result;
3897 char *kwnames[] = {
3898 NULL
3899 };
3900
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3902 {
3903 if (!wxPyCheckForApp()) SWIG_fail;
3904 PyThreadState* __tstate = wxPyBeginAllowThreads();
3905 result = (wxChoice *)new wxChoice();
3906
3907 wxPyEndAllowThreads(__tstate);
3908 if (PyErr_Occurred()) SWIG_fail;
3909 }
3910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3911 return resultobj;
3912 fail:
3913 return NULL;
3914 }
3915
3916
3917 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3918 PyObject *resultobj;
3919 wxChoice *arg1 = (wxChoice *) 0 ;
3920 wxWindow *arg2 = (wxWindow *) 0 ;
3921 int arg3 = (int) -1 ;
3922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3924 wxSize const &arg5_defvalue = wxDefaultSize ;
3925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3926 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3927 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3928 long arg7 = (long) 0 ;
3929 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3930 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3931 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3932 wxString *arg9 = (wxString *) &arg9_defvalue ;
3933 bool result;
3934 wxPoint temp4 ;
3935 wxSize temp5 ;
3936 bool temp6 = false ;
3937 bool temp9 = false ;
3938 PyObject * obj0 = 0 ;
3939 PyObject * obj1 = 0 ;
3940 PyObject * obj2 = 0 ;
3941 PyObject * obj3 = 0 ;
3942 PyObject * obj4 = 0 ;
3943 PyObject * obj5 = 0 ;
3944 PyObject * obj6 = 0 ;
3945 PyObject * obj7 = 0 ;
3946 PyObject * obj8 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3949 };
3950
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3953 if (SWIG_arg_fail(1)) SWIG_fail;
3954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3955 if (SWIG_arg_fail(2)) SWIG_fail;
3956 if (obj2) {
3957 {
3958 arg3 = (int)(SWIG_As_int(obj2));
3959 if (SWIG_arg_fail(3)) SWIG_fail;
3960 }
3961 }
3962 if (obj3) {
3963 {
3964 arg4 = &temp4;
3965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3966 }
3967 }
3968 if (obj4) {
3969 {
3970 arg5 = &temp5;
3971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3972 }
3973 }
3974 if (obj5) {
3975 {
3976 if (! PySequence_Check(obj5)) {
3977 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3978 SWIG_fail;
3979 }
3980 arg6 = new wxArrayString;
3981 temp6 = true;
3982 int i, len=PySequence_Length(obj5);
3983 for (i=0; i<len; i++) {
3984 PyObject* item = PySequence_GetItem(obj5, i);
3985 #if wxUSE_UNICODE
3986 PyObject* str = PyObject_Unicode(item);
3987 #else
3988 PyObject* str = PyObject_Str(item);
3989 #endif
3990 if (PyErr_Occurred()) SWIG_fail;
3991 arg6->Add(Py2wxString(str));
3992 Py_DECREF(item);
3993 Py_DECREF(str);
3994 }
3995 }
3996 }
3997 if (obj6) {
3998 {
3999 arg7 = (long)(SWIG_As_long(obj6));
4000 if (SWIG_arg_fail(7)) SWIG_fail;
4001 }
4002 }
4003 if (obj7) {
4004 {
4005 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4006 if (SWIG_arg_fail(8)) SWIG_fail;
4007 if (arg8 == NULL) {
4008 SWIG_null_ref("wxValidator");
4009 }
4010 if (SWIG_arg_fail(8)) SWIG_fail;
4011 }
4012 }
4013 if (obj8) {
4014 {
4015 arg9 = wxString_in_helper(obj8);
4016 if (arg9 == NULL) SWIG_fail;
4017 temp9 = true;
4018 }
4019 }
4020 {
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4023
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
4027 {
4028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4029 }
4030 {
4031 if (temp6) delete arg6;
4032 }
4033 {
4034 if (temp9)
4035 delete arg9;
4036 }
4037 return resultobj;
4038 fail:
4039 {
4040 if (temp6) delete arg6;
4041 }
4042 {
4043 if (temp9)
4044 delete arg9;
4045 }
4046 return NULL;
4047 }
4048
4049
4050 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4053 wxVisualAttributes result;
4054 PyObject * obj0 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "variant", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4060 if (obj0) {
4061 {
4062 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4063 if (SWIG_arg_fail(1)) SWIG_fail;
4064 }
4065 }
4066 {
4067 if (!wxPyCheckForApp()) SWIG_fail;
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 {
4075 wxVisualAttributes * resultptr;
4076 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4078 }
4079 return resultobj;
4080 fail:
4081 return NULL;
4082 }
4083
4084
4085 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4086 PyObject *obj;
4087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4088 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4089 Py_INCREF(obj);
4090 return Py_BuildValue((char *)"");
4091 }
4092 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4093 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4094 return 1;
4095 }
4096
4097
4098 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4099 PyObject *pyobj;
4100
4101 {
4102 #if wxUSE_UNICODE
4103 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4104 #else
4105 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4106 #endif
4107 }
4108 return pyobj;
4109 }
4110
4111
4112 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4113 PyObject *resultobj;
4114 wxWindow *arg1 = (wxWindow *) 0 ;
4115 int arg2 = (int) -1 ;
4116 wxString const &arg3_defvalue = wxPyEmptyString ;
4117 wxString *arg3 = (wxString *) &arg3_defvalue ;
4118 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4119 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4120 wxSize const &arg5_defvalue = wxDefaultSize ;
4121 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4122 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4123 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4124 long arg7 = (long) 0 ;
4125 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4126 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4127 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4128 wxString *arg9 = (wxString *) &arg9_defvalue ;
4129 wxComboBox *result;
4130 bool temp3 = false ;
4131 wxPoint temp4 ;
4132 wxSize temp5 ;
4133 bool temp6 = false ;
4134 bool temp9 = false ;
4135 PyObject * obj0 = 0 ;
4136 PyObject * obj1 = 0 ;
4137 PyObject * obj2 = 0 ;
4138 PyObject * obj3 = 0 ;
4139 PyObject * obj4 = 0 ;
4140 PyObject * obj5 = 0 ;
4141 PyObject * obj6 = 0 ;
4142 PyObject * obj7 = 0 ;
4143 PyObject * obj8 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4150 if (SWIG_arg_fail(1)) SWIG_fail;
4151 if (obj1) {
4152 {
4153 arg2 = (int)(SWIG_As_int(obj1));
4154 if (SWIG_arg_fail(2)) SWIG_fail;
4155 }
4156 }
4157 if (obj2) {
4158 {
4159 arg3 = wxString_in_helper(obj2);
4160 if (arg3 == NULL) SWIG_fail;
4161 temp3 = true;
4162 }
4163 }
4164 if (obj3) {
4165 {
4166 arg4 = &temp4;
4167 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4168 }
4169 }
4170 if (obj4) {
4171 {
4172 arg5 = &temp5;
4173 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4174 }
4175 }
4176 if (obj5) {
4177 {
4178 if (! PySequence_Check(obj5)) {
4179 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4180 SWIG_fail;
4181 }
4182 arg6 = new wxArrayString;
4183 temp6 = true;
4184 int i, len=PySequence_Length(obj5);
4185 for (i=0; i<len; i++) {
4186 PyObject* item = PySequence_GetItem(obj5, i);
4187 #if wxUSE_UNICODE
4188 PyObject* str = PyObject_Unicode(item);
4189 #else
4190 PyObject* str = PyObject_Str(item);
4191 #endif
4192 if (PyErr_Occurred()) SWIG_fail;
4193 arg6->Add(Py2wxString(str));
4194 Py_DECREF(item);
4195 Py_DECREF(str);
4196 }
4197 }
4198 }
4199 if (obj6) {
4200 {
4201 arg7 = (long)(SWIG_As_long(obj6));
4202 if (SWIG_arg_fail(7)) SWIG_fail;
4203 }
4204 }
4205 if (obj7) {
4206 {
4207 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4208 if (SWIG_arg_fail(8)) SWIG_fail;
4209 if (arg8 == NULL) {
4210 SWIG_null_ref("wxValidator");
4211 }
4212 if (SWIG_arg_fail(8)) SWIG_fail;
4213 }
4214 }
4215 if (obj8) {
4216 {
4217 arg9 = wxString_in_helper(obj8);
4218 if (arg9 == NULL) SWIG_fail;
4219 temp9 = true;
4220 }
4221 }
4222 {
4223 if (!wxPyCheckForApp()) SWIG_fail;
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4226
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4231 {
4232 if (temp3)
4233 delete arg3;
4234 }
4235 {
4236 if (temp6) delete arg6;
4237 }
4238 {
4239 if (temp9)
4240 delete arg9;
4241 }
4242 return resultobj;
4243 fail:
4244 {
4245 if (temp3)
4246 delete arg3;
4247 }
4248 {
4249 if (temp6) delete arg6;
4250 }
4251 {
4252 if (temp9)
4253 delete arg9;
4254 }
4255 return NULL;
4256 }
4257
4258
4259 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxComboBox *result;
4262 char *kwnames[] = {
4263 NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4267 {
4268 if (!wxPyCheckForApp()) SWIG_fail;
4269 PyThreadState* __tstate = wxPyBeginAllowThreads();
4270 result = (wxComboBox *)new wxComboBox();
4271
4272 wxPyEndAllowThreads(__tstate);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 }
4275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4276 return resultobj;
4277 fail:
4278 return NULL;
4279 }
4280
4281
4282 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4283 PyObject *resultobj;
4284 wxComboBox *arg1 = (wxComboBox *) 0 ;
4285 wxWindow *arg2 = (wxWindow *) 0 ;
4286 int arg3 = (int) -1 ;
4287 wxString const &arg4_defvalue = wxPyEmptyString ;
4288 wxString *arg4 = (wxString *) &arg4_defvalue ;
4289 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4290 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4291 wxSize const &arg6_defvalue = wxDefaultSize ;
4292 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4293 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4294 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4295 long arg8 = (long) 0 ;
4296 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4297 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4298 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4299 wxString *arg10 = (wxString *) &arg10_defvalue ;
4300 bool result;
4301 bool temp4 = false ;
4302 wxPoint temp5 ;
4303 wxSize temp6 ;
4304 bool temp7 = false ;
4305 bool temp10 = false ;
4306 PyObject * obj0 = 0 ;
4307 PyObject * obj1 = 0 ;
4308 PyObject * obj2 = 0 ;
4309 PyObject * obj3 = 0 ;
4310 PyObject * obj4 = 0 ;
4311 PyObject * obj5 = 0 ;
4312 PyObject * obj6 = 0 ;
4313 PyObject * obj7 = 0 ;
4314 PyObject * obj8 = 0 ;
4315 PyObject * obj9 = 0 ;
4316 char *kwnames[] = {
4317 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4318 };
4319
4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4322 if (SWIG_arg_fail(1)) SWIG_fail;
4323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4324 if (SWIG_arg_fail(2)) SWIG_fail;
4325 if (obj2) {
4326 {
4327 arg3 = (int)(SWIG_As_int(obj2));
4328 if (SWIG_arg_fail(3)) SWIG_fail;
4329 }
4330 }
4331 if (obj3) {
4332 {
4333 arg4 = wxString_in_helper(obj3);
4334 if (arg4 == NULL) SWIG_fail;
4335 temp4 = true;
4336 }
4337 }
4338 if (obj4) {
4339 {
4340 arg5 = &temp5;
4341 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4342 }
4343 }
4344 if (obj5) {
4345 {
4346 arg6 = &temp6;
4347 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4348 }
4349 }
4350 if (obj6) {
4351 {
4352 if (! PySequence_Check(obj6)) {
4353 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4354 SWIG_fail;
4355 }
4356 arg7 = new wxArrayString;
4357 temp7 = true;
4358 int i, len=PySequence_Length(obj6);
4359 for (i=0; i<len; i++) {
4360 PyObject* item = PySequence_GetItem(obj6, i);
4361 #if wxUSE_UNICODE
4362 PyObject* str = PyObject_Unicode(item);
4363 #else
4364 PyObject* str = PyObject_Str(item);
4365 #endif
4366 if (PyErr_Occurred()) SWIG_fail;
4367 arg7->Add(Py2wxString(str));
4368 Py_DECREF(item);
4369 Py_DECREF(str);
4370 }
4371 }
4372 }
4373 if (obj7) {
4374 {
4375 arg8 = (long)(SWIG_As_long(obj7));
4376 if (SWIG_arg_fail(8)) SWIG_fail;
4377 }
4378 }
4379 if (obj8) {
4380 {
4381 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4382 if (SWIG_arg_fail(9)) SWIG_fail;
4383 if (arg9 == NULL) {
4384 SWIG_null_ref("wxValidator");
4385 }
4386 if (SWIG_arg_fail(9)) SWIG_fail;
4387 }
4388 }
4389 if (obj9) {
4390 {
4391 arg10 = wxString_in_helper(obj9);
4392 if (arg10 == NULL) SWIG_fail;
4393 temp10 = true;
4394 }
4395 }
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 {
4404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4405 }
4406 {
4407 if (temp4)
4408 delete arg4;
4409 }
4410 {
4411 if (temp7) delete arg7;
4412 }
4413 {
4414 if (temp10)
4415 delete arg10;
4416 }
4417 return resultobj;
4418 fail:
4419 {
4420 if (temp4)
4421 delete arg4;
4422 }
4423 {
4424 if (temp7) delete arg7;
4425 }
4426 {
4427 if (temp10)
4428 delete arg10;
4429 }
4430 return NULL;
4431 }
4432
4433
4434 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4435 PyObject *resultobj;
4436 wxComboBox *arg1 = (wxComboBox *) 0 ;
4437 wxString result;
4438 PyObject * obj0 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4445 if (SWIG_arg_fail(1)) SWIG_fail;
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = ((wxComboBox const *)arg1)->GetValue();
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 {
4454 #if wxUSE_UNICODE
4455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4456 #else
4457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4458 #endif
4459 }
4460 return resultobj;
4461 fail:
4462 return NULL;
4463 }
4464
4465
4466 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4467 PyObject *resultobj;
4468 wxComboBox *arg1 = (wxComboBox *) 0 ;
4469 wxString *arg2 = 0 ;
4470 bool temp2 = false ;
4471 PyObject * obj0 = 0 ;
4472 PyObject * obj1 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self",(char *) "value", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4479 if (SWIG_arg_fail(1)) SWIG_fail;
4480 {
4481 arg2 = wxString_in_helper(obj1);
4482 if (arg2 == NULL) SWIG_fail;
4483 temp2 = true;
4484 }
4485 {
4486 PyThreadState* __tstate = wxPyBeginAllowThreads();
4487 (arg1)->SetValue((wxString const &)*arg2);
4488
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4492 Py_INCREF(Py_None); resultobj = Py_None;
4493 {
4494 if (temp2)
4495 delete arg2;
4496 }
4497 return resultobj;
4498 fail:
4499 {
4500 if (temp2)
4501 delete arg2;
4502 }
4503 return NULL;
4504 }
4505
4506
4507 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4508 PyObject *resultobj;
4509 wxComboBox *arg1 = (wxComboBox *) 0 ;
4510 PyObject * obj0 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "self", NULL
4513 };
4514
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4517 if (SWIG_arg_fail(1)) SWIG_fail;
4518 {
4519 PyThreadState* __tstate = wxPyBeginAllowThreads();
4520 (arg1)->Copy();
4521
4522 wxPyEndAllowThreads(__tstate);
4523 if (PyErr_Occurred()) SWIG_fail;
4524 }
4525 Py_INCREF(Py_None); resultobj = Py_None;
4526 return resultobj;
4527 fail:
4528 return NULL;
4529 }
4530
4531
4532 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4533 PyObject *resultobj;
4534 wxComboBox *arg1 = (wxComboBox *) 0 ;
4535 PyObject * obj0 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4542 if (SWIG_arg_fail(1)) SWIG_fail;
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 (arg1)->Cut();
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 }
4550 Py_INCREF(Py_None); resultobj = Py_None;
4551 return resultobj;
4552 fail:
4553 return NULL;
4554 }
4555
4556
4557 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4558 PyObject *resultobj;
4559 wxComboBox *arg1 = (wxComboBox *) 0 ;
4560 PyObject * obj0 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4567 if (SWIG_arg_fail(1)) SWIG_fail;
4568 {
4569 PyThreadState* __tstate = wxPyBeginAllowThreads();
4570 (arg1)->Paste();
4571
4572 wxPyEndAllowThreads(__tstate);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
4575 Py_INCREF(Py_None); resultobj = Py_None;
4576 return resultobj;
4577 fail:
4578 return NULL;
4579 }
4580
4581
4582 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4583 PyObject *resultobj;
4584 wxComboBox *arg1 = (wxComboBox *) 0 ;
4585 long arg2 ;
4586 PyObject * obj0 = 0 ;
4587 PyObject * obj1 = 0 ;
4588 char *kwnames[] = {
4589 (char *) "self",(char *) "pos", NULL
4590 };
4591
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4594 if (SWIG_arg_fail(1)) SWIG_fail;
4595 {
4596 arg2 = (long)(SWIG_As_long(obj1));
4597 if (SWIG_arg_fail(2)) SWIG_fail;
4598 }
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 (arg1)->SetInsertionPoint(arg2);
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 Py_INCREF(Py_None); resultobj = Py_None;
4607 return resultobj;
4608 fail:
4609 return NULL;
4610 }
4611
4612
4613 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4614 PyObject *resultobj;
4615 wxComboBox *arg1 = (wxComboBox *) 0 ;
4616 long result;
4617 PyObject * obj0 = 0 ;
4618 char *kwnames[] = {
4619 (char *) "self", NULL
4620 };
4621
4622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4624 if (SWIG_arg_fail(1)) SWIG_fail;
4625 {
4626 PyThreadState* __tstate = wxPyBeginAllowThreads();
4627 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4628
4629 wxPyEndAllowThreads(__tstate);
4630 if (PyErr_Occurred()) SWIG_fail;
4631 }
4632 {
4633 resultobj = SWIG_From_long((long)(result));
4634 }
4635 return resultobj;
4636 fail:
4637 return NULL;
4638 }
4639
4640
4641 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4642 PyObject *resultobj;
4643 wxComboBox *arg1 = (wxComboBox *) 0 ;
4644 long result;
4645 PyObject * obj0 = 0 ;
4646 char *kwnames[] = {
4647 (char *) "self", NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4652 if (SWIG_arg_fail(1)) SWIG_fail;
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
4660 {
4661 resultobj = SWIG_From_long((long)(result));
4662 }
4663 return resultobj;
4664 fail:
4665 return NULL;
4666 }
4667
4668
4669 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4670 PyObject *resultobj;
4671 wxComboBox *arg1 = (wxComboBox *) 0 ;
4672 long arg2 ;
4673 long arg3 ;
4674 wxString *arg4 = 0 ;
4675 bool temp4 = false ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 PyObject * obj2 = 0 ;
4679 PyObject * obj3 = 0 ;
4680 char *kwnames[] = {
4681 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4682 };
4683
4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4686 if (SWIG_arg_fail(1)) SWIG_fail;
4687 {
4688 arg2 = (long)(SWIG_As_long(obj1));
4689 if (SWIG_arg_fail(2)) SWIG_fail;
4690 }
4691 {
4692 arg3 = (long)(SWIG_As_long(obj2));
4693 if (SWIG_arg_fail(3)) SWIG_fail;
4694 }
4695 {
4696 arg4 = wxString_in_helper(obj3);
4697 if (arg4 == NULL) SWIG_fail;
4698 temp4 = true;
4699 }
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 Py_INCREF(Py_None); resultobj = Py_None;
4708 {
4709 if (temp4)
4710 delete arg4;
4711 }
4712 return resultobj;
4713 fail:
4714 {
4715 if (temp4)
4716 delete arg4;
4717 }
4718 return NULL;
4719 }
4720
4721
4722 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4723 PyObject *resultobj;
4724 wxComboBox *arg1 = (wxComboBox *) 0 ;
4725 int arg2 ;
4726 PyObject * obj0 = 0 ;
4727 PyObject * obj1 = 0 ;
4728 char *kwnames[] = {
4729 (char *) "self",(char *) "n", NULL
4730 };
4731
4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4734 if (SWIG_arg_fail(1)) SWIG_fail;
4735 {
4736 arg2 = (int)(SWIG_As_int(obj1));
4737 if (SWIG_arg_fail(2)) SWIG_fail;
4738 }
4739 {
4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
4741 (arg1)->SetSelection(arg2);
4742
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 Py_INCREF(Py_None); resultobj = Py_None;
4747 return resultobj;
4748 fail:
4749 return NULL;
4750 }
4751
4752
4753 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4754 PyObject *resultobj;
4755 wxComboBox *arg1 = (wxComboBox *) 0 ;
4756 long arg2 ;
4757 long arg3 ;
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj2 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "self",(char *) "from",(char *) "to", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4767 if (SWIG_arg_fail(1)) SWIG_fail;
4768 {
4769 arg2 = (long)(SWIG_As_long(obj1));
4770 if (SWIG_arg_fail(2)) SWIG_fail;
4771 }
4772 {
4773 arg3 = (long)(SWIG_As_long(obj2));
4774 if (SWIG_arg_fail(3)) SWIG_fail;
4775 }
4776 {
4777 PyThreadState* __tstate = wxPyBeginAllowThreads();
4778 (arg1)->SetSelection(arg2,arg3);
4779
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 Py_INCREF(Py_None); resultobj = Py_None;
4784 return resultobj;
4785 fail:
4786 return NULL;
4787 }
4788
4789
4790 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4791 PyObject *resultobj;
4792 wxComboBox *arg1 = (wxComboBox *) 0 ;
4793 wxString *arg2 = 0 ;
4794 bool result;
4795 bool temp2 = false ;
4796 PyObject * obj0 = 0 ;
4797 PyObject * obj1 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "self",(char *) "string", NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4804 if (SWIG_arg_fail(1)) SWIG_fail;
4805 {
4806 arg2 = wxString_in_helper(obj1);
4807 if (arg2 == NULL) SWIG_fail;
4808 temp2 = true;
4809 }
4810 {
4811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4812 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4813
4814 wxPyEndAllowThreads(__tstate);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
4817 {
4818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4819 }
4820 {
4821 if (temp2)
4822 delete arg2;
4823 }
4824 return resultobj;
4825 fail:
4826 {
4827 if (temp2)
4828 delete arg2;
4829 }
4830 return NULL;
4831 }
4832
4833
4834 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4835 PyObject *resultobj;
4836 wxComboBox *arg1 = (wxComboBox *) 0 ;
4837 int arg2 ;
4838 wxString *arg3 = 0 ;
4839 bool temp3 = false ;
4840 PyObject * obj0 = 0 ;
4841 PyObject * obj1 = 0 ;
4842 PyObject * obj2 = 0 ;
4843 char *kwnames[] = {
4844 (char *) "self",(char *) "n",(char *) "string", NULL
4845 };
4846
4847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4849 if (SWIG_arg_fail(1)) SWIG_fail;
4850 {
4851 arg2 = (int)(SWIG_As_int(obj1));
4852 if (SWIG_arg_fail(2)) SWIG_fail;
4853 }
4854 {
4855 arg3 = wxString_in_helper(obj2);
4856 if (arg3 == NULL) SWIG_fail;
4857 temp3 = true;
4858 }
4859 {
4860 PyThreadState* __tstate = wxPyBeginAllowThreads();
4861 (arg1)->SetString(arg2,(wxString const &)*arg3);
4862
4863 wxPyEndAllowThreads(__tstate);
4864 if (PyErr_Occurred()) SWIG_fail;
4865 }
4866 Py_INCREF(Py_None); resultobj = Py_None;
4867 {
4868 if (temp3)
4869 delete arg3;
4870 }
4871 return resultobj;
4872 fail:
4873 {
4874 if (temp3)
4875 delete arg3;
4876 }
4877 return NULL;
4878 }
4879
4880
4881 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4882 PyObject *resultobj;
4883 wxComboBox *arg1 = (wxComboBox *) 0 ;
4884 bool arg2 ;
4885 PyObject * obj0 = 0 ;
4886 PyObject * obj1 = 0 ;
4887 char *kwnames[] = {
4888 (char *) "self",(char *) "editable", NULL
4889 };
4890
4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
4892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4893 if (SWIG_arg_fail(1)) SWIG_fail;
4894 {
4895 arg2 = (bool)(SWIG_As_bool(obj1));
4896 if (SWIG_arg_fail(2)) SWIG_fail;
4897 }
4898 {
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 (arg1)->SetEditable(arg2);
4901
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 Py_INCREF(Py_None); resultobj = Py_None;
4906 return resultobj;
4907 fail:
4908 return NULL;
4909 }
4910
4911
4912 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
4913 PyObject *resultobj;
4914 wxComboBox *arg1 = (wxComboBox *) 0 ;
4915 PyObject * obj0 = 0 ;
4916 char *kwnames[] = {
4917 (char *) "self", NULL
4918 };
4919
4920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
4921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4922 if (SWIG_arg_fail(1)) SWIG_fail;
4923 {
4924 PyThreadState* __tstate = wxPyBeginAllowThreads();
4925 (arg1)->SetInsertionPointEnd();
4926
4927 wxPyEndAllowThreads(__tstate);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
4930 Py_INCREF(Py_None); resultobj = Py_None;
4931 return resultobj;
4932 fail:
4933 return NULL;
4934 }
4935
4936
4937 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
4938 PyObject *resultobj;
4939 wxComboBox *arg1 = (wxComboBox *) 0 ;
4940 long arg2 ;
4941 long arg3 ;
4942 PyObject * obj0 = 0 ;
4943 PyObject * obj1 = 0 ;
4944 PyObject * obj2 = 0 ;
4945 char *kwnames[] = {
4946 (char *) "self",(char *) "from",(char *) "to", NULL
4947 };
4948
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
4950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4951 if (SWIG_arg_fail(1)) SWIG_fail;
4952 {
4953 arg2 = (long)(SWIG_As_long(obj1));
4954 if (SWIG_arg_fail(2)) SWIG_fail;
4955 }
4956 {
4957 arg3 = (long)(SWIG_As_long(obj2));
4958 if (SWIG_arg_fail(3)) SWIG_fail;
4959 }
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
4962 (arg1)->Remove(arg2,arg3);
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
4967 Py_INCREF(Py_None); resultobj = Py_None;
4968 return resultobj;
4969 fail:
4970 return NULL;
4971 }
4972
4973
4974 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4975 PyObject *resultobj;
4976 wxComboBox *arg1 = (wxComboBox *) 0 ;
4977 bool result;
4978 PyObject * obj0 = 0 ;
4979 char *kwnames[] = {
4980 (char *) "self", NULL
4981 };
4982
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
4984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4985 if (SWIG_arg_fail(1)) SWIG_fail;
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (bool)((wxComboBox const *)arg1)->IsEditable();
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 {
4994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4995 }
4996 return resultobj;
4997 fail:
4998 return NULL;
4999 }
5000
5001
5002 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5003 PyObject *resultobj;
5004 wxComboBox *arg1 = (wxComboBox *) 0 ;
5005 PyObject * obj0 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5012 if (SWIG_arg_fail(1)) SWIG_fail;
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 (arg1)->Undo();
5016
5017 wxPyEndAllowThreads(__tstate);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 }
5020 Py_INCREF(Py_None); resultobj = Py_None;
5021 return resultobj;
5022 fail:
5023 return NULL;
5024 }
5025
5026
5027 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5028 PyObject *resultobj;
5029 wxComboBox *arg1 = (wxComboBox *) 0 ;
5030 PyObject * obj0 = 0 ;
5031 char *kwnames[] = {
5032 (char *) "self", NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5037 if (SWIG_arg_fail(1)) SWIG_fail;
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 (arg1)->Redo();
5041
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 Py_INCREF(Py_None); resultobj = Py_None;
5046 return resultobj;
5047 fail:
5048 return NULL;
5049 }
5050
5051
5052 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5053 PyObject *resultobj;
5054 wxComboBox *arg1 = (wxComboBox *) 0 ;
5055 PyObject * obj0 = 0 ;
5056 char *kwnames[] = {
5057 (char *) "self", NULL
5058 };
5059
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5062 if (SWIG_arg_fail(1)) SWIG_fail;
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 (arg1)->SelectAll();
5066
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 Py_INCREF(Py_None); resultobj = Py_None;
5071 return resultobj;
5072 fail:
5073 return NULL;
5074 }
5075
5076
5077 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5078 PyObject *resultobj;
5079 wxComboBox *arg1 = (wxComboBox *) 0 ;
5080 bool result;
5081 PyObject * obj0 = 0 ;
5082 char *kwnames[] = {
5083 (char *) "self", NULL
5084 };
5085
5086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5088 if (SWIG_arg_fail(1)) SWIG_fail;
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
5096 {
5097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5098 }
5099 return resultobj;
5100 fail:
5101 return NULL;
5102 }
5103
5104
5105 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5106 PyObject *resultobj;
5107 wxComboBox *arg1 = (wxComboBox *) 0 ;
5108 bool result;
5109 PyObject * obj0 = 0 ;
5110 char *kwnames[] = {
5111 (char *) "self", NULL
5112 };
5113
5114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5116 if (SWIG_arg_fail(1)) SWIG_fail;
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 result = (bool)((wxComboBox const *)arg1)->CanCut();
5120
5121 wxPyEndAllowThreads(__tstate);
5122 if (PyErr_Occurred()) SWIG_fail;
5123 }
5124 {
5125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5126 }
5127 return resultobj;
5128 fail:
5129 return NULL;
5130 }
5131
5132
5133 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5134 PyObject *resultobj;
5135 wxComboBox *arg1 = (wxComboBox *) 0 ;
5136 bool result;
5137 PyObject * obj0 = 0 ;
5138 char *kwnames[] = {
5139 (char *) "self", NULL
5140 };
5141
5142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5144 if (SWIG_arg_fail(1)) SWIG_fail;
5145 {
5146 PyThreadState* __tstate = wxPyBeginAllowThreads();
5147 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5148
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
5152 {
5153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5154 }
5155 return resultobj;
5156 fail:
5157 return NULL;
5158 }
5159
5160
5161 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5162 PyObject *resultobj;
5163 wxComboBox *arg1 = (wxComboBox *) 0 ;
5164 bool result;
5165 PyObject * obj0 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5172 if (SWIG_arg_fail(1)) SWIG_fail;
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5176
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 {
5181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5182 }
5183 return resultobj;
5184 fail:
5185 return NULL;
5186 }
5187
5188
5189 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj;
5191 wxComboBox *arg1 = (wxComboBox *) 0 ;
5192 bool result;
5193 PyObject * obj0 = 0 ;
5194 char *kwnames[] = {
5195 (char *) "self", NULL
5196 };
5197
5198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5200 if (SWIG_arg_fail(1)) SWIG_fail;
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5204
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 {
5209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5210 }
5211 return resultobj;
5212 fail:
5213 return NULL;
5214 }
5215
5216
5217 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj;
5219 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5220 wxVisualAttributes result;
5221 PyObject * obj0 = 0 ;
5222 char *kwnames[] = {
5223 (char *) "variant", NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5227 if (obj0) {
5228 {
5229 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5230 if (SWIG_arg_fail(1)) SWIG_fail;
5231 }
5232 }
5233 {
5234 if (!wxPyCheckForApp()) SWIG_fail;
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 {
5242 wxVisualAttributes * resultptr;
5243 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5244 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5245 }
5246 return resultobj;
5247 fail:
5248 return NULL;
5249 }
5250
5251
5252 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5253 PyObject *obj;
5254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5255 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5256 Py_INCREF(obj);
5257 return Py_BuildValue((char *)"");
5258 }
5259 static int _wrap_GaugeNameStr_set(PyObject *) {
5260 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5261 return 1;
5262 }
5263
5264
5265 static PyObject *_wrap_GaugeNameStr_get(void) {
5266 PyObject *pyobj;
5267
5268 {
5269 #if wxUSE_UNICODE
5270 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5271 #else
5272 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5273 #endif
5274 }
5275 return pyobj;
5276 }
5277
5278
5279 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5280 PyObject *resultobj;
5281 wxWindow *arg1 = (wxWindow *) 0 ;
5282 int arg2 = (int) -1 ;
5283 int arg3 = (int) 100 ;
5284 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5285 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5286 wxSize const &arg5_defvalue = wxDefaultSize ;
5287 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5288 long arg6 = (long) wxGA_HORIZONTAL ;
5289 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5290 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5291 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5292 wxString *arg8 = (wxString *) &arg8_defvalue ;
5293 wxGauge *result;
5294 wxPoint temp4 ;
5295 wxSize temp5 ;
5296 bool temp8 = false ;
5297 PyObject * obj0 = 0 ;
5298 PyObject * obj1 = 0 ;
5299 PyObject * obj2 = 0 ;
5300 PyObject * obj3 = 0 ;
5301 PyObject * obj4 = 0 ;
5302 PyObject * obj5 = 0 ;
5303 PyObject * obj6 = 0 ;
5304 PyObject * obj7 = 0 ;
5305 char *kwnames[] = {
5306 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5307 };
5308
5309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5311 if (SWIG_arg_fail(1)) SWIG_fail;
5312 if (obj1) {
5313 {
5314 arg2 = (int)(SWIG_As_int(obj1));
5315 if (SWIG_arg_fail(2)) SWIG_fail;
5316 }
5317 }
5318 if (obj2) {
5319 {
5320 arg3 = (int)(SWIG_As_int(obj2));
5321 if (SWIG_arg_fail(3)) SWIG_fail;
5322 }
5323 }
5324 if (obj3) {
5325 {
5326 arg4 = &temp4;
5327 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5328 }
5329 }
5330 if (obj4) {
5331 {
5332 arg5 = &temp5;
5333 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5334 }
5335 }
5336 if (obj5) {
5337 {
5338 arg6 = (long)(SWIG_As_long(obj5));
5339 if (SWIG_arg_fail(6)) SWIG_fail;
5340 }
5341 }
5342 if (obj6) {
5343 {
5344 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5345 if (SWIG_arg_fail(7)) SWIG_fail;
5346 if (arg7 == NULL) {
5347 SWIG_null_ref("wxValidator");
5348 }
5349 if (SWIG_arg_fail(7)) SWIG_fail;
5350 }
5351 }
5352 if (obj7) {
5353 {
5354 arg8 = wxString_in_helper(obj7);
5355 if (arg8 == NULL) SWIG_fail;
5356 temp8 = true;
5357 }
5358 }
5359 {
5360 if (!wxPyCheckForApp()) SWIG_fail;
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5368 {
5369 if (temp8)
5370 delete arg8;
5371 }
5372 return resultobj;
5373 fail:
5374 {
5375 if (temp8)
5376 delete arg8;
5377 }
5378 return NULL;
5379 }
5380
5381
5382 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5383 PyObject *resultobj;
5384 wxGauge *result;
5385 char *kwnames[] = {
5386 NULL
5387 };
5388
5389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5390 {
5391 if (!wxPyCheckForApp()) SWIG_fail;
5392 PyThreadState* __tstate = wxPyBeginAllowThreads();
5393 result = (wxGauge *)new wxGauge();
5394
5395 wxPyEndAllowThreads(__tstate);
5396 if (PyErr_Occurred()) SWIG_fail;
5397 }
5398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5399 return resultobj;
5400 fail:
5401 return NULL;
5402 }
5403
5404
5405 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5406 PyObject *resultobj;
5407 wxGauge *arg1 = (wxGauge *) 0 ;
5408 wxWindow *arg2 = (wxWindow *) 0 ;
5409 int arg3 = (int) -1 ;
5410 int arg4 = (int) 100 ;
5411 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5412 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5413 wxSize const &arg6_defvalue = wxDefaultSize ;
5414 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5415 long arg7 = (long) wxGA_HORIZONTAL ;
5416 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5417 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5418 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5419 wxString *arg9 = (wxString *) &arg9_defvalue ;
5420 bool result;
5421 wxPoint temp5 ;
5422 wxSize temp6 ;
5423 bool temp9 = false ;
5424 PyObject * obj0 = 0 ;
5425 PyObject * obj1 = 0 ;
5426 PyObject * obj2 = 0 ;
5427 PyObject * obj3 = 0 ;
5428 PyObject * obj4 = 0 ;
5429 PyObject * obj5 = 0 ;
5430 PyObject * obj6 = 0 ;
5431 PyObject * obj7 = 0 ;
5432 PyObject * obj8 = 0 ;
5433 char *kwnames[] = {
5434 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5435 };
5436
5437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5439 if (SWIG_arg_fail(1)) SWIG_fail;
5440 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5441 if (SWIG_arg_fail(2)) SWIG_fail;
5442 if (obj2) {
5443 {
5444 arg3 = (int)(SWIG_As_int(obj2));
5445 if (SWIG_arg_fail(3)) SWIG_fail;
5446 }
5447 }
5448 if (obj3) {
5449 {
5450 arg4 = (int)(SWIG_As_int(obj3));
5451 if (SWIG_arg_fail(4)) SWIG_fail;
5452 }
5453 }
5454 if (obj4) {
5455 {
5456 arg5 = &temp5;
5457 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5458 }
5459 }
5460 if (obj5) {
5461 {
5462 arg6 = &temp6;
5463 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5464 }
5465 }
5466 if (obj6) {
5467 {
5468 arg7 = (long)(SWIG_As_long(obj6));
5469 if (SWIG_arg_fail(7)) SWIG_fail;
5470 }
5471 }
5472 if (obj7) {
5473 {
5474 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5475 if (SWIG_arg_fail(8)) SWIG_fail;
5476 if (arg8 == NULL) {
5477 SWIG_null_ref("wxValidator");
5478 }
5479 if (SWIG_arg_fail(8)) SWIG_fail;
5480 }
5481 }
5482 if (obj8) {
5483 {
5484 arg9 = wxString_in_helper(obj8);
5485 if (arg9 == NULL) SWIG_fail;
5486 temp9 = true;
5487 }
5488 }
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 {
5497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5498 }
5499 {
5500 if (temp9)
5501 delete arg9;
5502 }
5503 return resultobj;
5504 fail:
5505 {
5506 if (temp9)
5507 delete arg9;
5508 }
5509 return NULL;
5510 }
5511
5512
5513 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5514 PyObject *resultobj;
5515 wxGauge *arg1 = (wxGauge *) 0 ;
5516 int arg2 ;
5517 PyObject * obj0 = 0 ;
5518 PyObject * obj1 = 0 ;
5519 char *kwnames[] = {
5520 (char *) "self",(char *) "range", NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5525 if (SWIG_arg_fail(1)) SWIG_fail;
5526 {
5527 arg2 = (int)(SWIG_As_int(obj1));
5528 if (SWIG_arg_fail(2)) SWIG_fail;
5529 }
5530 {
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 (arg1)->SetRange(arg2);
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 Py_INCREF(Py_None); resultobj = Py_None;
5538 return resultobj;
5539 fail:
5540 return NULL;
5541 }
5542
5543
5544 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj;
5546 wxGauge *arg1 = (wxGauge *) 0 ;
5547 int result;
5548 PyObject * obj0 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail;
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = (int)((wxGauge const *)arg1)->GetRange();
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 {
5564 resultobj = SWIG_From_int((int)(result));
5565 }
5566 return resultobj;
5567 fail:
5568 return NULL;
5569 }
5570
5571
5572 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5573 PyObject *resultobj;
5574 wxGauge *arg1 = (wxGauge *) 0 ;
5575 int arg2 ;
5576 PyObject * obj0 = 0 ;
5577 PyObject * obj1 = 0 ;
5578 char *kwnames[] = {
5579 (char *) "self",(char *) "pos", NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5584 if (SWIG_arg_fail(1)) SWIG_fail;
5585 {
5586 arg2 = (int)(SWIG_As_int(obj1));
5587 if (SWIG_arg_fail(2)) SWIG_fail;
5588 }
5589 {
5590 PyThreadState* __tstate = wxPyBeginAllowThreads();
5591 (arg1)->SetValue(arg2);
5592
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
5596 Py_INCREF(Py_None); resultobj = Py_None;
5597 return resultobj;
5598 fail:
5599 return NULL;
5600 }
5601
5602
5603 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5604 PyObject *resultobj;
5605 wxGauge *arg1 = (wxGauge *) 0 ;
5606 int result;
5607 PyObject * obj0 = 0 ;
5608 char *kwnames[] = {
5609 (char *) "self", NULL
5610 };
5611
5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5614 if (SWIG_arg_fail(1)) SWIG_fail;
5615 {
5616 PyThreadState* __tstate = wxPyBeginAllowThreads();
5617 result = (int)((wxGauge const *)arg1)->GetValue();
5618
5619 wxPyEndAllowThreads(__tstate);
5620 if (PyErr_Occurred()) SWIG_fail;
5621 }
5622 {
5623 resultobj = SWIG_From_int((int)(result));
5624 }
5625 return resultobj;
5626 fail:
5627 return NULL;
5628 }
5629
5630
5631 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5632 PyObject *resultobj;
5633 wxGauge *arg1 = (wxGauge *) 0 ;
5634 bool result;
5635 PyObject * obj0 = 0 ;
5636 char *kwnames[] = {
5637 (char *) "self", NULL
5638 };
5639
5640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5642 if (SWIG_arg_fail(1)) SWIG_fail;
5643 {
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (bool)((wxGauge const *)arg1)->IsVertical();
5646
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 {
5651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5652 }
5653 return resultobj;
5654 fail:
5655 return NULL;
5656 }
5657
5658
5659 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxGauge *arg1 = (wxGauge *) 0 ;
5662 int arg2 ;
5663 PyObject * obj0 = 0 ;
5664 PyObject * obj1 = 0 ;
5665 char *kwnames[] = {
5666 (char *) "self",(char *) "w", NULL
5667 };
5668
5669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5671 if (SWIG_arg_fail(1)) SWIG_fail;
5672 {
5673 arg2 = (int)(SWIG_As_int(obj1));
5674 if (SWIG_arg_fail(2)) SWIG_fail;
5675 }
5676 {
5677 PyThreadState* __tstate = wxPyBeginAllowThreads();
5678 (arg1)->SetShadowWidth(arg2);
5679
5680 wxPyEndAllowThreads(__tstate);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 Py_INCREF(Py_None); resultobj = Py_None;
5684 return resultobj;
5685 fail:
5686 return NULL;
5687 }
5688
5689
5690 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5691 PyObject *resultobj;
5692 wxGauge *arg1 = (wxGauge *) 0 ;
5693 int result;
5694 PyObject * obj0 = 0 ;
5695 char *kwnames[] = {
5696 (char *) "self", NULL
5697 };
5698
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5701 if (SWIG_arg_fail(1)) SWIG_fail;
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5705
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 {
5710 resultobj = SWIG_From_int((int)(result));
5711 }
5712 return resultobj;
5713 fail:
5714 return NULL;
5715 }
5716
5717
5718 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 wxGauge *arg1 = (wxGauge *) 0 ;
5721 int arg2 ;
5722 PyObject * obj0 = 0 ;
5723 PyObject * obj1 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "self",(char *) "w", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5730 if (SWIG_arg_fail(1)) SWIG_fail;
5731 {
5732 arg2 = (int)(SWIG_As_int(obj1));
5733 if (SWIG_arg_fail(2)) SWIG_fail;
5734 }
5735 {
5736 PyThreadState* __tstate = wxPyBeginAllowThreads();
5737 (arg1)->SetBezelFace(arg2);
5738
5739 wxPyEndAllowThreads(__tstate);
5740 if (PyErr_Occurred()) SWIG_fail;
5741 }
5742 Py_INCREF(Py_None); resultobj = Py_None;
5743 return resultobj;
5744 fail:
5745 return NULL;
5746 }
5747
5748
5749 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5750 PyObject *resultobj;
5751 wxGauge *arg1 = (wxGauge *) 0 ;
5752 int result;
5753 PyObject * obj0 = 0 ;
5754 char *kwnames[] = {
5755 (char *) "self", NULL
5756 };
5757
5758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5760 if (SWIG_arg_fail(1)) SWIG_fail;
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5764
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 {
5769 resultobj = SWIG_From_int((int)(result));
5770 }
5771 return resultobj;
5772 fail:
5773 return NULL;
5774 }
5775
5776
5777 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5778 PyObject *resultobj;
5779 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5780 wxVisualAttributes result;
5781 PyObject * obj0 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "variant", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5787 if (obj0) {
5788 {
5789 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5790 if (SWIG_arg_fail(1)) SWIG_fail;
5791 }
5792 }
5793 {
5794 if (!wxPyCheckForApp()) SWIG_fail;
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 }
5801 {
5802 wxVisualAttributes * resultptr;
5803 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5805 }
5806 return resultobj;
5807 fail:
5808 return NULL;
5809 }
5810
5811
5812 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
5813 PyObject *obj;
5814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5815 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5816 Py_INCREF(obj);
5817 return Py_BuildValue((char *)"");
5818 }
5819 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
5820 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5821 return 1;
5822 }
5823
5824
5825 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
5826 PyObject *pyobj;
5827
5828 {
5829 #if wxUSE_UNICODE
5830 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5831 #else
5832 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5833 #endif
5834 }
5835 return pyobj;
5836 }
5837
5838
5839 static int _wrap_StaticBoxNameStr_set(PyObject *) {
5840 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5841 return 1;
5842 }
5843
5844
5845 static PyObject *_wrap_StaticBoxNameStr_get(void) {
5846 PyObject *pyobj;
5847
5848 {
5849 #if wxUSE_UNICODE
5850 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5851 #else
5852 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5853 #endif
5854 }
5855 return pyobj;
5856 }
5857
5858
5859 static int _wrap_StaticTextNameStr_set(PyObject *) {
5860 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5861 return 1;
5862 }
5863
5864
5865 static PyObject *_wrap_StaticTextNameStr_get(void) {
5866 PyObject *pyobj;
5867
5868 {
5869 #if wxUSE_UNICODE
5870 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5871 #else
5872 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5873 #endif
5874 }
5875 return pyobj;
5876 }
5877
5878
5879 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5880 PyObject *resultobj;
5881 wxWindow *arg1 = (wxWindow *) 0 ;
5882 int arg2 = (int) -1 ;
5883 wxString const &arg3_defvalue = wxPyEmptyString ;
5884 wxString *arg3 = (wxString *) &arg3_defvalue ;
5885 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5886 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5887 wxSize const &arg5_defvalue = wxDefaultSize ;
5888 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5889 long arg6 = (long) 0 ;
5890 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5891 wxString *arg7 = (wxString *) &arg7_defvalue ;
5892 wxStaticBox *result;
5893 bool temp3 = false ;
5894 wxPoint temp4 ;
5895 wxSize temp5 ;
5896 bool temp7 = false ;
5897 PyObject * obj0 = 0 ;
5898 PyObject * obj1 = 0 ;
5899 PyObject * obj2 = 0 ;
5900 PyObject * obj3 = 0 ;
5901 PyObject * obj4 = 0 ;
5902 PyObject * obj5 = 0 ;
5903 PyObject * obj6 = 0 ;
5904 char *kwnames[] = {
5905 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5906 };
5907
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5910 if (SWIG_arg_fail(1)) SWIG_fail;
5911 if (obj1) {
5912 {
5913 arg2 = (int)(SWIG_As_int(obj1));
5914 if (SWIG_arg_fail(2)) SWIG_fail;
5915 }
5916 }
5917 if (obj2) {
5918 {
5919 arg3 = wxString_in_helper(obj2);
5920 if (arg3 == NULL) SWIG_fail;
5921 temp3 = true;
5922 }
5923 }
5924 if (obj3) {
5925 {
5926 arg4 = &temp4;
5927 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5928 }
5929 }
5930 if (obj4) {
5931 {
5932 arg5 = &temp5;
5933 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5934 }
5935 }
5936 if (obj5) {
5937 {
5938 arg6 = (long)(SWIG_As_long(obj5));
5939 if (SWIG_arg_fail(6)) SWIG_fail;
5940 }
5941 }
5942 if (obj6) {
5943 {
5944 arg7 = wxString_in_helper(obj6);
5945 if (arg7 == NULL) SWIG_fail;
5946 temp7 = true;
5947 }
5948 }
5949 {
5950 if (!wxPyCheckForApp()) SWIG_fail;
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
5952 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5953
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
5958 {
5959 if (temp3)
5960 delete arg3;
5961 }
5962 {
5963 if (temp7)
5964 delete arg7;
5965 }
5966 return resultobj;
5967 fail:
5968 {
5969 if (temp3)
5970 delete arg3;
5971 }
5972 {
5973 if (temp7)
5974 delete arg7;
5975 }
5976 return NULL;
5977 }
5978
5979
5980 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj;
5982 wxStaticBox *result;
5983 char *kwnames[] = {
5984 NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
5988 {
5989 if (!wxPyCheckForApp()) SWIG_fail;
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 result = (wxStaticBox *)new wxStaticBox();
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
5997 return resultobj;
5998 fail:
5999 return NULL;
6000 }
6001
6002
6003 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6004 PyObject *resultobj;
6005 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6006 wxWindow *arg2 = (wxWindow *) 0 ;
6007 int arg3 = (int) -1 ;
6008 wxString const &arg4_defvalue = wxPyEmptyString ;
6009 wxString *arg4 = (wxString *) &arg4_defvalue ;
6010 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6011 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6012 wxSize const &arg6_defvalue = wxDefaultSize ;
6013 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6014 long arg7 = (long) 0 ;
6015 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6016 wxString *arg8 = (wxString *) &arg8_defvalue ;
6017 bool result;
6018 bool temp4 = false ;
6019 wxPoint temp5 ;
6020 wxSize temp6 ;
6021 bool temp8 = false ;
6022 PyObject * obj0 = 0 ;
6023 PyObject * obj1 = 0 ;
6024 PyObject * obj2 = 0 ;
6025 PyObject * obj3 = 0 ;
6026 PyObject * obj4 = 0 ;
6027 PyObject * obj5 = 0 ;
6028 PyObject * obj6 = 0 ;
6029 PyObject * obj7 = 0 ;
6030 char *kwnames[] = {
6031 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6032 };
6033
6034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6036 if (SWIG_arg_fail(1)) SWIG_fail;
6037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6038 if (SWIG_arg_fail(2)) SWIG_fail;
6039 if (obj2) {
6040 {
6041 arg3 = (int)(SWIG_As_int(obj2));
6042 if (SWIG_arg_fail(3)) SWIG_fail;
6043 }
6044 }
6045 if (obj3) {
6046 {
6047 arg4 = wxString_in_helper(obj3);
6048 if (arg4 == NULL) SWIG_fail;
6049 temp4 = true;
6050 }
6051 }
6052 if (obj4) {
6053 {
6054 arg5 = &temp5;
6055 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6056 }
6057 }
6058 if (obj5) {
6059 {
6060 arg6 = &temp6;
6061 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6062 }
6063 }
6064 if (obj6) {
6065 {
6066 arg7 = (long)(SWIG_As_long(obj6));
6067 if (SWIG_arg_fail(7)) SWIG_fail;
6068 }
6069 }
6070 if (obj7) {
6071 {
6072 arg8 = wxString_in_helper(obj7);
6073 if (arg8 == NULL) SWIG_fail;
6074 temp8 = true;
6075 }
6076 }
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6080
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
6084 {
6085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6086 }
6087 {
6088 if (temp4)
6089 delete arg4;
6090 }
6091 {
6092 if (temp8)
6093 delete arg8;
6094 }
6095 return resultobj;
6096 fail:
6097 {
6098 if (temp4)
6099 delete arg4;
6100 }
6101 {
6102 if (temp8)
6103 delete arg8;
6104 }
6105 return NULL;
6106 }
6107
6108
6109 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6110 PyObject *resultobj;
6111 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6112 wxVisualAttributes result;
6113 PyObject * obj0 = 0 ;
6114 char *kwnames[] = {
6115 (char *) "variant", NULL
6116 };
6117
6118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6119 if (obj0) {
6120 {
6121 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6122 if (SWIG_arg_fail(1)) SWIG_fail;
6123 }
6124 }
6125 {
6126 if (!wxPyCheckForApp()) SWIG_fail;
6127 PyThreadState* __tstate = wxPyBeginAllowThreads();
6128 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6129
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 {
6134 wxVisualAttributes * resultptr;
6135 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6136 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6137 }
6138 return resultobj;
6139 fail:
6140 return NULL;
6141 }
6142
6143
6144 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6145 PyObject *obj;
6146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6147 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6148 Py_INCREF(obj);
6149 return Py_BuildValue((char *)"");
6150 }
6151 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6152 PyObject *resultobj;
6153 wxWindow *arg1 = (wxWindow *) 0 ;
6154 int arg2 = (int) -1 ;
6155 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6156 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6157 wxSize const &arg4_defvalue = wxDefaultSize ;
6158 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6159 long arg5 = (long) wxLI_HORIZONTAL ;
6160 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6161 wxString *arg6 = (wxString *) &arg6_defvalue ;
6162 wxStaticLine *result;
6163 wxPoint temp3 ;
6164 wxSize temp4 ;
6165 bool temp6 = false ;
6166 PyObject * obj0 = 0 ;
6167 PyObject * obj1 = 0 ;
6168 PyObject * obj2 = 0 ;
6169 PyObject * obj3 = 0 ;
6170 PyObject * obj4 = 0 ;
6171 PyObject * obj5 = 0 ;
6172 char *kwnames[] = {
6173 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6174 };
6175
6176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6178 if (SWIG_arg_fail(1)) SWIG_fail;
6179 if (obj1) {
6180 {
6181 arg2 = (int)(SWIG_As_int(obj1));
6182 if (SWIG_arg_fail(2)) SWIG_fail;
6183 }
6184 }
6185 if (obj2) {
6186 {
6187 arg3 = &temp3;
6188 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6189 }
6190 }
6191 if (obj3) {
6192 {
6193 arg4 = &temp4;
6194 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6195 }
6196 }
6197 if (obj4) {
6198 {
6199 arg5 = (long)(SWIG_As_long(obj4));
6200 if (SWIG_arg_fail(5)) SWIG_fail;
6201 }
6202 }
6203 if (obj5) {
6204 {
6205 arg6 = wxString_in_helper(obj5);
6206 if (arg6 == NULL) SWIG_fail;
6207 temp6 = true;
6208 }
6209 }
6210 {
6211 if (!wxPyCheckForApp()) SWIG_fail;
6212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6213 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6214
6215 wxPyEndAllowThreads(__tstate);
6216 if (PyErr_Occurred()) SWIG_fail;
6217 }
6218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6219 {
6220 if (temp6)
6221 delete arg6;
6222 }
6223 return resultobj;
6224 fail:
6225 {
6226 if (temp6)
6227 delete arg6;
6228 }
6229 return NULL;
6230 }
6231
6232
6233 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj;
6235 wxStaticLine *result;
6236 char *kwnames[] = {
6237 NULL
6238 };
6239
6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6241 {
6242 if (!wxPyCheckForApp()) SWIG_fail;
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 result = (wxStaticLine *)new wxStaticLine();
6245
6246 wxPyEndAllowThreads(__tstate);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 }
6249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6250 return resultobj;
6251 fail:
6252 return NULL;
6253 }
6254
6255
6256 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6257 PyObject *resultobj;
6258 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6259 wxWindow *arg2 = (wxWindow *) 0 ;
6260 int arg3 = (int) -1 ;
6261 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6262 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6263 wxSize const &arg5_defvalue = wxDefaultSize ;
6264 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6265 long arg6 = (long) wxLI_HORIZONTAL ;
6266 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6267 wxString *arg7 = (wxString *) &arg7_defvalue ;
6268 bool result;
6269 wxPoint temp4 ;
6270 wxSize temp5 ;
6271 bool temp7 = 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 PyObject * obj6 = 0 ;
6279 char *kwnames[] = {
6280 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6281 };
6282
6283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6285 if (SWIG_arg_fail(1)) SWIG_fail;
6286 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6287 if (SWIG_arg_fail(2)) SWIG_fail;
6288 if (obj2) {
6289 {
6290 arg3 = (int)(SWIG_As_int(obj2));
6291 if (SWIG_arg_fail(3)) SWIG_fail;
6292 }
6293 }
6294 if (obj3) {
6295 {
6296 arg4 = &temp4;
6297 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6298 }
6299 }
6300 if (obj4) {
6301 {
6302 arg5 = &temp5;
6303 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6304 }
6305 }
6306 if (obj5) {
6307 {
6308 arg6 = (long)(SWIG_As_long(obj5));
6309 if (SWIG_arg_fail(6)) SWIG_fail;
6310 }
6311 }
6312 if (obj6) {
6313 {
6314 arg7 = wxString_in_helper(obj6);
6315 if (arg7 == NULL) SWIG_fail;
6316 temp7 = true;
6317 }
6318 }
6319 {
6320 PyThreadState* __tstate = wxPyBeginAllowThreads();
6321 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6322
6323 wxPyEndAllowThreads(__tstate);
6324 if (PyErr_Occurred()) SWIG_fail;
6325 }
6326 {
6327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6328 }
6329 {
6330 if (temp7)
6331 delete arg7;
6332 }
6333 return resultobj;
6334 fail:
6335 {
6336 if (temp7)
6337 delete arg7;
6338 }
6339 return NULL;
6340 }
6341
6342
6343 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6344 PyObject *resultobj;
6345 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6346 bool result;
6347 PyObject * obj0 = 0 ;
6348 char *kwnames[] = {
6349 (char *) "self", NULL
6350 };
6351
6352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6354 if (SWIG_arg_fail(1)) SWIG_fail;
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6358
6359 wxPyEndAllowThreads(__tstate);
6360 if (PyErr_Occurred()) SWIG_fail;
6361 }
6362 {
6363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6364 }
6365 return resultobj;
6366 fail:
6367 return NULL;
6368 }
6369
6370
6371 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6372 PyObject *resultobj;
6373 int result;
6374 char *kwnames[] = {
6375 NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6379 {
6380 PyThreadState* __tstate = wxPyBeginAllowThreads();
6381 result = (int)wxStaticLine::GetDefaultSize();
6382
6383 wxPyEndAllowThreads(__tstate);
6384 if (PyErr_Occurred()) SWIG_fail;
6385 }
6386 {
6387 resultobj = SWIG_From_int((int)(result));
6388 }
6389 return resultobj;
6390 fail:
6391 return NULL;
6392 }
6393
6394
6395 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6398 wxVisualAttributes result;
6399 PyObject * obj0 = 0 ;
6400 char *kwnames[] = {
6401 (char *) "variant", NULL
6402 };
6403
6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6405 if (obj0) {
6406 {
6407 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6408 if (SWIG_arg_fail(1)) SWIG_fail;
6409 }
6410 }
6411 {
6412 if (!wxPyCheckForApp()) SWIG_fail;
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6415
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 {
6420 wxVisualAttributes * resultptr;
6421 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6423 }
6424 return resultobj;
6425 fail:
6426 return NULL;
6427 }
6428
6429
6430 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6431 PyObject *obj;
6432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6433 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6434 Py_INCREF(obj);
6435 return Py_BuildValue((char *)"");
6436 }
6437 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxWindow *arg1 = (wxWindow *) 0 ;
6440 int arg2 = (int) -1 ;
6441 wxString const &arg3_defvalue = wxPyEmptyString ;
6442 wxString *arg3 = (wxString *) &arg3_defvalue ;
6443 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6444 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6445 wxSize const &arg5_defvalue = wxDefaultSize ;
6446 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6447 long arg6 = (long) 0 ;
6448 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6449 wxString *arg7 = (wxString *) &arg7_defvalue ;
6450 wxStaticText *result;
6451 bool temp3 = false ;
6452 wxPoint temp4 ;
6453 wxSize temp5 ;
6454 bool temp7 = false ;
6455 PyObject * obj0 = 0 ;
6456 PyObject * obj1 = 0 ;
6457 PyObject * obj2 = 0 ;
6458 PyObject * obj3 = 0 ;
6459 PyObject * obj4 = 0 ;
6460 PyObject * obj5 = 0 ;
6461 PyObject * obj6 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6468 if (SWIG_arg_fail(1)) SWIG_fail;
6469 if (obj1) {
6470 {
6471 arg2 = (int)(SWIG_As_int(obj1));
6472 if (SWIG_arg_fail(2)) SWIG_fail;
6473 }
6474 }
6475 if (obj2) {
6476 {
6477 arg3 = wxString_in_helper(obj2);
6478 if (arg3 == NULL) SWIG_fail;
6479 temp3 = true;
6480 }
6481 }
6482 if (obj3) {
6483 {
6484 arg4 = &temp4;
6485 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6486 }
6487 }
6488 if (obj4) {
6489 {
6490 arg5 = &temp5;
6491 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6492 }
6493 }
6494 if (obj5) {
6495 {
6496 arg6 = (long)(SWIG_As_long(obj5));
6497 if (SWIG_arg_fail(6)) SWIG_fail;
6498 }
6499 }
6500 if (obj6) {
6501 {
6502 arg7 = wxString_in_helper(obj6);
6503 if (arg7 == NULL) SWIG_fail;
6504 temp7 = true;
6505 }
6506 }
6507 {
6508 if (!wxPyCheckForApp()) SWIG_fail;
6509 PyThreadState* __tstate = wxPyBeginAllowThreads();
6510 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6511
6512 wxPyEndAllowThreads(__tstate);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 }
6515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6516 {
6517 if (temp3)
6518 delete arg3;
6519 }
6520 {
6521 if (temp7)
6522 delete arg7;
6523 }
6524 return resultobj;
6525 fail:
6526 {
6527 if (temp3)
6528 delete arg3;
6529 }
6530 {
6531 if (temp7)
6532 delete arg7;
6533 }
6534 return NULL;
6535 }
6536
6537
6538 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj;
6540 wxStaticText *result;
6541 char *kwnames[] = {
6542 NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6546 {
6547 if (!wxPyCheckForApp()) SWIG_fail;
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 result = (wxStaticText *)new wxStaticText();
6550
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6555 return resultobj;
6556 fail:
6557 return NULL;
6558 }
6559
6560
6561 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6562 PyObject *resultobj;
6563 wxStaticText *arg1 = (wxStaticText *) 0 ;
6564 wxWindow *arg2 = (wxWindow *) 0 ;
6565 int arg3 = (int) -1 ;
6566 wxString const &arg4_defvalue = wxPyEmptyString ;
6567 wxString *arg4 = (wxString *) &arg4_defvalue ;
6568 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6569 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6570 wxSize const &arg6_defvalue = wxDefaultSize ;
6571 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6572 long arg7 = (long) 0 ;
6573 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6574 wxString *arg8 = (wxString *) &arg8_defvalue ;
6575 bool result;
6576 bool temp4 = false ;
6577 wxPoint temp5 ;
6578 wxSize temp6 ;
6579 bool temp8 = false ;
6580 PyObject * obj0 = 0 ;
6581 PyObject * obj1 = 0 ;
6582 PyObject * obj2 = 0 ;
6583 PyObject * obj3 = 0 ;
6584 PyObject * obj4 = 0 ;
6585 PyObject * obj5 = 0 ;
6586 PyObject * obj6 = 0 ;
6587 PyObject * obj7 = 0 ;
6588 char *kwnames[] = {
6589 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6590 };
6591
6592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6594 if (SWIG_arg_fail(1)) SWIG_fail;
6595 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6596 if (SWIG_arg_fail(2)) SWIG_fail;
6597 if (obj2) {
6598 {
6599 arg3 = (int)(SWIG_As_int(obj2));
6600 if (SWIG_arg_fail(3)) SWIG_fail;
6601 }
6602 }
6603 if (obj3) {
6604 {
6605 arg4 = wxString_in_helper(obj3);
6606 if (arg4 == NULL) SWIG_fail;
6607 temp4 = true;
6608 }
6609 }
6610 if (obj4) {
6611 {
6612 arg5 = &temp5;
6613 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6614 }
6615 }
6616 if (obj5) {
6617 {
6618 arg6 = &temp6;
6619 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6620 }
6621 }
6622 if (obj6) {
6623 {
6624 arg7 = (long)(SWIG_As_long(obj6));
6625 if (SWIG_arg_fail(7)) SWIG_fail;
6626 }
6627 }
6628 if (obj7) {
6629 {
6630 arg8 = wxString_in_helper(obj7);
6631 if (arg8 == NULL) SWIG_fail;
6632 temp8 = true;
6633 }
6634 }
6635 {
6636 PyThreadState* __tstate = wxPyBeginAllowThreads();
6637 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6638
6639 wxPyEndAllowThreads(__tstate);
6640 if (PyErr_Occurred()) SWIG_fail;
6641 }
6642 {
6643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6644 }
6645 {
6646 if (temp4)
6647 delete arg4;
6648 }
6649 {
6650 if (temp8)
6651 delete arg8;
6652 }
6653 return resultobj;
6654 fail:
6655 {
6656 if (temp4)
6657 delete arg4;
6658 }
6659 {
6660 if (temp8)
6661 delete arg8;
6662 }
6663 return NULL;
6664 }
6665
6666
6667 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6668 PyObject *resultobj;
6669 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6670 wxVisualAttributes result;
6671 PyObject * obj0 = 0 ;
6672 char *kwnames[] = {
6673 (char *) "variant", NULL
6674 };
6675
6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6677 if (obj0) {
6678 {
6679 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6680 if (SWIG_arg_fail(1)) SWIG_fail;
6681 }
6682 }
6683 {
6684 if (!wxPyCheckForApp()) SWIG_fail;
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6687
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 {
6692 wxVisualAttributes * resultptr;
6693 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6695 }
6696 return resultobj;
6697 fail:
6698 return NULL;
6699 }
6700
6701
6702 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6703 PyObject *obj;
6704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6705 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6706 Py_INCREF(obj);
6707 return Py_BuildValue((char *)"");
6708 }
6709 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6710 PyObject *resultobj;
6711 wxWindow *arg1 = (wxWindow *) 0 ;
6712 int arg2 = (int) -1 ;
6713 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6714 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6715 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6716 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6717 wxSize const &arg5_defvalue = wxDefaultSize ;
6718 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6719 long arg6 = (long) 0 ;
6720 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6721 wxString *arg7 = (wxString *) &arg7_defvalue ;
6722 wxStaticBitmap *result;
6723 wxPoint temp4 ;
6724 wxSize temp5 ;
6725 bool temp7 = false ;
6726 PyObject * obj0 = 0 ;
6727 PyObject * obj1 = 0 ;
6728 PyObject * obj2 = 0 ;
6729 PyObject * obj3 = 0 ;
6730 PyObject * obj4 = 0 ;
6731 PyObject * obj5 = 0 ;
6732 PyObject * obj6 = 0 ;
6733 char *kwnames[] = {
6734 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6735 };
6736
6737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6739 if (SWIG_arg_fail(1)) SWIG_fail;
6740 if (obj1) {
6741 {
6742 arg2 = (int)(SWIG_As_int(obj1));
6743 if (SWIG_arg_fail(2)) SWIG_fail;
6744 }
6745 }
6746 if (obj2) {
6747 {
6748 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6749 if (SWIG_arg_fail(3)) SWIG_fail;
6750 if (arg3 == NULL) {
6751 SWIG_null_ref("wxBitmap");
6752 }
6753 if (SWIG_arg_fail(3)) SWIG_fail;
6754 }
6755 }
6756 if (obj3) {
6757 {
6758 arg4 = &temp4;
6759 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6760 }
6761 }
6762 if (obj4) {
6763 {
6764 arg5 = &temp5;
6765 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6766 }
6767 }
6768 if (obj5) {
6769 {
6770 arg6 = (long)(SWIG_As_long(obj5));
6771 if (SWIG_arg_fail(6)) SWIG_fail;
6772 }
6773 }
6774 if (obj6) {
6775 {
6776 arg7 = wxString_in_helper(obj6);
6777 if (arg7 == NULL) SWIG_fail;
6778 temp7 = true;
6779 }
6780 }
6781 {
6782 if (!wxPyCheckForApp()) SWIG_fail;
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6790 {
6791 if (temp7)
6792 delete arg7;
6793 }
6794 return resultobj;
6795 fail:
6796 {
6797 if (temp7)
6798 delete arg7;
6799 }
6800 return NULL;
6801 }
6802
6803
6804 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6805 PyObject *resultobj;
6806 wxStaticBitmap *result;
6807 char *kwnames[] = {
6808 NULL
6809 };
6810
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6812 {
6813 if (!wxPyCheckForApp()) SWIG_fail;
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = (wxStaticBitmap *)new wxStaticBitmap();
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6830 wxWindow *arg2 = (wxWindow *) 0 ;
6831 int arg3 = (int) -1 ;
6832 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6833 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
6834 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6835 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6836 wxSize const &arg6_defvalue = wxDefaultSize ;
6837 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6838 long arg7 = (long) 0 ;
6839 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6840 wxString *arg8 = (wxString *) &arg8_defvalue ;
6841 bool result;
6842 wxPoint temp5 ;
6843 wxSize temp6 ;
6844 bool temp8 = false ;
6845 PyObject * obj0 = 0 ;
6846 PyObject * obj1 = 0 ;
6847 PyObject * obj2 = 0 ;
6848 PyObject * obj3 = 0 ;
6849 PyObject * obj4 = 0 ;
6850 PyObject * obj5 = 0 ;
6851 PyObject * obj6 = 0 ;
6852 PyObject * obj7 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6859 if (SWIG_arg_fail(1)) SWIG_fail;
6860 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6861 if (SWIG_arg_fail(2)) SWIG_fail;
6862 if (obj2) {
6863 {
6864 arg3 = (int)(SWIG_As_int(obj2));
6865 if (SWIG_arg_fail(3)) SWIG_fail;
6866 }
6867 }
6868 if (obj3) {
6869 {
6870 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6871 if (SWIG_arg_fail(4)) SWIG_fail;
6872 if (arg4 == NULL) {
6873 SWIG_null_ref("wxBitmap");
6874 }
6875 if (SWIG_arg_fail(4)) SWIG_fail;
6876 }
6877 }
6878 if (obj4) {
6879 {
6880 arg5 = &temp5;
6881 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6882 }
6883 }
6884 if (obj5) {
6885 {
6886 arg6 = &temp6;
6887 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6888 }
6889 }
6890 if (obj6) {
6891 {
6892 arg7 = (long)(SWIG_As_long(obj6));
6893 if (SWIG_arg_fail(7)) SWIG_fail;
6894 }
6895 }
6896 if (obj7) {
6897 {
6898 arg8 = wxString_in_helper(obj7);
6899 if (arg8 == NULL) SWIG_fail;
6900 temp8 = true;
6901 }
6902 }
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6906
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 {
6911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6912 }
6913 {
6914 if (temp8)
6915 delete arg8;
6916 }
6917 return resultobj;
6918 fail:
6919 {
6920 if (temp8)
6921 delete arg8;
6922 }
6923 return NULL;
6924 }
6925
6926
6927 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6928 PyObject *resultobj;
6929 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6930 wxBitmap result;
6931 PyObject * obj0 = 0 ;
6932 char *kwnames[] = {
6933 (char *) "self", NULL
6934 };
6935
6936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
6937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6938 if (SWIG_arg_fail(1)) SWIG_fail;
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 result = (arg1)->GetBitmap();
6942
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 {
6947 wxBitmap * resultptr;
6948 resultptr = new wxBitmap((wxBitmap &)(result));
6949 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6950 }
6951 return resultobj;
6952 fail:
6953 return NULL;
6954 }
6955
6956
6957 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6958 PyObject *resultobj;
6959 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6960 wxBitmap *arg2 = 0 ;
6961 PyObject * obj0 = 0 ;
6962 PyObject * obj1 = 0 ;
6963 char *kwnames[] = {
6964 (char *) "self",(char *) "bitmap", NULL
6965 };
6966
6967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6969 if (SWIG_arg_fail(1)) SWIG_fail;
6970 {
6971 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6972 if (SWIG_arg_fail(2)) SWIG_fail;
6973 if (arg2 == NULL) {
6974 SWIG_null_ref("wxBitmap");
6975 }
6976 if (SWIG_arg_fail(2)) SWIG_fail;
6977 }
6978 {
6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
6980 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6981
6982 wxPyEndAllowThreads(__tstate);
6983 if (PyErr_Occurred()) SWIG_fail;
6984 }
6985 Py_INCREF(Py_None); resultobj = Py_None;
6986 return resultobj;
6987 fail:
6988 return NULL;
6989 }
6990
6991
6992 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
6993 PyObject *resultobj;
6994 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6995 wxIcon *arg2 = 0 ;
6996 PyObject * obj0 = 0 ;
6997 PyObject * obj1 = 0 ;
6998 char *kwnames[] = {
6999 (char *) "self",(char *) "icon", NULL
7000 };
7001
7002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7004 if (SWIG_arg_fail(1)) SWIG_fail;
7005 {
7006 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7007 if (SWIG_arg_fail(2)) SWIG_fail;
7008 if (arg2 == NULL) {
7009 SWIG_null_ref("wxIcon");
7010 }
7011 if (SWIG_arg_fail(2)) SWIG_fail;
7012 }
7013 {
7014 PyThreadState* __tstate = wxPyBeginAllowThreads();
7015 (arg1)->SetIcon((wxIcon const &)*arg2);
7016
7017 wxPyEndAllowThreads(__tstate);
7018 if (PyErr_Occurred()) SWIG_fail;
7019 }
7020 Py_INCREF(Py_None); resultobj = Py_None;
7021 return resultobj;
7022 fail:
7023 return NULL;
7024 }
7025
7026
7027 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7028 PyObject *resultobj;
7029 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7030 wxVisualAttributes result;
7031 PyObject * obj0 = 0 ;
7032 char *kwnames[] = {
7033 (char *) "variant", NULL
7034 };
7035
7036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7037 if (obj0) {
7038 {
7039 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7040 if (SWIG_arg_fail(1)) SWIG_fail;
7041 }
7042 }
7043 {
7044 if (!wxPyCheckForApp()) SWIG_fail;
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 {
7052 wxVisualAttributes * resultptr;
7053 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7055 }
7056 return resultobj;
7057 fail:
7058 return NULL;
7059 }
7060
7061
7062 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7063 PyObject *obj;
7064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7065 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7066 Py_INCREF(obj);
7067 return Py_BuildValue((char *)"");
7068 }
7069 static int _wrap_ListBoxNameStr_set(PyObject *) {
7070 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7071 return 1;
7072 }
7073
7074
7075 static PyObject *_wrap_ListBoxNameStr_get(void) {
7076 PyObject *pyobj;
7077
7078 {
7079 #if wxUSE_UNICODE
7080 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7081 #else
7082 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7083 #endif
7084 }
7085 return pyobj;
7086 }
7087
7088
7089 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7090 PyObject *resultobj;
7091 wxWindow *arg1 = (wxWindow *) 0 ;
7092 int arg2 = (int) -1 ;
7093 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7094 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7095 wxSize const &arg4_defvalue = wxDefaultSize ;
7096 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7097 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7098 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7099 long arg6 = (long) 0 ;
7100 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7101 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7102 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7103 wxString *arg8 = (wxString *) &arg8_defvalue ;
7104 wxListBox *result;
7105 wxPoint temp3 ;
7106 wxSize temp4 ;
7107 bool temp5 = false ;
7108 bool temp8 = false ;
7109 PyObject * obj0 = 0 ;
7110 PyObject * obj1 = 0 ;
7111 PyObject * obj2 = 0 ;
7112 PyObject * obj3 = 0 ;
7113 PyObject * obj4 = 0 ;
7114 PyObject * obj5 = 0 ;
7115 PyObject * obj6 = 0 ;
7116 PyObject * obj7 = 0 ;
7117 char *kwnames[] = {
7118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7123 if (SWIG_arg_fail(1)) SWIG_fail;
7124 if (obj1) {
7125 {
7126 arg2 = (int)(SWIG_As_int(obj1));
7127 if (SWIG_arg_fail(2)) SWIG_fail;
7128 }
7129 }
7130 if (obj2) {
7131 {
7132 arg3 = &temp3;
7133 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7134 }
7135 }
7136 if (obj3) {
7137 {
7138 arg4 = &temp4;
7139 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7140 }
7141 }
7142 if (obj4) {
7143 {
7144 if (! PySequence_Check(obj4)) {
7145 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7146 SWIG_fail;
7147 }
7148 arg5 = new wxArrayString;
7149 temp5 = true;
7150 int i, len=PySequence_Length(obj4);
7151 for (i=0; i<len; i++) {
7152 PyObject* item = PySequence_GetItem(obj4, i);
7153 #if wxUSE_UNICODE
7154 PyObject* str = PyObject_Unicode(item);
7155 #else
7156 PyObject* str = PyObject_Str(item);
7157 #endif
7158 if (PyErr_Occurred()) SWIG_fail;
7159 arg5->Add(Py2wxString(str));
7160 Py_DECREF(item);
7161 Py_DECREF(str);
7162 }
7163 }
7164 }
7165 if (obj5) {
7166 {
7167 arg6 = (long)(SWIG_As_long(obj5));
7168 if (SWIG_arg_fail(6)) SWIG_fail;
7169 }
7170 }
7171 if (obj6) {
7172 {
7173 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7174 if (SWIG_arg_fail(7)) SWIG_fail;
7175 if (arg7 == NULL) {
7176 SWIG_null_ref("wxValidator");
7177 }
7178 if (SWIG_arg_fail(7)) SWIG_fail;
7179 }
7180 }
7181 if (obj7) {
7182 {
7183 arg8 = wxString_in_helper(obj7);
7184 if (arg8 == NULL) SWIG_fail;
7185 temp8 = true;
7186 }
7187 }
7188 {
7189 if (!wxPyCheckForApp()) SWIG_fail;
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7192
7193 wxPyEndAllowThreads(__tstate);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7197 {
7198 if (temp5) delete arg5;
7199 }
7200 {
7201 if (temp8)
7202 delete arg8;
7203 }
7204 return resultobj;
7205 fail:
7206 {
7207 if (temp5) delete arg5;
7208 }
7209 {
7210 if (temp8)
7211 delete arg8;
7212 }
7213 return NULL;
7214 }
7215
7216
7217 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7218 PyObject *resultobj;
7219 wxListBox *result;
7220 char *kwnames[] = {
7221 NULL
7222 };
7223
7224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7225 {
7226 if (!wxPyCheckForApp()) SWIG_fail;
7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7228 result = (wxListBox *)new wxListBox();
7229
7230 wxPyEndAllowThreads(__tstate);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7234 return resultobj;
7235 fail:
7236 return NULL;
7237 }
7238
7239
7240 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj;
7242 wxListBox *arg1 = (wxListBox *) 0 ;
7243 wxWindow *arg2 = (wxWindow *) 0 ;
7244 int arg3 = (int) -1 ;
7245 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7246 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7247 wxSize const &arg5_defvalue = wxDefaultSize ;
7248 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7249 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7250 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7251 long arg7 = (long) 0 ;
7252 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7253 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7254 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7255 wxString *arg9 = (wxString *) &arg9_defvalue ;
7256 bool result;
7257 wxPoint temp4 ;
7258 wxSize temp5 ;
7259 bool temp6 = false ;
7260 bool temp9 = false ;
7261 PyObject * obj0 = 0 ;
7262 PyObject * obj1 = 0 ;
7263 PyObject * obj2 = 0 ;
7264 PyObject * obj3 = 0 ;
7265 PyObject * obj4 = 0 ;
7266 PyObject * obj5 = 0 ;
7267 PyObject * obj6 = 0 ;
7268 PyObject * obj7 = 0 ;
7269 PyObject * obj8 = 0 ;
7270 char *kwnames[] = {
7271 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7272 };
7273
7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7276 if (SWIG_arg_fail(1)) SWIG_fail;
7277 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7278 if (SWIG_arg_fail(2)) SWIG_fail;
7279 if (obj2) {
7280 {
7281 arg3 = (int)(SWIG_As_int(obj2));
7282 if (SWIG_arg_fail(3)) SWIG_fail;
7283 }
7284 }
7285 if (obj3) {
7286 {
7287 arg4 = &temp4;
7288 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7289 }
7290 }
7291 if (obj4) {
7292 {
7293 arg5 = &temp5;
7294 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7295 }
7296 }
7297 if (obj5) {
7298 {
7299 if (! PySequence_Check(obj5)) {
7300 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7301 SWIG_fail;
7302 }
7303 arg6 = new wxArrayString;
7304 temp6 = true;
7305 int i, len=PySequence_Length(obj5);
7306 for (i=0; i<len; i++) {
7307 PyObject* item = PySequence_GetItem(obj5, i);
7308 #if wxUSE_UNICODE
7309 PyObject* str = PyObject_Unicode(item);
7310 #else
7311 PyObject* str = PyObject_Str(item);
7312 #endif
7313 if (PyErr_Occurred()) SWIG_fail;
7314 arg6->Add(Py2wxString(str));
7315 Py_DECREF(item);
7316 Py_DECREF(str);
7317 }
7318 }
7319 }
7320 if (obj6) {
7321 {
7322 arg7 = (long)(SWIG_As_long(obj6));
7323 if (SWIG_arg_fail(7)) SWIG_fail;
7324 }
7325 }
7326 if (obj7) {
7327 {
7328 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7329 if (SWIG_arg_fail(8)) SWIG_fail;
7330 if (arg8 == NULL) {
7331 SWIG_null_ref("wxValidator");
7332 }
7333 if (SWIG_arg_fail(8)) SWIG_fail;
7334 }
7335 }
7336 if (obj8) {
7337 {
7338 arg9 = wxString_in_helper(obj8);
7339 if (arg9 == NULL) SWIG_fail;
7340 temp9 = true;
7341 }
7342 }
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7346
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 {
7351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7352 }
7353 {
7354 if (temp6) delete arg6;
7355 }
7356 {
7357 if (temp9)
7358 delete arg9;
7359 }
7360 return resultobj;
7361 fail:
7362 {
7363 if (temp6) delete arg6;
7364 }
7365 {
7366 if (temp9)
7367 delete arg9;
7368 }
7369 return NULL;
7370 }
7371
7372
7373 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxListBox *arg1 = (wxListBox *) 0 ;
7376 wxString *arg2 = 0 ;
7377 int arg3 ;
7378 PyObject *arg4 = (PyObject *) NULL ;
7379 bool temp2 = false ;
7380 PyObject * obj0 = 0 ;
7381 PyObject * obj1 = 0 ;
7382 PyObject * obj2 = 0 ;
7383 PyObject * obj3 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7390 if (SWIG_arg_fail(1)) SWIG_fail;
7391 {
7392 arg2 = wxString_in_helper(obj1);
7393 if (arg2 == NULL) SWIG_fail;
7394 temp2 = true;
7395 }
7396 {
7397 arg3 = (int)(SWIG_As_int(obj2));
7398 if (SWIG_arg_fail(3)) SWIG_fail;
7399 }
7400 if (obj3) {
7401 arg4 = obj3;
7402 }
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 Py_INCREF(Py_None); resultobj = Py_None;
7411 {
7412 if (temp2)
7413 delete arg2;
7414 }
7415 return resultobj;
7416 fail:
7417 {
7418 if (temp2)
7419 delete arg2;
7420 }
7421 return NULL;
7422 }
7423
7424
7425 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7426 PyObject *resultobj;
7427 wxListBox *arg1 = (wxListBox *) 0 ;
7428 wxArrayString *arg2 = 0 ;
7429 int arg3 ;
7430 bool temp2 = false ;
7431 PyObject * obj0 = 0 ;
7432 PyObject * obj1 = 0 ;
7433 PyObject * obj2 = 0 ;
7434 char *kwnames[] = {
7435 (char *) "self",(char *) "items",(char *) "pos", NULL
7436 };
7437
7438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7440 if (SWIG_arg_fail(1)) SWIG_fail;
7441 {
7442 if (! PySequence_Check(obj1)) {
7443 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7444 SWIG_fail;
7445 }
7446 arg2 = new wxArrayString;
7447 temp2 = true;
7448 int i, len=PySequence_Length(obj1);
7449 for (i=0; i<len; i++) {
7450 PyObject* item = PySequence_GetItem(obj1, i);
7451 #if wxUSE_UNICODE
7452 PyObject* str = PyObject_Unicode(item);
7453 #else
7454 PyObject* str = PyObject_Str(item);
7455 #endif
7456 if (PyErr_Occurred()) SWIG_fail;
7457 arg2->Add(Py2wxString(str));
7458 Py_DECREF(item);
7459 Py_DECREF(str);
7460 }
7461 }
7462 {
7463 arg3 = (int)(SWIG_As_int(obj2));
7464 if (SWIG_arg_fail(3)) SWIG_fail;
7465 }
7466 {
7467 PyThreadState* __tstate = wxPyBeginAllowThreads();
7468 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7469
7470 wxPyEndAllowThreads(__tstate);
7471 if (PyErr_Occurred()) SWIG_fail;
7472 }
7473 Py_INCREF(Py_None); resultobj = Py_None;
7474 {
7475 if (temp2) delete arg2;
7476 }
7477 return resultobj;
7478 fail:
7479 {
7480 if (temp2) delete arg2;
7481 }
7482 return NULL;
7483 }
7484
7485
7486 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 wxListBox *arg1 = (wxListBox *) 0 ;
7489 wxArrayString *arg2 = 0 ;
7490 bool temp2 = false ;
7491 PyObject * obj0 = 0 ;
7492 PyObject * obj1 = 0 ;
7493 char *kwnames[] = {
7494 (char *) "self",(char *) "items", NULL
7495 };
7496
7497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7499 if (SWIG_arg_fail(1)) SWIG_fail;
7500 {
7501 if (! PySequence_Check(obj1)) {
7502 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7503 SWIG_fail;
7504 }
7505 arg2 = new wxArrayString;
7506 temp2 = true;
7507 int i, len=PySequence_Length(obj1);
7508 for (i=0; i<len; i++) {
7509 PyObject* item = PySequence_GetItem(obj1, i);
7510 #if wxUSE_UNICODE
7511 PyObject* str = PyObject_Unicode(item);
7512 #else
7513 PyObject* str = PyObject_Str(item);
7514 #endif
7515 if (PyErr_Occurred()) SWIG_fail;
7516 arg2->Add(Py2wxString(str));
7517 Py_DECREF(item);
7518 Py_DECREF(str);
7519 }
7520 }
7521 {
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 (arg1)->Set((wxArrayString const &)*arg2);
7524
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 Py_INCREF(Py_None); resultobj = Py_None;
7529 {
7530 if (temp2) delete arg2;
7531 }
7532 return resultobj;
7533 fail:
7534 {
7535 if (temp2) delete arg2;
7536 }
7537 return NULL;
7538 }
7539
7540
7541 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7542 PyObject *resultobj;
7543 wxListBox *arg1 = (wxListBox *) 0 ;
7544 int arg2 ;
7545 bool result;
7546 PyObject * obj0 = 0 ;
7547 PyObject * obj1 = 0 ;
7548 char *kwnames[] = {
7549 (char *) "self",(char *) "n", NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7554 if (SWIG_arg_fail(1)) SWIG_fail;
7555 {
7556 arg2 = (int)(SWIG_As_int(obj1));
7557 if (SWIG_arg_fail(2)) SWIG_fail;
7558 }
7559 {
7560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7561 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7562
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 {
7567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7568 }
7569 return resultobj;
7570 fail:
7571 return NULL;
7572 }
7573
7574
7575 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj;
7577 wxListBox *arg1 = (wxListBox *) 0 ;
7578 int arg2 ;
7579 bool arg3 = (bool) true ;
7580 PyObject * obj0 = 0 ;
7581 PyObject * obj1 = 0 ;
7582 PyObject * obj2 = 0 ;
7583 char *kwnames[] = {
7584 (char *) "self",(char *) "n",(char *) "select", NULL
7585 };
7586
7587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7589 if (SWIG_arg_fail(1)) SWIG_fail;
7590 {
7591 arg2 = (int)(SWIG_As_int(obj1));
7592 if (SWIG_arg_fail(2)) SWIG_fail;
7593 }
7594 if (obj2) {
7595 {
7596 arg3 = (bool)(SWIG_As_bool(obj2));
7597 if (SWIG_arg_fail(3)) SWIG_fail;
7598 }
7599 }
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 (arg1)->SetSelection(arg2,arg3);
7603
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 }
7607 Py_INCREF(Py_None); resultobj = Py_None;
7608 return resultobj;
7609 fail:
7610 return NULL;
7611 }
7612
7613
7614 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7615 PyObject *resultobj;
7616 wxListBox *arg1 = (wxListBox *) 0 ;
7617 int arg2 ;
7618 PyObject * obj0 = 0 ;
7619 PyObject * obj1 = 0 ;
7620 char *kwnames[] = {
7621 (char *) "self",(char *) "n", NULL
7622 };
7623
7624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7626 if (SWIG_arg_fail(1)) SWIG_fail;
7627 {
7628 arg2 = (int)(SWIG_As_int(obj1));
7629 if (SWIG_arg_fail(2)) SWIG_fail;
7630 }
7631 {
7632 PyThreadState* __tstate = wxPyBeginAllowThreads();
7633 (arg1)->Select(arg2);
7634
7635 wxPyEndAllowThreads(__tstate);
7636 if (PyErr_Occurred()) SWIG_fail;
7637 }
7638 Py_INCREF(Py_None); resultobj = Py_None;
7639 return resultobj;
7640 fail:
7641 return NULL;
7642 }
7643
7644
7645 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7646 PyObject *resultobj;
7647 wxListBox *arg1 = (wxListBox *) 0 ;
7648 int arg2 ;
7649 PyObject * obj0 = 0 ;
7650 PyObject * obj1 = 0 ;
7651 char *kwnames[] = {
7652 (char *) "self",(char *) "n", NULL
7653 };
7654
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7657 if (SWIG_arg_fail(1)) SWIG_fail;
7658 {
7659 arg2 = (int)(SWIG_As_int(obj1));
7660 if (SWIG_arg_fail(2)) SWIG_fail;
7661 }
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 (arg1)->Deselect(arg2);
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 Py_INCREF(Py_None); resultobj = Py_None;
7670 return resultobj;
7671 fail:
7672 return NULL;
7673 }
7674
7675
7676 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxListBox *arg1 = (wxListBox *) 0 ;
7679 int arg2 = (int) -1 ;
7680 PyObject * obj0 = 0 ;
7681 PyObject * obj1 = 0 ;
7682 char *kwnames[] = {
7683 (char *) "self",(char *) "itemToLeaveSelected", NULL
7684 };
7685
7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7688 if (SWIG_arg_fail(1)) SWIG_fail;
7689 if (obj1) {
7690 {
7691 arg2 = (int)(SWIG_As_int(obj1));
7692 if (SWIG_arg_fail(2)) SWIG_fail;
7693 }
7694 }
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 (arg1)->DeselectAll(arg2);
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 Py_INCREF(Py_None); resultobj = Py_None;
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxListBox *arg1 = (wxListBox *) 0 ;
7712 wxString *arg2 = 0 ;
7713 bool arg3 = (bool) true ;
7714 bool result;
7715 bool temp2 = false ;
7716 PyObject * obj0 = 0 ;
7717 PyObject * obj1 = 0 ;
7718 PyObject * obj2 = 0 ;
7719 char *kwnames[] = {
7720 (char *) "self",(char *) "s",(char *) "select", NULL
7721 };
7722
7723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7725 if (SWIG_arg_fail(1)) SWIG_fail;
7726 {
7727 arg2 = wxString_in_helper(obj1);
7728 if (arg2 == NULL) SWIG_fail;
7729 temp2 = true;
7730 }
7731 if (obj2) {
7732 {
7733 arg3 = (bool)(SWIG_As_bool(obj2));
7734 if (SWIG_arg_fail(3)) SWIG_fail;
7735 }
7736 }
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 {
7745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7746 }
7747 {
7748 if (temp2)
7749 delete arg2;
7750 }
7751 return resultobj;
7752 fail:
7753 {
7754 if (temp2)
7755 delete arg2;
7756 }
7757 return NULL;
7758 }
7759
7760
7761 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7762 PyObject *resultobj;
7763 wxListBox *arg1 = (wxListBox *) 0 ;
7764 PyObject *result;
7765 PyObject * obj0 = 0 ;
7766 char *kwnames[] = {
7767 (char *) "self", NULL
7768 };
7769
7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
7771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7772 if (SWIG_arg_fail(1)) SWIG_fail;
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 result = (PyObject *)wxListBox_GetSelections(arg1);
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 resultobj = result;
7781 return resultobj;
7782 fail:
7783 return NULL;
7784 }
7785
7786
7787 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7788 PyObject *resultobj;
7789 wxListBox *arg1 = (wxListBox *) 0 ;
7790 int arg2 ;
7791 PyObject * obj0 = 0 ;
7792 PyObject * obj1 = 0 ;
7793 char *kwnames[] = {
7794 (char *) "self",(char *) "n", NULL
7795 };
7796
7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
7798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7799 if (SWIG_arg_fail(1)) SWIG_fail;
7800 {
7801 arg2 = (int)(SWIG_As_int(obj1));
7802 if (SWIG_arg_fail(2)) SWIG_fail;
7803 }
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 (arg1)->SetFirstItem(arg2);
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 Py_INCREF(Py_None); resultobj = Py_None;
7812 return resultobj;
7813 fail:
7814 return NULL;
7815 }
7816
7817
7818 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7819 PyObject *resultobj;
7820 wxListBox *arg1 = (wxListBox *) 0 ;
7821 wxString *arg2 = 0 ;
7822 bool temp2 = false ;
7823 PyObject * obj0 = 0 ;
7824 PyObject * obj1 = 0 ;
7825 char *kwnames[] = {
7826 (char *) "self",(char *) "s", NULL
7827 };
7828
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) 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 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 (arg1)->SetFirstItem((wxString const &)*arg2);
7840
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 Py_INCREF(Py_None); resultobj = Py_None;
7845 {
7846 if (temp2)
7847 delete arg2;
7848 }
7849 return resultobj;
7850 fail:
7851 {
7852 if (temp2)
7853 delete arg2;
7854 }
7855 return NULL;
7856 }
7857
7858
7859 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7860 PyObject *resultobj;
7861 wxListBox *arg1 = (wxListBox *) 0 ;
7862 int arg2 ;
7863 PyObject * obj0 = 0 ;
7864 PyObject * obj1 = 0 ;
7865 char *kwnames[] = {
7866 (char *) "self",(char *) "n", NULL
7867 };
7868
7869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7871 if (SWIG_arg_fail(1)) SWIG_fail;
7872 {
7873 arg2 = (int)(SWIG_As_int(obj1));
7874 if (SWIG_arg_fail(2)) SWIG_fail;
7875 }
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 (arg1)->EnsureVisible(arg2);
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 Py_INCREF(Py_None); resultobj = Py_None;
7884 return resultobj;
7885 fail:
7886 return NULL;
7887 }
7888
7889
7890 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7891 PyObject *resultobj;
7892 wxListBox *arg1 = (wxListBox *) 0 ;
7893 wxString *arg2 = 0 ;
7894 bool temp2 = false ;
7895 PyObject * obj0 = 0 ;
7896 PyObject * obj1 = 0 ;
7897 char *kwnames[] = {
7898 (char *) "self",(char *) "s", NULL
7899 };
7900
7901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7903 if (SWIG_arg_fail(1)) SWIG_fail;
7904 {
7905 arg2 = wxString_in_helper(obj1);
7906 if (arg2 == NULL) SWIG_fail;
7907 temp2 = true;
7908 }
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 Py_INCREF(Py_None); resultobj = Py_None;
7917 {
7918 if (temp2)
7919 delete arg2;
7920 }
7921 return resultobj;
7922 fail:
7923 {
7924 if (temp2)
7925 delete arg2;
7926 }
7927 return NULL;
7928 }
7929
7930
7931 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
7932 PyObject *resultobj;
7933 wxListBox *arg1 = (wxListBox *) 0 ;
7934 bool result;
7935 PyObject * obj0 = 0 ;
7936 char *kwnames[] = {
7937 (char *) "self", NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
7941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7942 if (SWIG_arg_fail(1)) SWIG_fail;
7943 {
7944 PyThreadState* __tstate = wxPyBeginAllowThreads();
7945 result = (bool)((wxListBox const *)arg1)->IsSorted();
7946
7947 wxPyEndAllowThreads(__tstate);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 }
7950 {
7951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7952 }
7953 return resultobj;
7954 fail:
7955 return NULL;
7956 }
7957
7958
7959 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj;
7961 wxListBox *arg1 = (wxListBox *) 0 ;
7962 int arg2 ;
7963 wxColour *arg3 = 0 ;
7964 wxColour temp3 ;
7965 PyObject * obj0 = 0 ;
7966 PyObject * obj1 = 0 ;
7967 PyObject * obj2 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self",(char *) "item",(char *) "c", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7974 if (SWIG_arg_fail(1)) SWIG_fail;
7975 {
7976 arg2 = (int)(SWIG_As_int(obj1));
7977 if (SWIG_arg_fail(2)) SWIG_fail;
7978 }
7979 {
7980 arg3 = &temp3;
7981 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7982 }
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
7986
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 Py_INCREF(Py_None); resultobj = Py_None;
7991 return resultobj;
7992 fail:
7993 return NULL;
7994 }
7995
7996
7997 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7998 PyObject *resultobj;
7999 wxListBox *arg1 = (wxListBox *) 0 ;
8000 int arg2 ;
8001 wxColour *arg3 = 0 ;
8002 wxColour temp3 ;
8003 PyObject * obj0 = 0 ;
8004 PyObject * obj1 = 0 ;
8005 PyObject * obj2 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self",(char *) "item",(char *) "c", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8012 if (SWIG_arg_fail(1)) SWIG_fail;
8013 {
8014 arg2 = (int)(SWIG_As_int(obj1));
8015 if (SWIG_arg_fail(2)) SWIG_fail;
8016 }
8017 {
8018 arg3 = &temp3;
8019 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8020 }
8021 {
8022 PyThreadState* __tstate = wxPyBeginAllowThreads();
8023 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8024
8025 wxPyEndAllowThreads(__tstate);
8026 if (PyErr_Occurred()) SWIG_fail;
8027 }
8028 Py_INCREF(Py_None); resultobj = Py_None;
8029 return resultobj;
8030 fail:
8031 return NULL;
8032 }
8033
8034
8035 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8036 PyObject *resultobj;
8037 wxListBox *arg1 = (wxListBox *) 0 ;
8038 int arg2 ;
8039 wxFont *arg3 = 0 ;
8040 PyObject * obj0 = 0 ;
8041 PyObject * obj1 = 0 ;
8042 PyObject * obj2 = 0 ;
8043 char *kwnames[] = {
8044 (char *) "self",(char *) "item",(char *) "f", NULL
8045 };
8046
8047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8049 if (SWIG_arg_fail(1)) SWIG_fail;
8050 {
8051 arg2 = (int)(SWIG_As_int(obj1));
8052 if (SWIG_arg_fail(2)) SWIG_fail;
8053 }
8054 {
8055 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8056 if (SWIG_arg_fail(3)) SWIG_fail;
8057 if (arg3 == NULL) {
8058 SWIG_null_ref("wxFont");
8059 }
8060 if (SWIG_arg_fail(3)) SWIG_fail;
8061 }
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8065
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 Py_INCREF(Py_None); resultobj = Py_None;
8070 return resultobj;
8071 fail:
8072 return NULL;
8073 }
8074
8075
8076 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8077 PyObject *resultobj;
8078 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8079 wxVisualAttributes result;
8080 PyObject * obj0 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "variant", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8086 if (obj0) {
8087 {
8088 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8089 if (SWIG_arg_fail(1)) SWIG_fail;
8090 }
8091 }
8092 {
8093 if (!wxPyCheckForApp()) SWIG_fail;
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8096
8097 wxPyEndAllowThreads(__tstate);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
8100 {
8101 wxVisualAttributes * resultptr;
8102 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8103 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8104 }
8105 return resultobj;
8106 fail:
8107 return NULL;
8108 }
8109
8110
8111 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8112 PyObject *obj;
8113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8114 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8115 Py_INCREF(obj);
8116 return Py_BuildValue((char *)"");
8117 }
8118 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8119 PyObject *resultobj;
8120 wxWindow *arg1 = (wxWindow *) 0 ;
8121 int arg2 = (int) -1 ;
8122 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8123 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8124 wxSize const &arg4_defvalue = wxDefaultSize ;
8125 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8126 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8127 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8128 long arg6 = (long) 0 ;
8129 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8130 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8131 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8132 wxString *arg8 = (wxString *) &arg8_defvalue ;
8133 wxCheckListBox *result;
8134 wxPoint temp3 ;
8135 wxSize temp4 ;
8136 bool temp5 = false ;
8137 bool temp8 = false ;
8138 PyObject * obj0 = 0 ;
8139 PyObject * obj1 = 0 ;
8140 PyObject * obj2 = 0 ;
8141 PyObject * obj3 = 0 ;
8142 PyObject * obj4 = 0 ;
8143 PyObject * obj5 = 0 ;
8144 PyObject * obj6 = 0 ;
8145 PyObject * obj7 = 0 ;
8146 char *kwnames[] = {
8147 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8148 };
8149
8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8152 if (SWIG_arg_fail(1)) SWIG_fail;
8153 if (obj1) {
8154 {
8155 arg2 = (int)(SWIG_As_int(obj1));
8156 if (SWIG_arg_fail(2)) SWIG_fail;
8157 }
8158 }
8159 if (obj2) {
8160 {
8161 arg3 = &temp3;
8162 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8163 }
8164 }
8165 if (obj3) {
8166 {
8167 arg4 = &temp4;
8168 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8169 }
8170 }
8171 if (obj4) {
8172 {
8173 if (! PySequence_Check(obj4)) {
8174 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8175 SWIG_fail;
8176 }
8177 arg5 = new wxArrayString;
8178 temp5 = true;
8179 int i, len=PySequence_Length(obj4);
8180 for (i=0; i<len; i++) {
8181 PyObject* item = PySequence_GetItem(obj4, i);
8182 #if wxUSE_UNICODE
8183 PyObject* str = PyObject_Unicode(item);
8184 #else
8185 PyObject* str = PyObject_Str(item);
8186 #endif
8187 if (PyErr_Occurred()) SWIG_fail;
8188 arg5->Add(Py2wxString(str));
8189 Py_DECREF(item);
8190 Py_DECREF(str);
8191 }
8192 }
8193 }
8194 if (obj5) {
8195 {
8196 arg6 = (long)(SWIG_As_long(obj5));
8197 if (SWIG_arg_fail(6)) SWIG_fail;
8198 }
8199 }
8200 if (obj6) {
8201 {
8202 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8203 if (SWIG_arg_fail(7)) SWIG_fail;
8204 if (arg7 == NULL) {
8205 SWIG_null_ref("wxValidator");
8206 }
8207 if (SWIG_arg_fail(7)) SWIG_fail;
8208 }
8209 }
8210 if (obj7) {
8211 {
8212 arg8 = wxString_in_helper(obj7);
8213 if (arg8 == NULL) SWIG_fail;
8214 temp8 = true;
8215 }
8216 }
8217 {
8218 if (!wxPyCheckForApp()) SWIG_fail;
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8226 {
8227 if (temp5) delete arg5;
8228 }
8229 {
8230 if (temp8)
8231 delete arg8;
8232 }
8233 return resultobj;
8234 fail:
8235 {
8236 if (temp5) delete arg5;
8237 }
8238 {
8239 if (temp8)
8240 delete arg8;
8241 }
8242 return NULL;
8243 }
8244
8245
8246 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8247 PyObject *resultobj;
8248 wxCheckListBox *result;
8249 char *kwnames[] = {
8250 NULL
8251 };
8252
8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8254 {
8255 if (!wxPyCheckForApp()) SWIG_fail;
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 result = (wxCheckListBox *)new wxCheckListBox();
8258
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
8262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8263 return resultobj;
8264 fail:
8265 return NULL;
8266 }
8267
8268
8269 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8270 PyObject *resultobj;
8271 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8272 wxWindow *arg2 = (wxWindow *) 0 ;
8273 int arg3 = (int) -1 ;
8274 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8275 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8276 wxSize const &arg5_defvalue = wxDefaultSize ;
8277 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8278 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8279 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8280 long arg7 = (long) 0 ;
8281 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8282 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8283 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8284 wxString *arg9 = (wxString *) &arg9_defvalue ;
8285 bool result;
8286 wxPoint temp4 ;
8287 wxSize temp5 ;
8288 bool temp6 = false ;
8289 bool temp9 = false ;
8290 PyObject * obj0 = 0 ;
8291 PyObject * obj1 = 0 ;
8292 PyObject * obj2 = 0 ;
8293 PyObject * obj3 = 0 ;
8294 PyObject * obj4 = 0 ;
8295 PyObject * obj5 = 0 ;
8296 PyObject * obj6 = 0 ;
8297 PyObject * obj7 = 0 ;
8298 PyObject * obj8 = 0 ;
8299 char *kwnames[] = {
8300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8301 };
8302
8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail;
8306 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8307 if (SWIG_arg_fail(2)) SWIG_fail;
8308 if (obj2) {
8309 {
8310 arg3 = (int)(SWIG_As_int(obj2));
8311 if (SWIG_arg_fail(3)) SWIG_fail;
8312 }
8313 }
8314 if (obj3) {
8315 {
8316 arg4 = &temp4;
8317 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8318 }
8319 }
8320 if (obj4) {
8321 {
8322 arg5 = &temp5;
8323 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8324 }
8325 }
8326 if (obj5) {
8327 {
8328 if (! PySequence_Check(obj5)) {
8329 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8330 SWIG_fail;
8331 }
8332 arg6 = new wxArrayString;
8333 temp6 = true;
8334 int i, len=PySequence_Length(obj5);
8335 for (i=0; i<len; i++) {
8336 PyObject* item = PySequence_GetItem(obj5, i);
8337 #if wxUSE_UNICODE
8338 PyObject* str = PyObject_Unicode(item);
8339 #else
8340 PyObject* str = PyObject_Str(item);
8341 #endif
8342 if (PyErr_Occurred()) SWIG_fail;
8343 arg6->Add(Py2wxString(str));
8344 Py_DECREF(item);
8345 Py_DECREF(str);
8346 }
8347 }
8348 }
8349 if (obj6) {
8350 {
8351 arg7 = (long)(SWIG_As_long(obj6));
8352 if (SWIG_arg_fail(7)) SWIG_fail;
8353 }
8354 }
8355 if (obj7) {
8356 {
8357 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8358 if (SWIG_arg_fail(8)) SWIG_fail;
8359 if (arg8 == NULL) {
8360 SWIG_null_ref("wxValidator");
8361 }
8362 if (SWIG_arg_fail(8)) SWIG_fail;
8363 }
8364 }
8365 if (obj8) {
8366 {
8367 arg9 = wxString_in_helper(obj8);
8368 if (arg9 == NULL) SWIG_fail;
8369 temp9 = true;
8370 }
8371 }
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 {
8380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8381 }
8382 {
8383 if (temp6) delete arg6;
8384 }
8385 {
8386 if (temp9)
8387 delete arg9;
8388 }
8389 return resultobj;
8390 fail:
8391 {
8392 if (temp6) delete arg6;
8393 }
8394 {
8395 if (temp9)
8396 delete arg9;
8397 }
8398 return NULL;
8399 }
8400
8401
8402 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8403 PyObject *resultobj;
8404 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8405 int arg2 ;
8406 bool result;
8407 PyObject * obj0 = 0 ;
8408 PyObject * obj1 = 0 ;
8409 char *kwnames[] = {
8410 (char *) "self",(char *) "index", NULL
8411 };
8412
8413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail;
8416 {
8417 arg2 = (int)(SWIG_As_int(obj1));
8418 if (SWIG_arg_fail(2)) SWIG_fail;
8419 }
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 result = (bool)(arg1)->IsChecked(arg2);
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 {
8428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8429 }
8430 return resultobj;
8431 fail:
8432 return NULL;
8433 }
8434
8435
8436 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8437 PyObject *resultobj;
8438 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8439 int arg2 ;
8440 int arg3 = (int) true ;
8441 PyObject * obj0 = 0 ;
8442 PyObject * obj1 = 0 ;
8443 PyObject * obj2 = 0 ;
8444 char *kwnames[] = {
8445 (char *) "self",(char *) "index",(char *) "check", NULL
8446 };
8447
8448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8450 if (SWIG_arg_fail(1)) SWIG_fail;
8451 {
8452 arg2 = (int)(SWIG_As_int(obj1));
8453 if (SWIG_arg_fail(2)) SWIG_fail;
8454 }
8455 if (obj2) {
8456 {
8457 arg3 = (int)(SWIG_As_int(obj2));
8458 if (SWIG_arg_fail(3)) SWIG_fail;
8459 }
8460 }
8461 {
8462 PyThreadState* __tstate = wxPyBeginAllowThreads();
8463 (arg1)->Check(arg2,arg3);
8464
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
8468 Py_INCREF(Py_None); resultobj = Py_None;
8469 return resultobj;
8470 fail:
8471 return NULL;
8472 }
8473
8474
8475 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
8476 PyObject *resultobj;
8477 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8478 int result;
8479 PyObject * obj0 = 0 ;
8480 char *kwnames[] = {
8481 (char *) "self", NULL
8482 };
8483
8484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
8485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8486 if (SWIG_arg_fail(1)) SWIG_fail;
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 result = (int)(arg1)->GetItemHeight();
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 {
8495 resultobj = SWIG_From_int((int)(result));
8496 }
8497 return resultobj;
8498 fail:
8499 return NULL;
8500 }
8501
8502
8503 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8504 PyObject *resultobj;
8505 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8506 wxPoint *arg2 = 0 ;
8507 int result;
8508 wxPoint temp2 ;
8509 PyObject * obj0 = 0 ;
8510 PyObject * obj1 = 0 ;
8511 char *kwnames[] = {
8512 (char *) "self",(char *) "pt", NULL
8513 };
8514
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8517 if (SWIG_arg_fail(1)) SWIG_fail;
8518 {
8519 arg2 = &temp2;
8520 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8521 }
8522 {
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8525
8526 wxPyEndAllowThreads(__tstate);
8527 if (PyErr_Occurred()) SWIG_fail;
8528 }
8529 {
8530 resultobj = SWIG_From_int((int)(result));
8531 }
8532 return resultobj;
8533 fail:
8534 return NULL;
8535 }
8536
8537
8538 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8539 PyObject *resultobj;
8540 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8541 int arg2 ;
8542 int arg3 ;
8543 int result;
8544 PyObject * obj0 = 0 ;
8545 PyObject * obj1 = 0 ;
8546 PyObject * obj2 = 0 ;
8547 char *kwnames[] = {
8548 (char *) "self",(char *) "x",(char *) "y", NULL
8549 };
8550
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8553 if (SWIG_arg_fail(1)) SWIG_fail;
8554 {
8555 arg2 = (int)(SWIG_As_int(obj1));
8556 if (SWIG_arg_fail(2)) SWIG_fail;
8557 }
8558 {
8559 arg3 = (int)(SWIG_As_int(obj2));
8560 if (SWIG_arg_fail(3)) SWIG_fail;
8561 }
8562 {
8563 PyThreadState* __tstate = wxPyBeginAllowThreads();
8564 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8565
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 {
8570 resultobj = SWIG_From_int((int)(result));
8571 }
8572 return resultobj;
8573 fail:
8574 return NULL;
8575 }
8576
8577
8578 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8579 PyObject *obj;
8580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8581 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8582 Py_INCREF(obj);
8583 return Py_BuildValue((char *)"");
8584 }
8585 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8586 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8587 return 1;
8588 }
8589
8590
8591 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8592 PyObject *pyobj;
8593
8594 {
8595 #if wxUSE_UNICODE
8596 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8597 #else
8598 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8599 #endif
8600 }
8601 return pyobj;
8602 }
8603
8604
8605 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8606 PyObject *resultobj;
8607 wxColour const &arg1_defvalue = wxNullColour ;
8608 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8609 wxColour const &arg2_defvalue = wxNullColour ;
8610 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8611 wxFont const &arg3_defvalue = wxNullFont ;
8612 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8613 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8614 wxTextAttr *result;
8615 wxColour temp1 ;
8616 wxColour temp2 ;
8617 PyObject * obj0 = 0 ;
8618 PyObject * obj1 = 0 ;
8619 PyObject * obj2 = 0 ;
8620 PyObject * obj3 = 0 ;
8621 char *kwnames[] = {
8622 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8623 };
8624
8625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8626 if (obj0) {
8627 {
8628 arg1 = &temp1;
8629 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8630 }
8631 }
8632 if (obj1) {
8633 {
8634 arg2 = &temp2;
8635 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8636 }
8637 }
8638 if (obj2) {
8639 {
8640 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8641 if (SWIG_arg_fail(3)) SWIG_fail;
8642 if (arg3 == NULL) {
8643 SWIG_null_ref("wxFont");
8644 }
8645 if (SWIG_arg_fail(3)) SWIG_fail;
8646 }
8647 }
8648 if (obj3) {
8649 {
8650 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8651 if (SWIG_arg_fail(4)) SWIG_fail;
8652 }
8653 }
8654 {
8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
8656 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8657
8658 wxPyEndAllowThreads(__tstate);
8659 if (PyErr_Occurred()) SWIG_fail;
8660 }
8661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8662 return resultobj;
8663 fail:
8664 return NULL;
8665 }
8666
8667
8668 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8669 PyObject *resultobj;
8670 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8671 PyObject * obj0 = 0 ;
8672 char *kwnames[] = {
8673 (char *) "self", NULL
8674 };
8675
8676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8678 if (SWIG_arg_fail(1)) SWIG_fail;
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 delete arg1;
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 Py_INCREF(Py_None); resultobj = Py_None;
8687 return resultobj;
8688 fail:
8689 return NULL;
8690 }
8691
8692
8693 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8696 PyObject * obj0 = 0 ;
8697 char *kwnames[] = {
8698 (char *) "self", NULL
8699 };
8700
8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8703 if (SWIG_arg_fail(1)) SWIG_fail;
8704 {
8705 PyThreadState* __tstate = wxPyBeginAllowThreads();
8706 (arg1)->Init();
8707
8708 wxPyEndAllowThreads(__tstate);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 Py_INCREF(Py_None); resultobj = Py_None;
8712 return resultobj;
8713 fail:
8714 return NULL;
8715 }
8716
8717
8718 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8719 PyObject *resultobj;
8720 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8721 wxColour *arg2 = 0 ;
8722 wxColour temp2 ;
8723 PyObject * obj0 = 0 ;
8724 PyObject * obj1 = 0 ;
8725 char *kwnames[] = {
8726 (char *) "self",(char *) "colText", NULL
8727 };
8728
8729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8731 if (SWIG_arg_fail(1)) SWIG_fail;
8732 {
8733 arg2 = &temp2;
8734 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8735 }
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->SetTextColour((wxColour const &)*arg2);
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747 }
8748
8749
8750 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8751 PyObject *resultobj;
8752 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8753 wxColour *arg2 = 0 ;
8754 wxColour temp2 ;
8755 PyObject * obj0 = 0 ;
8756 PyObject * obj1 = 0 ;
8757 char *kwnames[] = {
8758 (char *) "self",(char *) "colBack", NULL
8759 };
8760
8761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8763 if (SWIG_arg_fail(1)) SWIG_fail;
8764 {
8765 arg2 = &temp2;
8766 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8767 }
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 Py_INCREF(Py_None); resultobj = Py_None;
8776 return resultobj;
8777 fail:
8778 return NULL;
8779 }
8780
8781
8782 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj;
8784 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8785 wxFont *arg2 = 0 ;
8786 long arg3 = (long) wxTEXT_ATTR_FONT ;
8787 PyObject * obj0 = 0 ;
8788 PyObject * obj1 = 0 ;
8789 PyObject * obj2 = 0 ;
8790 char *kwnames[] = {
8791 (char *) "self",(char *) "font",(char *) "flags", NULL
8792 };
8793
8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8796 if (SWIG_arg_fail(1)) SWIG_fail;
8797 {
8798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8799 if (SWIG_arg_fail(2)) SWIG_fail;
8800 if (arg2 == NULL) {
8801 SWIG_null_ref("wxFont");
8802 }
8803 if (SWIG_arg_fail(2)) SWIG_fail;
8804 }
8805 if (obj2) {
8806 {
8807 arg3 = (long)(SWIG_As_long(obj2));
8808 if (SWIG_arg_fail(3)) SWIG_fail;
8809 }
8810 }
8811 {
8812 PyThreadState* __tstate = wxPyBeginAllowThreads();
8813 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8814
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
8818 Py_INCREF(Py_None); resultobj = Py_None;
8819 return resultobj;
8820 fail:
8821 return NULL;
8822 }
8823
8824
8825 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8826 PyObject *resultobj;
8827 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8828 wxTextAttrAlignment arg2 ;
8829 PyObject * obj0 = 0 ;
8830 PyObject * obj1 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self",(char *) "alignment", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail;
8838 {
8839 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8840 if (SWIG_arg_fail(2)) SWIG_fail;
8841 }
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 Py_INCREF(Py_None); resultobj = Py_None;
8850 return resultobj;
8851 fail:
8852 return NULL;
8853 }
8854
8855
8856 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
8857 PyObject *resultobj;
8858 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8859 wxArrayInt *arg2 = 0 ;
8860 bool temp2 = false ;
8861 PyObject * obj0 = 0 ;
8862 PyObject * obj1 = 0 ;
8863 char *kwnames[] = {
8864 (char *) "self",(char *) "tabs", NULL
8865 };
8866
8867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
8868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8869 if (SWIG_arg_fail(1)) SWIG_fail;
8870 {
8871 if (! PySequence_Check(obj1)) {
8872 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8873 SWIG_fail;
8874 }
8875 arg2 = new wxArrayInt;
8876 temp2 = true;
8877 int i, len=PySequence_Length(obj1);
8878 for (i=0; i<len; i++) {
8879 PyObject* item = PySequence_GetItem(obj1, i);
8880 PyObject* number = PyNumber_Int(item);
8881 arg2->Add(PyInt_AS_LONG(number));
8882 Py_DECREF(item);
8883 Py_DECREF(number);
8884 }
8885 }
8886 {
8887 PyThreadState* __tstate = wxPyBeginAllowThreads();
8888 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8889
8890 wxPyEndAllowThreads(__tstate);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 Py_INCREF(Py_None); resultobj = Py_None;
8894 {
8895 if (temp2) delete arg2;
8896 }
8897 return resultobj;
8898 fail:
8899 {
8900 if (temp2) delete arg2;
8901 }
8902 return NULL;
8903 }
8904
8905
8906 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8907 PyObject *resultobj;
8908 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8909 int arg2 ;
8910 int arg3 = (int) 0 ;
8911 PyObject * obj0 = 0 ;
8912 PyObject * obj1 = 0 ;
8913 PyObject * obj2 = 0 ;
8914 char *kwnames[] = {
8915 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8916 };
8917
8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
8919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8920 if (SWIG_arg_fail(1)) SWIG_fail;
8921 {
8922 arg2 = (int)(SWIG_As_int(obj1));
8923 if (SWIG_arg_fail(2)) SWIG_fail;
8924 }
8925 if (obj2) {
8926 {
8927 arg3 = (int)(SWIG_As_int(obj2));
8928 if (SWIG_arg_fail(3)) SWIG_fail;
8929 }
8930 }
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 (arg1)->SetLeftIndent(arg2,arg3);
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 Py_INCREF(Py_None); resultobj = Py_None;
8939 return resultobj;
8940 fail:
8941 return NULL;
8942 }
8943
8944
8945 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj;
8947 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8948 int arg2 ;
8949 PyObject * obj0 = 0 ;
8950 PyObject * obj1 = 0 ;
8951 char *kwnames[] = {
8952 (char *) "self",(char *) "indent", NULL
8953 };
8954
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
8956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8957 if (SWIG_arg_fail(1)) SWIG_fail;
8958 {
8959 arg2 = (int)(SWIG_As_int(obj1));
8960 if (SWIG_arg_fail(2)) SWIG_fail;
8961 }
8962 {
8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
8964 (arg1)->SetRightIndent(arg2);
8965
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 Py_INCREF(Py_None); resultobj = Py_None;
8970 return resultobj;
8971 fail:
8972 return NULL;
8973 }
8974
8975
8976 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8977 PyObject *resultobj;
8978 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8979 long arg2 ;
8980 PyObject * obj0 = 0 ;
8981 PyObject * obj1 = 0 ;
8982 char *kwnames[] = {
8983 (char *) "self",(char *) "flags", NULL
8984 };
8985
8986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8988 if (SWIG_arg_fail(1)) SWIG_fail;
8989 {
8990 arg2 = (long)(SWIG_As_long(obj1));
8991 if (SWIG_arg_fail(2)) SWIG_fail;
8992 }
8993 {
8994 PyThreadState* __tstate = wxPyBeginAllowThreads();
8995 (arg1)->SetFlags(arg2);
8996
8997 wxPyEndAllowThreads(__tstate);
8998 if (PyErr_Occurred()) SWIG_fail;
8999 }
9000 Py_INCREF(Py_None); resultobj = Py_None;
9001 return resultobj;
9002 fail:
9003 return NULL;
9004 }
9005
9006
9007 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9008 PyObject *resultobj;
9009 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9010 bool result;
9011 PyObject * obj0 = 0 ;
9012 char *kwnames[] = {
9013 (char *) "self", NULL
9014 };
9015
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9018 if (SWIG_arg_fail(1)) SWIG_fail;
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9022
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 {
9027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9028 }
9029 return resultobj;
9030 fail:
9031 return NULL;
9032 }
9033
9034
9035 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj;
9037 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9038 bool result;
9039 PyObject * obj0 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9046 if (SWIG_arg_fail(1)) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 {
9055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9056 }
9057 return resultobj;
9058 fail:
9059 return NULL;
9060 }
9061
9062
9063 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9064 PyObject *resultobj;
9065 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9066 bool result;
9067 PyObject * obj0 = 0 ;
9068 char *kwnames[] = {
9069 (char *) "self", NULL
9070 };
9071
9072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9074 if (SWIG_arg_fail(1)) SWIG_fail;
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9078
9079 wxPyEndAllowThreads(__tstate);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
9082 {
9083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9084 }
9085 return resultobj;
9086 fail:
9087 return NULL;
9088 }
9089
9090
9091 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9092 PyObject *resultobj;
9093 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9094 bool result;
9095 PyObject * obj0 = 0 ;
9096 char *kwnames[] = {
9097 (char *) "self", NULL
9098 };
9099
9100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9102 if (SWIG_arg_fail(1)) SWIG_fail;
9103 {
9104 PyThreadState* __tstate = wxPyBeginAllowThreads();
9105 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9106
9107 wxPyEndAllowThreads(__tstate);
9108 if (PyErr_Occurred()) SWIG_fail;
9109 }
9110 {
9111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9112 }
9113 return resultobj;
9114 fail:
9115 return NULL;
9116 }
9117
9118
9119 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9120 PyObject *resultobj;
9121 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9122 bool result;
9123 PyObject * obj0 = 0 ;
9124 char *kwnames[] = {
9125 (char *) "self", NULL
9126 };
9127
9128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9130 if (SWIG_arg_fail(1)) SWIG_fail;
9131 {
9132 PyThreadState* __tstate = wxPyBeginAllowThreads();
9133 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9134
9135 wxPyEndAllowThreads(__tstate);
9136 if (PyErr_Occurred()) SWIG_fail;
9137 }
9138 {
9139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9140 }
9141 return resultobj;
9142 fail:
9143 return NULL;
9144 }
9145
9146
9147 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9148 PyObject *resultobj;
9149 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9150 bool result;
9151 PyObject * obj0 = 0 ;
9152 char *kwnames[] = {
9153 (char *) "self", NULL
9154 };
9155
9156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9158 if (SWIG_arg_fail(1)) SWIG_fail;
9159 {
9160 PyThreadState* __tstate = wxPyBeginAllowThreads();
9161 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9162
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
9166 {
9167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9168 }
9169 return resultobj;
9170 fail:
9171 return NULL;
9172 }
9173
9174
9175 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj;
9177 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9178 bool result;
9179 PyObject * obj0 = 0 ;
9180 char *kwnames[] = {
9181 (char *) "self", NULL
9182 };
9183
9184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9186 if (SWIG_arg_fail(1)) SWIG_fail;
9187 {
9188 PyThreadState* __tstate = wxPyBeginAllowThreads();
9189 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9190
9191 wxPyEndAllowThreads(__tstate);
9192 if (PyErr_Occurred()) SWIG_fail;
9193 }
9194 {
9195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9196 }
9197 return resultobj;
9198 fail:
9199 return NULL;
9200 }
9201
9202
9203 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9204 PyObject *resultobj;
9205 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9206 long arg2 ;
9207 bool result;
9208 PyObject * obj0 = 0 ;
9209 PyObject * obj1 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self",(char *) "flag", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9216 if (SWIG_arg_fail(1)) SWIG_fail;
9217 {
9218 arg2 = (long)(SWIG_As_long(obj1));
9219 if (SWIG_arg_fail(2)) SWIG_fail;
9220 }
9221 {
9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
9223 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9224
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 {
9229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9230 }
9231 return resultobj;
9232 fail:
9233 return NULL;
9234 }
9235
9236
9237 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9238 PyObject *resultobj;
9239 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9240 wxColour *result;
9241 PyObject * obj0 = 0 ;
9242 char *kwnames[] = {
9243 (char *) "self", NULL
9244 };
9245
9246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9248 if (SWIG_arg_fail(1)) SWIG_fail;
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 {
9252 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9253 result = (wxColour *) &_result_ref;
9254 }
9255
9256 wxPyEndAllowThreads(__tstate);
9257 if (PyErr_Occurred()) SWIG_fail;
9258 }
9259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9260 return resultobj;
9261 fail:
9262 return NULL;
9263 }
9264
9265
9266 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9267 PyObject *resultobj;
9268 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9269 wxColour *result;
9270 PyObject * obj0 = 0 ;
9271 char *kwnames[] = {
9272 (char *) "self", NULL
9273 };
9274
9275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9277 if (SWIG_arg_fail(1)) SWIG_fail;
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 {
9281 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9282 result = (wxColour *) &_result_ref;
9283 }
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9289 return resultobj;
9290 fail:
9291 return NULL;
9292 }
9293
9294
9295 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9296 PyObject *resultobj;
9297 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9298 wxFont *result;
9299 PyObject * obj0 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail;
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
9309 {
9310 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9311 result = (wxFont *) &_result_ref;
9312 }
9313
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
9317 {
9318 wxFont* resultptr = new wxFont(*result);
9319 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9320 }
9321 return resultobj;
9322 fail:
9323 return NULL;
9324 }
9325
9326
9327 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9328 PyObject *resultobj;
9329 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9330 wxTextAttrAlignment result;
9331 PyObject * obj0 = 0 ;
9332 char *kwnames[] = {
9333 (char *) "self", NULL
9334 };
9335
9336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9338 if (SWIG_arg_fail(1)) SWIG_fail;
9339 {
9340 PyThreadState* __tstate = wxPyBeginAllowThreads();
9341 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9342
9343 wxPyEndAllowThreads(__tstate);
9344 if (PyErr_Occurred()) SWIG_fail;
9345 }
9346 resultobj = SWIG_From_int((result));
9347 return resultobj;
9348 fail:
9349 return NULL;
9350 }
9351
9352
9353 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9354 PyObject *resultobj;
9355 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9356 wxArrayInt *result;
9357 PyObject * obj0 = 0 ;
9358 char *kwnames[] = {
9359 (char *) "self", NULL
9360 };
9361
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9364 if (SWIG_arg_fail(1)) SWIG_fail;
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 {
9368 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9369 result = (wxArrayInt *) &_result_ref;
9370 }
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 {
9376 resultobj = PyList_New(0);
9377 size_t idx;
9378 for (idx = 0; idx < result->GetCount(); idx += 1) {
9379 PyObject* val = PyInt_FromLong( result->Item(idx) );
9380 PyList_Append(resultobj, val);
9381 Py_DECREF(val);
9382 }
9383 }
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9393 long result;
9394 PyObject * obj0 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail;
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
9404 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9405
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
9409 {
9410 resultobj = SWIG_From_long((long)(result));
9411 }
9412 return resultobj;
9413 fail:
9414 return NULL;
9415 }
9416
9417
9418 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9419 PyObject *resultobj;
9420 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9421 long result;
9422 PyObject * obj0 = 0 ;
9423 char *kwnames[] = {
9424 (char *) "self", NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9429 if (SWIG_arg_fail(1)) SWIG_fail;
9430 {
9431 PyThreadState* __tstate = wxPyBeginAllowThreads();
9432 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9433
9434 wxPyEndAllowThreads(__tstate);
9435 if (PyErr_Occurred()) SWIG_fail;
9436 }
9437 {
9438 resultobj = SWIG_From_long((long)(result));
9439 }
9440 return resultobj;
9441 fail:
9442 return NULL;
9443 }
9444
9445
9446 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9447 PyObject *resultobj;
9448 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9449 long result;
9450 PyObject * obj0 = 0 ;
9451 char *kwnames[] = {
9452 (char *) "self", NULL
9453 };
9454
9455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9457 if (SWIG_arg_fail(1)) SWIG_fail;
9458 {
9459 PyThreadState* __tstate = wxPyBeginAllowThreads();
9460 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9461
9462 wxPyEndAllowThreads(__tstate);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
9465 {
9466 resultobj = SWIG_From_long((long)(result));
9467 }
9468 return resultobj;
9469 fail:
9470 return NULL;
9471 }
9472
9473
9474 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9475 PyObject *resultobj;
9476 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9477 long result;
9478 PyObject * obj0 = 0 ;
9479 char *kwnames[] = {
9480 (char *) "self", NULL
9481 };
9482
9483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9485 if (SWIG_arg_fail(1)) SWIG_fail;
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9489
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 {
9494 resultobj = SWIG_From_long((long)(result));
9495 }
9496 return resultobj;
9497 fail:
9498 return NULL;
9499 }
9500
9501
9502 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9503 PyObject *resultobj;
9504 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9505 bool result;
9506 PyObject * obj0 = 0 ;
9507 char *kwnames[] = {
9508 (char *) "self", NULL
9509 };
9510
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9513 if (SWIG_arg_fail(1)) SWIG_fail;
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 {
9522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9523 }
9524 return resultobj;
9525 fail:
9526 return NULL;
9527 }
9528
9529
9530 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9531 PyObject *resultobj;
9532 wxTextAttr *arg1 = 0 ;
9533 wxTextAttr *arg2 = 0 ;
9534 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9535 wxTextAttr result;
9536 PyObject * obj0 = 0 ;
9537 PyObject * obj1 = 0 ;
9538 PyObject * obj2 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9544 {
9545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9546 if (SWIG_arg_fail(1)) SWIG_fail;
9547 if (arg1 == NULL) {
9548 SWIG_null_ref("wxTextAttr");
9549 }
9550 if (SWIG_arg_fail(1)) SWIG_fail;
9551 }
9552 {
9553 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9554 if (SWIG_arg_fail(2)) SWIG_fail;
9555 if (arg2 == NULL) {
9556 SWIG_null_ref("wxTextAttr");
9557 }
9558 if (SWIG_arg_fail(2)) SWIG_fail;
9559 }
9560 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9561 if (SWIG_arg_fail(3)) SWIG_fail;
9562 {
9563 PyThreadState* __tstate = wxPyBeginAllowThreads();
9564 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9565
9566 wxPyEndAllowThreads(__tstate);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 {
9570 wxTextAttr * resultptr;
9571 resultptr = new wxTextAttr((wxTextAttr &)(result));
9572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9573 }
9574 return resultobj;
9575 fail:
9576 return NULL;
9577 }
9578
9579
9580 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9581 PyObject *obj;
9582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9583 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9584 Py_INCREF(obj);
9585 return Py_BuildValue((char *)"");
9586 }
9587 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj;
9589 wxWindow *arg1 = (wxWindow *) 0 ;
9590 int arg2 = (int) -1 ;
9591 wxString const &arg3_defvalue = wxPyEmptyString ;
9592 wxString *arg3 = (wxString *) &arg3_defvalue ;
9593 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9594 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9595 wxSize const &arg5_defvalue = wxDefaultSize ;
9596 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9597 long arg6 = (long) 0 ;
9598 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9599 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9600 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9601 wxString *arg8 = (wxString *) &arg8_defvalue ;
9602 wxTextCtrl *result;
9603 bool temp3 = false ;
9604 wxPoint temp4 ;
9605 wxSize temp5 ;
9606 bool temp8 = false ;
9607 PyObject * obj0 = 0 ;
9608 PyObject * obj1 = 0 ;
9609 PyObject * obj2 = 0 ;
9610 PyObject * obj3 = 0 ;
9611 PyObject * obj4 = 0 ;
9612 PyObject * obj5 = 0 ;
9613 PyObject * obj6 = 0 ;
9614 PyObject * obj7 = 0 ;
9615 char *kwnames[] = {
9616 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9617 };
9618
9619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9621 if (SWIG_arg_fail(1)) SWIG_fail;
9622 if (obj1) {
9623 {
9624 arg2 = (int)(SWIG_As_int(obj1));
9625 if (SWIG_arg_fail(2)) SWIG_fail;
9626 }
9627 }
9628 if (obj2) {
9629 {
9630 arg3 = wxString_in_helper(obj2);
9631 if (arg3 == NULL) SWIG_fail;
9632 temp3 = true;
9633 }
9634 }
9635 if (obj3) {
9636 {
9637 arg4 = &temp4;
9638 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9639 }
9640 }
9641 if (obj4) {
9642 {
9643 arg5 = &temp5;
9644 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9645 }
9646 }
9647 if (obj5) {
9648 {
9649 arg6 = (long)(SWIG_As_long(obj5));
9650 if (SWIG_arg_fail(6)) SWIG_fail;
9651 }
9652 }
9653 if (obj6) {
9654 {
9655 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9656 if (SWIG_arg_fail(7)) SWIG_fail;
9657 if (arg7 == NULL) {
9658 SWIG_null_ref("wxValidator");
9659 }
9660 if (SWIG_arg_fail(7)) SWIG_fail;
9661 }
9662 }
9663 if (obj7) {
9664 {
9665 arg8 = wxString_in_helper(obj7);
9666 if (arg8 == NULL) SWIG_fail;
9667 temp8 = true;
9668 }
9669 }
9670 {
9671 if (!wxPyCheckForApp()) SWIG_fail;
9672 PyThreadState* __tstate = wxPyBeginAllowThreads();
9673 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9674
9675 wxPyEndAllowThreads(__tstate);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 }
9678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9679 {
9680 if (temp3)
9681 delete arg3;
9682 }
9683 {
9684 if (temp8)
9685 delete arg8;
9686 }
9687 return resultobj;
9688 fail:
9689 {
9690 if (temp3)
9691 delete arg3;
9692 }
9693 {
9694 if (temp8)
9695 delete arg8;
9696 }
9697 return NULL;
9698 }
9699
9700
9701 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9702 PyObject *resultobj;
9703 wxTextCtrl *result;
9704 char *kwnames[] = {
9705 NULL
9706 };
9707
9708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9709 {
9710 if (!wxPyCheckForApp()) SWIG_fail;
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
9712 result = (wxTextCtrl *)new wxTextCtrl();
9713
9714 wxPyEndAllowThreads(__tstate);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 }
9717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9718 return resultobj;
9719 fail:
9720 return NULL;
9721 }
9722
9723
9724 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9725 PyObject *resultobj;
9726 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9727 wxWindow *arg2 = (wxWindow *) 0 ;
9728 int arg3 = (int) -1 ;
9729 wxString const &arg4_defvalue = wxPyEmptyString ;
9730 wxString *arg4 = (wxString *) &arg4_defvalue ;
9731 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9732 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9733 wxSize const &arg6_defvalue = wxDefaultSize ;
9734 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9735 long arg7 = (long) 0 ;
9736 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9737 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9738 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9739 wxString *arg9 = (wxString *) &arg9_defvalue ;
9740 bool result;
9741 bool temp4 = false ;
9742 wxPoint temp5 ;
9743 wxSize temp6 ;
9744 bool temp9 = false ;
9745 PyObject * obj0 = 0 ;
9746 PyObject * obj1 = 0 ;
9747 PyObject * obj2 = 0 ;
9748 PyObject * obj3 = 0 ;
9749 PyObject * obj4 = 0 ;
9750 PyObject * obj5 = 0 ;
9751 PyObject * obj6 = 0 ;
9752 PyObject * obj7 = 0 ;
9753 PyObject * obj8 = 0 ;
9754 char *kwnames[] = {
9755 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9756 };
9757
9758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9760 if (SWIG_arg_fail(1)) SWIG_fail;
9761 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9762 if (SWIG_arg_fail(2)) SWIG_fail;
9763 if (obj2) {
9764 {
9765 arg3 = (int)(SWIG_As_int(obj2));
9766 if (SWIG_arg_fail(3)) SWIG_fail;
9767 }
9768 }
9769 if (obj3) {
9770 {
9771 arg4 = wxString_in_helper(obj3);
9772 if (arg4 == NULL) SWIG_fail;
9773 temp4 = true;
9774 }
9775 }
9776 if (obj4) {
9777 {
9778 arg5 = &temp5;
9779 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9780 }
9781 }
9782 if (obj5) {
9783 {
9784 arg6 = &temp6;
9785 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9786 }
9787 }
9788 if (obj6) {
9789 {
9790 arg7 = (long)(SWIG_As_long(obj6));
9791 if (SWIG_arg_fail(7)) SWIG_fail;
9792 }
9793 }
9794 if (obj7) {
9795 {
9796 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9797 if (SWIG_arg_fail(8)) SWIG_fail;
9798 if (arg8 == NULL) {
9799 SWIG_null_ref("wxValidator");
9800 }
9801 if (SWIG_arg_fail(8)) SWIG_fail;
9802 }
9803 }
9804 if (obj8) {
9805 {
9806 arg9 = wxString_in_helper(obj8);
9807 if (arg9 == NULL) SWIG_fail;
9808 temp9 = true;
9809 }
9810 }
9811 {
9812 PyThreadState* __tstate = wxPyBeginAllowThreads();
9813 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9814
9815 wxPyEndAllowThreads(__tstate);
9816 if (PyErr_Occurred()) SWIG_fail;
9817 }
9818 {
9819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9820 }
9821 {
9822 if (temp4)
9823 delete arg4;
9824 }
9825 {
9826 if (temp9)
9827 delete arg9;
9828 }
9829 return resultobj;
9830 fail:
9831 {
9832 if (temp4)
9833 delete arg4;
9834 }
9835 {
9836 if (temp9)
9837 delete arg9;
9838 }
9839 return NULL;
9840 }
9841
9842
9843 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9844 PyObject *resultobj;
9845 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9846 wxString result;
9847 PyObject * obj0 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
9853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9854 if (SWIG_arg_fail(1)) SWIG_fail;
9855 {
9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
9857 result = ((wxTextCtrl const *)arg1)->GetValue();
9858
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) SWIG_fail;
9861 }
9862 {
9863 #if wxUSE_UNICODE
9864 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9865 #else
9866 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9867 #endif
9868 }
9869 return resultobj;
9870 fail:
9871 return NULL;
9872 }
9873
9874
9875 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9876 PyObject *resultobj;
9877 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9878 wxString *arg2 = 0 ;
9879 bool temp2 = false ;
9880 PyObject * obj0 = 0 ;
9881 PyObject * obj1 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self",(char *) "value", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
9887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9888 if (SWIG_arg_fail(1)) SWIG_fail;
9889 {
9890 arg2 = wxString_in_helper(obj1);
9891 if (arg2 == NULL) SWIG_fail;
9892 temp2 = true;
9893 }
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
9896 (arg1)->SetValue((wxString const &)*arg2);
9897
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 Py_INCREF(Py_None); resultobj = Py_None;
9902 {
9903 if (temp2)
9904 delete arg2;
9905 }
9906 return resultobj;
9907 fail:
9908 {
9909 if (temp2)
9910 delete arg2;
9911 }
9912 return NULL;
9913 }
9914
9915
9916 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj;
9918 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9919 long arg2 ;
9920 long arg3 ;
9921 wxString result;
9922 PyObject * obj0 = 0 ;
9923 PyObject * obj1 = 0 ;
9924 PyObject * obj2 = 0 ;
9925 char *kwnames[] = {
9926 (char *) "self",(char *) "from",(char *) "to", NULL
9927 };
9928
9929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9931 if (SWIG_arg_fail(1)) SWIG_fail;
9932 {
9933 arg2 = (long)(SWIG_As_long(obj1));
9934 if (SWIG_arg_fail(2)) SWIG_fail;
9935 }
9936 {
9937 arg3 = (long)(SWIG_As_long(obj2));
9938 if (SWIG_arg_fail(3)) SWIG_fail;
9939 }
9940 {
9941 PyThreadState* __tstate = wxPyBeginAllowThreads();
9942 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9943
9944 wxPyEndAllowThreads(__tstate);
9945 if (PyErr_Occurred()) SWIG_fail;
9946 }
9947 {
9948 #if wxUSE_UNICODE
9949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9950 #else
9951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9952 #endif
9953 }
9954 return resultobj;
9955 fail:
9956 return NULL;
9957 }
9958
9959
9960 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
9961 PyObject *resultobj;
9962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9963 long arg2 ;
9964 int result;
9965 PyObject * obj0 = 0 ;
9966 PyObject * obj1 = 0 ;
9967 char *kwnames[] = {
9968 (char *) "self",(char *) "lineNo", NULL
9969 };
9970
9971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
9972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9973 if (SWIG_arg_fail(1)) SWIG_fail;
9974 {
9975 arg2 = (long)(SWIG_As_long(obj1));
9976 if (SWIG_arg_fail(2)) SWIG_fail;
9977 }
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
9981
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 {
9986 resultobj = SWIG_From_int((int)(result));
9987 }
9988 return resultobj;
9989 fail:
9990 return NULL;
9991 }
9992
9993
9994 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
9995 PyObject *resultobj;
9996 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9997 long arg2 ;
9998 wxString result;
9999 PyObject * obj0 = 0 ;
10000 PyObject * obj1 = 0 ;
10001 char *kwnames[] = {
10002 (char *) "self",(char *) "lineNo", NULL
10003 };
10004
10005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
10006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10007 if (SWIG_arg_fail(1)) SWIG_fail;
10008 {
10009 arg2 = (long)(SWIG_As_long(obj1));
10010 if (SWIG_arg_fail(2)) SWIG_fail;
10011 }
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10015
10016 wxPyEndAllowThreads(__tstate);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
10019 {
10020 #if wxUSE_UNICODE
10021 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10022 #else
10023 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10024 #endif
10025 }
10026 return resultobj;
10027 fail:
10028 return NULL;
10029 }
10030
10031
10032 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10033 PyObject *resultobj;
10034 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10035 int result;
10036 PyObject * obj0 = 0 ;
10037 char *kwnames[] = {
10038 (char *) "self", NULL
10039 };
10040
10041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10043 if (SWIG_arg_fail(1)) SWIG_fail;
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
10051 {
10052 resultobj = SWIG_From_int((int)(result));
10053 }
10054 return resultobj;
10055 fail:
10056 return NULL;
10057 }
10058
10059
10060 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10061 PyObject *resultobj;
10062 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10063 bool result;
10064 PyObject * obj0 = 0 ;
10065 char *kwnames[] = {
10066 (char *) "self", NULL
10067 };
10068
10069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10071 if (SWIG_arg_fail(1)) SWIG_fail;
10072 {
10073 PyThreadState* __tstate = wxPyBeginAllowThreads();
10074 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10075
10076 wxPyEndAllowThreads(__tstate);
10077 if (PyErr_Occurred()) SWIG_fail;
10078 }
10079 {
10080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10081 }
10082 return resultobj;
10083 fail:
10084 return NULL;
10085 }
10086
10087
10088 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj;
10090 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10091 bool result;
10092 PyObject * obj0 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "self", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10099 if (SWIG_arg_fail(1)) SWIG_fail;
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 {
10108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10109 }
10110 return resultobj;
10111 fail:
10112 return NULL;
10113 }
10114
10115
10116 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10119 bool result;
10120 PyObject * obj0 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "self", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10127 if (SWIG_arg_fail(1)) SWIG_fail;
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 {
10136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10137 }
10138 return resultobj;
10139 fail:
10140 return NULL;
10141 }
10142
10143
10144 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj;
10146 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10147 bool result;
10148 PyObject * obj0 = 0 ;
10149 char *kwnames[] = {
10150 (char *) "self", NULL
10151 };
10152
10153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10155 if (SWIG_arg_fail(1)) SWIG_fail;
10156 {
10157 PyThreadState* __tstate = wxPyBeginAllowThreads();
10158 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10159
10160 wxPyEndAllowThreads(__tstate);
10161 if (PyErr_Occurred()) SWIG_fail;
10162 }
10163 {
10164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10165 }
10166 return resultobj;
10167 fail:
10168 return NULL;
10169 }
10170
10171
10172 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10173 PyObject *resultobj;
10174 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10175 long *arg2 = (long *) 0 ;
10176 long *arg3 = (long *) 0 ;
10177 long temp2 ;
10178 int res2 = 0 ;
10179 long temp3 ;
10180 int res3 = 0 ;
10181 PyObject * obj0 = 0 ;
10182 char *kwnames[] = {
10183 (char *) "self", NULL
10184 };
10185
10186 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10187 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10190 if (SWIG_arg_fail(1)) SWIG_fail;
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 Py_INCREF(Py_None); resultobj = Py_None;
10199 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10200 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10201 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10202 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10203 return resultobj;
10204 fail:
10205 return NULL;
10206 }
10207
10208
10209 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10210 PyObject *resultobj;
10211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10212 wxString result;
10213 PyObject * obj0 = 0 ;
10214 char *kwnames[] = {
10215 (char *) "self", NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10220 if (SWIG_arg_fail(1)) SWIG_fail;
10221 {
10222 PyThreadState* __tstate = wxPyBeginAllowThreads();
10223 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10224
10225 wxPyEndAllowThreads(__tstate);
10226 if (PyErr_Occurred()) SWIG_fail;
10227 }
10228 {
10229 #if wxUSE_UNICODE
10230 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10231 #else
10232 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10233 #endif
10234 }
10235 return resultobj;
10236 fail:
10237 return NULL;
10238 }
10239
10240
10241 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10242 PyObject *resultobj;
10243 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10244 PyObject * obj0 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "self", NULL
10247 };
10248
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10251 if (SWIG_arg_fail(1)) SWIG_fail;
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 (arg1)->Clear();
10255
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 Py_INCREF(Py_None); resultobj = Py_None;
10260 return resultobj;
10261 fail:
10262 return NULL;
10263 }
10264
10265
10266 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10267 PyObject *resultobj;
10268 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10269 long arg2 ;
10270 long arg3 ;
10271 wxString *arg4 = 0 ;
10272 bool temp4 = false ;
10273 PyObject * obj0 = 0 ;
10274 PyObject * obj1 = 0 ;
10275 PyObject * obj2 = 0 ;
10276 PyObject * obj3 = 0 ;
10277 char *kwnames[] = {
10278 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10279 };
10280
10281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10283 if (SWIG_arg_fail(1)) SWIG_fail;
10284 {
10285 arg2 = (long)(SWIG_As_long(obj1));
10286 if (SWIG_arg_fail(2)) SWIG_fail;
10287 }
10288 {
10289 arg3 = (long)(SWIG_As_long(obj2));
10290 if (SWIG_arg_fail(3)) SWIG_fail;
10291 }
10292 {
10293 arg4 = wxString_in_helper(obj3);
10294 if (arg4 == NULL) SWIG_fail;
10295 temp4 = true;
10296 }
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
10304 Py_INCREF(Py_None); resultobj = Py_None;
10305 {
10306 if (temp4)
10307 delete arg4;
10308 }
10309 return resultobj;
10310 fail:
10311 {
10312 if (temp4)
10313 delete arg4;
10314 }
10315 return NULL;
10316 }
10317
10318
10319 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10320 PyObject *resultobj;
10321 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10322 long arg2 ;
10323 long arg3 ;
10324 PyObject * obj0 = 0 ;
10325 PyObject * obj1 = 0 ;
10326 PyObject * obj2 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "self",(char *) "from",(char *) "to", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail;
10334 {
10335 arg2 = (long)(SWIG_As_long(obj1));
10336 if (SWIG_arg_fail(2)) SWIG_fail;
10337 }
10338 {
10339 arg3 = (long)(SWIG_As_long(obj2));
10340 if (SWIG_arg_fail(3)) SWIG_fail;
10341 }
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 (arg1)->Remove(arg2,arg3);
10345
10346 wxPyEndAllowThreads(__tstate);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
10349 Py_INCREF(Py_None); resultobj = Py_None;
10350 return resultobj;
10351 fail:
10352 return NULL;
10353 }
10354
10355
10356 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj;
10358 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10359 wxString *arg2 = 0 ;
10360 bool result;
10361 bool temp2 = false ;
10362 PyObject * obj0 = 0 ;
10363 PyObject * obj1 = 0 ;
10364 char *kwnames[] = {
10365 (char *) "self",(char *) "file", NULL
10366 };
10367
10368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10370 if (SWIG_arg_fail(1)) SWIG_fail;
10371 {
10372 arg2 = wxString_in_helper(obj1);
10373 if (arg2 == NULL) SWIG_fail;
10374 temp2 = true;
10375 }
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 {
10384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10385 }
10386 {
10387 if (temp2)
10388 delete arg2;
10389 }
10390 return resultobj;
10391 fail:
10392 {
10393 if (temp2)
10394 delete arg2;
10395 }
10396 return NULL;
10397 }
10398
10399
10400 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj;
10402 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10403 wxString const &arg2_defvalue = wxPyEmptyString ;
10404 wxString *arg2 = (wxString *) &arg2_defvalue ;
10405 bool result;
10406 bool temp2 = false ;
10407 PyObject * obj0 = 0 ;
10408 PyObject * obj1 = 0 ;
10409 char *kwnames[] = {
10410 (char *) "self",(char *) "file", NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10415 if (SWIG_arg_fail(1)) SWIG_fail;
10416 if (obj1) {
10417 {
10418 arg2 = wxString_in_helper(obj1);
10419 if (arg2 == NULL) SWIG_fail;
10420 temp2 = true;
10421 }
10422 }
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
10425 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10426
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 {
10431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10432 }
10433 {
10434 if (temp2)
10435 delete arg2;
10436 }
10437 return resultobj;
10438 fail:
10439 {
10440 if (temp2)
10441 delete arg2;
10442 }
10443 return NULL;
10444 }
10445
10446
10447 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10448 PyObject *resultobj;
10449 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10450 PyObject * obj0 = 0 ;
10451 char *kwnames[] = {
10452 (char *) "self", NULL
10453 };
10454
10455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10457 if (SWIG_arg_fail(1)) SWIG_fail;
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 (arg1)->MarkDirty();
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 Py_INCREF(Py_None); resultobj = Py_None;
10466 return resultobj;
10467 fail:
10468 return NULL;
10469 }
10470
10471
10472 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10473 PyObject *resultobj;
10474 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10475 PyObject * obj0 = 0 ;
10476 char *kwnames[] = {
10477 (char *) "self", NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10482 if (SWIG_arg_fail(1)) SWIG_fail;
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 (arg1)->DiscardEdits();
10486
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 Py_INCREF(Py_None); resultobj = Py_None;
10491 return resultobj;
10492 fail:
10493 return NULL;
10494 }
10495
10496
10497 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10498 PyObject *resultobj;
10499 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10500 unsigned long arg2 ;
10501 PyObject * obj0 = 0 ;
10502 PyObject * obj1 = 0 ;
10503 char *kwnames[] = {
10504 (char *) "self",(char *) "len", NULL
10505 };
10506
10507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10509 if (SWIG_arg_fail(1)) SWIG_fail;
10510 {
10511 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10512 if (SWIG_arg_fail(2)) SWIG_fail;
10513 }
10514 {
10515 PyThreadState* __tstate = wxPyBeginAllowThreads();
10516 (arg1)->SetMaxLength(arg2);
10517
10518 wxPyEndAllowThreads(__tstate);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 }
10521 Py_INCREF(Py_None); resultobj = Py_None;
10522 return resultobj;
10523 fail:
10524 return NULL;
10525 }
10526
10527
10528 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj;
10530 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10531 wxString *arg2 = 0 ;
10532 bool temp2 = false ;
10533 PyObject * obj0 = 0 ;
10534 PyObject * obj1 = 0 ;
10535 char *kwnames[] = {
10536 (char *) "self",(char *) "text", NULL
10537 };
10538
10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10541 if (SWIG_arg_fail(1)) SWIG_fail;
10542 {
10543 arg2 = wxString_in_helper(obj1);
10544 if (arg2 == NULL) SWIG_fail;
10545 temp2 = true;
10546 }
10547 {
10548 PyThreadState* __tstate = wxPyBeginAllowThreads();
10549 (arg1)->WriteText((wxString const &)*arg2);
10550
10551 wxPyEndAllowThreads(__tstate);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
10554 Py_INCREF(Py_None); resultobj = Py_None;
10555 {
10556 if (temp2)
10557 delete arg2;
10558 }
10559 return resultobj;
10560 fail:
10561 {
10562 if (temp2)
10563 delete arg2;
10564 }
10565 return NULL;
10566 }
10567
10568
10569 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10570 PyObject *resultobj;
10571 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10572 wxString *arg2 = 0 ;
10573 bool temp2 = false ;
10574 PyObject * obj0 = 0 ;
10575 PyObject * obj1 = 0 ;
10576 char *kwnames[] = {
10577 (char *) "self",(char *) "text", NULL
10578 };
10579
10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10582 if (SWIG_arg_fail(1)) SWIG_fail;
10583 {
10584 arg2 = wxString_in_helper(obj1);
10585 if (arg2 == NULL) SWIG_fail;
10586 temp2 = true;
10587 }
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 (arg1)->AppendText((wxString const &)*arg2);
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 Py_INCREF(Py_None); resultobj = Py_None;
10596 {
10597 if (temp2)
10598 delete arg2;
10599 }
10600 return resultobj;
10601 fail:
10602 {
10603 if (temp2)
10604 delete arg2;
10605 }
10606 return NULL;
10607 }
10608
10609
10610 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10611 PyObject *resultobj;
10612 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10613 wxKeyEvent *arg2 = 0 ;
10614 bool result;
10615 PyObject * obj0 = 0 ;
10616 PyObject * obj1 = 0 ;
10617 char *kwnames[] = {
10618 (char *) "self",(char *) "event", NULL
10619 };
10620
10621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10623 if (SWIG_arg_fail(1)) SWIG_fail;
10624 {
10625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10626 if (SWIG_arg_fail(2)) SWIG_fail;
10627 if (arg2 == NULL) {
10628 SWIG_null_ref("wxKeyEvent");
10629 }
10630 if (SWIG_arg_fail(2)) SWIG_fail;
10631 }
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10635
10636 wxPyEndAllowThreads(__tstate);
10637 if (PyErr_Occurred()) SWIG_fail;
10638 }
10639 {
10640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10641 }
10642 return resultobj;
10643 fail:
10644 return NULL;
10645 }
10646
10647
10648 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10649 PyObject *resultobj;
10650 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10651 long arg2 ;
10652 long arg3 ;
10653 wxTextAttr *arg4 = 0 ;
10654 bool result;
10655 PyObject * obj0 = 0 ;
10656 PyObject * obj1 = 0 ;
10657 PyObject * obj2 = 0 ;
10658 PyObject * obj3 = 0 ;
10659 char *kwnames[] = {
10660 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10661 };
10662
10663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10665 if (SWIG_arg_fail(1)) SWIG_fail;
10666 {
10667 arg2 = (long)(SWIG_As_long(obj1));
10668 if (SWIG_arg_fail(2)) SWIG_fail;
10669 }
10670 {
10671 arg3 = (long)(SWIG_As_long(obj2));
10672 if (SWIG_arg_fail(3)) SWIG_fail;
10673 }
10674 {
10675 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10676 if (SWIG_arg_fail(4)) SWIG_fail;
10677 if (arg4 == NULL) {
10678 SWIG_null_ref("wxTextAttr");
10679 }
10680 if (SWIG_arg_fail(4)) SWIG_fail;
10681 }
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 {
10690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10691 }
10692 return resultobj;
10693 fail:
10694 return NULL;
10695 }
10696
10697
10698 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10699 PyObject *resultobj;
10700 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10701 long arg2 ;
10702 wxTextAttr *arg3 = 0 ;
10703 bool result;
10704 PyObject * obj0 = 0 ;
10705 PyObject * obj1 = 0 ;
10706 PyObject * obj2 = 0 ;
10707 char *kwnames[] = {
10708 (char *) "self",(char *) "position",(char *) "style", NULL
10709 };
10710
10711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10713 if (SWIG_arg_fail(1)) SWIG_fail;
10714 {
10715 arg2 = (long)(SWIG_As_long(obj1));
10716 if (SWIG_arg_fail(2)) SWIG_fail;
10717 }
10718 {
10719 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10720 if (SWIG_arg_fail(3)) SWIG_fail;
10721 if (arg3 == NULL) {
10722 SWIG_null_ref("wxTextAttr");
10723 }
10724 if (SWIG_arg_fail(3)) SWIG_fail;
10725 }
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
10728 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10729
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
10733 {
10734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10735 }
10736 return resultobj;
10737 fail:
10738 return NULL;
10739 }
10740
10741
10742 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10743 PyObject *resultobj;
10744 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10745 wxTextAttr *arg2 = 0 ;
10746 bool result;
10747 PyObject * obj0 = 0 ;
10748 PyObject * obj1 = 0 ;
10749 char *kwnames[] = {
10750 (char *) "self",(char *) "style", NULL
10751 };
10752
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10755 if (SWIG_arg_fail(1)) SWIG_fail;
10756 {
10757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10758 if (SWIG_arg_fail(2)) SWIG_fail;
10759 if (arg2 == NULL) {
10760 SWIG_null_ref("wxTextAttr");
10761 }
10762 if (SWIG_arg_fail(2)) SWIG_fail;
10763 }
10764 {
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
10771 {
10772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10773 }
10774 return resultobj;
10775 fail:
10776 return NULL;
10777 }
10778
10779
10780 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10781 PyObject *resultobj;
10782 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10783 wxTextAttr *result;
10784 PyObject * obj0 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "self", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
10794 {
10795 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10796 result = (wxTextAttr *) &_result_ref;
10797 }
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10803 return resultobj;
10804 fail:
10805 return NULL;
10806 }
10807
10808
10809 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10812 long arg2 ;
10813 long arg3 ;
10814 long result;
10815 PyObject * obj0 = 0 ;
10816 PyObject * obj1 = 0 ;
10817 PyObject * obj2 = 0 ;
10818 char *kwnames[] = {
10819 (char *) "self",(char *) "x",(char *) "y", NULL
10820 };
10821
10822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
10823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10824 if (SWIG_arg_fail(1)) SWIG_fail;
10825 {
10826 arg2 = (long)(SWIG_As_long(obj1));
10827 if (SWIG_arg_fail(2)) SWIG_fail;
10828 }
10829 {
10830 arg3 = (long)(SWIG_As_long(obj2));
10831 if (SWIG_arg_fail(3)) SWIG_fail;
10832 }
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 {
10841 resultobj = SWIG_From_long((long)(result));
10842 }
10843 return resultobj;
10844 fail:
10845 return NULL;
10846 }
10847
10848
10849 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
10850 PyObject *resultobj;
10851 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10852 long arg2 ;
10853 long *arg3 = (long *) 0 ;
10854 long *arg4 = (long *) 0 ;
10855 long temp3 ;
10856 int res3 = 0 ;
10857 long temp4 ;
10858 int res4 = 0 ;
10859 PyObject * obj0 = 0 ;
10860 PyObject * obj1 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "self",(char *) "pos", NULL
10863 };
10864
10865 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10866 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) 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 arg2 = (long)(SWIG_As_long(obj1));
10872 if (SWIG_arg_fail(2)) SWIG_fail;
10873 }
10874 {
10875 PyThreadState* __tstate = wxPyBeginAllowThreads();
10876 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10877
10878 wxPyEndAllowThreads(__tstate);
10879 if (PyErr_Occurred()) SWIG_fail;
10880 }
10881 Py_INCREF(Py_None); resultobj = Py_None;
10882 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10883 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10884 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10885 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10886 return resultobj;
10887 fail:
10888 return NULL;
10889 }
10890
10891
10892 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10893 PyObject *resultobj;
10894 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10895 long arg2 ;
10896 PyObject * obj0 = 0 ;
10897 PyObject * obj1 = 0 ;
10898 char *kwnames[] = {
10899 (char *) "self",(char *) "pos", NULL
10900 };
10901
10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
10903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10904 if (SWIG_arg_fail(1)) SWIG_fail;
10905 {
10906 arg2 = (long)(SWIG_As_long(obj1));
10907 if (SWIG_arg_fail(2)) SWIG_fail;
10908 }
10909 {
10910 PyThreadState* __tstate = wxPyBeginAllowThreads();
10911 (arg1)->ShowPosition(arg2);
10912
10913 wxPyEndAllowThreads(__tstate);
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 Py_INCREF(Py_None); resultobj = Py_None;
10917 return resultobj;
10918 fail:
10919 return NULL;
10920 }
10921
10922
10923 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
10924 PyObject *resultobj;
10925 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10926 wxPoint *arg2 = 0 ;
10927 long *arg3 = (long *) 0 ;
10928 long *arg4 = (long *) 0 ;
10929 wxTextCtrlHitTestResult result;
10930 wxPoint temp2 ;
10931 long temp3 ;
10932 int res3 = 0 ;
10933 long temp4 ;
10934 int res4 = 0 ;
10935 PyObject * obj0 = 0 ;
10936 PyObject * obj1 = 0 ;
10937 char *kwnames[] = {
10938 (char *) "self",(char *) "pt", NULL
10939 };
10940
10941 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10942 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
10944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10945 if (SWIG_arg_fail(1)) SWIG_fail;
10946 {
10947 arg2 = &temp2;
10948 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10949 }
10950 {
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
10953
10954 wxPyEndAllowThreads(__tstate);
10955 if (PyErr_Occurred()) SWIG_fail;
10956 }
10957 resultobj = SWIG_From_int((result));
10958 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10959 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10960 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10961 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10962 return resultobj;
10963 fail:
10964 return NULL;
10965 }
10966
10967
10968 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
10969 PyObject *resultobj;
10970 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10971 wxPoint *arg2 = 0 ;
10972 long *arg3 = (long *) 0 ;
10973 wxTextCtrlHitTestResult result;
10974 wxPoint temp2 ;
10975 long temp3 ;
10976 int res3 = 0 ;
10977 PyObject * obj0 = 0 ;
10978 PyObject * obj1 = 0 ;
10979 char *kwnames[] = {
10980 (char *) "self",(char *) "pt", NULL
10981 };
10982
10983 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
10985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10986 if (SWIG_arg_fail(1)) SWIG_fail;
10987 {
10988 arg2 = &temp2;
10989 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10990 }
10991 {
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
10994
10995 wxPyEndAllowThreads(__tstate);
10996 if (PyErr_Occurred()) SWIG_fail;
10997 }
10998 resultobj = SWIG_From_int((result));
10999 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
11000 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
11001 return resultobj;
11002 fail:
11003 return NULL;
11004 }
11005
11006
11007 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11008 PyObject *resultobj;
11009 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11010 PyObject * obj0 = 0 ;
11011 char *kwnames[] = {
11012 (char *) "self", NULL
11013 };
11014
11015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11017 if (SWIG_arg_fail(1)) SWIG_fail;
11018 {
11019 PyThreadState* __tstate = wxPyBeginAllowThreads();
11020 (arg1)->Copy();
11021
11022 wxPyEndAllowThreads(__tstate);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 }
11025 Py_INCREF(Py_None); resultobj = Py_None;
11026 return resultobj;
11027 fail:
11028 return NULL;
11029 }
11030
11031
11032 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11033 PyObject *resultobj;
11034 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11035 PyObject * obj0 = 0 ;
11036 char *kwnames[] = {
11037 (char *) "self", NULL
11038 };
11039
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11042 if (SWIG_arg_fail(1)) SWIG_fail;
11043 {
11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
11045 (arg1)->Cut();
11046
11047 wxPyEndAllowThreads(__tstate);
11048 if (PyErr_Occurred()) SWIG_fail;
11049 }
11050 Py_INCREF(Py_None); resultobj = Py_None;
11051 return resultobj;
11052 fail:
11053 return NULL;
11054 }
11055
11056
11057 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11058 PyObject *resultobj;
11059 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11060 PyObject * obj0 = 0 ;
11061 char *kwnames[] = {
11062 (char *) "self", NULL
11063 };
11064
11065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11067 if (SWIG_arg_fail(1)) SWIG_fail;
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 (arg1)->Paste();
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 Py_INCREF(Py_None); resultobj = Py_None;
11076 return resultobj;
11077 fail:
11078 return NULL;
11079 }
11080
11081
11082 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj;
11084 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11085 bool result;
11086 PyObject * obj0 = 0 ;
11087 char *kwnames[] = {
11088 (char *) "self", NULL
11089 };
11090
11091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11093 if (SWIG_arg_fail(1)) SWIG_fail;
11094 {
11095 PyThreadState* __tstate = wxPyBeginAllowThreads();
11096 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11097
11098 wxPyEndAllowThreads(__tstate);
11099 if (PyErr_Occurred()) SWIG_fail;
11100 }
11101 {
11102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11103 }
11104 return resultobj;
11105 fail:
11106 return NULL;
11107 }
11108
11109
11110 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11111 PyObject *resultobj;
11112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11113 bool result;
11114 PyObject * obj0 = 0 ;
11115 char *kwnames[] = {
11116 (char *) "self", NULL
11117 };
11118
11119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11121 if (SWIG_arg_fail(1)) SWIG_fail;
11122 {
11123 PyThreadState* __tstate = wxPyBeginAllowThreads();
11124 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11125
11126 wxPyEndAllowThreads(__tstate);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 }
11129 {
11130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11131 }
11132 return resultobj;
11133 fail:
11134 return NULL;
11135 }
11136
11137
11138 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj;
11140 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11141 bool result;
11142 PyObject * obj0 = 0 ;
11143 char *kwnames[] = {
11144 (char *) "self", NULL
11145 };
11146
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11149 if (SWIG_arg_fail(1)) SWIG_fail;
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 {
11158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11159 }
11160 return resultobj;
11161 fail:
11162 return NULL;
11163 }
11164
11165
11166 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11167 PyObject *resultobj;
11168 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11169 PyObject * obj0 = 0 ;
11170 char *kwnames[] = {
11171 (char *) "self", NULL
11172 };
11173
11174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11176 if (SWIG_arg_fail(1)) SWIG_fail;
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 (arg1)->Undo();
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 Py_INCREF(Py_None); resultobj = Py_None;
11185 return resultobj;
11186 fail:
11187 return NULL;
11188 }
11189
11190
11191 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj;
11193 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11194 PyObject * obj0 = 0 ;
11195 char *kwnames[] = {
11196 (char *) "self", NULL
11197 };
11198
11199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11201 if (SWIG_arg_fail(1)) SWIG_fail;
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 (arg1)->Redo();
11205
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 Py_INCREF(Py_None); resultobj = Py_None;
11210 return resultobj;
11211 fail:
11212 return NULL;
11213 }
11214
11215
11216 static PyObject *_wrap_TextCtrl_CanUndo(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_CanUndo",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)->CanUndo();
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_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11245 PyObject *resultobj;
11246 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11247 bool result;
11248 PyObject * obj0 = 0 ;
11249 char *kwnames[] = {
11250 (char *) "self", NULL
11251 };
11252
11253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11255 if (SWIG_arg_fail(1)) SWIG_fail;
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
11258 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11259
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
11263 {
11264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11265 }
11266 return resultobj;
11267 fail:
11268 return NULL;
11269 }
11270
11271
11272 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11273 PyObject *resultobj;
11274 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11275 long arg2 ;
11276 PyObject * obj0 = 0 ;
11277 PyObject * obj1 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self",(char *) "pos", NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11284 if (SWIG_arg_fail(1)) SWIG_fail;
11285 {
11286 arg2 = (long)(SWIG_As_long(obj1));
11287 if (SWIG_arg_fail(2)) SWIG_fail;
11288 }
11289 {
11290 PyThreadState* __tstate = wxPyBeginAllowThreads();
11291 (arg1)->SetInsertionPoint(arg2);
11292
11293 wxPyEndAllowThreads(__tstate);
11294 if (PyErr_Occurred()) SWIG_fail;
11295 }
11296 Py_INCREF(Py_None); resultobj = Py_None;
11297 return resultobj;
11298 fail:
11299 return NULL;
11300 }
11301
11302
11303 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11304 PyObject *resultobj;
11305 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11306 PyObject * obj0 = 0 ;
11307 char *kwnames[] = {
11308 (char *) "self", NULL
11309 };
11310
11311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11313 if (SWIG_arg_fail(1)) SWIG_fail;
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 (arg1)->SetInsertionPointEnd();
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 Py_INCREF(Py_None); resultobj = Py_None;
11322 return resultobj;
11323 fail:
11324 return NULL;
11325 }
11326
11327
11328 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11329 PyObject *resultobj;
11330 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11331 long result;
11332 PyObject * obj0 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "self", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11339 if (SWIG_arg_fail(1)) SWIG_fail;
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11343
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 }
11347 {
11348 resultobj = SWIG_From_long((long)(result));
11349 }
11350 return resultobj;
11351 fail:
11352 return NULL;
11353 }
11354
11355
11356 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11357 PyObject *resultobj;
11358 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11359 long result;
11360 PyObject * obj0 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "self", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11367 if (SWIG_arg_fail(1)) SWIG_fail;
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11371
11372 wxPyEndAllowThreads(__tstate);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 }
11375 {
11376 resultobj = SWIG_From_long((long)(result));
11377 }
11378 return resultobj;
11379 fail:
11380 return NULL;
11381 }
11382
11383
11384 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11385 PyObject *resultobj;
11386 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11387 long arg2 ;
11388 long arg3 ;
11389 PyObject * obj0 = 0 ;
11390 PyObject * obj1 = 0 ;
11391 PyObject * obj2 = 0 ;
11392 char *kwnames[] = {
11393 (char *) "self",(char *) "from",(char *) "to", NULL
11394 };
11395
11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11398 if (SWIG_arg_fail(1)) SWIG_fail;
11399 {
11400 arg2 = (long)(SWIG_As_long(obj1));
11401 if (SWIG_arg_fail(2)) SWIG_fail;
11402 }
11403 {
11404 arg3 = (long)(SWIG_As_long(obj2));
11405 if (SWIG_arg_fail(3)) SWIG_fail;
11406 }
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 (arg1)->SetSelection(arg2,arg3);
11410
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 Py_INCREF(Py_None); resultobj = Py_None;
11415 return resultobj;
11416 fail:
11417 return NULL;
11418 }
11419
11420
11421 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11422 PyObject *resultobj;
11423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11424 PyObject * obj0 = 0 ;
11425 char *kwnames[] = {
11426 (char *) "self", NULL
11427 };
11428
11429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11431 if (SWIG_arg_fail(1)) SWIG_fail;
11432 {
11433 PyThreadState* __tstate = wxPyBeginAllowThreads();
11434 (arg1)->SelectAll();
11435
11436 wxPyEndAllowThreads(__tstate);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 }
11439 Py_INCREF(Py_None); resultobj = Py_None;
11440 return resultobj;
11441 fail:
11442 return NULL;
11443 }
11444
11445
11446 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11447 PyObject *resultobj;
11448 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11449 bool arg2 ;
11450 PyObject * obj0 = 0 ;
11451 PyObject * obj1 = 0 ;
11452 char *kwnames[] = {
11453 (char *) "self",(char *) "editable", NULL
11454 };
11455
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11458 if (SWIG_arg_fail(1)) SWIG_fail;
11459 {
11460 arg2 = (bool)(SWIG_As_bool(obj1));
11461 if (SWIG_arg_fail(2)) SWIG_fail;
11462 }
11463 {
11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
11465 (arg1)->SetEditable(arg2);
11466
11467 wxPyEndAllowThreads(__tstate);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 Py_INCREF(Py_None); resultobj = Py_None;
11471 return resultobj;
11472 fail:
11473 return NULL;
11474 }
11475
11476
11477 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11480 wxString *arg2 = 0 ;
11481 bool temp2 = false ;
11482 PyObject * obj0 = 0 ;
11483 PyObject * obj1 = 0 ;
11484 char *kwnames[] = {
11485 (char *) "self",(char *) "text", NULL
11486 };
11487
11488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11490 if (SWIG_arg_fail(1)) SWIG_fail;
11491 {
11492 arg2 = wxString_in_helper(obj1);
11493 if (arg2 == NULL) SWIG_fail;
11494 temp2 = true;
11495 }
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 Py_INCREF(Py_None); resultobj = Py_None;
11504 {
11505 if (temp2)
11506 delete arg2;
11507 }
11508 return resultobj;
11509 fail:
11510 {
11511 if (temp2)
11512 delete arg2;
11513 }
11514 return NULL;
11515 }
11516
11517
11518 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11519 PyObject *resultobj;
11520 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11521 long arg2 ;
11522 long arg3 ;
11523 wxString result;
11524 PyObject * obj0 = 0 ;
11525 PyObject * obj1 = 0 ;
11526 PyObject * obj2 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self",(char *) "from",(char *) "to", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11533 if (SWIG_arg_fail(1)) SWIG_fail;
11534 {
11535 arg2 = (long)(SWIG_As_long(obj1));
11536 if (SWIG_arg_fail(2)) SWIG_fail;
11537 }
11538 {
11539 arg3 = (long)(SWIG_As_long(obj2));
11540 if (SWIG_arg_fail(3)) SWIG_fail;
11541 }
11542 {
11543 PyThreadState* __tstate = wxPyBeginAllowThreads();
11544 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11545
11546 wxPyEndAllowThreads(__tstate);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 }
11549 {
11550 #if wxUSE_UNICODE
11551 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11552 #else
11553 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11554 #endif
11555 }
11556 return resultobj;
11557 fail:
11558 return NULL;
11559 }
11560
11561
11562 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11563 PyObject *resultobj;
11564 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11565 wxVisualAttributes result;
11566 PyObject * obj0 = 0 ;
11567 char *kwnames[] = {
11568 (char *) "variant", NULL
11569 };
11570
11571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11572 if (obj0) {
11573 {
11574 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11575 if (SWIG_arg_fail(1)) SWIG_fail;
11576 }
11577 }
11578 {
11579 if (!wxPyCheckForApp()) SWIG_fail;
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 {
11587 wxVisualAttributes * resultptr;
11588 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
11589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11590 }
11591 return resultobj;
11592 fail:
11593 return NULL;
11594 }
11595
11596
11597 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11598 PyObject *obj;
11599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11600 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11601 Py_INCREF(obj);
11602 return Py_BuildValue((char *)"");
11603 }
11604 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11605 PyObject *resultobj;
11606 int arg1 ;
11607 wxMouseEvent *arg2 = 0 ;
11608 long arg3 ;
11609 long arg4 ;
11610 wxTextUrlEvent *result;
11611 PyObject * obj0 = 0 ;
11612 PyObject * obj1 = 0 ;
11613 PyObject * obj2 = 0 ;
11614 PyObject * obj3 = 0 ;
11615 char *kwnames[] = {
11616 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11617 };
11618
11619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11620 {
11621 arg1 = (int)(SWIG_As_int(obj0));
11622 if (SWIG_arg_fail(1)) SWIG_fail;
11623 }
11624 {
11625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11626 if (SWIG_arg_fail(2)) SWIG_fail;
11627 if (arg2 == NULL) {
11628 SWIG_null_ref("wxMouseEvent");
11629 }
11630 if (SWIG_arg_fail(2)) SWIG_fail;
11631 }
11632 {
11633 arg3 = (long)(SWIG_As_long(obj2));
11634 if (SWIG_arg_fail(3)) SWIG_fail;
11635 }
11636 {
11637 arg4 = (long)(SWIG_As_long(obj3));
11638 if (SWIG_arg_fail(4)) SWIG_fail;
11639 }
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11648 return resultobj;
11649 fail:
11650 return NULL;
11651 }
11652
11653
11654 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11655 PyObject *resultobj;
11656 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11657 wxMouseEvent *result;
11658 PyObject * obj0 = 0 ;
11659 char *kwnames[] = {
11660 (char *) "self", NULL
11661 };
11662
11663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
11664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11665 if (SWIG_arg_fail(1)) SWIG_fail;
11666 {
11667 PyThreadState* __tstate = wxPyBeginAllowThreads();
11668 {
11669 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11670 result = (wxMouseEvent *) &_result_ref;
11671 }
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj;
11685 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11686 long result;
11687 PyObject * obj0 = 0 ;
11688 char *kwnames[] = {
11689 (char *) "self", NULL
11690 };
11691
11692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11694 if (SWIG_arg_fail(1)) SWIG_fail;
11695 {
11696 PyThreadState* __tstate = wxPyBeginAllowThreads();
11697 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11698
11699 wxPyEndAllowThreads(__tstate);
11700 if (PyErr_Occurred()) SWIG_fail;
11701 }
11702 {
11703 resultobj = SWIG_From_long((long)(result));
11704 }
11705 return resultobj;
11706 fail:
11707 return NULL;
11708 }
11709
11710
11711 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11712 PyObject *resultobj;
11713 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11714 long result;
11715 PyObject * obj0 = 0 ;
11716 char *kwnames[] = {
11717 (char *) "self", NULL
11718 };
11719
11720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11722 if (SWIG_arg_fail(1)) SWIG_fail;
11723 {
11724 PyThreadState* __tstate = wxPyBeginAllowThreads();
11725 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11726
11727 wxPyEndAllowThreads(__tstate);
11728 if (PyErr_Occurred()) SWIG_fail;
11729 }
11730 {
11731 resultobj = SWIG_From_long((long)(result));
11732 }
11733 return resultobj;
11734 fail:
11735 return NULL;
11736 }
11737
11738
11739 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11740 PyObject *obj;
11741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11742 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11743 Py_INCREF(obj);
11744 return Py_BuildValue((char *)"");
11745 }
11746 static int _wrap_ScrollBarNameStr_set(PyObject *) {
11747 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11748 return 1;
11749 }
11750
11751
11752 static PyObject *_wrap_ScrollBarNameStr_get(void) {
11753 PyObject *pyobj;
11754
11755 {
11756 #if wxUSE_UNICODE
11757 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11758 #else
11759 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11760 #endif
11761 }
11762 return pyobj;
11763 }
11764
11765
11766 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11767 PyObject *resultobj;
11768 wxWindow *arg1 = (wxWindow *) 0 ;
11769 int arg2 = (int) -1 ;
11770 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11771 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11772 wxSize const &arg4_defvalue = wxDefaultSize ;
11773 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11774 long arg5 = (long) wxSB_HORIZONTAL ;
11775 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11776 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11777 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11778 wxString *arg7 = (wxString *) &arg7_defvalue ;
11779 wxScrollBar *result;
11780 wxPoint temp3 ;
11781 wxSize temp4 ;
11782 bool temp7 = false ;
11783 PyObject * obj0 = 0 ;
11784 PyObject * obj1 = 0 ;
11785 PyObject * obj2 = 0 ;
11786 PyObject * obj3 = 0 ;
11787 PyObject * obj4 = 0 ;
11788 PyObject * obj5 = 0 ;
11789 PyObject * obj6 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11796 if (SWIG_arg_fail(1)) SWIG_fail;
11797 if (obj1) {
11798 {
11799 arg2 = (int)(SWIG_As_int(obj1));
11800 if (SWIG_arg_fail(2)) SWIG_fail;
11801 }
11802 }
11803 if (obj2) {
11804 {
11805 arg3 = &temp3;
11806 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11807 }
11808 }
11809 if (obj3) {
11810 {
11811 arg4 = &temp4;
11812 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11813 }
11814 }
11815 if (obj4) {
11816 {
11817 arg5 = (long)(SWIG_As_long(obj4));
11818 if (SWIG_arg_fail(5)) SWIG_fail;
11819 }
11820 }
11821 if (obj5) {
11822 {
11823 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11824 if (SWIG_arg_fail(6)) SWIG_fail;
11825 if (arg6 == NULL) {
11826 SWIG_null_ref("wxValidator");
11827 }
11828 if (SWIG_arg_fail(6)) SWIG_fail;
11829 }
11830 }
11831 if (obj6) {
11832 {
11833 arg7 = wxString_in_helper(obj6);
11834 if (arg7 == NULL) SWIG_fail;
11835 temp7 = true;
11836 }
11837 }
11838 {
11839 if (!wxPyCheckForApp()) SWIG_fail;
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11842
11843 wxPyEndAllowThreads(__tstate);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11847 {
11848 if (temp7)
11849 delete arg7;
11850 }
11851 return resultobj;
11852 fail:
11853 {
11854 if (temp7)
11855 delete arg7;
11856 }
11857 return NULL;
11858 }
11859
11860
11861 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11862 PyObject *resultobj;
11863 wxScrollBar *result;
11864 char *kwnames[] = {
11865 NULL
11866 };
11867
11868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11869 {
11870 if (!wxPyCheckForApp()) SWIG_fail;
11871 PyThreadState* __tstate = wxPyBeginAllowThreads();
11872 result = (wxScrollBar *)new wxScrollBar();
11873
11874 wxPyEndAllowThreads(__tstate);
11875 if (PyErr_Occurred()) SWIG_fail;
11876 }
11877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11878 return resultobj;
11879 fail:
11880 return NULL;
11881 }
11882
11883
11884 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11885 PyObject *resultobj;
11886 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11887 wxWindow *arg2 = (wxWindow *) 0 ;
11888 int arg3 = (int) -1 ;
11889 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11890 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11891 wxSize const &arg5_defvalue = wxDefaultSize ;
11892 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11893 long arg6 = (long) wxSB_HORIZONTAL ;
11894 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11895 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11896 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11897 wxString *arg8 = (wxString *) &arg8_defvalue ;
11898 bool result;
11899 wxPoint temp4 ;
11900 wxSize temp5 ;
11901 bool temp8 = false ;
11902 PyObject * obj0 = 0 ;
11903 PyObject * obj1 = 0 ;
11904 PyObject * obj2 = 0 ;
11905 PyObject * obj3 = 0 ;
11906 PyObject * obj4 = 0 ;
11907 PyObject * obj5 = 0 ;
11908 PyObject * obj6 = 0 ;
11909 PyObject * obj7 = 0 ;
11910 char *kwnames[] = {
11911 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11912 };
11913
11914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11916 if (SWIG_arg_fail(1)) SWIG_fail;
11917 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11918 if (SWIG_arg_fail(2)) SWIG_fail;
11919 if (obj2) {
11920 {
11921 arg3 = (int)(SWIG_As_int(obj2));
11922 if (SWIG_arg_fail(3)) SWIG_fail;
11923 }
11924 }
11925 if (obj3) {
11926 {
11927 arg4 = &temp4;
11928 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11929 }
11930 }
11931 if (obj4) {
11932 {
11933 arg5 = &temp5;
11934 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11935 }
11936 }
11937 if (obj5) {
11938 {
11939 arg6 = (long)(SWIG_As_long(obj5));
11940 if (SWIG_arg_fail(6)) SWIG_fail;
11941 }
11942 }
11943 if (obj6) {
11944 {
11945 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11946 if (SWIG_arg_fail(7)) SWIG_fail;
11947 if (arg7 == NULL) {
11948 SWIG_null_ref("wxValidator");
11949 }
11950 if (SWIG_arg_fail(7)) SWIG_fail;
11951 }
11952 }
11953 if (obj7) {
11954 {
11955 arg8 = wxString_in_helper(obj7);
11956 if (arg8 == NULL) SWIG_fail;
11957 temp8 = true;
11958 }
11959 }
11960 {
11961 PyThreadState* __tstate = wxPyBeginAllowThreads();
11962 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11963
11964 wxPyEndAllowThreads(__tstate);
11965 if (PyErr_Occurred()) SWIG_fail;
11966 }
11967 {
11968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11969 }
11970 {
11971 if (temp8)
11972 delete arg8;
11973 }
11974 return resultobj;
11975 fail:
11976 {
11977 if (temp8)
11978 delete arg8;
11979 }
11980 return NULL;
11981 }
11982
11983
11984 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11985 PyObject *resultobj;
11986 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11987 int result;
11988 PyObject * obj0 = 0 ;
11989 char *kwnames[] = {
11990 (char *) "self", NULL
11991 };
11992
11993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
11994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11995 if (SWIG_arg_fail(1)) SWIG_fail;
11996 {
11997 PyThreadState* __tstate = wxPyBeginAllowThreads();
11998 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
11999
12000 wxPyEndAllowThreads(__tstate);
12001 if (PyErr_Occurred()) SWIG_fail;
12002 }
12003 {
12004 resultobj = SWIG_From_int((int)(result));
12005 }
12006 return resultobj;
12007 fail:
12008 return NULL;
12009 }
12010
12011
12012 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12013 PyObject *resultobj;
12014 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12015 int result;
12016 PyObject * obj0 = 0 ;
12017 char *kwnames[] = {
12018 (char *) "self", NULL
12019 };
12020
12021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12023 if (SWIG_arg_fail(1)) SWIG_fail;
12024 {
12025 PyThreadState* __tstate = wxPyBeginAllowThreads();
12026 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12027
12028 wxPyEndAllowThreads(__tstate);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 {
12032 resultobj = SWIG_From_int((int)(result));
12033 }
12034 return resultobj;
12035 fail:
12036 return NULL;
12037 }
12038
12039
12040 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj;
12042 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12043 int result;
12044 PyObject * obj0 = 0 ;
12045 char *kwnames[] = {
12046 (char *) "self", NULL
12047 };
12048
12049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12051 if (SWIG_arg_fail(1)) SWIG_fail;
12052 {
12053 PyThreadState* __tstate = wxPyBeginAllowThreads();
12054 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12055
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 {
12060 resultobj = SWIG_From_int((int)(result));
12061 }
12062 return resultobj;
12063 fail:
12064 return NULL;
12065 }
12066
12067
12068 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12069 PyObject *resultobj;
12070 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12071 int result;
12072 PyObject * obj0 = 0 ;
12073 char *kwnames[] = {
12074 (char *) "self", NULL
12075 };
12076
12077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
12078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12079 if (SWIG_arg_fail(1)) SWIG_fail;
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 result = (int)((wxScrollBar const *)arg1)->GetRange();
12083
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 {
12088 resultobj = SWIG_From_int((int)(result));
12089 }
12090 return resultobj;
12091 fail:
12092 return NULL;
12093 }
12094
12095
12096 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12097 PyObject *resultobj;
12098 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12099 bool result;
12100 PyObject * obj0 = 0 ;
12101 char *kwnames[] = {
12102 (char *) "self", NULL
12103 };
12104
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12107 if (SWIG_arg_fail(1)) SWIG_fail;
12108 {
12109 PyThreadState* __tstate = wxPyBeginAllowThreads();
12110 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12111
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 {
12116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12117 }
12118 return resultobj;
12119 fail:
12120 return NULL;
12121 }
12122
12123
12124 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12125 PyObject *resultobj;
12126 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12127 int arg2 ;
12128 PyObject * obj0 = 0 ;
12129 PyObject * obj1 = 0 ;
12130 char *kwnames[] = {
12131 (char *) "self",(char *) "viewStart", NULL
12132 };
12133
12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12136 if (SWIG_arg_fail(1)) SWIG_fail;
12137 {
12138 arg2 = (int)(SWIG_As_int(obj1));
12139 if (SWIG_arg_fail(2)) SWIG_fail;
12140 }
12141 {
12142 PyThreadState* __tstate = wxPyBeginAllowThreads();
12143 (arg1)->SetThumbPosition(arg2);
12144
12145 wxPyEndAllowThreads(__tstate);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 }
12148 Py_INCREF(Py_None); resultobj = Py_None;
12149 return resultobj;
12150 fail:
12151 return NULL;
12152 }
12153
12154
12155 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12156 PyObject *resultobj;
12157 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12158 int arg2 ;
12159 int arg3 ;
12160 int arg4 ;
12161 int arg5 ;
12162 bool arg6 = (bool) true ;
12163 PyObject * obj0 = 0 ;
12164 PyObject * obj1 = 0 ;
12165 PyObject * obj2 = 0 ;
12166 PyObject * obj3 = 0 ;
12167 PyObject * obj4 = 0 ;
12168 PyObject * obj5 = 0 ;
12169 char *kwnames[] = {
12170 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12171 };
12172
12173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12175 if (SWIG_arg_fail(1)) SWIG_fail;
12176 {
12177 arg2 = (int)(SWIG_As_int(obj1));
12178 if (SWIG_arg_fail(2)) SWIG_fail;
12179 }
12180 {
12181 arg3 = (int)(SWIG_As_int(obj2));
12182 if (SWIG_arg_fail(3)) SWIG_fail;
12183 }
12184 {
12185 arg4 = (int)(SWIG_As_int(obj3));
12186 if (SWIG_arg_fail(4)) SWIG_fail;
12187 }
12188 {
12189 arg5 = (int)(SWIG_As_int(obj4));
12190 if (SWIG_arg_fail(5)) SWIG_fail;
12191 }
12192 if (obj5) {
12193 {
12194 arg6 = (bool)(SWIG_As_bool(obj5));
12195 if (SWIG_arg_fail(6)) SWIG_fail;
12196 }
12197 }
12198 {
12199 PyThreadState* __tstate = wxPyBeginAllowThreads();
12200 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12201
12202 wxPyEndAllowThreads(__tstate);
12203 if (PyErr_Occurred()) SWIG_fail;
12204 }
12205 Py_INCREF(Py_None); resultobj = Py_None;
12206 return resultobj;
12207 fail:
12208 return NULL;
12209 }
12210
12211
12212 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12213 PyObject *resultobj;
12214 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12215 wxVisualAttributes result;
12216 PyObject * obj0 = 0 ;
12217 char *kwnames[] = {
12218 (char *) "variant", NULL
12219 };
12220
12221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12222 if (obj0) {
12223 {
12224 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12225 if (SWIG_arg_fail(1)) SWIG_fail;
12226 }
12227 }
12228 {
12229 if (!wxPyCheckForApp()) SWIG_fail;
12230 PyThreadState* __tstate = wxPyBeginAllowThreads();
12231 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12232
12233 wxPyEndAllowThreads(__tstate);
12234 if (PyErr_Occurred()) SWIG_fail;
12235 }
12236 {
12237 wxVisualAttributes * resultptr;
12238 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12240 }
12241 return resultobj;
12242 fail:
12243 return NULL;
12244 }
12245
12246
12247 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12248 PyObject *obj;
12249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12250 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12251 Py_INCREF(obj);
12252 return Py_BuildValue((char *)"");
12253 }
12254 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12255 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12256 return 1;
12257 }
12258
12259
12260 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12261 PyObject *pyobj;
12262
12263 {
12264 #if wxUSE_UNICODE
12265 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12266 #else
12267 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12268 #endif
12269 }
12270 return pyobj;
12271 }
12272
12273
12274 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12275 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12276 return 1;
12277 }
12278
12279
12280 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12281 PyObject *pyobj;
12282
12283 {
12284 #if wxUSE_UNICODE
12285 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12286 #else
12287 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12288 #endif
12289 }
12290 return pyobj;
12291 }
12292
12293
12294 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12295 PyObject *resultobj;
12296 wxWindow *arg1 = (wxWindow *) 0 ;
12297 int arg2 = (int) -1 ;
12298 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12299 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12300 wxSize const &arg4_defvalue = wxDefaultSize ;
12301 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12302 long arg5 = (long) wxSP_HORIZONTAL ;
12303 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12304 wxString *arg6 = (wxString *) &arg6_defvalue ;
12305 wxSpinButton *result;
12306 wxPoint temp3 ;
12307 wxSize temp4 ;
12308 bool temp6 = false ;
12309 PyObject * obj0 = 0 ;
12310 PyObject * obj1 = 0 ;
12311 PyObject * obj2 = 0 ;
12312 PyObject * obj3 = 0 ;
12313 PyObject * obj4 = 0 ;
12314 PyObject * obj5 = 0 ;
12315 char *kwnames[] = {
12316 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12321 if (SWIG_arg_fail(1)) SWIG_fail;
12322 if (obj1) {
12323 {
12324 arg2 = (int)(SWIG_As_int(obj1));
12325 if (SWIG_arg_fail(2)) SWIG_fail;
12326 }
12327 }
12328 if (obj2) {
12329 {
12330 arg3 = &temp3;
12331 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12332 }
12333 }
12334 if (obj3) {
12335 {
12336 arg4 = &temp4;
12337 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12338 }
12339 }
12340 if (obj4) {
12341 {
12342 arg5 = (long)(SWIG_As_long(obj4));
12343 if (SWIG_arg_fail(5)) SWIG_fail;
12344 }
12345 }
12346 if (obj5) {
12347 {
12348 arg6 = wxString_in_helper(obj5);
12349 if (arg6 == NULL) SWIG_fail;
12350 temp6 = true;
12351 }
12352 }
12353 {
12354 if (!wxPyCheckForApp()) SWIG_fail;
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12357
12358 wxPyEndAllowThreads(__tstate);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 }
12361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12362 {
12363 if (temp6)
12364 delete arg6;
12365 }
12366 return resultobj;
12367 fail:
12368 {
12369 if (temp6)
12370 delete arg6;
12371 }
12372 return NULL;
12373 }
12374
12375
12376 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12377 PyObject *resultobj;
12378 wxSpinButton *result;
12379 char *kwnames[] = {
12380 NULL
12381 };
12382
12383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12384 {
12385 if (!wxPyCheckForApp()) SWIG_fail;
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 result = (wxSpinButton *)new wxSpinButton();
12388
12389 wxPyEndAllowThreads(__tstate);
12390 if (PyErr_Occurred()) SWIG_fail;
12391 }
12392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12393 return resultobj;
12394 fail:
12395 return NULL;
12396 }
12397
12398
12399 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12400 PyObject *resultobj;
12401 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12402 wxWindow *arg2 = (wxWindow *) 0 ;
12403 int arg3 = (int) -1 ;
12404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12406 wxSize const &arg5_defvalue = wxDefaultSize ;
12407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12408 long arg6 = (long) wxSP_HORIZONTAL ;
12409 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12410 wxString *arg7 = (wxString *) &arg7_defvalue ;
12411 bool result;
12412 wxPoint temp4 ;
12413 wxSize temp5 ;
12414 bool temp7 = false ;
12415 PyObject * obj0 = 0 ;
12416 PyObject * obj1 = 0 ;
12417 PyObject * obj2 = 0 ;
12418 PyObject * obj3 = 0 ;
12419 PyObject * obj4 = 0 ;
12420 PyObject * obj5 = 0 ;
12421 PyObject * obj6 = 0 ;
12422 char *kwnames[] = {
12423 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12424 };
12425
12426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12428 if (SWIG_arg_fail(1)) SWIG_fail;
12429 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12430 if (SWIG_arg_fail(2)) SWIG_fail;
12431 if (obj2) {
12432 {
12433 arg3 = (int)(SWIG_As_int(obj2));
12434 if (SWIG_arg_fail(3)) SWIG_fail;
12435 }
12436 }
12437 if (obj3) {
12438 {
12439 arg4 = &temp4;
12440 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12441 }
12442 }
12443 if (obj4) {
12444 {
12445 arg5 = &temp5;
12446 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12447 }
12448 }
12449 if (obj5) {
12450 {
12451 arg6 = (long)(SWIG_As_long(obj5));
12452 if (SWIG_arg_fail(6)) SWIG_fail;
12453 }
12454 }
12455 if (obj6) {
12456 {
12457 arg7 = wxString_in_helper(obj6);
12458 if (arg7 == NULL) SWIG_fail;
12459 temp7 = true;
12460 }
12461 }
12462 {
12463 PyThreadState* __tstate = wxPyBeginAllowThreads();
12464 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12465
12466 wxPyEndAllowThreads(__tstate);
12467 if (PyErr_Occurred()) SWIG_fail;
12468 }
12469 {
12470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12471 }
12472 {
12473 if (temp7)
12474 delete arg7;
12475 }
12476 return resultobj;
12477 fail:
12478 {
12479 if (temp7)
12480 delete arg7;
12481 }
12482 return NULL;
12483 }
12484
12485
12486 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12487 PyObject *resultobj;
12488 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12489 int result;
12490 PyObject * obj0 = 0 ;
12491 char *kwnames[] = {
12492 (char *) "self", NULL
12493 };
12494
12495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12497 if (SWIG_arg_fail(1)) SWIG_fail;
12498 {
12499 PyThreadState* __tstate = wxPyBeginAllowThreads();
12500 result = (int)((wxSpinButton const *)arg1)->GetValue();
12501
12502 wxPyEndAllowThreads(__tstate);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 }
12505 {
12506 resultobj = SWIG_From_int((int)(result));
12507 }
12508 return resultobj;
12509 fail:
12510 return NULL;
12511 }
12512
12513
12514 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12515 PyObject *resultobj;
12516 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12517 int result;
12518 PyObject * obj0 = 0 ;
12519 char *kwnames[] = {
12520 (char *) "self", NULL
12521 };
12522
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
12524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12525 if (SWIG_arg_fail(1)) SWIG_fail;
12526 {
12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
12528 result = (int)((wxSpinButton const *)arg1)->GetMin();
12529
12530 wxPyEndAllowThreads(__tstate);
12531 if (PyErr_Occurred()) SWIG_fail;
12532 }
12533 {
12534 resultobj = SWIG_From_int((int)(result));
12535 }
12536 return resultobj;
12537 fail:
12538 return NULL;
12539 }
12540
12541
12542 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12543 PyObject *resultobj;
12544 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12545 int result;
12546 PyObject * obj0 = 0 ;
12547 char *kwnames[] = {
12548 (char *) "self", NULL
12549 };
12550
12551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12553 if (SWIG_arg_fail(1)) SWIG_fail;
12554 {
12555 PyThreadState* __tstate = wxPyBeginAllowThreads();
12556 result = (int)((wxSpinButton const *)arg1)->GetMax();
12557
12558 wxPyEndAllowThreads(__tstate);
12559 if (PyErr_Occurred()) SWIG_fail;
12560 }
12561 {
12562 resultobj = SWIG_From_int((int)(result));
12563 }
12564 return resultobj;
12565 fail:
12566 return NULL;
12567 }
12568
12569
12570 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12571 PyObject *resultobj;
12572 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12573 int arg2 ;
12574 PyObject * obj0 = 0 ;
12575 PyObject * obj1 = 0 ;
12576 char *kwnames[] = {
12577 (char *) "self",(char *) "val", NULL
12578 };
12579
12580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12582 if (SWIG_arg_fail(1)) SWIG_fail;
12583 {
12584 arg2 = (int)(SWIG_As_int(obj1));
12585 if (SWIG_arg_fail(2)) SWIG_fail;
12586 }
12587 {
12588 PyThreadState* __tstate = wxPyBeginAllowThreads();
12589 (arg1)->SetValue(arg2);
12590
12591 wxPyEndAllowThreads(__tstate);
12592 if (PyErr_Occurred()) SWIG_fail;
12593 }
12594 Py_INCREF(Py_None); resultobj = Py_None;
12595 return resultobj;
12596 fail:
12597 return NULL;
12598 }
12599
12600
12601 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12602 PyObject *resultobj;
12603 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12604 int arg2 ;
12605 PyObject * obj0 = 0 ;
12606 PyObject * obj1 = 0 ;
12607 char *kwnames[] = {
12608 (char *) "self",(char *) "minVal", NULL
12609 };
12610
12611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12613 if (SWIG_arg_fail(1)) SWIG_fail;
12614 {
12615 arg2 = (int)(SWIG_As_int(obj1));
12616 if (SWIG_arg_fail(2)) SWIG_fail;
12617 }
12618 {
12619 PyThreadState* __tstate = wxPyBeginAllowThreads();
12620 (arg1)->SetMin(arg2);
12621
12622 wxPyEndAllowThreads(__tstate);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 }
12625 Py_INCREF(Py_None); resultobj = Py_None;
12626 return resultobj;
12627 fail:
12628 return NULL;
12629 }
12630
12631
12632 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12633 PyObject *resultobj;
12634 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12635 int arg2 ;
12636 PyObject * obj0 = 0 ;
12637 PyObject * obj1 = 0 ;
12638 char *kwnames[] = {
12639 (char *) "self",(char *) "maxVal", NULL
12640 };
12641
12642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12644 if (SWIG_arg_fail(1)) SWIG_fail;
12645 {
12646 arg2 = (int)(SWIG_As_int(obj1));
12647 if (SWIG_arg_fail(2)) SWIG_fail;
12648 }
12649 {
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 (arg1)->SetMax(arg2);
12652
12653 wxPyEndAllowThreads(__tstate);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
12656 Py_INCREF(Py_None); resultobj = Py_None;
12657 return resultobj;
12658 fail:
12659 return NULL;
12660 }
12661
12662
12663 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12664 PyObject *resultobj;
12665 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12666 int arg2 ;
12667 int arg3 ;
12668 PyObject * obj0 = 0 ;
12669 PyObject * obj1 = 0 ;
12670 PyObject * obj2 = 0 ;
12671 char *kwnames[] = {
12672 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12673 };
12674
12675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12677 if (SWIG_arg_fail(1)) SWIG_fail;
12678 {
12679 arg2 = (int)(SWIG_As_int(obj1));
12680 if (SWIG_arg_fail(2)) SWIG_fail;
12681 }
12682 {
12683 arg3 = (int)(SWIG_As_int(obj2));
12684 if (SWIG_arg_fail(3)) SWIG_fail;
12685 }
12686 {
12687 PyThreadState* __tstate = wxPyBeginAllowThreads();
12688 (arg1)->SetRange(arg2,arg3);
12689
12690 wxPyEndAllowThreads(__tstate);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 }
12693 Py_INCREF(Py_None); resultobj = Py_None;
12694 return resultobj;
12695 fail:
12696 return NULL;
12697 }
12698
12699
12700 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12701 PyObject *resultobj;
12702 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12703 bool result;
12704 PyObject * obj0 = 0 ;
12705 char *kwnames[] = {
12706 (char *) "self", NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail;
12712 {
12713 PyThreadState* __tstate = wxPyBeginAllowThreads();
12714 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12715
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
12719 {
12720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12721 }
12722 return resultobj;
12723 fail:
12724 return NULL;
12725 }
12726
12727
12728 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12729 PyObject *resultobj;
12730 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12731 wxVisualAttributes result;
12732 PyObject * obj0 = 0 ;
12733 char *kwnames[] = {
12734 (char *) "variant", NULL
12735 };
12736
12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12738 if (obj0) {
12739 {
12740 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12741 if (SWIG_arg_fail(1)) SWIG_fail;
12742 }
12743 }
12744 {
12745 if (!wxPyCheckForApp()) SWIG_fail;
12746 PyThreadState* __tstate = wxPyBeginAllowThreads();
12747 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12748
12749 wxPyEndAllowThreads(__tstate);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 {
12753 wxVisualAttributes * resultptr;
12754 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12755 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12756 }
12757 return resultobj;
12758 fail:
12759 return NULL;
12760 }
12761
12762
12763 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12764 PyObject *obj;
12765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12766 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12767 Py_INCREF(obj);
12768 return Py_BuildValue((char *)"");
12769 }
12770 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12771 PyObject *resultobj;
12772 wxWindow *arg1 = (wxWindow *) 0 ;
12773 int arg2 = (int) -1 ;
12774 wxString const &arg3_defvalue = wxPyEmptyString ;
12775 wxString *arg3 = (wxString *) &arg3_defvalue ;
12776 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12777 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12778 wxSize const &arg5_defvalue = wxDefaultSize ;
12779 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12780 long arg6 = (long) wxSP_ARROW_KEYS ;
12781 int arg7 = (int) 0 ;
12782 int arg8 = (int) 100 ;
12783 int arg9 = (int) 0 ;
12784 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12785 wxString *arg10 = (wxString *) &arg10_defvalue ;
12786 wxSpinCtrl *result;
12787 bool temp3 = false ;
12788 wxPoint temp4 ;
12789 wxSize temp5 ;
12790 bool temp10 = false ;
12791 PyObject * obj0 = 0 ;
12792 PyObject * obj1 = 0 ;
12793 PyObject * obj2 = 0 ;
12794 PyObject * obj3 = 0 ;
12795 PyObject * obj4 = 0 ;
12796 PyObject * obj5 = 0 ;
12797 PyObject * obj6 = 0 ;
12798 PyObject * obj7 = 0 ;
12799 PyObject * obj8 = 0 ;
12800 PyObject * obj9 = 0 ;
12801 char *kwnames[] = {
12802 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12803 };
12804
12805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12807 if (SWIG_arg_fail(1)) SWIG_fail;
12808 if (obj1) {
12809 {
12810 arg2 = (int)(SWIG_As_int(obj1));
12811 if (SWIG_arg_fail(2)) SWIG_fail;
12812 }
12813 }
12814 if (obj2) {
12815 {
12816 arg3 = wxString_in_helper(obj2);
12817 if (arg3 == NULL) SWIG_fail;
12818 temp3 = true;
12819 }
12820 }
12821 if (obj3) {
12822 {
12823 arg4 = &temp4;
12824 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12825 }
12826 }
12827 if (obj4) {
12828 {
12829 arg5 = &temp5;
12830 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12831 }
12832 }
12833 if (obj5) {
12834 {
12835 arg6 = (long)(SWIG_As_long(obj5));
12836 if (SWIG_arg_fail(6)) SWIG_fail;
12837 }
12838 }
12839 if (obj6) {
12840 {
12841 arg7 = (int)(SWIG_As_int(obj6));
12842 if (SWIG_arg_fail(7)) SWIG_fail;
12843 }
12844 }
12845 if (obj7) {
12846 {
12847 arg8 = (int)(SWIG_As_int(obj7));
12848 if (SWIG_arg_fail(8)) SWIG_fail;
12849 }
12850 }
12851 if (obj8) {
12852 {
12853 arg9 = (int)(SWIG_As_int(obj8));
12854 if (SWIG_arg_fail(9)) SWIG_fail;
12855 }
12856 }
12857 if (obj9) {
12858 {
12859 arg10 = wxString_in_helper(obj9);
12860 if (arg10 == NULL) SWIG_fail;
12861 temp10 = true;
12862 }
12863 }
12864 {
12865 if (!wxPyCheckForApp()) SWIG_fail;
12866 PyThreadState* __tstate = wxPyBeginAllowThreads();
12867 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12868
12869 wxPyEndAllowThreads(__tstate);
12870 if (PyErr_Occurred()) SWIG_fail;
12871 }
12872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12873 {
12874 if (temp3)
12875 delete arg3;
12876 }
12877 {
12878 if (temp10)
12879 delete arg10;
12880 }
12881 return resultobj;
12882 fail:
12883 {
12884 if (temp3)
12885 delete arg3;
12886 }
12887 {
12888 if (temp10)
12889 delete arg10;
12890 }
12891 return NULL;
12892 }
12893
12894
12895 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12896 PyObject *resultobj;
12897 wxSpinCtrl *result;
12898 char *kwnames[] = {
12899 NULL
12900 };
12901
12902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12903 {
12904 if (!wxPyCheckForApp()) SWIG_fail;
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 result = (wxSpinCtrl *)new wxSpinCtrl();
12907
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12912 return resultobj;
12913 fail:
12914 return NULL;
12915 }
12916
12917
12918 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12919 PyObject *resultobj;
12920 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12921 wxWindow *arg2 = (wxWindow *) 0 ;
12922 int arg3 = (int) -1 ;
12923 wxString const &arg4_defvalue = wxPyEmptyString ;
12924 wxString *arg4 = (wxString *) &arg4_defvalue ;
12925 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12926 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12927 wxSize const &arg6_defvalue = wxDefaultSize ;
12928 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12929 long arg7 = (long) wxSP_ARROW_KEYS ;
12930 int arg8 = (int) 0 ;
12931 int arg9 = (int) 100 ;
12932 int arg10 = (int) 0 ;
12933 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
12934 wxString *arg11 = (wxString *) &arg11_defvalue ;
12935 bool result;
12936 bool temp4 = false ;
12937 wxPoint temp5 ;
12938 wxSize temp6 ;
12939 bool temp11 = false ;
12940 PyObject * obj0 = 0 ;
12941 PyObject * obj1 = 0 ;
12942 PyObject * obj2 = 0 ;
12943 PyObject * obj3 = 0 ;
12944 PyObject * obj4 = 0 ;
12945 PyObject * obj5 = 0 ;
12946 PyObject * obj6 = 0 ;
12947 PyObject * obj7 = 0 ;
12948 PyObject * obj8 = 0 ;
12949 PyObject * obj9 = 0 ;
12950 PyObject * obj10 = 0 ;
12951 char *kwnames[] = {
12952 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12953 };
12954
12955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
12957 if (SWIG_arg_fail(1)) SWIG_fail;
12958 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12959 if (SWIG_arg_fail(2)) SWIG_fail;
12960 if (obj2) {
12961 {
12962 arg3 = (int)(SWIG_As_int(obj2));
12963 if (SWIG_arg_fail(3)) SWIG_fail;
12964 }
12965 }
12966 if (obj3) {
12967 {
12968 arg4 = wxString_in_helper(obj3);
12969 if (arg4 == NULL) SWIG_fail;
12970 temp4 = true;
12971 }
12972 }
12973 if (obj4) {
12974 {
12975 arg5 = &temp5;
12976 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12977 }
12978 }
12979 if (obj5) {
12980 {
12981 arg6 = &temp6;
12982 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12983 }
12984 }
12985 if (obj6) {
12986 {
12987 arg7 = (long)(SWIG_As_long(obj6));
12988 if (SWIG_arg_fail(7)) SWIG_fail;
12989 }
12990 }
12991 if (obj7) {
12992 {
12993 arg8 = (int)(SWIG_As_int(obj7));
12994 if (SWIG_arg_fail(8)) SWIG_fail;
12995 }
12996 }
12997 if (obj8) {
12998 {
12999 arg9 = (int)(SWIG_As_int(obj8));
13000 if (SWIG_arg_fail(9)) SWIG_fail;
13001 }
13002 }
13003 if (obj9) {
13004 {
13005 arg10 = (int)(SWIG_As_int(obj9));
13006 if (SWIG_arg_fail(10)) SWIG_fail;
13007 }
13008 }
13009 if (obj10) {
13010 {
13011 arg11 = wxString_in_helper(obj10);
13012 if (arg11 == NULL) SWIG_fail;
13013 temp11 = true;
13014 }
13015 }
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13019
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 {
13024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13025 }
13026 {
13027 if (temp4)
13028 delete arg4;
13029 }
13030 {
13031 if (temp11)
13032 delete arg11;
13033 }
13034 return resultobj;
13035 fail:
13036 {
13037 if (temp4)
13038 delete arg4;
13039 }
13040 {
13041 if (temp11)
13042 delete arg11;
13043 }
13044 return NULL;
13045 }
13046
13047
13048 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj;
13050 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13051 int result;
13052 PyObject * obj0 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13059 if (SWIG_arg_fail(1)) SWIG_fail;
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
13062 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13063
13064 wxPyEndAllowThreads(__tstate);
13065 if (PyErr_Occurred()) SWIG_fail;
13066 }
13067 {
13068 resultobj = SWIG_From_int((int)(result));
13069 }
13070 return resultobj;
13071 fail:
13072 return NULL;
13073 }
13074
13075
13076 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13077 PyObject *resultobj;
13078 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13079 int arg2 ;
13080 PyObject * obj0 = 0 ;
13081 PyObject * obj1 = 0 ;
13082 char *kwnames[] = {
13083 (char *) "self",(char *) "value", NULL
13084 };
13085
13086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13088 if (SWIG_arg_fail(1)) SWIG_fail;
13089 {
13090 arg2 = (int)(SWIG_As_int(obj1));
13091 if (SWIG_arg_fail(2)) SWIG_fail;
13092 }
13093 {
13094 PyThreadState* __tstate = wxPyBeginAllowThreads();
13095 (arg1)->SetValue(arg2);
13096
13097 wxPyEndAllowThreads(__tstate);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 }
13100 Py_INCREF(Py_None); resultobj = Py_None;
13101 return resultobj;
13102 fail:
13103 return NULL;
13104 }
13105
13106
13107 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13108 PyObject *resultobj;
13109 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13110 wxString *arg2 = 0 ;
13111 bool temp2 = false ;
13112 PyObject * obj0 = 0 ;
13113 PyObject * obj1 = 0 ;
13114 char *kwnames[] = {
13115 (char *) "self",(char *) "text", NULL
13116 };
13117
13118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13120 if (SWIG_arg_fail(1)) SWIG_fail;
13121 {
13122 arg2 = wxString_in_helper(obj1);
13123 if (arg2 == NULL) SWIG_fail;
13124 temp2 = true;
13125 }
13126 {
13127 PyThreadState* __tstate = wxPyBeginAllowThreads();
13128 (arg1)->SetValue((wxString const &)*arg2);
13129
13130 wxPyEndAllowThreads(__tstate);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 Py_INCREF(Py_None); resultobj = Py_None;
13134 {
13135 if (temp2)
13136 delete arg2;
13137 }
13138 return resultobj;
13139 fail:
13140 {
13141 if (temp2)
13142 delete arg2;
13143 }
13144 return NULL;
13145 }
13146
13147
13148 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13151 int arg2 ;
13152 int arg3 ;
13153 PyObject * obj0 = 0 ;
13154 PyObject * obj1 = 0 ;
13155 PyObject * obj2 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13162 if (SWIG_arg_fail(1)) SWIG_fail;
13163 {
13164 arg2 = (int)(SWIG_As_int(obj1));
13165 if (SWIG_arg_fail(2)) SWIG_fail;
13166 }
13167 {
13168 arg3 = (int)(SWIG_As_int(obj2));
13169 if (SWIG_arg_fail(3)) SWIG_fail;
13170 }
13171 {
13172 PyThreadState* __tstate = wxPyBeginAllowThreads();
13173 (arg1)->SetRange(arg2,arg3);
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_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13186 PyObject *resultobj;
13187 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13188 int result;
13189 PyObject * obj0 = 0 ;
13190 char *kwnames[] = {
13191 (char *) "self", NULL
13192 };
13193
13194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13196 if (SWIG_arg_fail(1)) SWIG_fail;
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13200
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 {
13205 resultobj = SWIG_From_int((int)(result));
13206 }
13207 return resultobj;
13208 fail:
13209 return NULL;
13210 }
13211
13212
13213 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13214 PyObject *resultobj;
13215 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13216 int result;
13217 PyObject * obj0 = 0 ;
13218 char *kwnames[] = {
13219 (char *) "self", NULL
13220 };
13221
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13224 if (SWIG_arg_fail(1)) SWIG_fail;
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 {
13233 resultobj = SWIG_From_int((int)(result));
13234 }
13235 return resultobj;
13236 fail:
13237 return NULL;
13238 }
13239
13240
13241 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13242 PyObject *resultobj;
13243 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13244 long arg2 ;
13245 long arg3 ;
13246 PyObject * obj0 = 0 ;
13247 PyObject * obj1 = 0 ;
13248 PyObject * obj2 = 0 ;
13249 char *kwnames[] = {
13250 (char *) "self",(char *) "from",(char *) "to", NULL
13251 };
13252
13253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13255 if (SWIG_arg_fail(1)) SWIG_fail;
13256 {
13257 arg2 = (long)(SWIG_As_long(obj1));
13258 if (SWIG_arg_fail(2)) SWIG_fail;
13259 }
13260 {
13261 arg3 = (long)(SWIG_As_long(obj2));
13262 if (SWIG_arg_fail(3)) SWIG_fail;
13263 }
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 (arg1)->SetSelection(arg2,arg3);
13267
13268 wxPyEndAllowThreads(__tstate);
13269 if (PyErr_Occurred()) SWIG_fail;
13270 }
13271 Py_INCREF(Py_None); resultobj = Py_None;
13272 return resultobj;
13273 fail:
13274 return NULL;
13275 }
13276
13277
13278 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13279 PyObject *resultobj;
13280 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13281 wxVisualAttributes result;
13282 PyObject * obj0 = 0 ;
13283 char *kwnames[] = {
13284 (char *) "variant", NULL
13285 };
13286
13287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13288 if (obj0) {
13289 {
13290 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13291 if (SWIG_arg_fail(1)) SWIG_fail;
13292 }
13293 }
13294 {
13295 if (!wxPyCheckForApp()) SWIG_fail;
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13298
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 {
13303 wxVisualAttributes * resultptr;
13304 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
13305 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13306 }
13307 return resultobj;
13308 fail:
13309 return NULL;
13310 }
13311
13312
13313 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13314 PyObject *obj;
13315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13316 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13317 Py_INCREF(obj);
13318 return Py_BuildValue((char *)"");
13319 }
13320 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13321 PyObject *resultobj;
13322 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13323 int arg2 = (int) 0 ;
13324 wxSpinEvent *result;
13325 PyObject * obj0 = 0 ;
13326 PyObject * obj1 = 0 ;
13327 char *kwnames[] = {
13328 (char *) "commandType",(char *) "winid", NULL
13329 };
13330
13331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13332 if (obj0) {
13333 {
13334 arg1 = (wxEventType)(SWIG_As_int(obj0));
13335 if (SWIG_arg_fail(1)) SWIG_fail;
13336 }
13337 }
13338 if (obj1) {
13339 {
13340 arg2 = (int)(SWIG_As_int(obj1));
13341 if (SWIG_arg_fail(2)) SWIG_fail;
13342 }
13343 }
13344 {
13345 PyThreadState* __tstate = wxPyBeginAllowThreads();
13346 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13347
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13352 return resultobj;
13353 fail:
13354 return NULL;
13355 }
13356
13357
13358 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13359 PyObject *resultobj;
13360 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13361 int result;
13362 PyObject * obj0 = 0 ;
13363 char *kwnames[] = {
13364 (char *) "self", NULL
13365 };
13366
13367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13369 if (SWIG_arg_fail(1)) SWIG_fail;
13370 {
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13373
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) SWIG_fail;
13376 }
13377 {
13378 resultobj = SWIG_From_int((int)(result));
13379 }
13380 return resultobj;
13381 fail:
13382 return NULL;
13383 }
13384
13385
13386 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13387 PyObject *resultobj;
13388 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13389 int arg2 ;
13390 PyObject * obj0 = 0 ;
13391 PyObject * obj1 = 0 ;
13392 char *kwnames[] = {
13393 (char *) "self",(char *) "pos", NULL
13394 };
13395
13396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13398 if (SWIG_arg_fail(1)) SWIG_fail;
13399 {
13400 arg2 = (int)(SWIG_As_int(obj1));
13401 if (SWIG_arg_fail(2)) SWIG_fail;
13402 }
13403 {
13404 PyThreadState* __tstate = wxPyBeginAllowThreads();
13405 (arg1)->SetPosition(arg2);
13406
13407 wxPyEndAllowThreads(__tstate);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 }
13410 Py_INCREF(Py_None); resultobj = Py_None;
13411 return resultobj;
13412 fail:
13413 return NULL;
13414 }
13415
13416
13417 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13418 PyObject *obj;
13419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13420 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13421 Py_INCREF(obj);
13422 return Py_BuildValue((char *)"");
13423 }
13424 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13425 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13426 return 1;
13427 }
13428
13429
13430 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13431 PyObject *pyobj;
13432
13433 {
13434 #if wxUSE_UNICODE
13435 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13436 #else
13437 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13438 #endif
13439 }
13440 return pyobj;
13441 }
13442
13443
13444 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13445 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13446 return 1;
13447 }
13448
13449
13450 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13451 PyObject *pyobj;
13452
13453 {
13454 #if wxUSE_UNICODE
13455 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13456 #else
13457 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13458 #endif
13459 }
13460 return pyobj;
13461 }
13462
13463
13464 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj;
13466 wxWindow *arg1 = (wxWindow *) 0 ;
13467 int arg2 = (int) -1 ;
13468 wxString const &arg3_defvalue = wxPyEmptyString ;
13469 wxString *arg3 = (wxString *) &arg3_defvalue ;
13470 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13471 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13472 wxSize const &arg5_defvalue = wxDefaultSize ;
13473 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13474 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13475 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13476 int arg7 = (int) 0 ;
13477 long arg8 = (long) wxRA_HORIZONTAL ;
13478 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13479 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13480 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13481 wxString *arg10 = (wxString *) &arg10_defvalue ;
13482 wxRadioBox *result;
13483 bool temp3 = false ;
13484 wxPoint temp4 ;
13485 wxSize temp5 ;
13486 bool temp6 = false ;
13487 bool temp10 = false ;
13488 PyObject * obj0 = 0 ;
13489 PyObject * obj1 = 0 ;
13490 PyObject * obj2 = 0 ;
13491 PyObject * obj3 = 0 ;
13492 PyObject * obj4 = 0 ;
13493 PyObject * obj5 = 0 ;
13494 PyObject * obj6 = 0 ;
13495 PyObject * obj7 = 0 ;
13496 PyObject * obj8 = 0 ;
13497 PyObject * obj9 = 0 ;
13498 char *kwnames[] = {
13499 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13500 };
13501
13502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13504 if (SWIG_arg_fail(1)) SWIG_fail;
13505 if (obj1) {
13506 {
13507 arg2 = (int)(SWIG_As_int(obj1));
13508 if (SWIG_arg_fail(2)) SWIG_fail;
13509 }
13510 }
13511 if (obj2) {
13512 {
13513 arg3 = wxString_in_helper(obj2);
13514 if (arg3 == NULL) SWIG_fail;
13515 temp3 = true;
13516 }
13517 }
13518 if (obj3) {
13519 {
13520 arg4 = &temp4;
13521 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13522 }
13523 }
13524 if (obj4) {
13525 {
13526 arg5 = &temp5;
13527 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13528 }
13529 }
13530 if (obj5) {
13531 {
13532 if (! PySequence_Check(obj5)) {
13533 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13534 SWIG_fail;
13535 }
13536 arg6 = new wxArrayString;
13537 temp6 = true;
13538 int i, len=PySequence_Length(obj5);
13539 for (i=0; i<len; i++) {
13540 PyObject* item = PySequence_GetItem(obj5, i);
13541 #if wxUSE_UNICODE
13542 PyObject* str = PyObject_Unicode(item);
13543 #else
13544 PyObject* str = PyObject_Str(item);
13545 #endif
13546 if (PyErr_Occurred()) SWIG_fail;
13547 arg6->Add(Py2wxString(str));
13548 Py_DECREF(item);
13549 Py_DECREF(str);
13550 }
13551 }
13552 }
13553 if (obj6) {
13554 {
13555 arg7 = (int)(SWIG_As_int(obj6));
13556 if (SWIG_arg_fail(7)) SWIG_fail;
13557 }
13558 }
13559 if (obj7) {
13560 {
13561 arg8 = (long)(SWIG_As_long(obj7));
13562 if (SWIG_arg_fail(8)) SWIG_fail;
13563 }
13564 }
13565 if (obj8) {
13566 {
13567 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13568 if (SWIG_arg_fail(9)) SWIG_fail;
13569 if (arg9 == NULL) {
13570 SWIG_null_ref("wxValidator");
13571 }
13572 if (SWIG_arg_fail(9)) SWIG_fail;
13573 }
13574 }
13575 if (obj9) {
13576 {
13577 arg10 = wxString_in_helper(obj9);
13578 if (arg10 == NULL) SWIG_fail;
13579 temp10 = true;
13580 }
13581 }
13582 {
13583 if (!wxPyCheckForApp()) SWIG_fail;
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 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);
13586
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13591 {
13592 if (temp3)
13593 delete arg3;
13594 }
13595 {
13596 if (temp6) delete arg6;
13597 }
13598 {
13599 if (temp10)
13600 delete arg10;
13601 }
13602 return resultobj;
13603 fail:
13604 {
13605 if (temp3)
13606 delete arg3;
13607 }
13608 {
13609 if (temp6) delete arg6;
13610 }
13611 {
13612 if (temp10)
13613 delete arg10;
13614 }
13615 return NULL;
13616 }
13617
13618
13619 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13620 PyObject *resultobj;
13621 wxRadioBox *result;
13622 char *kwnames[] = {
13623 NULL
13624 };
13625
13626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13627 {
13628 if (!wxPyCheckForApp()) SWIG_fail;
13629 PyThreadState* __tstate = wxPyBeginAllowThreads();
13630 result = (wxRadioBox *)new wxRadioBox();
13631
13632 wxPyEndAllowThreads(__tstate);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 }
13635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13636 return resultobj;
13637 fail:
13638 return NULL;
13639 }
13640
13641
13642 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13643 PyObject *resultobj;
13644 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13645 wxWindow *arg2 = (wxWindow *) 0 ;
13646 int arg3 = (int) -1 ;
13647 wxString const &arg4_defvalue = wxPyEmptyString ;
13648 wxString *arg4 = (wxString *) &arg4_defvalue ;
13649 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13650 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13651 wxSize const &arg6_defvalue = wxDefaultSize ;
13652 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13653 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13654 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13655 int arg8 = (int) 0 ;
13656 long arg9 = (long) wxRA_HORIZONTAL ;
13657 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13658 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13659 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13660 wxString *arg11 = (wxString *) &arg11_defvalue ;
13661 bool result;
13662 bool temp4 = false ;
13663 wxPoint temp5 ;
13664 wxSize temp6 ;
13665 bool temp7 = false ;
13666 bool temp11 = false ;
13667 PyObject * obj0 = 0 ;
13668 PyObject * obj1 = 0 ;
13669 PyObject * obj2 = 0 ;
13670 PyObject * obj3 = 0 ;
13671 PyObject * obj4 = 0 ;
13672 PyObject * obj5 = 0 ;
13673 PyObject * obj6 = 0 ;
13674 PyObject * obj7 = 0 ;
13675 PyObject * obj8 = 0 ;
13676 PyObject * obj9 = 0 ;
13677 PyObject * obj10 = 0 ;
13678 char *kwnames[] = {
13679 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13680 };
13681
13682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13684 if (SWIG_arg_fail(1)) SWIG_fail;
13685 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13686 if (SWIG_arg_fail(2)) SWIG_fail;
13687 if (obj2) {
13688 {
13689 arg3 = (int)(SWIG_As_int(obj2));
13690 if (SWIG_arg_fail(3)) SWIG_fail;
13691 }
13692 }
13693 if (obj3) {
13694 {
13695 arg4 = wxString_in_helper(obj3);
13696 if (arg4 == NULL) SWIG_fail;
13697 temp4 = true;
13698 }
13699 }
13700 if (obj4) {
13701 {
13702 arg5 = &temp5;
13703 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13704 }
13705 }
13706 if (obj5) {
13707 {
13708 arg6 = &temp6;
13709 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13710 }
13711 }
13712 if (obj6) {
13713 {
13714 if (! PySequence_Check(obj6)) {
13715 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13716 SWIG_fail;
13717 }
13718 arg7 = new wxArrayString;
13719 temp7 = true;
13720 int i, len=PySequence_Length(obj6);
13721 for (i=0; i<len; i++) {
13722 PyObject* item = PySequence_GetItem(obj6, i);
13723 #if wxUSE_UNICODE
13724 PyObject* str = PyObject_Unicode(item);
13725 #else
13726 PyObject* str = PyObject_Str(item);
13727 #endif
13728 if (PyErr_Occurred()) SWIG_fail;
13729 arg7->Add(Py2wxString(str));
13730 Py_DECREF(item);
13731 Py_DECREF(str);
13732 }
13733 }
13734 }
13735 if (obj7) {
13736 {
13737 arg8 = (int)(SWIG_As_int(obj7));
13738 if (SWIG_arg_fail(8)) SWIG_fail;
13739 }
13740 }
13741 if (obj8) {
13742 {
13743 arg9 = (long)(SWIG_As_long(obj8));
13744 if (SWIG_arg_fail(9)) SWIG_fail;
13745 }
13746 }
13747 if (obj9) {
13748 {
13749 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13750 if (SWIG_arg_fail(10)) SWIG_fail;
13751 if (arg10 == NULL) {
13752 SWIG_null_ref("wxValidator");
13753 }
13754 if (SWIG_arg_fail(10)) SWIG_fail;
13755 }
13756 }
13757 if (obj10) {
13758 {
13759 arg11 = wxString_in_helper(obj10);
13760 if (arg11 == NULL) SWIG_fail;
13761 temp11 = true;
13762 }
13763 }
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 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);
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 {
13772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13773 }
13774 {
13775 if (temp4)
13776 delete arg4;
13777 }
13778 {
13779 if (temp7) delete arg7;
13780 }
13781 {
13782 if (temp11)
13783 delete arg11;
13784 }
13785 return resultobj;
13786 fail:
13787 {
13788 if (temp4)
13789 delete arg4;
13790 }
13791 {
13792 if (temp7) delete arg7;
13793 }
13794 {
13795 if (temp11)
13796 delete arg11;
13797 }
13798 return NULL;
13799 }
13800
13801
13802 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13803 PyObject *resultobj;
13804 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13805 int arg2 ;
13806 PyObject * obj0 = 0 ;
13807 PyObject * obj1 = 0 ;
13808 char *kwnames[] = {
13809 (char *) "self",(char *) "n", NULL
13810 };
13811
13812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13814 if (SWIG_arg_fail(1)) SWIG_fail;
13815 {
13816 arg2 = (int)(SWIG_As_int(obj1));
13817 if (SWIG_arg_fail(2)) SWIG_fail;
13818 }
13819 {
13820 PyThreadState* __tstate = wxPyBeginAllowThreads();
13821 (arg1)->SetSelection(arg2);
13822
13823 wxPyEndAllowThreads(__tstate);
13824 if (PyErr_Occurred()) SWIG_fail;
13825 }
13826 Py_INCREF(Py_None); resultobj = Py_None;
13827 return resultobj;
13828 fail:
13829 return NULL;
13830 }
13831
13832
13833 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13834 PyObject *resultobj;
13835 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13836 int result;
13837 PyObject * obj0 = 0 ;
13838 char *kwnames[] = {
13839 (char *) "self", NULL
13840 };
13841
13842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
13843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13844 if (SWIG_arg_fail(1)) SWIG_fail;
13845 {
13846 PyThreadState* __tstate = wxPyBeginAllowThreads();
13847 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13848
13849 wxPyEndAllowThreads(__tstate);
13850 if (PyErr_Occurred()) SWIG_fail;
13851 }
13852 {
13853 resultobj = SWIG_From_int((int)(result));
13854 }
13855 return resultobj;
13856 fail:
13857 return NULL;
13858 }
13859
13860
13861 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13862 PyObject *resultobj;
13863 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13864 wxString result;
13865 PyObject * obj0 = 0 ;
13866 char *kwnames[] = {
13867 (char *) "self", NULL
13868 };
13869
13870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
13871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13872 if (SWIG_arg_fail(1)) SWIG_fail;
13873 {
13874 PyThreadState* __tstate = wxPyBeginAllowThreads();
13875 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13876
13877 wxPyEndAllowThreads(__tstate);
13878 if (PyErr_Occurred()) SWIG_fail;
13879 }
13880 {
13881 #if wxUSE_UNICODE
13882 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13883 #else
13884 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13885 #endif
13886 }
13887 return resultobj;
13888 fail:
13889 return NULL;
13890 }
13891
13892
13893 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13894 PyObject *resultobj;
13895 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13896 wxString *arg2 = 0 ;
13897 bool result;
13898 bool temp2 = false ;
13899 PyObject * obj0 = 0 ;
13900 PyObject * obj1 = 0 ;
13901 char *kwnames[] = {
13902 (char *) "self",(char *) "s", NULL
13903 };
13904
13905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
13906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13907 if (SWIG_arg_fail(1)) SWIG_fail;
13908 {
13909 arg2 = wxString_in_helper(obj1);
13910 if (arg2 == NULL) SWIG_fail;
13911 temp2 = true;
13912 }
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 {
13921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13922 }
13923 {
13924 if (temp2)
13925 delete arg2;
13926 }
13927 return resultobj;
13928 fail:
13929 {
13930 if (temp2)
13931 delete arg2;
13932 }
13933 return NULL;
13934 }
13935
13936
13937 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
13938 PyObject *resultobj;
13939 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13940 int result;
13941 PyObject * obj0 = 0 ;
13942 char *kwnames[] = {
13943 (char *) "self", NULL
13944 };
13945
13946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
13947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13948 if (SWIG_arg_fail(1)) SWIG_fail;
13949 {
13950 PyThreadState* __tstate = wxPyBeginAllowThreads();
13951 result = (int)((wxRadioBox const *)arg1)->GetCount();
13952
13953 wxPyEndAllowThreads(__tstate);
13954 if (PyErr_Occurred()) SWIG_fail;
13955 }
13956 {
13957 resultobj = SWIG_From_int((int)(result));
13958 }
13959 return resultobj;
13960 fail:
13961 return NULL;
13962 }
13963
13964
13965 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
13966 PyObject *resultobj;
13967 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13968 wxString *arg2 = 0 ;
13969 int result;
13970 bool temp2 = false ;
13971 PyObject * obj0 = 0 ;
13972 PyObject * obj1 = 0 ;
13973 char *kwnames[] = {
13974 (char *) "self",(char *) "s", NULL
13975 };
13976
13977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
13978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13979 if (SWIG_arg_fail(1)) SWIG_fail;
13980 {
13981 arg2 = wxString_in_helper(obj1);
13982 if (arg2 == NULL) SWIG_fail;
13983 temp2 = true;
13984 }
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
13988
13989 wxPyEndAllowThreads(__tstate);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
13992 {
13993 resultobj = SWIG_From_int((int)(result));
13994 }
13995 {
13996 if (temp2)
13997 delete arg2;
13998 }
13999 return resultobj;
14000 fail:
14001 {
14002 if (temp2)
14003 delete arg2;
14004 }
14005 return NULL;
14006 }
14007
14008
14009 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14010 PyObject *resultobj;
14011 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14012 int arg2 ;
14013 wxString result;
14014 PyObject * obj0 = 0 ;
14015 PyObject * obj1 = 0 ;
14016 char *kwnames[] = {
14017 (char *) "self",(char *) "n", NULL
14018 };
14019
14020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14022 if (SWIG_arg_fail(1)) SWIG_fail;
14023 {
14024 arg2 = (int)(SWIG_As_int(obj1));
14025 if (SWIG_arg_fail(2)) SWIG_fail;
14026 }
14027 {
14028 PyThreadState* __tstate = wxPyBeginAllowThreads();
14029 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14030
14031 wxPyEndAllowThreads(__tstate);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 {
14035 #if wxUSE_UNICODE
14036 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14037 #else
14038 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14039 #endif
14040 }
14041 return resultobj;
14042 fail:
14043 return NULL;
14044 }
14045
14046
14047 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14048 PyObject *resultobj;
14049 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14050 int arg2 ;
14051 wxString *arg3 = 0 ;
14052 bool temp3 = false ;
14053 PyObject * obj0 = 0 ;
14054 PyObject * obj1 = 0 ;
14055 PyObject * obj2 = 0 ;
14056 char *kwnames[] = {
14057 (char *) "self",(char *) "n",(char *) "label", NULL
14058 };
14059
14060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14062 if (SWIG_arg_fail(1)) SWIG_fail;
14063 {
14064 arg2 = (int)(SWIG_As_int(obj1));
14065 if (SWIG_arg_fail(2)) SWIG_fail;
14066 }
14067 {
14068 arg3 = wxString_in_helper(obj2);
14069 if (arg3 == NULL) SWIG_fail;
14070 temp3 = true;
14071 }
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 (arg1)->SetString(arg2,(wxString const &)*arg3);
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 Py_INCREF(Py_None); resultobj = Py_None;
14080 {
14081 if (temp3)
14082 delete arg3;
14083 }
14084 return resultobj;
14085 fail:
14086 {
14087 if (temp3)
14088 delete arg3;
14089 }
14090 return NULL;
14091 }
14092
14093
14094 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14095 PyObject *resultobj;
14096 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14097 int arg2 ;
14098 bool arg3 = (bool) true ;
14099 PyObject * obj0 = 0 ;
14100 PyObject * obj1 = 0 ;
14101 PyObject * obj2 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self",(char *) "n",(char *) "enable", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14108 if (SWIG_arg_fail(1)) SWIG_fail;
14109 {
14110 arg2 = (int)(SWIG_As_int(obj1));
14111 if (SWIG_arg_fail(2)) SWIG_fail;
14112 }
14113 if (obj2) {
14114 {
14115 arg3 = (bool)(SWIG_As_bool(obj2));
14116 if (SWIG_arg_fail(3)) SWIG_fail;
14117 }
14118 }
14119 {
14120 PyThreadState* __tstate = wxPyBeginAllowThreads();
14121 (arg1)->Enable(arg2,arg3);
14122
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 Py_INCREF(Py_None); resultobj = Py_None;
14127 return resultobj;
14128 fail:
14129 return NULL;
14130 }
14131
14132
14133 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14134 PyObject *resultobj;
14135 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14136 int arg2 ;
14137 bool arg3 = (bool) true ;
14138 PyObject * obj0 = 0 ;
14139 PyObject * obj1 = 0 ;
14140 PyObject * obj2 = 0 ;
14141 char *kwnames[] = {
14142 (char *) "self",(char *) "n",(char *) "show", NULL
14143 };
14144
14145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14147 if (SWIG_arg_fail(1)) SWIG_fail;
14148 {
14149 arg2 = (int)(SWIG_As_int(obj1));
14150 if (SWIG_arg_fail(2)) SWIG_fail;
14151 }
14152 if (obj2) {
14153 {
14154 arg3 = (bool)(SWIG_As_bool(obj2));
14155 if (SWIG_arg_fail(3)) SWIG_fail;
14156 }
14157 }
14158 {
14159 PyThreadState* __tstate = wxPyBeginAllowThreads();
14160 (arg1)->Show(arg2,arg3);
14161
14162 wxPyEndAllowThreads(__tstate);
14163 if (PyErr_Occurred()) SWIG_fail;
14164 }
14165 Py_INCREF(Py_None); resultobj = Py_None;
14166 return resultobj;
14167 fail:
14168 return NULL;
14169 }
14170
14171
14172 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14173 PyObject *resultobj;
14174 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14175 int result;
14176 PyObject * obj0 = 0 ;
14177 char *kwnames[] = {
14178 (char *) "self", NULL
14179 };
14180
14181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14183 if (SWIG_arg_fail(1)) SWIG_fail;
14184 {
14185 PyThreadState* __tstate = wxPyBeginAllowThreads();
14186 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
14187
14188 wxPyEndAllowThreads(__tstate);
14189 if (PyErr_Occurred()) SWIG_fail;
14190 }
14191 {
14192 resultobj = SWIG_From_int((int)(result));
14193 }
14194 return resultobj;
14195 fail:
14196 return NULL;
14197 }
14198
14199
14200 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14201 PyObject *resultobj;
14202 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14203 int result;
14204 PyObject * obj0 = 0 ;
14205 char *kwnames[] = {
14206 (char *) "self", NULL
14207 };
14208
14209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14211 if (SWIG_arg_fail(1)) SWIG_fail;
14212 {
14213 PyThreadState* __tstate = wxPyBeginAllowThreads();
14214 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
14215
14216 wxPyEndAllowThreads(__tstate);
14217 if (PyErr_Occurred()) SWIG_fail;
14218 }
14219 {
14220 resultobj = SWIG_From_int((int)(result));
14221 }
14222 return resultobj;
14223 fail:
14224 return NULL;
14225 }
14226
14227
14228 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14229 PyObject *resultobj;
14230 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14231 int arg2 ;
14232 wxDirection arg3 ;
14233 long arg4 ;
14234 int result;
14235 PyObject * obj0 = 0 ;
14236 PyObject * obj1 = 0 ;
14237 PyObject * obj2 = 0 ;
14238 PyObject * obj3 = 0 ;
14239 char *kwnames[] = {
14240 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14241 };
14242
14243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14245 if (SWIG_arg_fail(1)) SWIG_fail;
14246 {
14247 arg2 = (int)(SWIG_As_int(obj1));
14248 if (SWIG_arg_fail(2)) SWIG_fail;
14249 }
14250 {
14251 arg3 = (wxDirection)(SWIG_As_int(obj2));
14252 if (SWIG_arg_fail(3)) SWIG_fail;
14253 }
14254 {
14255 arg4 = (long)(SWIG_As_long(obj3));
14256 if (SWIG_arg_fail(4)) SWIG_fail;
14257 }
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
14261
14262 wxPyEndAllowThreads(__tstate);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 }
14265 {
14266 resultobj = SWIG_From_int((int)(result));
14267 }
14268 return resultobj;
14269 fail:
14270 return NULL;
14271 }
14272
14273
14274 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14275 PyObject *resultobj;
14276 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14277 wxVisualAttributes result;
14278 PyObject * obj0 = 0 ;
14279 char *kwnames[] = {
14280 (char *) "variant", NULL
14281 };
14282
14283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14284 if (obj0) {
14285 {
14286 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14287 if (SWIG_arg_fail(1)) SWIG_fail;
14288 }
14289 }
14290 {
14291 if (!wxPyCheckForApp()) SWIG_fail;
14292 PyThreadState* __tstate = wxPyBeginAllowThreads();
14293 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14294
14295 wxPyEndAllowThreads(__tstate);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 {
14299 wxVisualAttributes * resultptr;
14300 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14301 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14302 }
14303 return resultobj;
14304 fail:
14305 return NULL;
14306 }
14307
14308
14309 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14310 PyObject *obj;
14311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14312 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14313 Py_INCREF(obj);
14314 return Py_BuildValue((char *)"");
14315 }
14316 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxWindow *arg1 = (wxWindow *) 0 ;
14319 int arg2 = (int) -1 ;
14320 wxString const &arg3_defvalue = wxPyEmptyString ;
14321 wxString *arg3 = (wxString *) &arg3_defvalue ;
14322 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14323 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14324 wxSize const &arg5_defvalue = wxDefaultSize ;
14325 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14326 long arg6 = (long) 0 ;
14327 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14328 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14329 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14330 wxString *arg8 = (wxString *) &arg8_defvalue ;
14331 wxRadioButton *result;
14332 bool temp3 = false ;
14333 wxPoint temp4 ;
14334 wxSize temp5 ;
14335 bool temp8 = false ;
14336 PyObject * obj0 = 0 ;
14337 PyObject * obj1 = 0 ;
14338 PyObject * obj2 = 0 ;
14339 PyObject * obj3 = 0 ;
14340 PyObject * obj4 = 0 ;
14341 PyObject * obj5 = 0 ;
14342 PyObject * obj6 = 0 ;
14343 PyObject * obj7 = 0 ;
14344 char *kwnames[] = {
14345 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14346 };
14347
14348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14350 if (SWIG_arg_fail(1)) SWIG_fail;
14351 if (obj1) {
14352 {
14353 arg2 = (int)(SWIG_As_int(obj1));
14354 if (SWIG_arg_fail(2)) SWIG_fail;
14355 }
14356 }
14357 if (obj2) {
14358 {
14359 arg3 = wxString_in_helper(obj2);
14360 if (arg3 == NULL) SWIG_fail;
14361 temp3 = true;
14362 }
14363 }
14364 if (obj3) {
14365 {
14366 arg4 = &temp4;
14367 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14368 }
14369 }
14370 if (obj4) {
14371 {
14372 arg5 = &temp5;
14373 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14374 }
14375 }
14376 if (obj5) {
14377 {
14378 arg6 = (long)(SWIG_As_long(obj5));
14379 if (SWIG_arg_fail(6)) SWIG_fail;
14380 }
14381 }
14382 if (obj6) {
14383 {
14384 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14385 if (SWIG_arg_fail(7)) SWIG_fail;
14386 if (arg7 == NULL) {
14387 SWIG_null_ref("wxValidator");
14388 }
14389 if (SWIG_arg_fail(7)) SWIG_fail;
14390 }
14391 }
14392 if (obj7) {
14393 {
14394 arg8 = wxString_in_helper(obj7);
14395 if (arg8 == NULL) SWIG_fail;
14396 temp8 = true;
14397 }
14398 }
14399 {
14400 if (!wxPyCheckForApp()) SWIG_fail;
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14408 {
14409 if (temp3)
14410 delete arg3;
14411 }
14412 {
14413 if (temp8)
14414 delete arg8;
14415 }
14416 return resultobj;
14417 fail:
14418 {
14419 if (temp3)
14420 delete arg3;
14421 }
14422 {
14423 if (temp8)
14424 delete arg8;
14425 }
14426 return NULL;
14427 }
14428
14429
14430 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14431 PyObject *resultobj;
14432 wxRadioButton *result;
14433 char *kwnames[] = {
14434 NULL
14435 };
14436
14437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14438 {
14439 if (!wxPyCheckForApp()) SWIG_fail;
14440 PyThreadState* __tstate = wxPyBeginAllowThreads();
14441 result = (wxRadioButton *)new wxRadioButton();
14442
14443 wxPyEndAllowThreads(__tstate);
14444 if (PyErr_Occurred()) SWIG_fail;
14445 }
14446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14447 return resultobj;
14448 fail:
14449 return NULL;
14450 }
14451
14452
14453 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14454 PyObject *resultobj;
14455 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14456 wxWindow *arg2 = (wxWindow *) 0 ;
14457 int arg3 = (int) -1 ;
14458 wxString const &arg4_defvalue = wxPyEmptyString ;
14459 wxString *arg4 = (wxString *) &arg4_defvalue ;
14460 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14461 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14462 wxSize const &arg6_defvalue = wxDefaultSize ;
14463 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14464 long arg7 = (long) 0 ;
14465 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14466 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14467 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14468 wxString *arg9 = (wxString *) &arg9_defvalue ;
14469 bool result;
14470 bool temp4 = false ;
14471 wxPoint temp5 ;
14472 wxSize temp6 ;
14473 bool temp9 = false ;
14474 PyObject * obj0 = 0 ;
14475 PyObject * obj1 = 0 ;
14476 PyObject * obj2 = 0 ;
14477 PyObject * obj3 = 0 ;
14478 PyObject * obj4 = 0 ;
14479 PyObject * obj5 = 0 ;
14480 PyObject * obj6 = 0 ;
14481 PyObject * obj7 = 0 ;
14482 PyObject * obj8 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14489 if (SWIG_arg_fail(1)) SWIG_fail;
14490 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14491 if (SWIG_arg_fail(2)) SWIG_fail;
14492 if (obj2) {
14493 {
14494 arg3 = (int)(SWIG_As_int(obj2));
14495 if (SWIG_arg_fail(3)) SWIG_fail;
14496 }
14497 }
14498 if (obj3) {
14499 {
14500 arg4 = wxString_in_helper(obj3);
14501 if (arg4 == NULL) SWIG_fail;
14502 temp4 = true;
14503 }
14504 }
14505 if (obj4) {
14506 {
14507 arg5 = &temp5;
14508 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14509 }
14510 }
14511 if (obj5) {
14512 {
14513 arg6 = &temp6;
14514 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14515 }
14516 }
14517 if (obj6) {
14518 {
14519 arg7 = (long)(SWIG_As_long(obj6));
14520 if (SWIG_arg_fail(7)) SWIG_fail;
14521 }
14522 }
14523 if (obj7) {
14524 {
14525 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14526 if (SWIG_arg_fail(8)) SWIG_fail;
14527 if (arg8 == NULL) {
14528 SWIG_null_ref("wxValidator");
14529 }
14530 if (SWIG_arg_fail(8)) SWIG_fail;
14531 }
14532 }
14533 if (obj8) {
14534 {
14535 arg9 = wxString_in_helper(obj8);
14536 if (arg9 == NULL) SWIG_fail;
14537 temp9 = true;
14538 }
14539 }
14540 {
14541 PyThreadState* __tstate = wxPyBeginAllowThreads();
14542 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14543
14544 wxPyEndAllowThreads(__tstate);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 {
14548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14549 }
14550 {
14551 if (temp4)
14552 delete arg4;
14553 }
14554 {
14555 if (temp9)
14556 delete arg9;
14557 }
14558 return resultobj;
14559 fail:
14560 {
14561 if (temp4)
14562 delete arg4;
14563 }
14564 {
14565 if (temp9)
14566 delete arg9;
14567 }
14568 return NULL;
14569 }
14570
14571
14572 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14573 PyObject *resultobj;
14574 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14575 bool result;
14576 PyObject * obj0 = 0 ;
14577 char *kwnames[] = {
14578 (char *) "self", NULL
14579 };
14580
14581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14583 if (SWIG_arg_fail(1)) SWIG_fail;
14584 {
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 result = (bool)(arg1)->GetValue();
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 {
14592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14593 }
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14601 PyObject *resultobj;
14602 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14603 bool arg2 ;
14604 PyObject * obj0 = 0 ;
14605 PyObject * obj1 = 0 ;
14606 char *kwnames[] = {
14607 (char *) "self",(char *) "value", NULL
14608 };
14609
14610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14612 if (SWIG_arg_fail(1)) SWIG_fail;
14613 {
14614 arg2 = (bool)(SWIG_As_bool(obj1));
14615 if (SWIG_arg_fail(2)) SWIG_fail;
14616 }
14617 {
14618 PyThreadState* __tstate = wxPyBeginAllowThreads();
14619 (arg1)->SetValue(arg2);
14620
14621 wxPyEndAllowThreads(__tstate);
14622 if (PyErr_Occurred()) SWIG_fail;
14623 }
14624 Py_INCREF(Py_None); resultobj = Py_None;
14625 return resultobj;
14626 fail:
14627 return NULL;
14628 }
14629
14630
14631 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj;
14633 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14634 wxVisualAttributes result;
14635 PyObject * obj0 = 0 ;
14636 char *kwnames[] = {
14637 (char *) "variant", NULL
14638 };
14639
14640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14641 if (obj0) {
14642 {
14643 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14644 if (SWIG_arg_fail(1)) SWIG_fail;
14645 }
14646 }
14647 {
14648 if (!wxPyCheckForApp()) SWIG_fail;
14649 PyThreadState* __tstate = wxPyBeginAllowThreads();
14650 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14651
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 {
14656 wxVisualAttributes * resultptr;
14657 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14658 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14659 }
14660 return resultobj;
14661 fail:
14662 return NULL;
14663 }
14664
14665
14666 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14667 PyObject *obj;
14668 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14669 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14670 Py_INCREF(obj);
14671 return Py_BuildValue((char *)"");
14672 }
14673 static int _wrap_SliderNameStr_set(PyObject *) {
14674 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14675 return 1;
14676 }
14677
14678
14679 static PyObject *_wrap_SliderNameStr_get(void) {
14680 PyObject *pyobj;
14681
14682 {
14683 #if wxUSE_UNICODE
14684 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14685 #else
14686 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14687 #endif
14688 }
14689 return pyobj;
14690 }
14691
14692
14693 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14694 PyObject *resultobj;
14695 wxWindow *arg1 = (wxWindow *) 0 ;
14696 int arg2 = (int) -1 ;
14697 int arg3 = (int) 0 ;
14698 int arg4 = (int) 0 ;
14699 int arg5 = (int) 100 ;
14700 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14701 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14702 wxSize const &arg7_defvalue = wxDefaultSize ;
14703 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14704 long arg8 = (long) wxSL_HORIZONTAL ;
14705 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14706 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14707 wxString const &arg10_defvalue = wxPySliderNameStr ;
14708 wxString *arg10 = (wxString *) &arg10_defvalue ;
14709 wxSlider *result;
14710 wxPoint temp6 ;
14711 wxSize temp7 ;
14712 bool temp10 = false ;
14713 PyObject * obj0 = 0 ;
14714 PyObject * obj1 = 0 ;
14715 PyObject * obj2 = 0 ;
14716 PyObject * obj3 = 0 ;
14717 PyObject * obj4 = 0 ;
14718 PyObject * obj5 = 0 ;
14719 PyObject * obj6 = 0 ;
14720 PyObject * obj7 = 0 ;
14721 PyObject * obj8 = 0 ;
14722 PyObject * obj9 = 0 ;
14723 char *kwnames[] = {
14724 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14725 };
14726
14727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14729 if (SWIG_arg_fail(1)) SWIG_fail;
14730 if (obj1) {
14731 {
14732 arg2 = (int)(SWIG_As_int(obj1));
14733 if (SWIG_arg_fail(2)) SWIG_fail;
14734 }
14735 }
14736 if (obj2) {
14737 {
14738 arg3 = (int)(SWIG_As_int(obj2));
14739 if (SWIG_arg_fail(3)) SWIG_fail;
14740 }
14741 }
14742 if (obj3) {
14743 {
14744 arg4 = (int)(SWIG_As_int(obj3));
14745 if (SWIG_arg_fail(4)) SWIG_fail;
14746 }
14747 }
14748 if (obj4) {
14749 {
14750 arg5 = (int)(SWIG_As_int(obj4));
14751 if (SWIG_arg_fail(5)) SWIG_fail;
14752 }
14753 }
14754 if (obj5) {
14755 {
14756 arg6 = &temp6;
14757 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14758 }
14759 }
14760 if (obj6) {
14761 {
14762 arg7 = &temp7;
14763 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14764 }
14765 }
14766 if (obj7) {
14767 {
14768 arg8 = (long)(SWIG_As_long(obj7));
14769 if (SWIG_arg_fail(8)) SWIG_fail;
14770 }
14771 }
14772 if (obj8) {
14773 {
14774 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14775 if (SWIG_arg_fail(9)) SWIG_fail;
14776 if (arg9 == NULL) {
14777 SWIG_null_ref("wxValidator");
14778 }
14779 if (SWIG_arg_fail(9)) SWIG_fail;
14780 }
14781 }
14782 if (obj9) {
14783 {
14784 arg10 = wxString_in_helper(obj9);
14785 if (arg10 == NULL) SWIG_fail;
14786 temp10 = true;
14787 }
14788 }
14789 {
14790 if (!wxPyCheckForApp()) SWIG_fail;
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14793
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14798 {
14799 if (temp10)
14800 delete arg10;
14801 }
14802 return resultobj;
14803 fail:
14804 {
14805 if (temp10)
14806 delete arg10;
14807 }
14808 return NULL;
14809 }
14810
14811
14812 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14813 PyObject *resultobj;
14814 wxSlider *result;
14815 char *kwnames[] = {
14816 NULL
14817 };
14818
14819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14820 {
14821 if (!wxPyCheckForApp()) SWIG_fail;
14822 PyThreadState* __tstate = wxPyBeginAllowThreads();
14823 result = (wxSlider *)new wxSlider();
14824
14825 wxPyEndAllowThreads(__tstate);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14829 return resultobj;
14830 fail:
14831 return NULL;
14832 }
14833
14834
14835 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj;
14837 wxSlider *arg1 = (wxSlider *) 0 ;
14838 wxWindow *arg2 = (wxWindow *) 0 ;
14839 int arg3 = (int) -1 ;
14840 int arg4 = (int) 0 ;
14841 int arg5 = (int) 0 ;
14842 int arg6 = (int) 100 ;
14843 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14844 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14845 wxSize const &arg8_defvalue = wxDefaultSize ;
14846 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14847 long arg9 = (long) wxSL_HORIZONTAL ;
14848 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14849 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14850 wxString const &arg11_defvalue = wxPySliderNameStr ;
14851 wxString *arg11 = (wxString *) &arg11_defvalue ;
14852 bool result;
14853 wxPoint temp7 ;
14854 wxSize temp8 ;
14855 bool temp11 = false ;
14856 PyObject * obj0 = 0 ;
14857 PyObject * obj1 = 0 ;
14858 PyObject * obj2 = 0 ;
14859 PyObject * obj3 = 0 ;
14860 PyObject * obj4 = 0 ;
14861 PyObject * obj5 = 0 ;
14862 PyObject * obj6 = 0 ;
14863 PyObject * obj7 = 0 ;
14864 PyObject * obj8 = 0 ;
14865 PyObject * obj9 = 0 ;
14866 PyObject * obj10 = 0 ;
14867 char *kwnames[] = {
14868 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14869 };
14870
14871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14873 if (SWIG_arg_fail(1)) SWIG_fail;
14874 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14875 if (SWIG_arg_fail(2)) SWIG_fail;
14876 if (obj2) {
14877 {
14878 arg3 = (int)(SWIG_As_int(obj2));
14879 if (SWIG_arg_fail(3)) SWIG_fail;
14880 }
14881 }
14882 if (obj3) {
14883 {
14884 arg4 = (int)(SWIG_As_int(obj3));
14885 if (SWIG_arg_fail(4)) SWIG_fail;
14886 }
14887 }
14888 if (obj4) {
14889 {
14890 arg5 = (int)(SWIG_As_int(obj4));
14891 if (SWIG_arg_fail(5)) SWIG_fail;
14892 }
14893 }
14894 if (obj5) {
14895 {
14896 arg6 = (int)(SWIG_As_int(obj5));
14897 if (SWIG_arg_fail(6)) SWIG_fail;
14898 }
14899 }
14900 if (obj6) {
14901 {
14902 arg7 = &temp7;
14903 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14904 }
14905 }
14906 if (obj7) {
14907 {
14908 arg8 = &temp8;
14909 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14910 }
14911 }
14912 if (obj8) {
14913 {
14914 arg9 = (long)(SWIG_As_long(obj8));
14915 if (SWIG_arg_fail(9)) SWIG_fail;
14916 }
14917 }
14918 if (obj9) {
14919 {
14920 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14921 if (SWIG_arg_fail(10)) SWIG_fail;
14922 if (arg10 == NULL) {
14923 SWIG_null_ref("wxValidator");
14924 }
14925 if (SWIG_arg_fail(10)) SWIG_fail;
14926 }
14927 }
14928 if (obj10) {
14929 {
14930 arg11 = wxString_in_helper(obj10);
14931 if (arg11 == NULL) SWIG_fail;
14932 temp11 = true;
14933 }
14934 }
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 {
14943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14944 }
14945 {
14946 if (temp11)
14947 delete arg11;
14948 }
14949 return resultobj;
14950 fail:
14951 {
14952 if (temp11)
14953 delete arg11;
14954 }
14955 return NULL;
14956 }
14957
14958
14959 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj;
14961 wxSlider *arg1 = (wxSlider *) 0 ;
14962 int result;
14963 PyObject * obj0 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
14969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14970 if (SWIG_arg_fail(1)) SWIG_fail;
14971 {
14972 PyThreadState* __tstate = wxPyBeginAllowThreads();
14973 result = (int)((wxSlider const *)arg1)->GetValue();
14974
14975 wxPyEndAllowThreads(__tstate);
14976 if (PyErr_Occurred()) SWIG_fail;
14977 }
14978 {
14979 resultobj = SWIG_From_int((int)(result));
14980 }
14981 return resultobj;
14982 fail:
14983 return NULL;
14984 }
14985
14986
14987 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14988 PyObject *resultobj;
14989 wxSlider *arg1 = (wxSlider *) 0 ;
14990 int arg2 ;
14991 PyObject * obj0 = 0 ;
14992 PyObject * obj1 = 0 ;
14993 char *kwnames[] = {
14994 (char *) "self",(char *) "value", NULL
14995 };
14996
14997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
14998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14999 if (SWIG_arg_fail(1)) SWIG_fail;
15000 {
15001 arg2 = (int)(SWIG_As_int(obj1));
15002 if (SWIG_arg_fail(2)) SWIG_fail;
15003 }
15004 {
15005 PyThreadState* __tstate = wxPyBeginAllowThreads();
15006 (arg1)->SetValue(arg2);
15007
15008 wxPyEndAllowThreads(__tstate);
15009 if (PyErr_Occurred()) SWIG_fail;
15010 }
15011 Py_INCREF(Py_None); resultobj = Py_None;
15012 return resultobj;
15013 fail:
15014 return NULL;
15015 }
15016
15017
15018 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15019 PyObject *resultobj;
15020 wxSlider *arg1 = (wxSlider *) 0 ;
15021 int arg2 ;
15022 int arg3 ;
15023 PyObject * obj0 = 0 ;
15024 PyObject * obj1 = 0 ;
15025 PyObject * obj2 = 0 ;
15026 char *kwnames[] = {
15027 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15028 };
15029
15030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15032 if (SWIG_arg_fail(1)) SWIG_fail;
15033 {
15034 arg2 = (int)(SWIG_As_int(obj1));
15035 if (SWIG_arg_fail(2)) SWIG_fail;
15036 }
15037 {
15038 arg3 = (int)(SWIG_As_int(obj2));
15039 if (SWIG_arg_fail(3)) SWIG_fail;
15040 }
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 (arg1)->SetRange(arg2,arg3);
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 Py_INCREF(Py_None); resultobj = Py_None;
15049 return resultobj;
15050 fail:
15051 return NULL;
15052 }
15053
15054
15055 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj;
15057 wxSlider *arg1 = (wxSlider *) 0 ;
15058 int result;
15059 PyObject * obj0 = 0 ;
15060 char *kwnames[] = {
15061 (char *) "self", NULL
15062 };
15063
15064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15066 if (SWIG_arg_fail(1)) SWIG_fail;
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
15069 result = (int)((wxSlider const *)arg1)->GetMin();
15070
15071 wxPyEndAllowThreads(__tstate);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
15074 {
15075 resultobj = SWIG_From_int((int)(result));
15076 }
15077 return resultobj;
15078 fail:
15079 return NULL;
15080 }
15081
15082
15083 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15084 PyObject *resultobj;
15085 wxSlider *arg1 = (wxSlider *) 0 ;
15086 int result;
15087 PyObject * obj0 = 0 ;
15088 char *kwnames[] = {
15089 (char *) "self", NULL
15090 };
15091
15092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15094 if (SWIG_arg_fail(1)) SWIG_fail;
15095 {
15096 PyThreadState* __tstate = wxPyBeginAllowThreads();
15097 result = (int)((wxSlider const *)arg1)->GetMax();
15098
15099 wxPyEndAllowThreads(__tstate);
15100 if (PyErr_Occurred()) SWIG_fail;
15101 }
15102 {
15103 resultobj = SWIG_From_int((int)(result));
15104 }
15105 return resultobj;
15106 fail:
15107 return NULL;
15108 }
15109
15110
15111 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15112 PyObject *resultobj;
15113 wxSlider *arg1 = (wxSlider *) 0 ;
15114 int arg2 ;
15115 PyObject * obj0 = 0 ;
15116 PyObject * obj1 = 0 ;
15117 char *kwnames[] = {
15118 (char *) "self",(char *) "minValue", NULL
15119 };
15120
15121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15123 if (SWIG_arg_fail(1)) SWIG_fail;
15124 {
15125 arg2 = (int)(SWIG_As_int(obj1));
15126 if (SWIG_arg_fail(2)) SWIG_fail;
15127 }
15128 {
15129 PyThreadState* __tstate = wxPyBeginAllowThreads();
15130 (arg1)->SetMin(arg2);
15131
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 Py_INCREF(Py_None); resultobj = Py_None;
15136 return resultobj;
15137 fail:
15138 return NULL;
15139 }
15140
15141
15142 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj;
15144 wxSlider *arg1 = (wxSlider *) 0 ;
15145 int arg2 ;
15146 PyObject * obj0 = 0 ;
15147 PyObject * obj1 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self",(char *) "maxValue", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15154 if (SWIG_arg_fail(1)) SWIG_fail;
15155 {
15156 arg2 = (int)(SWIG_As_int(obj1));
15157 if (SWIG_arg_fail(2)) SWIG_fail;
15158 }
15159 {
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 (arg1)->SetMax(arg2);
15162
15163 wxPyEndAllowThreads(__tstate);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 Py_INCREF(Py_None); resultobj = Py_None;
15167 return resultobj;
15168 fail:
15169 return NULL;
15170 }
15171
15172
15173 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15174 PyObject *resultobj;
15175 wxSlider *arg1 = (wxSlider *) 0 ;
15176 int arg2 ;
15177 PyObject * obj0 = 0 ;
15178 PyObject * obj1 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self",(char *) "lineSize", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15185 if (SWIG_arg_fail(1)) SWIG_fail;
15186 {
15187 arg2 = (int)(SWIG_As_int(obj1));
15188 if (SWIG_arg_fail(2)) SWIG_fail;
15189 }
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 (arg1)->SetLineSize(arg2);
15193
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 Py_INCREF(Py_None); resultobj = Py_None;
15198 return resultobj;
15199 fail:
15200 return NULL;
15201 }
15202
15203
15204 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj;
15206 wxSlider *arg1 = (wxSlider *) 0 ;
15207 int arg2 ;
15208 PyObject * obj0 = 0 ;
15209 PyObject * obj1 = 0 ;
15210 char *kwnames[] = {
15211 (char *) "self",(char *) "pageSize", NULL
15212 };
15213
15214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15216 if (SWIG_arg_fail(1)) SWIG_fail;
15217 {
15218 arg2 = (int)(SWIG_As_int(obj1));
15219 if (SWIG_arg_fail(2)) SWIG_fail;
15220 }
15221 {
15222 PyThreadState* __tstate = wxPyBeginAllowThreads();
15223 (arg1)->SetPageSize(arg2);
15224
15225 wxPyEndAllowThreads(__tstate);
15226 if (PyErr_Occurred()) SWIG_fail;
15227 }
15228 Py_INCREF(Py_None); resultobj = Py_None;
15229 return resultobj;
15230 fail:
15231 return NULL;
15232 }
15233
15234
15235 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15236 PyObject *resultobj;
15237 wxSlider *arg1 = (wxSlider *) 0 ;
15238 int result;
15239 PyObject * obj0 = 0 ;
15240 char *kwnames[] = {
15241 (char *) "self", NULL
15242 };
15243
15244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15246 if (SWIG_arg_fail(1)) SWIG_fail;
15247 {
15248 PyThreadState* __tstate = wxPyBeginAllowThreads();
15249 result = (int)((wxSlider const *)arg1)->GetLineSize();
15250
15251 wxPyEndAllowThreads(__tstate);
15252 if (PyErr_Occurred()) SWIG_fail;
15253 }
15254 {
15255 resultobj = SWIG_From_int((int)(result));
15256 }
15257 return resultobj;
15258 fail:
15259 return NULL;
15260 }
15261
15262
15263 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj;
15265 wxSlider *arg1 = (wxSlider *) 0 ;
15266 int result;
15267 PyObject * obj0 = 0 ;
15268 char *kwnames[] = {
15269 (char *) "self", NULL
15270 };
15271
15272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15274 if (SWIG_arg_fail(1)) SWIG_fail;
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 result = (int)((wxSlider const *)arg1)->GetPageSize();
15278
15279 wxPyEndAllowThreads(__tstate);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 {
15283 resultobj = SWIG_From_int((int)(result));
15284 }
15285 return resultobj;
15286 fail:
15287 return NULL;
15288 }
15289
15290
15291 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15292 PyObject *resultobj;
15293 wxSlider *arg1 = (wxSlider *) 0 ;
15294 int arg2 ;
15295 PyObject * obj0 = 0 ;
15296 PyObject * obj1 = 0 ;
15297 char *kwnames[] = {
15298 (char *) "self",(char *) "lenPixels", NULL
15299 };
15300
15301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15303 if (SWIG_arg_fail(1)) SWIG_fail;
15304 {
15305 arg2 = (int)(SWIG_As_int(obj1));
15306 if (SWIG_arg_fail(2)) SWIG_fail;
15307 }
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 (arg1)->SetThumbLength(arg2);
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 Py_INCREF(Py_None); resultobj = Py_None;
15316 return resultobj;
15317 fail:
15318 return NULL;
15319 }
15320
15321
15322 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15323 PyObject *resultobj;
15324 wxSlider *arg1 = (wxSlider *) 0 ;
15325 int result;
15326 PyObject * obj0 = 0 ;
15327 char *kwnames[] = {
15328 (char *) "self", NULL
15329 };
15330
15331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail;
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15337
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 {
15342 resultobj = SWIG_From_int((int)(result));
15343 }
15344 return resultobj;
15345 fail:
15346 return NULL;
15347 }
15348
15349
15350 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15351 PyObject *resultobj;
15352 wxSlider *arg1 = (wxSlider *) 0 ;
15353 int arg2 ;
15354 int arg3 = (int) 1 ;
15355 PyObject * obj0 = 0 ;
15356 PyObject * obj1 = 0 ;
15357 PyObject * obj2 = 0 ;
15358 char *kwnames[] = {
15359 (char *) "self",(char *) "n",(char *) "pos", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15364 if (SWIG_arg_fail(1)) SWIG_fail;
15365 {
15366 arg2 = (int)(SWIG_As_int(obj1));
15367 if (SWIG_arg_fail(2)) SWIG_fail;
15368 }
15369 if (obj2) {
15370 {
15371 arg3 = (int)(SWIG_As_int(obj2));
15372 if (SWIG_arg_fail(3)) SWIG_fail;
15373 }
15374 }
15375 {
15376 PyThreadState* __tstate = wxPyBeginAllowThreads();
15377 (arg1)->SetTickFreq(arg2,arg3);
15378
15379 wxPyEndAllowThreads(__tstate);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 Py_INCREF(Py_None); resultobj = Py_None;
15383 return resultobj;
15384 fail:
15385 return NULL;
15386 }
15387
15388
15389 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15390 PyObject *resultobj;
15391 wxSlider *arg1 = (wxSlider *) 0 ;
15392 int result;
15393 PyObject * obj0 = 0 ;
15394 char *kwnames[] = {
15395 (char *) "self", NULL
15396 };
15397
15398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15400 if (SWIG_arg_fail(1)) SWIG_fail;
15401 {
15402 PyThreadState* __tstate = wxPyBeginAllowThreads();
15403 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15404
15405 wxPyEndAllowThreads(__tstate);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 }
15408 {
15409 resultobj = SWIG_From_int((int)(result));
15410 }
15411 return resultobj;
15412 fail:
15413 return NULL;
15414 }
15415
15416
15417 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15418 PyObject *resultobj;
15419 wxSlider *arg1 = (wxSlider *) 0 ;
15420 PyObject * obj0 = 0 ;
15421 char *kwnames[] = {
15422 (char *) "self", NULL
15423 };
15424
15425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15427 if (SWIG_arg_fail(1)) SWIG_fail;
15428 {
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 (arg1)->ClearTicks();
15431
15432 wxPyEndAllowThreads(__tstate);
15433 if (PyErr_Occurred()) SWIG_fail;
15434 }
15435 Py_INCREF(Py_None); resultobj = Py_None;
15436 return resultobj;
15437 fail:
15438 return NULL;
15439 }
15440
15441
15442 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj;
15444 wxSlider *arg1 = (wxSlider *) 0 ;
15445 int arg2 ;
15446 PyObject * obj0 = 0 ;
15447 PyObject * obj1 = 0 ;
15448 char *kwnames[] = {
15449 (char *) "self",(char *) "tickPos", NULL
15450 };
15451
15452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15454 if (SWIG_arg_fail(1)) SWIG_fail;
15455 {
15456 arg2 = (int)(SWIG_As_int(obj1));
15457 if (SWIG_arg_fail(2)) SWIG_fail;
15458 }
15459 {
15460 PyThreadState* __tstate = wxPyBeginAllowThreads();
15461 (arg1)->SetTick(arg2);
15462
15463 wxPyEndAllowThreads(__tstate);
15464 if (PyErr_Occurred()) SWIG_fail;
15465 }
15466 Py_INCREF(Py_None); resultobj = Py_None;
15467 return resultobj;
15468 fail:
15469 return NULL;
15470 }
15471
15472
15473 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15474 PyObject *resultobj;
15475 wxSlider *arg1 = (wxSlider *) 0 ;
15476 PyObject * obj0 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "self", NULL
15479 };
15480
15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15483 if (SWIG_arg_fail(1)) SWIG_fail;
15484 {
15485 PyThreadState* __tstate = wxPyBeginAllowThreads();
15486 (arg1)->ClearSel();
15487
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 Py_INCREF(Py_None); resultobj = Py_None;
15492 return resultobj;
15493 fail:
15494 return NULL;
15495 }
15496
15497
15498 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15499 PyObject *resultobj;
15500 wxSlider *arg1 = (wxSlider *) 0 ;
15501 int result;
15502 PyObject * obj0 = 0 ;
15503 char *kwnames[] = {
15504 (char *) "self", NULL
15505 };
15506
15507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15509 if (SWIG_arg_fail(1)) SWIG_fail;
15510 {
15511 PyThreadState* __tstate = wxPyBeginAllowThreads();
15512 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15513
15514 wxPyEndAllowThreads(__tstate);
15515 if (PyErr_Occurred()) SWIG_fail;
15516 }
15517 {
15518 resultobj = SWIG_From_int((int)(result));
15519 }
15520 return resultobj;
15521 fail:
15522 return NULL;
15523 }
15524
15525
15526 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15527 PyObject *resultobj;
15528 wxSlider *arg1 = (wxSlider *) 0 ;
15529 int result;
15530 PyObject * obj0 = 0 ;
15531 char *kwnames[] = {
15532 (char *) "self", NULL
15533 };
15534
15535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15537 if (SWIG_arg_fail(1)) SWIG_fail;
15538 {
15539 PyThreadState* __tstate = wxPyBeginAllowThreads();
15540 result = (int)((wxSlider const *)arg1)->GetSelStart();
15541
15542 wxPyEndAllowThreads(__tstate);
15543 if (PyErr_Occurred()) SWIG_fail;
15544 }
15545 {
15546 resultobj = SWIG_From_int((int)(result));
15547 }
15548 return resultobj;
15549 fail:
15550 return NULL;
15551 }
15552
15553
15554 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15555 PyObject *resultobj;
15556 wxSlider *arg1 = (wxSlider *) 0 ;
15557 int arg2 ;
15558 int arg3 ;
15559 PyObject * obj0 = 0 ;
15560 PyObject * obj1 = 0 ;
15561 PyObject * obj2 = 0 ;
15562 char *kwnames[] = {
15563 (char *) "self",(char *) "min",(char *) "max", NULL
15564 };
15565
15566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15568 if (SWIG_arg_fail(1)) SWIG_fail;
15569 {
15570 arg2 = (int)(SWIG_As_int(obj1));
15571 if (SWIG_arg_fail(2)) SWIG_fail;
15572 }
15573 {
15574 arg3 = (int)(SWIG_As_int(obj2));
15575 if (SWIG_arg_fail(3)) SWIG_fail;
15576 }
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 (arg1)->SetSelection(arg2,arg3);
15580
15581 wxPyEndAllowThreads(__tstate);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 Py_INCREF(Py_None); resultobj = Py_None;
15585 return resultobj;
15586 fail:
15587 return NULL;
15588 }
15589
15590
15591 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15592 PyObject *resultobj;
15593 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15594 wxVisualAttributes result;
15595 PyObject * obj0 = 0 ;
15596 char *kwnames[] = {
15597 (char *) "variant", NULL
15598 };
15599
15600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15601 if (obj0) {
15602 {
15603 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15604 if (SWIG_arg_fail(1)) SWIG_fail;
15605 }
15606 }
15607 {
15608 if (!wxPyCheckForApp()) SWIG_fail;
15609 PyThreadState* __tstate = wxPyBeginAllowThreads();
15610 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
15615 {
15616 wxVisualAttributes * resultptr;
15617 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
15618 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15619 }
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15627 PyObject *obj;
15628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15629 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15630 Py_INCREF(obj);
15631 return Py_BuildValue((char *)"");
15632 }
15633 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15634 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15635 return 1;
15636 }
15637
15638
15639 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15640 PyObject *pyobj;
15641
15642 {
15643 #if wxUSE_UNICODE
15644 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15645 #else
15646 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15647 #endif
15648 }
15649 return pyobj;
15650 }
15651
15652
15653 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15654 PyObject *resultobj;
15655 wxWindow *arg1 = (wxWindow *) 0 ;
15656 int arg2 = (int) -1 ;
15657 wxString const &arg3_defvalue = wxPyEmptyString ;
15658 wxString *arg3 = (wxString *) &arg3_defvalue ;
15659 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15660 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15661 wxSize const &arg5_defvalue = wxDefaultSize ;
15662 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15663 long arg6 = (long) 0 ;
15664 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15665 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15666 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15667 wxString *arg8 = (wxString *) &arg8_defvalue ;
15668 wxToggleButton *result;
15669 bool temp3 = false ;
15670 wxPoint temp4 ;
15671 wxSize temp5 ;
15672 bool temp8 = false ;
15673 PyObject * obj0 = 0 ;
15674 PyObject * obj1 = 0 ;
15675 PyObject * obj2 = 0 ;
15676 PyObject * obj3 = 0 ;
15677 PyObject * obj4 = 0 ;
15678 PyObject * obj5 = 0 ;
15679 PyObject * obj6 = 0 ;
15680 PyObject * obj7 = 0 ;
15681 char *kwnames[] = {
15682 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15683 };
15684
15685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15687 if (SWIG_arg_fail(1)) SWIG_fail;
15688 if (obj1) {
15689 {
15690 arg2 = (int)(SWIG_As_int(obj1));
15691 if (SWIG_arg_fail(2)) SWIG_fail;
15692 }
15693 }
15694 if (obj2) {
15695 {
15696 arg3 = wxString_in_helper(obj2);
15697 if (arg3 == NULL) SWIG_fail;
15698 temp3 = true;
15699 }
15700 }
15701 if (obj3) {
15702 {
15703 arg4 = &temp4;
15704 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15705 }
15706 }
15707 if (obj4) {
15708 {
15709 arg5 = &temp5;
15710 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15711 }
15712 }
15713 if (obj5) {
15714 {
15715 arg6 = (long)(SWIG_As_long(obj5));
15716 if (SWIG_arg_fail(6)) SWIG_fail;
15717 }
15718 }
15719 if (obj6) {
15720 {
15721 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15722 if (SWIG_arg_fail(7)) SWIG_fail;
15723 if (arg7 == NULL) {
15724 SWIG_null_ref("wxValidator");
15725 }
15726 if (SWIG_arg_fail(7)) SWIG_fail;
15727 }
15728 }
15729 if (obj7) {
15730 {
15731 arg8 = wxString_in_helper(obj7);
15732 if (arg8 == NULL) SWIG_fail;
15733 temp8 = true;
15734 }
15735 }
15736 {
15737 if (!wxPyCheckForApp()) SWIG_fail;
15738 PyThreadState* __tstate = wxPyBeginAllowThreads();
15739 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15740
15741 wxPyEndAllowThreads(__tstate);
15742 if (PyErr_Occurred()) SWIG_fail;
15743 }
15744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15745 {
15746 if (temp3)
15747 delete arg3;
15748 }
15749 {
15750 if (temp8)
15751 delete arg8;
15752 }
15753 return resultobj;
15754 fail:
15755 {
15756 if (temp3)
15757 delete arg3;
15758 }
15759 {
15760 if (temp8)
15761 delete arg8;
15762 }
15763 return NULL;
15764 }
15765
15766
15767 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj;
15769 wxToggleButton *result;
15770 char *kwnames[] = {
15771 NULL
15772 };
15773
15774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15775 {
15776 if (!wxPyCheckForApp()) SWIG_fail;
15777 PyThreadState* __tstate = wxPyBeginAllowThreads();
15778 result = (wxToggleButton *)new wxToggleButton();
15779
15780 wxPyEndAllowThreads(__tstate);
15781 if (PyErr_Occurred()) SWIG_fail;
15782 }
15783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15784 return resultobj;
15785 fail:
15786 return NULL;
15787 }
15788
15789
15790 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15791 PyObject *resultobj;
15792 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15793 wxWindow *arg2 = (wxWindow *) 0 ;
15794 int arg3 = (int) -1 ;
15795 wxString const &arg4_defvalue = wxPyEmptyString ;
15796 wxString *arg4 = (wxString *) &arg4_defvalue ;
15797 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15798 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15799 wxSize const &arg6_defvalue = wxDefaultSize ;
15800 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15801 long arg7 = (long) 0 ;
15802 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15803 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15804 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15805 wxString *arg9 = (wxString *) &arg9_defvalue ;
15806 bool result;
15807 bool temp4 = false ;
15808 wxPoint temp5 ;
15809 wxSize temp6 ;
15810 bool temp9 = false ;
15811 PyObject * obj0 = 0 ;
15812 PyObject * obj1 = 0 ;
15813 PyObject * obj2 = 0 ;
15814 PyObject * obj3 = 0 ;
15815 PyObject * obj4 = 0 ;
15816 PyObject * obj5 = 0 ;
15817 PyObject * obj6 = 0 ;
15818 PyObject * obj7 = 0 ;
15819 PyObject * obj8 = 0 ;
15820 char *kwnames[] = {
15821 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15822 };
15823
15824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15826 if (SWIG_arg_fail(1)) SWIG_fail;
15827 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15828 if (SWIG_arg_fail(2)) SWIG_fail;
15829 if (obj2) {
15830 {
15831 arg3 = (int)(SWIG_As_int(obj2));
15832 if (SWIG_arg_fail(3)) SWIG_fail;
15833 }
15834 }
15835 if (obj3) {
15836 {
15837 arg4 = wxString_in_helper(obj3);
15838 if (arg4 == NULL) SWIG_fail;
15839 temp4 = true;
15840 }
15841 }
15842 if (obj4) {
15843 {
15844 arg5 = &temp5;
15845 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15846 }
15847 }
15848 if (obj5) {
15849 {
15850 arg6 = &temp6;
15851 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15852 }
15853 }
15854 if (obj6) {
15855 {
15856 arg7 = (long)(SWIG_As_long(obj6));
15857 if (SWIG_arg_fail(7)) SWIG_fail;
15858 }
15859 }
15860 if (obj7) {
15861 {
15862 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15863 if (SWIG_arg_fail(8)) SWIG_fail;
15864 if (arg8 == NULL) {
15865 SWIG_null_ref("wxValidator");
15866 }
15867 if (SWIG_arg_fail(8)) SWIG_fail;
15868 }
15869 }
15870 if (obj8) {
15871 {
15872 arg9 = wxString_in_helper(obj8);
15873 if (arg9 == NULL) SWIG_fail;
15874 temp9 = true;
15875 }
15876 }
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15880
15881 wxPyEndAllowThreads(__tstate);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 }
15884 {
15885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15886 }
15887 {
15888 if (temp4)
15889 delete arg4;
15890 }
15891 {
15892 if (temp9)
15893 delete arg9;
15894 }
15895 return resultobj;
15896 fail:
15897 {
15898 if (temp4)
15899 delete arg4;
15900 }
15901 {
15902 if (temp9)
15903 delete arg9;
15904 }
15905 return NULL;
15906 }
15907
15908
15909 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj;
15911 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15912 bool arg2 ;
15913 PyObject * obj0 = 0 ;
15914 PyObject * obj1 = 0 ;
15915 char *kwnames[] = {
15916 (char *) "self",(char *) "value", NULL
15917 };
15918
15919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15921 if (SWIG_arg_fail(1)) SWIG_fail;
15922 {
15923 arg2 = (bool)(SWIG_As_bool(obj1));
15924 if (SWIG_arg_fail(2)) SWIG_fail;
15925 }
15926 {
15927 PyThreadState* __tstate = wxPyBeginAllowThreads();
15928 (arg1)->SetValue(arg2);
15929
15930 wxPyEndAllowThreads(__tstate);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 Py_INCREF(Py_None); resultobj = Py_None;
15934 return resultobj;
15935 fail:
15936 return NULL;
15937 }
15938
15939
15940 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15941 PyObject *resultobj;
15942 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15943 bool result;
15944 PyObject * obj0 = 0 ;
15945 char *kwnames[] = {
15946 (char *) "self", NULL
15947 };
15948
15949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
15950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15951 if (SWIG_arg_fail(1)) SWIG_fail;
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 result = (bool)((wxToggleButton const *)arg1)->GetValue();
15955
15956 wxPyEndAllowThreads(__tstate);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 }
15959 {
15960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15961 }
15962 return resultobj;
15963 fail:
15964 return NULL;
15965 }
15966
15967
15968 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
15969 PyObject *resultobj;
15970 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15971 wxString *arg2 = 0 ;
15972 bool temp2 = false ;
15973 PyObject * obj0 = 0 ;
15974 PyObject * obj1 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "self",(char *) "label", NULL
15977 };
15978
15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15981 if (SWIG_arg_fail(1)) SWIG_fail;
15982 {
15983 arg2 = wxString_in_helper(obj1);
15984 if (arg2 == NULL) SWIG_fail;
15985 temp2 = true;
15986 }
15987 {
15988 PyThreadState* __tstate = wxPyBeginAllowThreads();
15989 (arg1)->SetLabel((wxString const &)*arg2);
15990
15991 wxPyEndAllowThreads(__tstate);
15992 if (PyErr_Occurred()) SWIG_fail;
15993 }
15994 Py_INCREF(Py_None); resultobj = Py_None;
15995 {
15996 if (temp2)
15997 delete arg2;
15998 }
15999 return resultobj;
16000 fail:
16001 {
16002 if (temp2)
16003 delete arg2;
16004 }
16005 return NULL;
16006 }
16007
16008
16009 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16010 PyObject *resultobj;
16011 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16012 wxVisualAttributes result;
16013 PyObject * obj0 = 0 ;
16014 char *kwnames[] = {
16015 (char *) "variant", NULL
16016 };
16017
16018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16019 if (obj0) {
16020 {
16021 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16022 if (SWIG_arg_fail(1)) SWIG_fail;
16023 }
16024 }
16025 {
16026 if (!wxPyCheckForApp()) SWIG_fail;
16027 PyThreadState* __tstate = wxPyBeginAllowThreads();
16028 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16029
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 {
16034 wxVisualAttributes * resultptr;
16035 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16037 }
16038 return resultobj;
16039 fail:
16040 return NULL;
16041 }
16042
16043
16044 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16045 PyObject *obj;
16046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16047 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16048 Py_INCREF(obj);
16049 return Py_BuildValue((char *)"");
16050 }
16051 static int _wrap_NotebookNameStr_set(PyObject *) {
16052 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16053 return 1;
16054 }
16055
16056
16057 static PyObject *_wrap_NotebookNameStr_get(void) {
16058 PyObject *pyobj;
16059
16060 {
16061 #if wxUSE_UNICODE
16062 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16063 #else
16064 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16065 #endif
16066 }
16067 return pyobj;
16068 }
16069
16070
16071 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16072 PyObject *resultobj;
16073 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16074 size_t result;
16075 PyObject * obj0 = 0 ;
16076 char *kwnames[] = {
16077 (char *) "self", NULL
16078 };
16079
16080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16082 if (SWIG_arg_fail(1)) SWIG_fail;
16083 {
16084 PyThreadState* __tstate = wxPyBeginAllowThreads();
16085 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16086
16087 wxPyEndAllowThreads(__tstate);
16088 if (PyErr_Occurred()) SWIG_fail;
16089 }
16090 {
16091 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16092 }
16093 return resultobj;
16094 fail:
16095 return NULL;
16096 }
16097
16098
16099 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16100 PyObject *resultobj;
16101 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16102 size_t arg2 ;
16103 wxWindow *result;
16104 PyObject * obj0 = 0 ;
16105 PyObject * obj1 = 0 ;
16106 char *kwnames[] = {
16107 (char *) "self",(char *) "n", NULL
16108 };
16109
16110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16112 if (SWIG_arg_fail(1)) SWIG_fail;
16113 {
16114 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16115 if (SWIG_arg_fail(2)) SWIG_fail;
16116 }
16117 {
16118 PyThreadState* __tstate = wxPyBeginAllowThreads();
16119 result = (wxWindow *)(arg1)->GetPage(arg2);
16120
16121 wxPyEndAllowThreads(__tstate);
16122 if (PyErr_Occurred()) SWIG_fail;
16123 }
16124 {
16125 resultobj = wxPyMake_wxObject(result, 0);
16126 }
16127 return resultobj;
16128 fail:
16129 return NULL;
16130 }
16131
16132
16133 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16134 PyObject *resultobj;
16135 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16136 wxWindow *result;
16137 PyObject * obj0 = 0 ;
16138 char *kwnames[] = {
16139 (char *) "self", NULL
16140 };
16141
16142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16144 if (SWIG_arg_fail(1)) SWIG_fail;
16145 {
16146 PyThreadState* __tstate = wxPyBeginAllowThreads();
16147 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16148
16149 wxPyEndAllowThreads(__tstate);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 {
16153 resultobj = wxPyMake_wxObject(result, 0);
16154 }
16155 return resultobj;
16156 fail:
16157 return NULL;
16158 }
16159
16160
16161 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16162 PyObject *resultobj;
16163 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16164 int result;
16165 PyObject * obj0 = 0 ;
16166 char *kwnames[] = {
16167 (char *) "self", NULL
16168 };
16169
16170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16172 if (SWIG_arg_fail(1)) SWIG_fail;
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16176
16177 wxPyEndAllowThreads(__tstate);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 }
16180 {
16181 resultobj = SWIG_From_int((int)(result));
16182 }
16183 return resultobj;
16184 fail:
16185 return NULL;
16186 }
16187
16188
16189 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16190 PyObject *resultobj;
16191 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16192 size_t arg2 ;
16193 wxString *arg3 = 0 ;
16194 bool result;
16195 bool temp3 = false ;
16196 PyObject * obj0 = 0 ;
16197 PyObject * obj1 = 0 ;
16198 PyObject * obj2 = 0 ;
16199 char *kwnames[] = {
16200 (char *) "self",(char *) "n",(char *) "strText", NULL
16201 };
16202
16203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16205 if (SWIG_arg_fail(1)) SWIG_fail;
16206 {
16207 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16208 if (SWIG_arg_fail(2)) SWIG_fail;
16209 }
16210 {
16211 arg3 = wxString_in_helper(obj2);
16212 if (arg3 == NULL) SWIG_fail;
16213 temp3 = true;
16214 }
16215 {
16216 PyThreadState* __tstate = wxPyBeginAllowThreads();
16217 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16218
16219 wxPyEndAllowThreads(__tstate);
16220 if (PyErr_Occurred()) SWIG_fail;
16221 }
16222 {
16223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16224 }
16225 {
16226 if (temp3)
16227 delete arg3;
16228 }
16229 return resultobj;
16230 fail:
16231 {
16232 if (temp3)
16233 delete arg3;
16234 }
16235 return NULL;
16236 }
16237
16238
16239 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16240 PyObject *resultobj;
16241 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16242 size_t arg2 ;
16243 wxString result;
16244 PyObject * obj0 = 0 ;
16245 PyObject * obj1 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self",(char *) "n", NULL
16248 };
16249
16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16252 if (SWIG_arg_fail(1)) SWIG_fail;
16253 {
16254 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16255 if (SWIG_arg_fail(2)) SWIG_fail;
16256 }
16257 {
16258 PyThreadState* __tstate = wxPyBeginAllowThreads();
16259 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16260
16261 wxPyEndAllowThreads(__tstate);
16262 if (PyErr_Occurred()) SWIG_fail;
16263 }
16264 {
16265 #if wxUSE_UNICODE
16266 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16267 #else
16268 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16269 #endif
16270 }
16271 return resultobj;
16272 fail:
16273 return NULL;
16274 }
16275
16276
16277 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16278 PyObject *resultobj;
16279 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16280 wxImageList *arg2 = (wxImageList *) 0 ;
16281 PyObject * obj0 = 0 ;
16282 PyObject * obj1 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "self",(char *) "imageList", NULL
16285 };
16286
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail;
16290 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16291 if (SWIG_arg_fail(2)) SWIG_fail;
16292 {
16293 PyThreadState* __tstate = wxPyBeginAllowThreads();
16294 (arg1)->SetImageList(arg2);
16295
16296 wxPyEndAllowThreads(__tstate);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 }
16299 Py_INCREF(Py_None); resultobj = Py_None;
16300 return resultobj;
16301 fail:
16302 return NULL;
16303 }
16304
16305
16306 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16307 PyObject *resultobj;
16308 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16309 wxImageList *arg2 = (wxImageList *) 0 ;
16310 PyObject * obj0 = 0 ;
16311 PyObject * obj1 = 0 ;
16312 char *kwnames[] = {
16313 (char *) "self",(char *) "imageList", NULL
16314 };
16315
16316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16318 if (SWIG_arg_fail(1)) SWIG_fail;
16319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16320 if (SWIG_arg_fail(2)) SWIG_fail;
16321 {
16322 PyThreadState* __tstate = wxPyBeginAllowThreads();
16323 (arg1)->AssignImageList(arg2);
16324
16325 wxPyEndAllowThreads(__tstate);
16326 if (PyErr_Occurred()) SWIG_fail;
16327 }
16328 Py_INCREF(Py_None); resultobj = Py_None;
16329 return resultobj;
16330 fail:
16331 return NULL;
16332 }
16333
16334
16335 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16336 PyObject *resultobj;
16337 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16338 wxImageList *result;
16339 PyObject * obj0 = 0 ;
16340 char *kwnames[] = {
16341 (char *) "self", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16346 if (SWIG_arg_fail(1)) SWIG_fail;
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 {
16355 resultobj = wxPyMake_wxObject(result, 0);
16356 }
16357 return resultobj;
16358 fail:
16359 return NULL;
16360 }
16361
16362
16363 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16364 PyObject *resultobj;
16365 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16366 size_t arg2 ;
16367 int result;
16368 PyObject * obj0 = 0 ;
16369 PyObject * obj1 = 0 ;
16370 char *kwnames[] = {
16371 (char *) "self",(char *) "n", NULL
16372 };
16373
16374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16376 if (SWIG_arg_fail(1)) SWIG_fail;
16377 {
16378 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16379 if (SWIG_arg_fail(2)) SWIG_fail;
16380 }
16381 {
16382 PyThreadState* __tstate = wxPyBeginAllowThreads();
16383 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16384
16385 wxPyEndAllowThreads(__tstate);
16386 if (PyErr_Occurred()) SWIG_fail;
16387 }
16388 {
16389 resultobj = SWIG_From_int((int)(result));
16390 }
16391 return resultobj;
16392 fail:
16393 return NULL;
16394 }
16395
16396
16397 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16398 PyObject *resultobj;
16399 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16400 size_t arg2 ;
16401 int arg3 ;
16402 bool result;
16403 PyObject * obj0 = 0 ;
16404 PyObject * obj1 = 0 ;
16405 PyObject * obj2 = 0 ;
16406 char *kwnames[] = {
16407 (char *) "self",(char *) "n",(char *) "imageId", NULL
16408 };
16409
16410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16412 if (SWIG_arg_fail(1)) SWIG_fail;
16413 {
16414 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16415 if (SWIG_arg_fail(2)) SWIG_fail;
16416 }
16417 {
16418 arg3 = (int)(SWIG_As_int(obj2));
16419 if (SWIG_arg_fail(3)) SWIG_fail;
16420 }
16421 {
16422 PyThreadState* __tstate = wxPyBeginAllowThreads();
16423 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16424
16425 wxPyEndAllowThreads(__tstate);
16426 if (PyErr_Occurred()) SWIG_fail;
16427 }
16428 {
16429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16430 }
16431 return resultobj;
16432 fail:
16433 return NULL;
16434 }
16435
16436
16437 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16440 wxSize *arg2 = 0 ;
16441 wxSize temp2 ;
16442 PyObject * obj0 = 0 ;
16443 PyObject * obj1 = 0 ;
16444 char *kwnames[] = {
16445 (char *) "self",(char *) "size", NULL
16446 };
16447
16448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16450 if (SWIG_arg_fail(1)) SWIG_fail;
16451 {
16452 arg2 = &temp2;
16453 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16454 }
16455 {
16456 PyThreadState* __tstate = wxPyBeginAllowThreads();
16457 (arg1)->SetPageSize((wxSize const &)*arg2);
16458
16459 wxPyEndAllowThreads(__tstate);
16460 if (PyErr_Occurred()) SWIG_fail;
16461 }
16462 Py_INCREF(Py_None); resultobj = Py_None;
16463 return resultobj;
16464 fail:
16465 return NULL;
16466 }
16467
16468
16469 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16470 PyObject *resultobj;
16471 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16472 wxSize *arg2 = 0 ;
16473 wxSize result;
16474 wxSize temp2 ;
16475 PyObject * obj0 = 0 ;
16476 PyObject * obj1 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self",(char *) "sizePage", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16483 if (SWIG_arg_fail(1)) SWIG_fail;
16484 {
16485 arg2 = &temp2;
16486 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16487 }
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 {
16496 wxSize * resultptr;
16497 resultptr = new wxSize((wxSize &)(result));
16498 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16499 }
16500 return resultobj;
16501 fail:
16502 return NULL;
16503 }
16504
16505
16506 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16507 PyObject *resultobj;
16508 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16509 size_t arg2 ;
16510 bool result;
16511 PyObject * obj0 = 0 ;
16512 PyObject * obj1 = 0 ;
16513 char *kwnames[] = {
16514 (char *) "self",(char *) "n", NULL
16515 };
16516
16517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16519 if (SWIG_arg_fail(1)) SWIG_fail;
16520 {
16521 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16522 if (SWIG_arg_fail(2)) SWIG_fail;
16523 }
16524 {
16525 PyThreadState* __tstate = wxPyBeginAllowThreads();
16526 result = (bool)(arg1)->DeletePage(arg2);
16527
16528 wxPyEndAllowThreads(__tstate);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 }
16531 {
16532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16533 }
16534 return resultobj;
16535 fail:
16536 return NULL;
16537 }
16538
16539
16540 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16541 PyObject *resultobj;
16542 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16543 size_t arg2 ;
16544 bool result;
16545 PyObject * obj0 = 0 ;
16546 PyObject * obj1 = 0 ;
16547 char *kwnames[] = {
16548 (char *) "self",(char *) "n", NULL
16549 };
16550
16551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
16552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16553 if (SWIG_arg_fail(1)) SWIG_fail;
16554 {
16555 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16556 if (SWIG_arg_fail(2)) SWIG_fail;
16557 }
16558 {
16559 PyThreadState* __tstate = wxPyBeginAllowThreads();
16560 result = (bool)(arg1)->RemovePage(arg2);
16561
16562 wxPyEndAllowThreads(__tstate);
16563 if (PyErr_Occurred()) SWIG_fail;
16564 }
16565 {
16566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16567 }
16568 return resultobj;
16569 fail:
16570 return NULL;
16571 }
16572
16573
16574 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16575 PyObject *resultobj;
16576 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16577 bool result;
16578 PyObject * obj0 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "self", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16585 if (SWIG_arg_fail(1)) SWIG_fail;
16586 {
16587 PyThreadState* __tstate = wxPyBeginAllowThreads();
16588 result = (bool)(arg1)->DeleteAllPages();
16589
16590 wxPyEndAllowThreads(__tstate);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 }
16593 {
16594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16595 }
16596 return resultobj;
16597 fail:
16598 return NULL;
16599 }
16600
16601
16602 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16603 PyObject *resultobj;
16604 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16605 wxWindow *arg2 = (wxWindow *) 0 ;
16606 wxString *arg3 = 0 ;
16607 bool arg4 = (bool) false ;
16608 int arg5 = (int) -1 ;
16609 bool result;
16610 bool temp3 = false ;
16611 PyObject * obj0 = 0 ;
16612 PyObject * obj1 = 0 ;
16613 PyObject * obj2 = 0 ;
16614 PyObject * obj3 = 0 ;
16615 PyObject * obj4 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail;
16623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16624 if (SWIG_arg_fail(2)) SWIG_fail;
16625 {
16626 arg3 = wxString_in_helper(obj2);
16627 if (arg3 == NULL) SWIG_fail;
16628 temp3 = true;
16629 }
16630 if (obj3) {
16631 {
16632 arg4 = (bool)(SWIG_As_bool(obj3));
16633 if (SWIG_arg_fail(4)) SWIG_fail;
16634 }
16635 }
16636 if (obj4) {
16637 {
16638 arg5 = (int)(SWIG_As_int(obj4));
16639 if (SWIG_arg_fail(5)) SWIG_fail;
16640 }
16641 }
16642 {
16643 PyThreadState* __tstate = wxPyBeginAllowThreads();
16644 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16645
16646 wxPyEndAllowThreads(__tstate);
16647 if (PyErr_Occurred()) SWIG_fail;
16648 }
16649 {
16650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16651 }
16652 {
16653 if (temp3)
16654 delete arg3;
16655 }
16656 return resultobj;
16657 fail:
16658 {
16659 if (temp3)
16660 delete arg3;
16661 }
16662 return NULL;
16663 }
16664
16665
16666 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16667 PyObject *resultobj;
16668 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16669 size_t arg2 ;
16670 wxWindow *arg3 = (wxWindow *) 0 ;
16671 wxString *arg4 = 0 ;
16672 bool arg5 = (bool) false ;
16673 int arg6 = (int) -1 ;
16674 bool result;
16675 bool temp4 = false ;
16676 PyObject * obj0 = 0 ;
16677 PyObject * obj1 = 0 ;
16678 PyObject * obj2 = 0 ;
16679 PyObject * obj3 = 0 ;
16680 PyObject * obj4 = 0 ;
16681 PyObject * obj5 = 0 ;
16682 char *kwnames[] = {
16683 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16684 };
16685
16686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16688 if (SWIG_arg_fail(1)) SWIG_fail;
16689 {
16690 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16691 if (SWIG_arg_fail(2)) SWIG_fail;
16692 }
16693 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16694 if (SWIG_arg_fail(3)) SWIG_fail;
16695 {
16696 arg4 = wxString_in_helper(obj3);
16697 if (arg4 == NULL) SWIG_fail;
16698 temp4 = true;
16699 }
16700 if (obj4) {
16701 {
16702 arg5 = (bool)(SWIG_As_bool(obj4));
16703 if (SWIG_arg_fail(5)) SWIG_fail;
16704 }
16705 }
16706 if (obj5) {
16707 {
16708 arg6 = (int)(SWIG_As_int(obj5));
16709 if (SWIG_arg_fail(6)) SWIG_fail;
16710 }
16711 }
16712 {
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16715
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 {
16720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16721 }
16722 {
16723 if (temp4)
16724 delete arg4;
16725 }
16726 return resultobj;
16727 fail:
16728 {
16729 if (temp4)
16730 delete arg4;
16731 }
16732 return NULL;
16733 }
16734
16735
16736 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16737 PyObject *resultobj;
16738 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16739 size_t arg2 ;
16740 int result;
16741 PyObject * obj0 = 0 ;
16742 PyObject * obj1 = 0 ;
16743 char *kwnames[] = {
16744 (char *) "self",(char *) "n", NULL
16745 };
16746
16747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16749 if (SWIG_arg_fail(1)) SWIG_fail;
16750 {
16751 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16752 if (SWIG_arg_fail(2)) SWIG_fail;
16753 }
16754 {
16755 PyThreadState* __tstate = wxPyBeginAllowThreads();
16756 result = (int)(arg1)->SetSelection(arg2);
16757
16758 wxPyEndAllowThreads(__tstate);
16759 if (PyErr_Occurred()) SWIG_fail;
16760 }
16761 {
16762 resultobj = SWIG_From_int((int)(result));
16763 }
16764 return resultobj;
16765 fail:
16766 return NULL;
16767 }
16768
16769
16770 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16771 PyObject *resultobj;
16772 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16773 bool arg2 = (bool) true ;
16774 PyObject * obj0 = 0 ;
16775 PyObject * obj1 = 0 ;
16776 char *kwnames[] = {
16777 (char *) "self",(char *) "forward", NULL
16778 };
16779
16780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
16781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16782 if (SWIG_arg_fail(1)) SWIG_fail;
16783 if (obj1) {
16784 {
16785 arg2 = (bool)(SWIG_As_bool(obj1));
16786 if (SWIG_arg_fail(2)) SWIG_fail;
16787 }
16788 }
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 (arg1)->AdvanceSelection(arg2);
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
16796 Py_INCREF(Py_None); resultobj = Py_None;
16797 return resultobj;
16798 fail:
16799 return NULL;
16800 }
16801
16802
16803 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16804 PyObject *resultobj;
16805 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16806 wxVisualAttributes result;
16807 PyObject * obj0 = 0 ;
16808 char *kwnames[] = {
16809 (char *) "variant", NULL
16810 };
16811
16812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16813 if (obj0) {
16814 {
16815 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16816 if (SWIG_arg_fail(1)) SWIG_fail;
16817 }
16818 }
16819 {
16820 if (!wxPyCheckForApp()) SWIG_fail;
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
16823
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 {
16828 wxVisualAttributes * resultptr;
16829 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16830 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16831 }
16832 return resultobj;
16833 fail:
16834 return NULL;
16835 }
16836
16837
16838 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
16839 PyObject *obj;
16840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16841 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
16842 Py_INCREF(obj);
16843 return Py_BuildValue((char *)"");
16844 }
16845 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16846 PyObject *resultobj;
16847 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16848 int arg2 = (int) 0 ;
16849 int arg3 = (int) -1 ;
16850 int arg4 = (int) -1 ;
16851 wxBookCtrlBaseEvent *result;
16852 PyObject * obj0 = 0 ;
16853 PyObject * obj1 = 0 ;
16854 PyObject * obj2 = 0 ;
16855 PyObject * obj3 = 0 ;
16856 char *kwnames[] = {
16857 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16858 };
16859
16860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16861 if (obj0) {
16862 {
16863 arg1 = (wxEventType)(SWIG_As_int(obj0));
16864 if (SWIG_arg_fail(1)) SWIG_fail;
16865 }
16866 }
16867 if (obj1) {
16868 {
16869 arg2 = (int)(SWIG_As_int(obj1));
16870 if (SWIG_arg_fail(2)) SWIG_fail;
16871 }
16872 }
16873 if (obj2) {
16874 {
16875 arg3 = (int)(SWIG_As_int(obj2));
16876 if (SWIG_arg_fail(3)) SWIG_fail;
16877 }
16878 }
16879 if (obj3) {
16880 {
16881 arg4 = (int)(SWIG_As_int(obj3));
16882 if (SWIG_arg_fail(4)) SWIG_fail;
16883 }
16884 }
16885 {
16886 PyThreadState* __tstate = wxPyBeginAllowThreads();
16887 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
16888
16889 wxPyEndAllowThreads(__tstate);
16890 if (PyErr_Occurred()) SWIG_fail;
16891 }
16892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
16893 return resultobj;
16894 fail:
16895 return NULL;
16896 }
16897
16898
16899 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16900 PyObject *resultobj;
16901 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16902 int result;
16903 PyObject * obj0 = 0 ;
16904 char *kwnames[] = {
16905 (char *) "self", NULL
16906 };
16907
16908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
16909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16910 if (SWIG_arg_fail(1)) SWIG_fail;
16911 {
16912 PyThreadState* __tstate = wxPyBeginAllowThreads();
16913 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
16914
16915 wxPyEndAllowThreads(__tstate);
16916 if (PyErr_Occurred()) SWIG_fail;
16917 }
16918 {
16919 resultobj = SWIG_From_int((int)(result));
16920 }
16921 return resultobj;
16922 fail:
16923 return NULL;
16924 }
16925
16926
16927 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16928 PyObject *resultobj;
16929 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16930 int arg2 ;
16931 PyObject * obj0 = 0 ;
16932 PyObject * obj1 = 0 ;
16933 char *kwnames[] = {
16934 (char *) "self",(char *) "nSel", NULL
16935 };
16936
16937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16939 if (SWIG_arg_fail(1)) SWIG_fail;
16940 {
16941 arg2 = (int)(SWIG_As_int(obj1));
16942 if (SWIG_arg_fail(2)) SWIG_fail;
16943 }
16944 {
16945 PyThreadState* __tstate = wxPyBeginAllowThreads();
16946 (arg1)->SetSelection(arg2);
16947
16948 wxPyEndAllowThreads(__tstate);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 }
16951 Py_INCREF(Py_None); resultobj = Py_None;
16952 return resultobj;
16953 fail:
16954 return NULL;
16955 }
16956
16957
16958 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16959 PyObject *resultobj;
16960 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16961 int result;
16962 PyObject * obj0 = 0 ;
16963 char *kwnames[] = {
16964 (char *) "self", NULL
16965 };
16966
16967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
16968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16969 if (SWIG_arg_fail(1)) SWIG_fail;
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
16973
16974 wxPyEndAllowThreads(__tstate);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 }
16977 {
16978 resultobj = SWIG_From_int((int)(result));
16979 }
16980 return resultobj;
16981 fail:
16982 return NULL;
16983 }
16984
16985
16986 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16987 PyObject *resultobj;
16988 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16989 int arg2 ;
16990 PyObject * obj0 = 0 ;
16991 PyObject * obj1 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "self",(char *) "nOldSel", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
16997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16998 if (SWIG_arg_fail(1)) SWIG_fail;
16999 {
17000 arg2 = (int)(SWIG_As_int(obj1));
17001 if (SWIG_arg_fail(2)) SWIG_fail;
17002 }
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 (arg1)->SetOldSelection(arg2);
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 Py_INCREF(Py_None); resultobj = Py_None;
17011 return resultobj;
17012 fail:
17013 return NULL;
17014 }
17015
17016
17017 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17018 PyObject *obj;
17019 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17020 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17021 Py_INCREF(obj);
17022 return Py_BuildValue((char *)"");
17023 }
17024 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17025 PyObject *resultobj;
17026 wxWindow *arg1 = (wxWindow *) 0 ;
17027 int arg2 = (int) -1 ;
17028 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17029 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17030 wxSize const &arg4_defvalue = wxDefaultSize ;
17031 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17032 long arg5 = (long) 0 ;
17033 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17034 wxString *arg6 = (wxString *) &arg6_defvalue ;
17035 wxNotebook *result;
17036 wxPoint temp3 ;
17037 wxSize temp4 ;
17038 bool temp6 = false ;
17039 PyObject * obj0 = 0 ;
17040 PyObject * obj1 = 0 ;
17041 PyObject * obj2 = 0 ;
17042 PyObject * obj3 = 0 ;
17043 PyObject * obj4 = 0 ;
17044 PyObject * obj5 = 0 ;
17045 char *kwnames[] = {
17046 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17047 };
17048
17049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17051 if (SWIG_arg_fail(1)) SWIG_fail;
17052 if (obj1) {
17053 {
17054 arg2 = (int)(SWIG_As_int(obj1));
17055 if (SWIG_arg_fail(2)) SWIG_fail;
17056 }
17057 }
17058 if (obj2) {
17059 {
17060 arg3 = &temp3;
17061 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17062 }
17063 }
17064 if (obj3) {
17065 {
17066 arg4 = &temp4;
17067 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17068 }
17069 }
17070 if (obj4) {
17071 {
17072 arg5 = (long)(SWIG_As_long(obj4));
17073 if (SWIG_arg_fail(5)) SWIG_fail;
17074 }
17075 }
17076 if (obj5) {
17077 {
17078 arg6 = wxString_in_helper(obj5);
17079 if (arg6 == NULL) SWIG_fail;
17080 temp6 = true;
17081 }
17082 }
17083 {
17084 if (!wxPyCheckForApp()) SWIG_fail;
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17087
17088 wxPyEndAllowThreads(__tstate);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17092 {
17093 if (temp6)
17094 delete arg6;
17095 }
17096 return resultobj;
17097 fail:
17098 {
17099 if (temp6)
17100 delete arg6;
17101 }
17102 return NULL;
17103 }
17104
17105
17106 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17107 PyObject *resultobj;
17108 wxNotebook *result;
17109 char *kwnames[] = {
17110 NULL
17111 };
17112
17113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17114 {
17115 if (!wxPyCheckForApp()) SWIG_fail;
17116 PyThreadState* __tstate = wxPyBeginAllowThreads();
17117 result = (wxNotebook *)new wxNotebook();
17118
17119 wxPyEndAllowThreads(__tstate);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 }
17122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17123 return resultobj;
17124 fail:
17125 return NULL;
17126 }
17127
17128
17129 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17130 PyObject *resultobj;
17131 wxNotebook *arg1 = (wxNotebook *) 0 ;
17132 wxWindow *arg2 = (wxWindow *) 0 ;
17133 int arg3 = (int) -1 ;
17134 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17135 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17136 wxSize const &arg5_defvalue = wxDefaultSize ;
17137 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17138 long arg6 = (long) 0 ;
17139 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17140 wxString *arg7 = (wxString *) &arg7_defvalue ;
17141 bool result;
17142 wxPoint temp4 ;
17143 wxSize temp5 ;
17144 bool temp7 = false ;
17145 PyObject * obj0 = 0 ;
17146 PyObject * obj1 = 0 ;
17147 PyObject * obj2 = 0 ;
17148 PyObject * obj3 = 0 ;
17149 PyObject * obj4 = 0 ;
17150 PyObject * obj5 = 0 ;
17151 PyObject * obj6 = 0 ;
17152 char *kwnames[] = {
17153 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17154 };
17155
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17158 if (SWIG_arg_fail(1)) SWIG_fail;
17159 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17160 if (SWIG_arg_fail(2)) SWIG_fail;
17161 if (obj2) {
17162 {
17163 arg3 = (int)(SWIG_As_int(obj2));
17164 if (SWIG_arg_fail(3)) SWIG_fail;
17165 }
17166 }
17167 if (obj3) {
17168 {
17169 arg4 = &temp4;
17170 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17171 }
17172 }
17173 if (obj4) {
17174 {
17175 arg5 = &temp5;
17176 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17177 }
17178 }
17179 if (obj5) {
17180 {
17181 arg6 = (long)(SWIG_As_long(obj5));
17182 if (SWIG_arg_fail(6)) SWIG_fail;
17183 }
17184 }
17185 if (obj6) {
17186 {
17187 arg7 = wxString_in_helper(obj6);
17188 if (arg7 == NULL) SWIG_fail;
17189 temp7 = true;
17190 }
17191 }
17192 {
17193 PyThreadState* __tstate = wxPyBeginAllowThreads();
17194 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17195
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 {
17200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17201 }
17202 {
17203 if (temp7)
17204 delete arg7;
17205 }
17206 return resultobj;
17207 fail:
17208 {
17209 if (temp7)
17210 delete arg7;
17211 }
17212 return NULL;
17213 }
17214
17215
17216 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17217 PyObject *resultobj;
17218 wxNotebook *arg1 = (wxNotebook *) 0 ;
17219 int result;
17220 PyObject * obj0 = 0 ;
17221 char *kwnames[] = {
17222 (char *) "self", NULL
17223 };
17224
17225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17227 if (SWIG_arg_fail(1)) SWIG_fail;
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 {
17236 resultobj = SWIG_From_int((int)(result));
17237 }
17238 return resultobj;
17239 fail:
17240 return NULL;
17241 }
17242
17243
17244 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17245 PyObject *resultobj;
17246 wxNotebook *arg1 = (wxNotebook *) 0 ;
17247 wxSize *arg2 = 0 ;
17248 wxSize temp2 ;
17249 PyObject * obj0 = 0 ;
17250 PyObject * obj1 = 0 ;
17251 char *kwnames[] = {
17252 (char *) "self",(char *) "padding", NULL
17253 };
17254
17255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17257 if (SWIG_arg_fail(1)) SWIG_fail;
17258 {
17259 arg2 = &temp2;
17260 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17261 }
17262 {
17263 PyThreadState* __tstate = wxPyBeginAllowThreads();
17264 (arg1)->SetPadding((wxSize const &)*arg2);
17265
17266 wxPyEndAllowThreads(__tstate);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 }
17269 Py_INCREF(Py_None); resultobj = Py_None;
17270 return resultobj;
17271 fail:
17272 return NULL;
17273 }
17274
17275
17276 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17277 PyObject *resultobj;
17278 wxNotebook *arg1 = (wxNotebook *) 0 ;
17279 wxSize *arg2 = 0 ;
17280 wxSize temp2 ;
17281 PyObject * obj0 = 0 ;
17282 PyObject * obj1 = 0 ;
17283 char *kwnames[] = {
17284 (char *) "self",(char *) "sz", NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17289 if (SWIG_arg_fail(1)) SWIG_fail;
17290 {
17291 arg2 = &temp2;
17292 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17293 }
17294 {
17295 PyThreadState* __tstate = wxPyBeginAllowThreads();
17296 (arg1)->SetTabSize((wxSize const &)*arg2);
17297
17298 wxPyEndAllowThreads(__tstate);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
17301 Py_INCREF(Py_None); resultobj = Py_None;
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj;
17310 wxNotebook *arg1 = (wxNotebook *) 0 ;
17311 wxPoint *arg2 = 0 ;
17312 long *arg3 = (long *) 0 ;
17313 int result;
17314 wxPoint temp2 ;
17315 long temp3 ;
17316 int res3 = 0 ;
17317 PyObject * obj0 = 0 ;
17318 PyObject * obj1 = 0 ;
17319 char *kwnames[] = {
17320 (char *) "self",(char *) "pt", NULL
17321 };
17322
17323 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17326 if (SWIG_arg_fail(1)) SWIG_fail;
17327 {
17328 arg2 = &temp2;
17329 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17330 }
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 {
17339 resultobj = SWIG_From_int((int)(result));
17340 }
17341 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17342 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17343 return resultobj;
17344 fail:
17345 return NULL;
17346 }
17347
17348
17349 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17350 PyObject *resultobj;
17351 wxNotebook *arg1 = (wxNotebook *) 0 ;
17352 wxSize *arg2 = 0 ;
17353 wxSize result;
17354 wxSize temp2 ;
17355 PyObject * obj0 = 0 ;
17356 PyObject * obj1 = 0 ;
17357 char *kwnames[] = {
17358 (char *) "self",(char *) "sizePage", NULL
17359 };
17360
17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail;
17364 {
17365 arg2 = &temp2;
17366 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17367 }
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 {
17376 wxSize * resultptr;
17377 resultptr = new wxSize((wxSize &)(result));
17378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17379 }
17380 return resultobj;
17381 fail:
17382 return NULL;
17383 }
17384
17385
17386 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17387 PyObject *resultobj;
17388 wxNotebook *arg1 = (wxNotebook *) 0 ;
17389 wxColour result;
17390 PyObject * obj0 = 0 ;
17391 char *kwnames[] = {
17392 (char *) "self", NULL
17393 };
17394
17395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17397 if (SWIG_arg_fail(1)) SWIG_fail;
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17401
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 {
17406 wxColour * resultptr;
17407 resultptr = new wxColour((wxColour &)(result));
17408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17409 }
17410 return resultobj;
17411 fail:
17412 return NULL;
17413 }
17414
17415
17416 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj;
17418 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17419 wxVisualAttributes result;
17420 PyObject * obj0 = 0 ;
17421 char *kwnames[] = {
17422 (char *) "variant", NULL
17423 };
17424
17425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17426 if (obj0) {
17427 {
17428 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17429 if (SWIG_arg_fail(1)) SWIG_fail;
17430 }
17431 }
17432 {
17433 if (!wxPyCheckForApp()) SWIG_fail;
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
17435 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17436
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 {
17441 wxVisualAttributes * resultptr;
17442 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
17443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17444 }
17445 return resultobj;
17446 fail:
17447 return NULL;
17448 }
17449
17450
17451 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17452 PyObject *obj;
17453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17454 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17455 Py_INCREF(obj);
17456 return Py_BuildValue((char *)"");
17457 }
17458 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17459 PyObject *resultobj;
17460 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17461 int arg2 = (int) 0 ;
17462 int arg3 = (int) -1 ;
17463 int arg4 = (int) -1 ;
17464 wxNotebookEvent *result;
17465 PyObject * obj0 = 0 ;
17466 PyObject * obj1 = 0 ;
17467 PyObject * obj2 = 0 ;
17468 PyObject * obj3 = 0 ;
17469 char *kwnames[] = {
17470 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17471 };
17472
17473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17474 if (obj0) {
17475 {
17476 arg1 = (wxEventType)(SWIG_As_int(obj0));
17477 if (SWIG_arg_fail(1)) SWIG_fail;
17478 }
17479 }
17480 if (obj1) {
17481 {
17482 arg2 = (int)(SWIG_As_int(obj1));
17483 if (SWIG_arg_fail(2)) SWIG_fail;
17484 }
17485 }
17486 if (obj2) {
17487 {
17488 arg3 = (int)(SWIG_As_int(obj2));
17489 if (SWIG_arg_fail(3)) SWIG_fail;
17490 }
17491 }
17492 if (obj3) {
17493 {
17494 arg4 = (int)(SWIG_As_int(obj3));
17495 if (SWIG_arg_fail(4)) SWIG_fail;
17496 }
17497 }
17498 {
17499 PyThreadState* __tstate = wxPyBeginAllowThreads();
17500 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17501
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
17505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17506 return resultobj;
17507 fail:
17508 return NULL;
17509 }
17510
17511
17512 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17513 PyObject *obj;
17514 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17515 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17516 Py_INCREF(obj);
17517 return Py_BuildValue((char *)"");
17518 }
17519 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17520 PyObject *resultobj;
17521 wxWindow *arg1 = (wxWindow *) 0 ;
17522 int arg2 = (int) -1 ;
17523 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17524 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17525 wxSize const &arg4_defvalue = wxDefaultSize ;
17526 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17527 long arg5 = (long) 0 ;
17528 wxString const &arg6_defvalue = wxPyEmptyString ;
17529 wxString *arg6 = (wxString *) &arg6_defvalue ;
17530 wxListbook *result;
17531 wxPoint temp3 ;
17532 wxSize temp4 ;
17533 bool temp6 = false ;
17534 PyObject * obj0 = 0 ;
17535 PyObject * obj1 = 0 ;
17536 PyObject * obj2 = 0 ;
17537 PyObject * obj3 = 0 ;
17538 PyObject * obj4 = 0 ;
17539 PyObject * obj5 = 0 ;
17540 char *kwnames[] = {
17541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17542 };
17543
17544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17546 if (SWIG_arg_fail(1)) SWIG_fail;
17547 if (obj1) {
17548 {
17549 arg2 = (int)(SWIG_As_int(obj1));
17550 if (SWIG_arg_fail(2)) SWIG_fail;
17551 }
17552 }
17553 if (obj2) {
17554 {
17555 arg3 = &temp3;
17556 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17557 }
17558 }
17559 if (obj3) {
17560 {
17561 arg4 = &temp4;
17562 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17563 }
17564 }
17565 if (obj4) {
17566 {
17567 arg5 = (long)(SWIG_As_long(obj4));
17568 if (SWIG_arg_fail(5)) SWIG_fail;
17569 }
17570 }
17571 if (obj5) {
17572 {
17573 arg6 = wxString_in_helper(obj5);
17574 if (arg6 == NULL) SWIG_fail;
17575 temp6 = true;
17576 }
17577 }
17578 {
17579 if (!wxPyCheckForApp()) SWIG_fail;
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17582
17583 wxPyEndAllowThreads(__tstate);
17584 if (PyErr_Occurred()) SWIG_fail;
17585 }
17586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17587 {
17588 if (temp6)
17589 delete arg6;
17590 }
17591 return resultobj;
17592 fail:
17593 {
17594 if (temp6)
17595 delete arg6;
17596 }
17597 return NULL;
17598 }
17599
17600
17601 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17602 PyObject *resultobj;
17603 wxListbook *result;
17604 char *kwnames[] = {
17605 NULL
17606 };
17607
17608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17609 {
17610 if (!wxPyCheckForApp()) SWIG_fail;
17611 PyThreadState* __tstate = wxPyBeginAllowThreads();
17612 result = (wxListbook *)new wxListbook();
17613
17614 wxPyEndAllowThreads(__tstate);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 }
17617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17618 return resultobj;
17619 fail:
17620 return NULL;
17621 }
17622
17623
17624 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17625 PyObject *resultobj;
17626 wxListbook *arg1 = (wxListbook *) 0 ;
17627 wxWindow *arg2 = (wxWindow *) 0 ;
17628 int arg3 = (int) -1 ;
17629 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17630 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17631 wxSize const &arg5_defvalue = wxDefaultSize ;
17632 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17633 long arg6 = (long) 0 ;
17634 wxString const &arg7_defvalue = wxPyEmptyString ;
17635 wxString *arg7 = (wxString *) &arg7_defvalue ;
17636 bool result;
17637 wxPoint temp4 ;
17638 wxSize temp5 ;
17639 bool temp7 = false ;
17640 PyObject * obj0 = 0 ;
17641 PyObject * obj1 = 0 ;
17642 PyObject * obj2 = 0 ;
17643 PyObject * obj3 = 0 ;
17644 PyObject * obj4 = 0 ;
17645 PyObject * obj5 = 0 ;
17646 PyObject * obj6 = 0 ;
17647 char *kwnames[] = {
17648 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17649 };
17650
17651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17653 if (SWIG_arg_fail(1)) SWIG_fail;
17654 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17655 if (SWIG_arg_fail(2)) SWIG_fail;
17656 if (obj2) {
17657 {
17658 arg3 = (int)(SWIG_As_int(obj2));
17659 if (SWIG_arg_fail(3)) SWIG_fail;
17660 }
17661 }
17662 if (obj3) {
17663 {
17664 arg4 = &temp4;
17665 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17666 }
17667 }
17668 if (obj4) {
17669 {
17670 arg5 = &temp5;
17671 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17672 }
17673 }
17674 if (obj5) {
17675 {
17676 arg6 = (long)(SWIG_As_long(obj5));
17677 if (SWIG_arg_fail(6)) SWIG_fail;
17678 }
17679 }
17680 if (obj6) {
17681 {
17682 arg7 = wxString_in_helper(obj6);
17683 if (arg7 == NULL) SWIG_fail;
17684 temp7 = true;
17685 }
17686 }
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
17694 {
17695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17696 }
17697 {
17698 if (temp7)
17699 delete arg7;
17700 }
17701 return resultobj;
17702 fail:
17703 {
17704 if (temp7)
17705 delete arg7;
17706 }
17707 return NULL;
17708 }
17709
17710
17711 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17712 PyObject *resultobj;
17713 wxListbook *arg1 = (wxListbook *) 0 ;
17714 bool result;
17715 PyObject * obj0 = 0 ;
17716 char *kwnames[] = {
17717 (char *) "self", NULL
17718 };
17719
17720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
17721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17722 if (SWIG_arg_fail(1)) SWIG_fail;
17723 {
17724 PyThreadState* __tstate = wxPyBeginAllowThreads();
17725 result = (bool)((wxListbook const *)arg1)->IsVertical();
17726
17727 wxPyEndAllowThreads(__tstate);
17728 if (PyErr_Occurred()) SWIG_fail;
17729 }
17730 {
17731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17732 }
17733 return resultobj;
17734 fail:
17735 return NULL;
17736 }
17737
17738
17739 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17740 PyObject *resultobj;
17741 wxListbook *arg1 = (wxListbook *) 0 ;
17742 wxListView *result;
17743 PyObject * obj0 = 0 ;
17744 char *kwnames[] = {
17745 (char *) "self", NULL
17746 };
17747
17748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
17749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17750 if (SWIG_arg_fail(1)) SWIG_fail;
17751 {
17752 PyThreadState* __tstate = wxPyBeginAllowThreads();
17753 result = (wxListView *)(arg1)->GetListView();
17754
17755 wxPyEndAllowThreads(__tstate);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 }
17758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17759 return resultobj;
17760 fail:
17761 return NULL;
17762 }
17763
17764
17765 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
17766 PyObject *obj;
17767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17768 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17769 Py_INCREF(obj);
17770 return Py_BuildValue((char *)"");
17771 }
17772 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17773 PyObject *resultobj;
17774 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17775 int arg2 = (int) 0 ;
17776 int arg3 = (int) -1 ;
17777 int arg4 = (int) -1 ;
17778 wxListbookEvent *result;
17779 PyObject * obj0 = 0 ;
17780 PyObject * obj1 = 0 ;
17781 PyObject * obj2 = 0 ;
17782 PyObject * obj3 = 0 ;
17783 char *kwnames[] = {
17784 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17785 };
17786
17787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17788 if (obj0) {
17789 {
17790 arg1 = (wxEventType)(SWIG_As_int(obj0));
17791 if (SWIG_arg_fail(1)) SWIG_fail;
17792 }
17793 }
17794 if (obj1) {
17795 {
17796 arg2 = (int)(SWIG_As_int(obj1));
17797 if (SWIG_arg_fail(2)) SWIG_fail;
17798 }
17799 }
17800 if (obj2) {
17801 {
17802 arg3 = (int)(SWIG_As_int(obj2));
17803 if (SWIG_arg_fail(3)) SWIG_fail;
17804 }
17805 }
17806 if (obj3) {
17807 {
17808 arg4 = (int)(SWIG_As_int(obj3));
17809 if (SWIG_arg_fail(4)) SWIG_fail;
17810 }
17811 }
17812 {
17813 PyThreadState* __tstate = wxPyBeginAllowThreads();
17814 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17815
17816 wxPyEndAllowThreads(__tstate);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 }
17819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17820 return resultobj;
17821 fail:
17822 return NULL;
17823 }
17824
17825
17826 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
17827 PyObject *obj;
17828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17829 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17830 Py_INCREF(obj);
17831 return Py_BuildValue((char *)"");
17832 }
17833 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17834 PyObject *resultobj;
17835 wxWindow *arg1 = (wxWindow *) 0 ;
17836 int arg2 ;
17837 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17838 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17839 wxSize const &arg4_defvalue = wxDefaultSize ;
17840 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17841 long arg5 = (long) 0 ;
17842 wxString const &arg6_defvalue = wxPyEmptyString ;
17843 wxString *arg6 = (wxString *) &arg6_defvalue ;
17844 wxChoicebook *result;
17845 wxPoint temp3 ;
17846 wxSize temp4 ;
17847 bool temp6 = false ;
17848 PyObject * obj0 = 0 ;
17849 PyObject * obj1 = 0 ;
17850 PyObject * obj2 = 0 ;
17851 PyObject * obj3 = 0 ;
17852 PyObject * obj4 = 0 ;
17853 PyObject * obj5 = 0 ;
17854 char *kwnames[] = {
17855 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17856 };
17857
17858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17860 if (SWIG_arg_fail(1)) SWIG_fail;
17861 {
17862 arg2 = (int)(SWIG_As_int(obj1));
17863 if (SWIG_arg_fail(2)) SWIG_fail;
17864 }
17865 if (obj2) {
17866 {
17867 arg3 = &temp3;
17868 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17869 }
17870 }
17871 if (obj3) {
17872 {
17873 arg4 = &temp4;
17874 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17875 }
17876 }
17877 if (obj4) {
17878 {
17879 arg5 = (long)(SWIG_As_long(obj4));
17880 if (SWIG_arg_fail(5)) SWIG_fail;
17881 }
17882 }
17883 if (obj5) {
17884 {
17885 arg6 = wxString_in_helper(obj5);
17886 if (arg6 == NULL) SWIG_fail;
17887 temp6 = true;
17888 }
17889 }
17890 {
17891 if (!wxPyCheckForApp()) SWIG_fail;
17892 PyThreadState* __tstate = wxPyBeginAllowThreads();
17893 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17894
17895 wxPyEndAllowThreads(__tstate);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 }
17898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17899 {
17900 if (temp6)
17901 delete arg6;
17902 }
17903 return resultobj;
17904 fail:
17905 {
17906 if (temp6)
17907 delete arg6;
17908 }
17909 return NULL;
17910 }
17911
17912
17913 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17914 PyObject *resultobj;
17915 wxChoicebook *result;
17916 char *kwnames[] = {
17917 NULL
17918 };
17919
17920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17921 {
17922 if (!wxPyCheckForApp()) SWIG_fail;
17923 PyThreadState* __tstate = wxPyBeginAllowThreads();
17924 result = (wxChoicebook *)new wxChoicebook();
17925
17926 wxPyEndAllowThreads(__tstate);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 }
17929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17930 return resultobj;
17931 fail:
17932 return NULL;
17933 }
17934
17935
17936 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17937 PyObject *resultobj;
17938 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17939 wxWindow *arg2 = (wxWindow *) 0 ;
17940 int arg3 ;
17941 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17942 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17943 wxSize const &arg5_defvalue = wxDefaultSize ;
17944 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17945 long arg6 = (long) 0 ;
17946 wxString const &arg7_defvalue = wxPyEmptyString ;
17947 wxString *arg7 = (wxString *) &arg7_defvalue ;
17948 bool result;
17949 wxPoint temp4 ;
17950 wxSize temp5 ;
17951 bool temp7 = false ;
17952 PyObject * obj0 = 0 ;
17953 PyObject * obj1 = 0 ;
17954 PyObject * obj2 = 0 ;
17955 PyObject * obj3 = 0 ;
17956 PyObject * obj4 = 0 ;
17957 PyObject * obj5 = 0 ;
17958 PyObject * obj6 = 0 ;
17959 char *kwnames[] = {
17960 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17961 };
17962
17963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
17965 if (SWIG_arg_fail(1)) SWIG_fail;
17966 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17967 if (SWIG_arg_fail(2)) SWIG_fail;
17968 {
17969 arg3 = (int)(SWIG_As_int(obj2));
17970 if (SWIG_arg_fail(3)) SWIG_fail;
17971 }
17972 if (obj3) {
17973 {
17974 arg4 = &temp4;
17975 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17976 }
17977 }
17978 if (obj4) {
17979 {
17980 arg5 = &temp5;
17981 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17982 }
17983 }
17984 if (obj5) {
17985 {
17986 arg6 = (long)(SWIG_As_long(obj5));
17987 if (SWIG_arg_fail(6)) SWIG_fail;
17988 }
17989 }
17990 if (obj6) {
17991 {
17992 arg7 = wxString_in_helper(obj6);
17993 if (arg7 == NULL) SWIG_fail;
17994 temp7 = true;
17995 }
17996 }
17997 {
17998 PyThreadState* __tstate = wxPyBeginAllowThreads();
17999 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18000
18001 wxPyEndAllowThreads(__tstate);
18002 if (PyErr_Occurred()) SWIG_fail;
18003 }
18004 {
18005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18006 }
18007 {
18008 if (temp7)
18009 delete arg7;
18010 }
18011 return resultobj;
18012 fail:
18013 {
18014 if (temp7)
18015 delete arg7;
18016 }
18017 return NULL;
18018 }
18019
18020
18021 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18022 PyObject *resultobj;
18023 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18024 bool result;
18025 PyObject * obj0 = 0 ;
18026 char *kwnames[] = {
18027 (char *) "self", NULL
18028 };
18029
18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
18031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18032 if (SWIG_arg_fail(1)) SWIG_fail;
18033 {
18034 PyThreadState* __tstate = wxPyBeginAllowThreads();
18035 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18036
18037 wxPyEndAllowThreads(__tstate);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 }
18040 {
18041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18042 }
18043 return resultobj;
18044 fail:
18045 return NULL;
18046 }
18047
18048
18049 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18050 PyObject *resultobj;
18051 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18052 bool result;
18053 PyObject * obj0 = 0 ;
18054 char *kwnames[] = {
18055 (char *) "self", NULL
18056 };
18057
18058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18060 if (SWIG_arg_fail(1)) SWIG_fail;
18061 {
18062 PyThreadState* __tstate = wxPyBeginAllowThreads();
18063 result = (bool)(arg1)->DeleteAllPages();
18064
18065 wxPyEndAllowThreads(__tstate);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 }
18068 {
18069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18070 }
18071 return resultobj;
18072 fail:
18073 return NULL;
18074 }
18075
18076
18077 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18078 PyObject *obj;
18079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18080 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18081 Py_INCREF(obj);
18082 return Py_BuildValue((char *)"");
18083 }
18084 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18085 PyObject *resultobj;
18086 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18087 int arg2 = (int) 0 ;
18088 int arg3 = (int) -1 ;
18089 int arg4 = (int) -1 ;
18090 wxChoicebookEvent *result;
18091 PyObject * obj0 = 0 ;
18092 PyObject * obj1 = 0 ;
18093 PyObject * obj2 = 0 ;
18094 PyObject * obj3 = 0 ;
18095 char *kwnames[] = {
18096 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18097 };
18098
18099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18100 if (obj0) {
18101 {
18102 arg1 = (wxEventType)(SWIG_As_int(obj0));
18103 if (SWIG_arg_fail(1)) SWIG_fail;
18104 }
18105 }
18106 if (obj1) {
18107 {
18108 arg2 = (int)(SWIG_As_int(obj1));
18109 if (SWIG_arg_fail(2)) SWIG_fail;
18110 }
18111 }
18112 if (obj2) {
18113 {
18114 arg3 = (int)(SWIG_As_int(obj2));
18115 if (SWIG_arg_fail(3)) SWIG_fail;
18116 }
18117 }
18118 if (obj3) {
18119 {
18120 arg4 = (int)(SWIG_As_int(obj3));
18121 if (SWIG_arg_fail(4)) SWIG_fail;
18122 }
18123 }
18124 {
18125 PyThreadState* __tstate = wxPyBeginAllowThreads();
18126 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18127
18128 wxPyEndAllowThreads(__tstate);
18129 if (PyErr_Occurred()) SWIG_fail;
18130 }
18131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18132 return resultobj;
18133 fail:
18134 return NULL;
18135 }
18136
18137
18138 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18139 PyObject *obj;
18140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18141 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18142 Py_INCREF(obj);
18143 return Py_BuildValue((char *)"");
18144 }
18145 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18146 PyObject *resultobj;
18147 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18148 wxBookCtrlSizer *result;
18149 PyObject * obj0 = 0 ;
18150 char *kwnames[] = {
18151 (char *) "nb", NULL
18152 };
18153
18154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
18155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18156 if (SWIG_arg_fail(1)) SWIG_fail;
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18165 return resultobj;
18166 fail:
18167 return NULL;
18168 }
18169
18170
18171 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj;
18173 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18174 PyObject * obj0 = 0 ;
18175 char *kwnames[] = {
18176 (char *) "self", NULL
18177 };
18178
18179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18181 if (SWIG_arg_fail(1)) SWIG_fail;
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 (arg1)->RecalcSizes();
18185
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 Py_INCREF(Py_None); resultobj = Py_None;
18190 return resultobj;
18191 fail:
18192 return NULL;
18193 }
18194
18195
18196 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18197 PyObject *resultobj;
18198 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18199 wxSize result;
18200 PyObject * obj0 = 0 ;
18201 char *kwnames[] = {
18202 (char *) "self", NULL
18203 };
18204
18205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
18206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18207 if (SWIG_arg_fail(1)) SWIG_fail;
18208 {
18209 PyThreadState* __tstate = wxPyBeginAllowThreads();
18210 result = (arg1)->CalcMin();
18211
18212 wxPyEndAllowThreads(__tstate);
18213 if (PyErr_Occurred()) SWIG_fail;
18214 }
18215 {
18216 wxSize * resultptr;
18217 resultptr = new wxSize((wxSize &)(result));
18218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18219 }
18220 return resultobj;
18221 fail:
18222 return NULL;
18223 }
18224
18225
18226 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18227 PyObject *resultobj;
18228 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18229 wxBookCtrlBase *result;
18230 PyObject * obj0 = 0 ;
18231 char *kwnames[] = {
18232 (char *) "self", NULL
18233 };
18234
18235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
18236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18237 if (SWIG_arg_fail(1)) SWIG_fail;
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 result = (wxBookCtrlBase *)(arg1)->GetControl();
18241
18242 wxPyEndAllowThreads(__tstate);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
18245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
18246 return resultobj;
18247 fail:
18248 return NULL;
18249 }
18250
18251
18252 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
18253 PyObject *obj;
18254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18255 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18256 Py_INCREF(obj);
18257 return Py_BuildValue((char *)"");
18258 }
18259 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18260 PyObject *resultobj;
18261 wxNotebook *arg1 = (wxNotebook *) 0 ;
18262 wxNotebookSizer *result;
18263 PyObject * obj0 = 0 ;
18264 char *kwnames[] = {
18265 (char *) "nb", NULL
18266 };
18267
18268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
18269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18270 if (SWIG_arg_fail(1)) SWIG_fail;
18271 {
18272 PyThreadState* __tstate = wxPyBeginAllowThreads();
18273 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18274
18275 wxPyEndAllowThreads(__tstate);
18276 if (PyErr_Occurred()) SWIG_fail;
18277 }
18278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18279 return resultobj;
18280 fail:
18281 return NULL;
18282 }
18283
18284
18285 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18286 PyObject *resultobj;
18287 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18288 PyObject * obj0 = 0 ;
18289 char *kwnames[] = {
18290 (char *) "self", NULL
18291 };
18292
18293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18295 if (SWIG_arg_fail(1)) SWIG_fail;
18296 {
18297 PyThreadState* __tstate = wxPyBeginAllowThreads();
18298 (arg1)->RecalcSizes();
18299
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 Py_INCREF(Py_None); resultobj = Py_None;
18304 return resultobj;
18305 fail:
18306 return NULL;
18307 }
18308
18309
18310 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18311 PyObject *resultobj;
18312 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18313 wxSize result;
18314 PyObject * obj0 = 0 ;
18315 char *kwnames[] = {
18316 (char *) "self", NULL
18317 };
18318
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
18320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18321 if (SWIG_arg_fail(1)) SWIG_fail;
18322 {
18323 PyThreadState* __tstate = wxPyBeginAllowThreads();
18324 result = (arg1)->CalcMin();
18325
18326 wxPyEndAllowThreads(__tstate);
18327 if (PyErr_Occurred()) SWIG_fail;
18328 }
18329 {
18330 wxSize * resultptr;
18331 resultptr = new wxSize((wxSize &)(result));
18332 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18333 }
18334 return resultobj;
18335 fail:
18336 return NULL;
18337 }
18338
18339
18340 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
18341 PyObject *resultobj;
18342 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18343 wxNotebook *result;
18344 PyObject * obj0 = 0 ;
18345 char *kwnames[] = {
18346 (char *) "self", NULL
18347 };
18348
18349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
18350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18351 if (SWIG_arg_fail(1)) SWIG_fail;
18352 {
18353 PyThreadState* __tstate = wxPyBeginAllowThreads();
18354 result = (wxNotebook *)(arg1)->GetNotebook();
18355
18356 wxPyEndAllowThreads(__tstate);
18357 if (PyErr_Occurred()) SWIG_fail;
18358 }
18359 {
18360 resultobj = wxPyMake_wxObject(result, 0);
18361 }
18362 return resultobj;
18363 fail:
18364 return NULL;
18365 }
18366
18367
18368 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
18369 PyObject *obj;
18370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18371 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18372 Py_INCREF(obj);
18373 return Py_BuildValue((char *)"");
18374 }
18375 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18376 PyObject *resultobj;
18377 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18378 int result;
18379 PyObject * obj0 = 0 ;
18380 char *kwnames[] = {
18381 (char *) "self", NULL
18382 };
18383
18384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
18385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18386 if (SWIG_arg_fail(1)) SWIG_fail;
18387 {
18388 PyThreadState* __tstate = wxPyBeginAllowThreads();
18389 result = (int)(arg1)->GetId();
18390
18391 wxPyEndAllowThreads(__tstate);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 {
18395 resultobj = SWIG_From_int((int)(result));
18396 }
18397 return resultobj;
18398 fail:
18399 return NULL;
18400 }
18401
18402
18403 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj;
18405 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18406 wxControl *result;
18407 PyObject * obj0 = 0 ;
18408 char *kwnames[] = {
18409 (char *) "self", NULL
18410 };
18411
18412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
18413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18414 if (SWIG_arg_fail(1)) SWIG_fail;
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 result = (wxControl *)(arg1)->GetControl();
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 {
18423 resultobj = wxPyMake_wxObject(result, 0);
18424 }
18425 return resultobj;
18426 fail:
18427 return NULL;
18428 }
18429
18430
18431 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18432 PyObject *resultobj;
18433 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18434 wxToolBarBase *result;
18435 PyObject * obj0 = 0 ;
18436 char *kwnames[] = {
18437 (char *) "self", NULL
18438 };
18439
18440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
18441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18442 if (SWIG_arg_fail(1)) SWIG_fail;
18443 {
18444 PyThreadState* __tstate = wxPyBeginAllowThreads();
18445 result = (wxToolBarBase *)(arg1)->GetToolBar();
18446
18447 wxPyEndAllowThreads(__tstate);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 }
18450 {
18451 resultobj = wxPyMake_wxObject(result, 0);
18452 }
18453 return resultobj;
18454 fail:
18455 return NULL;
18456 }
18457
18458
18459 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
18460 PyObject *resultobj;
18461 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18462 int result;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
18469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail;
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 result = (int)(arg1)->IsButton();
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 {
18479 resultobj = SWIG_From_int((int)(result));
18480 }
18481 return resultobj;
18482 fail:
18483 return NULL;
18484 }
18485
18486
18487 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18488 PyObject *resultobj;
18489 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18490 int result;
18491 PyObject * obj0 = 0 ;
18492 char *kwnames[] = {
18493 (char *) "self", NULL
18494 };
18495
18496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
18497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail;
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 result = (int)(arg1)->IsControl();
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 {
18507 resultobj = SWIG_From_int((int)(result));
18508 }
18509 return resultobj;
18510 fail:
18511 return NULL;
18512 }
18513
18514
18515 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18516 PyObject *resultobj;
18517 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18518 int result;
18519 PyObject * obj0 = 0 ;
18520 char *kwnames[] = {
18521 (char *) "self", NULL
18522 };
18523
18524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18526 if (SWIG_arg_fail(1)) SWIG_fail;
18527 {
18528 PyThreadState* __tstate = wxPyBeginAllowThreads();
18529 result = (int)(arg1)->IsSeparator();
18530
18531 wxPyEndAllowThreads(__tstate);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 }
18534 {
18535 resultobj = SWIG_From_int((int)(result));
18536 }
18537 return resultobj;
18538 fail:
18539 return NULL;
18540 }
18541
18542
18543 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18544 PyObject *resultobj;
18545 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18546 int result;
18547 PyObject * obj0 = 0 ;
18548 char *kwnames[] = {
18549 (char *) "self", NULL
18550 };
18551
18552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18554 if (SWIG_arg_fail(1)) SWIG_fail;
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 result = (int)(arg1)->GetStyle();
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 {
18563 resultobj = SWIG_From_int((int)(result));
18564 }
18565 return resultobj;
18566 fail:
18567 return NULL;
18568 }
18569
18570
18571 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18572 PyObject *resultobj;
18573 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18574 wxItemKind result;
18575 PyObject * obj0 = 0 ;
18576 char *kwnames[] = {
18577 (char *) "self", NULL
18578 };
18579
18580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18582 if (SWIG_arg_fail(1)) SWIG_fail;
18583 {
18584 PyThreadState* __tstate = wxPyBeginAllowThreads();
18585 result = (wxItemKind)(arg1)->GetKind();
18586
18587 wxPyEndAllowThreads(__tstate);
18588 if (PyErr_Occurred()) SWIG_fail;
18589 }
18590 resultobj = SWIG_From_int((result));
18591 return resultobj;
18592 fail:
18593 return NULL;
18594 }
18595
18596
18597 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18598 PyObject *resultobj;
18599 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18600 bool result;
18601 PyObject * obj0 = 0 ;
18602 char *kwnames[] = {
18603 (char *) "self", NULL
18604 };
18605
18606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
18607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18608 if (SWIG_arg_fail(1)) SWIG_fail;
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 result = (bool)(arg1)->IsEnabled();
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 {
18617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18618 }
18619 return resultobj;
18620 fail:
18621 return NULL;
18622 }
18623
18624
18625 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18626 PyObject *resultobj;
18627 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18628 bool result;
18629 PyObject * obj0 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail;
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (bool)(arg1)->IsToggled();
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 {
18645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18646 }
18647 return resultobj;
18648 fail:
18649 return NULL;
18650 }
18651
18652
18653 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18654 PyObject *resultobj;
18655 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18656 bool result;
18657 PyObject * obj0 = 0 ;
18658 char *kwnames[] = {
18659 (char *) "self", NULL
18660 };
18661
18662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18664 if (SWIG_arg_fail(1)) SWIG_fail;
18665 {
18666 PyThreadState* __tstate = wxPyBeginAllowThreads();
18667 result = (bool)(arg1)->CanBeToggled();
18668
18669 wxPyEndAllowThreads(__tstate);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 }
18672 {
18673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18674 }
18675 return resultobj;
18676 fail:
18677 return NULL;
18678 }
18679
18680
18681 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18682 PyObject *resultobj;
18683 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18684 wxBitmap *result;
18685 PyObject * obj0 = 0 ;
18686 char *kwnames[] = {
18687 (char *) "self", NULL
18688 };
18689
18690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail;
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 {
18696 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18697 result = (wxBitmap *) &_result_ref;
18698 }
18699
18700 wxPyEndAllowThreads(__tstate);
18701 if (PyErr_Occurred()) SWIG_fail;
18702 }
18703 {
18704 wxBitmap* resultptr = new wxBitmap(*result);
18705 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18706 }
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj;
18715 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18716 wxBitmap *result;
18717 PyObject * obj0 = 0 ;
18718 char *kwnames[] = {
18719 (char *) "self", NULL
18720 };
18721
18722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18724 if (SWIG_arg_fail(1)) SWIG_fail;
18725 {
18726 PyThreadState* __tstate = wxPyBeginAllowThreads();
18727 {
18728 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18729 result = (wxBitmap *) &_result_ref;
18730 }
18731
18732 wxPyEndAllowThreads(__tstate);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 }
18735 {
18736 wxBitmap* resultptr = new wxBitmap(*result);
18737 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18738 }
18739 return resultobj;
18740 fail:
18741 return NULL;
18742 }
18743
18744
18745 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18746 PyObject *resultobj;
18747 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18748 wxBitmap result;
18749 PyObject * obj0 = 0 ;
18750 char *kwnames[] = {
18751 (char *) "self", NULL
18752 };
18753
18754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18756 if (SWIG_arg_fail(1)) SWIG_fail;
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 result = (arg1)->GetBitmap();
18760
18761 wxPyEndAllowThreads(__tstate);
18762 if (PyErr_Occurred()) SWIG_fail;
18763 }
18764 {
18765 wxBitmap * resultptr;
18766 resultptr = new wxBitmap((wxBitmap &)(result));
18767 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18768 }
18769 return resultobj;
18770 fail:
18771 return NULL;
18772 }
18773
18774
18775 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18776 PyObject *resultobj;
18777 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18778 wxString result;
18779 PyObject * obj0 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18786 if (SWIG_arg_fail(1)) SWIG_fail;
18787 {
18788 PyThreadState* __tstate = wxPyBeginAllowThreads();
18789 result = (arg1)->GetLabel();
18790
18791 wxPyEndAllowThreads(__tstate);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 }
18794 {
18795 #if wxUSE_UNICODE
18796 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18797 #else
18798 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18799 #endif
18800 }
18801 return resultobj;
18802 fail:
18803 return NULL;
18804 }
18805
18806
18807 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18808 PyObject *resultobj;
18809 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18810 wxString result;
18811 PyObject * obj0 = 0 ;
18812 char *kwnames[] = {
18813 (char *) "self", NULL
18814 };
18815
18816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18818 if (SWIG_arg_fail(1)) SWIG_fail;
18819 {
18820 PyThreadState* __tstate = wxPyBeginAllowThreads();
18821 result = (arg1)->GetShortHelp();
18822
18823 wxPyEndAllowThreads(__tstate);
18824 if (PyErr_Occurred()) SWIG_fail;
18825 }
18826 {
18827 #if wxUSE_UNICODE
18828 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18829 #else
18830 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18831 #endif
18832 }
18833 return resultobj;
18834 fail:
18835 return NULL;
18836 }
18837
18838
18839 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj;
18841 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18842 wxString result;
18843 PyObject * obj0 = 0 ;
18844 char *kwnames[] = {
18845 (char *) "self", NULL
18846 };
18847
18848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18850 if (SWIG_arg_fail(1)) SWIG_fail;
18851 {
18852 PyThreadState* __tstate = wxPyBeginAllowThreads();
18853 result = (arg1)->GetLongHelp();
18854
18855 wxPyEndAllowThreads(__tstate);
18856 if (PyErr_Occurred()) SWIG_fail;
18857 }
18858 {
18859 #if wxUSE_UNICODE
18860 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18861 #else
18862 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18863 #endif
18864 }
18865 return resultobj;
18866 fail:
18867 return NULL;
18868 }
18869
18870
18871 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18872 PyObject *resultobj;
18873 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18874 bool arg2 ;
18875 bool result;
18876 PyObject * obj0 = 0 ;
18877 PyObject * obj1 = 0 ;
18878 char *kwnames[] = {
18879 (char *) "self",(char *) "enable", NULL
18880 };
18881
18882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
18883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18884 if (SWIG_arg_fail(1)) SWIG_fail;
18885 {
18886 arg2 = (bool)(SWIG_As_bool(obj1));
18887 if (SWIG_arg_fail(2)) SWIG_fail;
18888 }
18889 {
18890 PyThreadState* __tstate = wxPyBeginAllowThreads();
18891 result = (bool)(arg1)->Enable(arg2);
18892
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 {
18897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18898 }
18899 return resultobj;
18900 fail:
18901 return NULL;
18902 }
18903
18904
18905 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj;
18907 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18908 PyObject * obj0 = 0 ;
18909 char *kwnames[] = {
18910 (char *) "self", NULL
18911 };
18912
18913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
18914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18915 if (SWIG_arg_fail(1)) SWIG_fail;
18916 {
18917 PyThreadState* __tstate = wxPyBeginAllowThreads();
18918 (arg1)->Toggle();
18919
18920 wxPyEndAllowThreads(__tstate);
18921 if (PyErr_Occurred()) SWIG_fail;
18922 }
18923 Py_INCREF(Py_None); resultobj = Py_None;
18924 return resultobj;
18925 fail:
18926 return NULL;
18927 }
18928
18929
18930 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
18931 PyObject *resultobj;
18932 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18933 bool arg2 ;
18934 bool result;
18935 PyObject * obj0 = 0 ;
18936 PyObject * obj1 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self",(char *) "toggle", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
18942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18943 if (SWIG_arg_fail(1)) SWIG_fail;
18944 {
18945 arg2 = (bool)(SWIG_As_bool(obj1));
18946 if (SWIG_arg_fail(2)) SWIG_fail;
18947 }
18948 {
18949 PyThreadState* __tstate = wxPyBeginAllowThreads();
18950 result = (bool)(arg1)->SetToggle(arg2);
18951
18952 wxPyEndAllowThreads(__tstate);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 }
18955 {
18956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18957 }
18958 return resultobj;
18959 fail:
18960 return NULL;
18961 }
18962
18963
18964 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18965 PyObject *resultobj;
18966 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18967 wxString *arg2 = 0 ;
18968 bool result;
18969 bool temp2 = false ;
18970 PyObject * obj0 = 0 ;
18971 PyObject * obj1 = 0 ;
18972 char *kwnames[] = {
18973 (char *) "self",(char *) "help", NULL
18974 };
18975
18976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
18977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18978 if (SWIG_arg_fail(1)) SWIG_fail;
18979 {
18980 arg2 = wxString_in_helper(obj1);
18981 if (arg2 == NULL) SWIG_fail;
18982 temp2 = true;
18983 }
18984 {
18985 PyThreadState* __tstate = wxPyBeginAllowThreads();
18986 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
18987
18988 wxPyEndAllowThreads(__tstate);
18989 if (PyErr_Occurred()) SWIG_fail;
18990 }
18991 {
18992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18993 }
18994 {
18995 if (temp2)
18996 delete arg2;
18997 }
18998 return resultobj;
18999 fail:
19000 {
19001 if (temp2)
19002 delete arg2;
19003 }
19004 return NULL;
19005 }
19006
19007
19008 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19009 PyObject *resultobj;
19010 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19011 wxString *arg2 = 0 ;
19012 bool result;
19013 bool temp2 = false ;
19014 PyObject * obj0 = 0 ;
19015 PyObject * obj1 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self",(char *) "help", NULL
19018 };
19019
19020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
19021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19022 if (SWIG_arg_fail(1)) SWIG_fail;
19023 {
19024 arg2 = wxString_in_helper(obj1);
19025 if (arg2 == NULL) SWIG_fail;
19026 temp2 = true;
19027 }
19028 {
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19031
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 {
19036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19037 }
19038 {
19039 if (temp2)
19040 delete arg2;
19041 }
19042 return resultobj;
19043 fail:
19044 {
19045 if (temp2)
19046 delete arg2;
19047 }
19048 return NULL;
19049 }
19050
19051
19052 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19053 PyObject *resultobj;
19054 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19055 wxBitmap *arg2 = 0 ;
19056 PyObject * obj0 = 0 ;
19057 PyObject * obj1 = 0 ;
19058 char *kwnames[] = {
19059 (char *) "self",(char *) "bmp", NULL
19060 };
19061
19062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
19063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19064 if (SWIG_arg_fail(1)) SWIG_fail;
19065 {
19066 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19067 if (SWIG_arg_fail(2)) SWIG_fail;
19068 if (arg2 == NULL) {
19069 SWIG_null_ref("wxBitmap");
19070 }
19071 if (SWIG_arg_fail(2)) SWIG_fail;
19072 }
19073 {
19074 PyThreadState* __tstate = wxPyBeginAllowThreads();
19075 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19076
19077 wxPyEndAllowThreads(__tstate);
19078 if (PyErr_Occurred()) SWIG_fail;
19079 }
19080 Py_INCREF(Py_None); resultobj = Py_None;
19081 return resultobj;
19082 fail:
19083 return NULL;
19084 }
19085
19086
19087 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19088 PyObject *resultobj;
19089 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19090 wxBitmap *arg2 = 0 ;
19091 PyObject * obj0 = 0 ;
19092 PyObject * obj1 = 0 ;
19093 char *kwnames[] = {
19094 (char *) "self",(char *) "bmp", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
19098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19099 if (SWIG_arg_fail(1)) SWIG_fail;
19100 {
19101 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19102 if (SWIG_arg_fail(2)) SWIG_fail;
19103 if (arg2 == NULL) {
19104 SWIG_null_ref("wxBitmap");
19105 }
19106 if (SWIG_arg_fail(2)) SWIG_fail;
19107 }
19108 {
19109 PyThreadState* __tstate = wxPyBeginAllowThreads();
19110 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19111
19112 wxPyEndAllowThreads(__tstate);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 Py_INCREF(Py_None); resultobj = Py_None;
19116 return resultobj;
19117 fail:
19118 return NULL;
19119 }
19120
19121
19122 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19123 PyObject *resultobj;
19124 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19125 wxString *arg2 = 0 ;
19126 bool temp2 = false ;
19127 PyObject * obj0 = 0 ;
19128 PyObject * obj1 = 0 ;
19129 char *kwnames[] = {
19130 (char *) "self",(char *) "label", NULL
19131 };
19132
19133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19135 if (SWIG_arg_fail(1)) SWIG_fail;
19136 {
19137 arg2 = wxString_in_helper(obj1);
19138 if (arg2 == NULL) SWIG_fail;
19139 temp2 = true;
19140 }
19141 {
19142 PyThreadState* __tstate = wxPyBeginAllowThreads();
19143 (arg1)->SetLabel((wxString const &)*arg2);
19144
19145 wxPyEndAllowThreads(__tstate);
19146 if (PyErr_Occurred()) SWIG_fail;
19147 }
19148 Py_INCREF(Py_None); resultobj = Py_None;
19149 {
19150 if (temp2)
19151 delete arg2;
19152 }
19153 return resultobj;
19154 fail:
19155 {
19156 if (temp2)
19157 delete arg2;
19158 }
19159 return NULL;
19160 }
19161
19162
19163 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19164 PyObject *resultobj;
19165 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19166 PyObject * obj0 = 0 ;
19167 char *kwnames[] = {
19168 (char *) "self", NULL
19169 };
19170
19171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19173 if (SWIG_arg_fail(1)) SWIG_fail;
19174 {
19175 PyThreadState* __tstate = wxPyBeginAllowThreads();
19176 (arg1)->Detach();
19177
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 Py_INCREF(Py_None); resultobj = Py_None;
19182 return resultobj;
19183 fail:
19184 return NULL;
19185 }
19186
19187
19188 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19189 PyObject *resultobj;
19190 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19191 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19192 PyObject * obj0 = 0 ;
19193 PyObject * obj1 = 0 ;
19194 char *kwnames[] = {
19195 (char *) "self",(char *) "tbar", NULL
19196 };
19197
19198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19200 if (SWIG_arg_fail(1)) SWIG_fail;
19201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19202 if (SWIG_arg_fail(2)) SWIG_fail;
19203 {
19204 PyThreadState* __tstate = wxPyBeginAllowThreads();
19205 (arg1)->Attach(arg2);
19206
19207 wxPyEndAllowThreads(__tstate);
19208 if (PyErr_Occurred()) SWIG_fail;
19209 }
19210 Py_INCREF(Py_None); resultobj = Py_None;
19211 return resultobj;
19212 fail:
19213 return NULL;
19214 }
19215
19216
19217 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19218 PyObject *resultobj;
19219 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19220 PyObject *result;
19221 PyObject * obj0 = 0 ;
19222 char *kwnames[] = {
19223 (char *) "self", NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19228 if (SWIG_arg_fail(1)) SWIG_fail;
19229 {
19230 PyThreadState* __tstate = wxPyBeginAllowThreads();
19231 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19232
19233 wxPyEndAllowThreads(__tstate);
19234 if (PyErr_Occurred()) SWIG_fail;
19235 }
19236 resultobj = result;
19237 return resultobj;
19238 fail:
19239 return NULL;
19240 }
19241
19242
19243 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19244 PyObject *resultobj;
19245 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19246 PyObject *arg2 = (PyObject *) 0 ;
19247 PyObject * obj0 = 0 ;
19248 PyObject * obj1 = 0 ;
19249 char *kwnames[] = {
19250 (char *) "self",(char *) "clientData", NULL
19251 };
19252
19253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19255 if (SWIG_arg_fail(1)) SWIG_fail;
19256 arg2 = obj1;
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 wxToolBarToolBase_SetClientData(arg1,arg2);
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 Py_INCREF(Py_None); resultobj = Py_None;
19265 return resultobj;
19266 fail:
19267 return NULL;
19268 }
19269
19270
19271 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19272 PyObject *obj;
19273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19274 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19275 Py_INCREF(obj);
19276 return Py_BuildValue((char *)"");
19277 }
19278 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19279 PyObject *resultobj;
19280 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19281 int arg2 ;
19282 wxString *arg3 = 0 ;
19283 wxBitmap *arg4 = 0 ;
19284 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19285 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19286 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19287 wxString const &arg7_defvalue = wxPyEmptyString ;
19288 wxString *arg7 = (wxString *) &arg7_defvalue ;
19289 wxString const &arg8_defvalue = wxPyEmptyString ;
19290 wxString *arg8 = (wxString *) &arg8_defvalue ;
19291 PyObject *arg9 = (PyObject *) NULL ;
19292 wxToolBarToolBase *result;
19293 bool temp3 = false ;
19294 bool temp7 = false ;
19295 bool temp8 = false ;
19296 PyObject * obj0 = 0 ;
19297 PyObject * obj1 = 0 ;
19298 PyObject * obj2 = 0 ;
19299 PyObject * obj3 = 0 ;
19300 PyObject * obj4 = 0 ;
19301 PyObject * obj5 = 0 ;
19302 PyObject * obj6 = 0 ;
19303 PyObject * obj7 = 0 ;
19304 PyObject * obj8 = 0 ;
19305 char *kwnames[] = {
19306 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19307 };
19308
19309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19311 if (SWIG_arg_fail(1)) SWIG_fail;
19312 {
19313 arg2 = (int)(SWIG_As_int(obj1));
19314 if (SWIG_arg_fail(2)) SWIG_fail;
19315 }
19316 {
19317 arg3 = wxString_in_helper(obj2);
19318 if (arg3 == NULL) SWIG_fail;
19319 temp3 = true;
19320 }
19321 {
19322 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19323 if (SWIG_arg_fail(4)) SWIG_fail;
19324 if (arg4 == NULL) {
19325 SWIG_null_ref("wxBitmap");
19326 }
19327 if (SWIG_arg_fail(4)) SWIG_fail;
19328 }
19329 if (obj4) {
19330 {
19331 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19332 if (SWIG_arg_fail(5)) SWIG_fail;
19333 if (arg5 == NULL) {
19334 SWIG_null_ref("wxBitmap");
19335 }
19336 if (SWIG_arg_fail(5)) SWIG_fail;
19337 }
19338 }
19339 if (obj5) {
19340 {
19341 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19342 if (SWIG_arg_fail(6)) SWIG_fail;
19343 }
19344 }
19345 if (obj6) {
19346 {
19347 arg7 = wxString_in_helper(obj6);
19348 if (arg7 == NULL) SWIG_fail;
19349 temp7 = true;
19350 }
19351 }
19352 if (obj7) {
19353 {
19354 arg8 = wxString_in_helper(obj7);
19355 if (arg8 == NULL) SWIG_fail;
19356 temp8 = true;
19357 }
19358 }
19359 if (obj8) {
19360 arg9 = obj8;
19361 }
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19365
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 {
19370 resultobj = wxPyMake_wxObject(result, 0);
19371 }
19372 {
19373 if (temp3)
19374 delete arg3;
19375 }
19376 {
19377 if (temp7)
19378 delete arg7;
19379 }
19380 {
19381 if (temp8)
19382 delete arg8;
19383 }
19384 return resultobj;
19385 fail:
19386 {
19387 if (temp3)
19388 delete arg3;
19389 }
19390 {
19391 if (temp7)
19392 delete arg7;
19393 }
19394 {
19395 if (temp8)
19396 delete arg8;
19397 }
19398 return NULL;
19399 }
19400
19401
19402 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19403 PyObject *resultobj;
19404 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19405 size_t arg2 ;
19406 int arg3 ;
19407 wxString *arg4 = 0 ;
19408 wxBitmap *arg5 = 0 ;
19409 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19410 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19411 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19412 wxString const &arg8_defvalue = wxPyEmptyString ;
19413 wxString *arg8 = (wxString *) &arg8_defvalue ;
19414 wxString const &arg9_defvalue = wxPyEmptyString ;
19415 wxString *arg9 = (wxString *) &arg9_defvalue ;
19416 PyObject *arg10 = (PyObject *) NULL ;
19417 wxToolBarToolBase *result;
19418 bool temp4 = false ;
19419 bool temp8 = false ;
19420 bool temp9 = false ;
19421 PyObject * obj0 = 0 ;
19422 PyObject * obj1 = 0 ;
19423 PyObject * obj2 = 0 ;
19424 PyObject * obj3 = 0 ;
19425 PyObject * obj4 = 0 ;
19426 PyObject * obj5 = 0 ;
19427 PyObject * obj6 = 0 ;
19428 PyObject * obj7 = 0 ;
19429 PyObject * obj8 = 0 ;
19430 PyObject * obj9 = 0 ;
19431 char *kwnames[] = {
19432 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19433 };
19434
19435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19437 if (SWIG_arg_fail(1)) SWIG_fail;
19438 {
19439 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19440 if (SWIG_arg_fail(2)) SWIG_fail;
19441 }
19442 {
19443 arg3 = (int)(SWIG_As_int(obj2));
19444 if (SWIG_arg_fail(3)) SWIG_fail;
19445 }
19446 {
19447 arg4 = wxString_in_helper(obj3);
19448 if (arg4 == NULL) SWIG_fail;
19449 temp4 = true;
19450 }
19451 {
19452 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19453 if (SWIG_arg_fail(5)) SWIG_fail;
19454 if (arg5 == NULL) {
19455 SWIG_null_ref("wxBitmap");
19456 }
19457 if (SWIG_arg_fail(5)) SWIG_fail;
19458 }
19459 if (obj5) {
19460 {
19461 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19462 if (SWIG_arg_fail(6)) SWIG_fail;
19463 if (arg6 == NULL) {
19464 SWIG_null_ref("wxBitmap");
19465 }
19466 if (SWIG_arg_fail(6)) SWIG_fail;
19467 }
19468 }
19469 if (obj6) {
19470 {
19471 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19472 if (SWIG_arg_fail(7)) SWIG_fail;
19473 }
19474 }
19475 if (obj7) {
19476 {
19477 arg8 = wxString_in_helper(obj7);
19478 if (arg8 == NULL) SWIG_fail;
19479 temp8 = true;
19480 }
19481 }
19482 if (obj8) {
19483 {
19484 arg9 = wxString_in_helper(obj8);
19485 if (arg9 == NULL) SWIG_fail;
19486 temp9 = true;
19487 }
19488 }
19489 if (obj9) {
19490 arg10 = obj9;
19491 }
19492 {
19493 PyThreadState* __tstate = wxPyBeginAllowThreads();
19494 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);
19495
19496 wxPyEndAllowThreads(__tstate);
19497 if (PyErr_Occurred()) SWIG_fail;
19498 }
19499 {
19500 resultobj = wxPyMake_wxObject(result, 0);
19501 }
19502 {
19503 if (temp4)
19504 delete arg4;
19505 }
19506 {
19507 if (temp8)
19508 delete arg8;
19509 }
19510 {
19511 if (temp9)
19512 delete arg9;
19513 }
19514 return resultobj;
19515 fail:
19516 {
19517 if (temp4)
19518 delete arg4;
19519 }
19520 {
19521 if (temp8)
19522 delete arg8;
19523 }
19524 {
19525 if (temp9)
19526 delete arg9;
19527 }
19528 return NULL;
19529 }
19530
19531
19532 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19533 PyObject *resultobj;
19534 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19535 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19536 wxToolBarToolBase *result;
19537 PyObject * obj0 = 0 ;
19538 PyObject * obj1 = 0 ;
19539 char *kwnames[] = {
19540 (char *) "self",(char *) "tool", NULL
19541 };
19542
19543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19545 if (SWIG_arg_fail(1)) SWIG_fail;
19546 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19547 if (SWIG_arg_fail(2)) SWIG_fail;
19548 {
19549 PyThreadState* __tstate = wxPyBeginAllowThreads();
19550 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19551
19552 wxPyEndAllowThreads(__tstate);
19553 if (PyErr_Occurred()) SWIG_fail;
19554 }
19555 {
19556 resultobj = wxPyMake_wxObject(result, 0);
19557 }
19558 return resultobj;
19559 fail:
19560 return NULL;
19561 }
19562
19563
19564 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19565 PyObject *resultobj;
19566 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19567 size_t arg2 ;
19568 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19569 wxToolBarToolBase *result;
19570 PyObject * obj0 = 0 ;
19571 PyObject * obj1 = 0 ;
19572 PyObject * obj2 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self",(char *) "pos",(char *) "tool", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail;
19580 {
19581 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19582 if (SWIG_arg_fail(2)) SWIG_fail;
19583 }
19584 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19585 if (SWIG_arg_fail(3)) SWIG_fail;
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
19593 {
19594 resultobj = wxPyMake_wxObject(result, 0);
19595 }
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19605 wxControl *arg2 = (wxControl *) 0 ;
19606 wxToolBarToolBase *result;
19607 PyObject * obj0 = 0 ;
19608 PyObject * obj1 = 0 ;
19609 char *kwnames[] = {
19610 (char *) "self",(char *) "control", NULL
19611 };
19612
19613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19615 if (SWIG_arg_fail(1)) SWIG_fail;
19616 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19617 if (SWIG_arg_fail(2)) SWIG_fail;
19618 {
19619 PyThreadState* __tstate = wxPyBeginAllowThreads();
19620 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19621
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 {
19626 resultobj = wxPyMake_wxObject(result, 0);
19627 }
19628 return resultobj;
19629 fail:
19630 return NULL;
19631 }
19632
19633
19634 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19635 PyObject *resultobj;
19636 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19637 size_t arg2 ;
19638 wxControl *arg3 = (wxControl *) 0 ;
19639 wxToolBarToolBase *result;
19640 PyObject * obj0 = 0 ;
19641 PyObject * obj1 = 0 ;
19642 PyObject * obj2 = 0 ;
19643 char *kwnames[] = {
19644 (char *) "self",(char *) "pos",(char *) "control", NULL
19645 };
19646
19647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19649 if (SWIG_arg_fail(1)) SWIG_fail;
19650 {
19651 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19652 if (SWIG_arg_fail(2)) SWIG_fail;
19653 }
19654 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19655 if (SWIG_arg_fail(3)) SWIG_fail;
19656 {
19657 PyThreadState* __tstate = wxPyBeginAllowThreads();
19658 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19659
19660 wxPyEndAllowThreads(__tstate);
19661 if (PyErr_Occurred()) SWIG_fail;
19662 }
19663 {
19664 resultobj = wxPyMake_wxObject(result, 0);
19665 }
19666 return resultobj;
19667 fail:
19668 return NULL;
19669 }
19670
19671
19672 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19673 PyObject *resultobj;
19674 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19675 int arg2 ;
19676 wxControl *result;
19677 PyObject * obj0 = 0 ;
19678 PyObject * obj1 = 0 ;
19679 char *kwnames[] = {
19680 (char *) "self",(char *) "id", NULL
19681 };
19682
19683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19685 if (SWIG_arg_fail(1)) SWIG_fail;
19686 {
19687 arg2 = (int)(SWIG_As_int(obj1));
19688 if (SWIG_arg_fail(2)) SWIG_fail;
19689 }
19690 {
19691 PyThreadState* __tstate = wxPyBeginAllowThreads();
19692 result = (wxControl *)(arg1)->FindControl(arg2);
19693
19694 wxPyEndAllowThreads(__tstate);
19695 if (PyErr_Occurred()) SWIG_fail;
19696 }
19697 {
19698 resultobj = wxPyMake_wxObject(result, 0);
19699 }
19700 return resultobj;
19701 fail:
19702 return NULL;
19703 }
19704
19705
19706 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19707 PyObject *resultobj;
19708 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19709 wxToolBarToolBase *result;
19710 PyObject * obj0 = 0 ;
19711 char *kwnames[] = {
19712 (char *) "self", NULL
19713 };
19714
19715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19717 if (SWIG_arg_fail(1)) SWIG_fail;
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19721
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 {
19726 resultobj = wxPyMake_wxObject(result, 0);
19727 }
19728 return resultobj;
19729 fail:
19730 return NULL;
19731 }
19732
19733
19734 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19735 PyObject *resultobj;
19736 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19737 size_t arg2 ;
19738 wxToolBarToolBase *result;
19739 PyObject * obj0 = 0 ;
19740 PyObject * obj1 = 0 ;
19741 char *kwnames[] = {
19742 (char *) "self",(char *) "pos", NULL
19743 };
19744
19745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19747 if (SWIG_arg_fail(1)) SWIG_fail;
19748 {
19749 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19750 if (SWIG_arg_fail(2)) SWIG_fail;
19751 }
19752 {
19753 PyThreadState* __tstate = wxPyBeginAllowThreads();
19754 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19755
19756 wxPyEndAllowThreads(__tstate);
19757 if (PyErr_Occurred()) SWIG_fail;
19758 }
19759 {
19760 resultobj = wxPyMake_wxObject(result, 0);
19761 }
19762 return resultobj;
19763 fail:
19764 return NULL;
19765 }
19766
19767
19768 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19769 PyObject *resultobj;
19770 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19771 int arg2 ;
19772 wxToolBarToolBase *result;
19773 PyObject * obj0 = 0 ;
19774 PyObject * obj1 = 0 ;
19775 char *kwnames[] = {
19776 (char *) "self",(char *) "id", NULL
19777 };
19778
19779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19781 if (SWIG_arg_fail(1)) SWIG_fail;
19782 {
19783 arg2 = (int)(SWIG_As_int(obj1));
19784 if (SWIG_arg_fail(2)) SWIG_fail;
19785 }
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 {
19794 resultobj = wxPyMake_wxObject(result, 0);
19795 }
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19805 size_t arg2 ;
19806 bool result;
19807 PyObject * obj0 = 0 ;
19808 PyObject * obj1 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self",(char *) "pos", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19815 if (SWIG_arg_fail(1)) SWIG_fail;
19816 {
19817 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19818 if (SWIG_arg_fail(2)) SWIG_fail;
19819 }
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 result = (bool)(arg1)->DeleteToolByPos(arg2);
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 {
19828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19829 }
19830 return resultobj;
19831 fail:
19832 return NULL;
19833 }
19834
19835
19836 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19837 PyObject *resultobj;
19838 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19839 int arg2 ;
19840 bool result;
19841 PyObject * obj0 = 0 ;
19842 PyObject * obj1 = 0 ;
19843 char *kwnames[] = {
19844 (char *) "self",(char *) "id", NULL
19845 };
19846
19847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19849 if (SWIG_arg_fail(1)) SWIG_fail;
19850 {
19851 arg2 = (int)(SWIG_As_int(obj1));
19852 if (SWIG_arg_fail(2)) SWIG_fail;
19853 }
19854 {
19855 PyThreadState* __tstate = wxPyBeginAllowThreads();
19856 result = (bool)(arg1)->DeleteTool(arg2);
19857
19858 wxPyEndAllowThreads(__tstate);
19859 if (PyErr_Occurred()) SWIG_fail;
19860 }
19861 {
19862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19863 }
19864 return resultobj;
19865 fail:
19866 return NULL;
19867 }
19868
19869
19870 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19871 PyObject *resultobj;
19872 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19873 PyObject * obj0 = 0 ;
19874 char *kwnames[] = {
19875 (char *) "self", NULL
19876 };
19877
19878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
19879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19880 if (SWIG_arg_fail(1)) SWIG_fail;
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 (arg1)->ClearTools();
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 Py_INCREF(Py_None); resultobj = Py_None;
19889 return resultobj;
19890 fail:
19891 return NULL;
19892 }
19893
19894
19895 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19896 PyObject *resultobj;
19897 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19898 bool result;
19899 PyObject * obj0 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self", NULL
19902 };
19903
19904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
19905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19906 if (SWIG_arg_fail(1)) SWIG_fail;
19907 {
19908 PyThreadState* __tstate = wxPyBeginAllowThreads();
19909 result = (bool)(arg1)->Realize();
19910
19911 wxPyEndAllowThreads(__tstate);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 {
19915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19916 }
19917 return resultobj;
19918 fail:
19919 return NULL;
19920 }
19921
19922
19923 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
19924 PyObject *resultobj;
19925 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19926 int arg2 ;
19927 bool arg3 ;
19928 PyObject * obj0 = 0 ;
19929 PyObject * obj1 = 0 ;
19930 PyObject * obj2 = 0 ;
19931 char *kwnames[] = {
19932 (char *) "self",(char *) "id",(char *) "enable", NULL
19933 };
19934
19935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19937 if (SWIG_arg_fail(1)) SWIG_fail;
19938 {
19939 arg2 = (int)(SWIG_As_int(obj1));
19940 if (SWIG_arg_fail(2)) SWIG_fail;
19941 }
19942 {
19943 arg3 = (bool)(SWIG_As_bool(obj2));
19944 if (SWIG_arg_fail(3)) SWIG_fail;
19945 }
19946 {
19947 PyThreadState* __tstate = wxPyBeginAllowThreads();
19948 (arg1)->EnableTool(arg2,arg3);
19949
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 Py_INCREF(Py_None); resultobj = Py_None;
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19963 int arg2 ;
19964 bool arg3 ;
19965 PyObject * obj0 = 0 ;
19966 PyObject * obj1 = 0 ;
19967 PyObject * obj2 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self",(char *) "id",(char *) "toggle", NULL
19970 };
19971
19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
19973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19974 if (SWIG_arg_fail(1)) SWIG_fail;
19975 {
19976 arg2 = (int)(SWIG_As_int(obj1));
19977 if (SWIG_arg_fail(2)) SWIG_fail;
19978 }
19979 {
19980 arg3 = (bool)(SWIG_As_bool(obj2));
19981 if (SWIG_arg_fail(3)) SWIG_fail;
19982 }
19983 {
19984 PyThreadState* __tstate = wxPyBeginAllowThreads();
19985 (arg1)->ToggleTool(arg2,arg3);
19986
19987 wxPyEndAllowThreads(__tstate);
19988 if (PyErr_Occurred()) SWIG_fail;
19989 }
19990 Py_INCREF(Py_None); resultobj = Py_None;
19991 return resultobj;
19992 fail:
19993 return NULL;
19994 }
19995
19996
19997 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
19998 PyObject *resultobj;
19999 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20000 int arg2 ;
20001 bool arg3 ;
20002 PyObject * obj0 = 0 ;
20003 PyObject * obj1 = 0 ;
20004 PyObject * obj2 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "self",(char *) "id",(char *) "toggle", NULL
20007 };
20008
20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20011 if (SWIG_arg_fail(1)) SWIG_fail;
20012 {
20013 arg2 = (int)(SWIG_As_int(obj1));
20014 if (SWIG_arg_fail(2)) SWIG_fail;
20015 }
20016 {
20017 arg3 = (bool)(SWIG_As_bool(obj2));
20018 if (SWIG_arg_fail(3)) SWIG_fail;
20019 }
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 (arg1)->SetToggle(arg2,arg3);
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 Py_INCREF(Py_None); resultobj = Py_None;
20028 return resultobj;
20029 fail:
20030 return NULL;
20031 }
20032
20033
20034 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20037 int arg2 ;
20038 PyObject *result;
20039 PyObject * obj0 = 0 ;
20040 PyObject * obj1 = 0 ;
20041 char *kwnames[] = {
20042 (char *) "self",(char *) "id", NULL
20043 };
20044
20045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
20046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20047 if (SWIG_arg_fail(1)) SWIG_fail;
20048 {
20049 arg2 = (int)(SWIG_As_int(obj1));
20050 if (SWIG_arg_fail(2)) SWIG_fail;
20051 }
20052 {
20053 PyThreadState* __tstate = wxPyBeginAllowThreads();
20054 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20055
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 resultobj = result;
20060 return resultobj;
20061 fail:
20062 return NULL;
20063 }
20064
20065
20066 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj;
20068 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20069 int arg2 ;
20070 PyObject *arg3 = (PyObject *) 0 ;
20071 PyObject * obj0 = 0 ;
20072 PyObject * obj1 = 0 ;
20073 PyObject * obj2 = 0 ;
20074 char *kwnames[] = {
20075 (char *) "self",(char *) "id",(char *) "clientData", NULL
20076 };
20077
20078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20080 if (SWIG_arg_fail(1)) SWIG_fail;
20081 {
20082 arg2 = (int)(SWIG_As_int(obj1));
20083 if (SWIG_arg_fail(2)) SWIG_fail;
20084 }
20085 arg3 = obj2;
20086 {
20087 PyThreadState* __tstate = wxPyBeginAllowThreads();
20088 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20089
20090 wxPyEndAllowThreads(__tstate);
20091 if (PyErr_Occurred()) SWIG_fail;
20092 }
20093 Py_INCREF(Py_None); resultobj = Py_None;
20094 return resultobj;
20095 fail:
20096 return NULL;
20097 }
20098
20099
20100 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
20101 PyObject *resultobj;
20102 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20103 int arg2 ;
20104 int result;
20105 PyObject * obj0 = 0 ;
20106 PyObject * obj1 = 0 ;
20107 char *kwnames[] = {
20108 (char *) "self",(char *) "id", NULL
20109 };
20110
20111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
20112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20113 if (SWIG_arg_fail(1)) SWIG_fail;
20114 {
20115 arg2 = (int)(SWIG_As_int(obj1));
20116 if (SWIG_arg_fail(2)) SWIG_fail;
20117 }
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 {
20126 resultobj = SWIG_From_int((int)(result));
20127 }
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj;
20136 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20137 int arg2 ;
20138 bool result;
20139 PyObject * obj0 = 0 ;
20140 PyObject * obj1 = 0 ;
20141 char *kwnames[] = {
20142 (char *) "self",(char *) "id", NULL
20143 };
20144
20145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20147 if (SWIG_arg_fail(1)) SWIG_fail;
20148 {
20149 arg2 = (int)(SWIG_As_int(obj1));
20150 if (SWIG_arg_fail(2)) SWIG_fail;
20151 }
20152 {
20153 PyThreadState* __tstate = wxPyBeginAllowThreads();
20154 result = (bool)(arg1)->GetToolState(arg2);
20155
20156 wxPyEndAllowThreads(__tstate);
20157 if (PyErr_Occurred()) SWIG_fail;
20158 }
20159 {
20160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20161 }
20162 return resultobj;
20163 fail:
20164 return NULL;
20165 }
20166
20167
20168 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20169 PyObject *resultobj;
20170 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20171 int arg2 ;
20172 bool result;
20173 PyObject * obj0 = 0 ;
20174 PyObject * obj1 = 0 ;
20175 char *kwnames[] = {
20176 (char *) "self",(char *) "id", NULL
20177 };
20178
20179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20181 if (SWIG_arg_fail(1)) SWIG_fail;
20182 {
20183 arg2 = (int)(SWIG_As_int(obj1));
20184 if (SWIG_arg_fail(2)) SWIG_fail;
20185 }
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
20188 result = (bool)(arg1)->GetToolEnabled(arg2);
20189
20190 wxPyEndAllowThreads(__tstate);
20191 if (PyErr_Occurred()) SWIG_fail;
20192 }
20193 {
20194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20195 }
20196 return resultobj;
20197 fail:
20198 return NULL;
20199 }
20200
20201
20202 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20203 PyObject *resultobj;
20204 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20205 int arg2 ;
20206 wxString *arg3 = 0 ;
20207 bool temp3 = false ;
20208 PyObject * obj0 = 0 ;
20209 PyObject * obj1 = 0 ;
20210 PyObject * obj2 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "id",(char *) "helpString", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20217 if (SWIG_arg_fail(1)) SWIG_fail;
20218 {
20219 arg2 = (int)(SWIG_As_int(obj1));
20220 if (SWIG_arg_fail(2)) SWIG_fail;
20221 }
20222 {
20223 arg3 = wxString_in_helper(obj2);
20224 if (arg3 == NULL) SWIG_fail;
20225 temp3 = true;
20226 }
20227 {
20228 PyThreadState* __tstate = wxPyBeginAllowThreads();
20229 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20230
20231 wxPyEndAllowThreads(__tstate);
20232 if (PyErr_Occurred()) SWIG_fail;
20233 }
20234 Py_INCREF(Py_None); resultobj = Py_None;
20235 {
20236 if (temp3)
20237 delete arg3;
20238 }
20239 return resultobj;
20240 fail:
20241 {
20242 if (temp3)
20243 delete arg3;
20244 }
20245 return NULL;
20246 }
20247
20248
20249 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20250 PyObject *resultobj;
20251 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20252 int arg2 ;
20253 wxString result;
20254 PyObject * obj0 = 0 ;
20255 PyObject * obj1 = 0 ;
20256 char *kwnames[] = {
20257 (char *) "self",(char *) "id", NULL
20258 };
20259
20260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20262 if (SWIG_arg_fail(1)) SWIG_fail;
20263 {
20264 arg2 = (int)(SWIG_As_int(obj1));
20265 if (SWIG_arg_fail(2)) SWIG_fail;
20266 }
20267 {
20268 PyThreadState* __tstate = wxPyBeginAllowThreads();
20269 result = (arg1)->GetToolShortHelp(arg2);
20270
20271 wxPyEndAllowThreads(__tstate);
20272 if (PyErr_Occurred()) SWIG_fail;
20273 }
20274 {
20275 #if wxUSE_UNICODE
20276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20277 #else
20278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20279 #endif
20280 }
20281 return resultobj;
20282 fail:
20283 return NULL;
20284 }
20285
20286
20287 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20288 PyObject *resultobj;
20289 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20290 int arg2 ;
20291 wxString *arg3 = 0 ;
20292 bool temp3 = false ;
20293 PyObject * obj0 = 0 ;
20294 PyObject * obj1 = 0 ;
20295 PyObject * obj2 = 0 ;
20296 char *kwnames[] = {
20297 (char *) "self",(char *) "id",(char *) "helpString", NULL
20298 };
20299
20300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20302 if (SWIG_arg_fail(1)) SWIG_fail;
20303 {
20304 arg2 = (int)(SWIG_As_int(obj1));
20305 if (SWIG_arg_fail(2)) SWIG_fail;
20306 }
20307 {
20308 arg3 = wxString_in_helper(obj2);
20309 if (arg3 == NULL) SWIG_fail;
20310 temp3 = true;
20311 }
20312 {
20313 PyThreadState* __tstate = wxPyBeginAllowThreads();
20314 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20315
20316 wxPyEndAllowThreads(__tstate);
20317 if (PyErr_Occurred()) SWIG_fail;
20318 }
20319 Py_INCREF(Py_None); resultobj = Py_None;
20320 {
20321 if (temp3)
20322 delete arg3;
20323 }
20324 return resultobj;
20325 fail:
20326 {
20327 if (temp3)
20328 delete arg3;
20329 }
20330 return NULL;
20331 }
20332
20333
20334 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20335 PyObject *resultobj;
20336 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20337 int arg2 ;
20338 wxString result;
20339 PyObject * obj0 = 0 ;
20340 PyObject * obj1 = 0 ;
20341 char *kwnames[] = {
20342 (char *) "self",(char *) "id", NULL
20343 };
20344
20345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
20346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20347 if (SWIG_arg_fail(1)) SWIG_fail;
20348 {
20349 arg2 = (int)(SWIG_As_int(obj1));
20350 if (SWIG_arg_fail(2)) SWIG_fail;
20351 }
20352 {
20353 PyThreadState* __tstate = wxPyBeginAllowThreads();
20354 result = (arg1)->GetToolLongHelp(arg2);
20355
20356 wxPyEndAllowThreads(__tstate);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 }
20359 {
20360 #if wxUSE_UNICODE
20361 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20362 #else
20363 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20364 #endif
20365 }
20366 return resultobj;
20367 fail:
20368 return NULL;
20369 }
20370
20371
20372 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20375 int arg2 ;
20376 int arg3 ;
20377 PyObject * obj0 = 0 ;
20378 PyObject * obj1 = 0 ;
20379 PyObject * obj2 = 0 ;
20380 char *kwnames[] = {
20381 (char *) "self",(char *) "x",(char *) "y", NULL
20382 };
20383
20384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20386 if (SWIG_arg_fail(1)) SWIG_fail;
20387 {
20388 arg2 = (int)(SWIG_As_int(obj1));
20389 if (SWIG_arg_fail(2)) SWIG_fail;
20390 }
20391 {
20392 arg3 = (int)(SWIG_As_int(obj2));
20393 if (SWIG_arg_fail(3)) SWIG_fail;
20394 }
20395 {
20396 PyThreadState* __tstate = wxPyBeginAllowThreads();
20397 (arg1)->SetMargins(arg2,arg3);
20398
20399 wxPyEndAllowThreads(__tstate);
20400 if (PyErr_Occurred()) SWIG_fail;
20401 }
20402 Py_INCREF(Py_None); resultobj = Py_None;
20403 return resultobj;
20404 fail:
20405 return NULL;
20406 }
20407
20408
20409 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20410 PyObject *resultobj;
20411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20412 wxSize *arg2 = 0 ;
20413 wxSize temp2 ;
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self",(char *) "size", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20422 if (SWIG_arg_fail(1)) SWIG_fail;
20423 {
20424 arg2 = &temp2;
20425 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20426 }
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 (arg1)->SetMargins((wxSize const &)*arg2);
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 Py_INCREF(Py_None); resultobj = Py_None;
20435 return resultobj;
20436 fail:
20437 return NULL;
20438 }
20439
20440
20441 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj;
20443 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20444 int arg2 ;
20445 PyObject * obj0 = 0 ;
20446 PyObject * obj1 = 0 ;
20447 char *kwnames[] = {
20448 (char *) "self",(char *) "packing", NULL
20449 };
20450
20451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20453 if (SWIG_arg_fail(1)) SWIG_fail;
20454 {
20455 arg2 = (int)(SWIG_As_int(obj1));
20456 if (SWIG_arg_fail(2)) SWIG_fail;
20457 }
20458 {
20459 PyThreadState* __tstate = wxPyBeginAllowThreads();
20460 (arg1)->SetToolPacking(arg2);
20461
20462 wxPyEndAllowThreads(__tstate);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 }
20465 Py_INCREF(Py_None); resultobj = Py_None;
20466 return resultobj;
20467 fail:
20468 return NULL;
20469 }
20470
20471
20472 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20473 PyObject *resultobj;
20474 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20475 int arg2 ;
20476 PyObject * obj0 = 0 ;
20477 PyObject * obj1 = 0 ;
20478 char *kwnames[] = {
20479 (char *) "self",(char *) "separation", NULL
20480 };
20481
20482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20484 if (SWIG_arg_fail(1)) SWIG_fail;
20485 {
20486 arg2 = (int)(SWIG_As_int(obj1));
20487 if (SWIG_arg_fail(2)) SWIG_fail;
20488 }
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 (arg1)->SetToolSeparation(arg2);
20492
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 Py_INCREF(Py_None); resultobj = Py_None;
20497 return resultobj;
20498 fail:
20499 return NULL;
20500 }
20501
20502
20503 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20504 PyObject *resultobj;
20505 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20506 wxSize result;
20507 PyObject * obj0 = 0 ;
20508 char *kwnames[] = {
20509 (char *) "self", NULL
20510 };
20511
20512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20514 if (SWIG_arg_fail(1)) SWIG_fail;
20515 {
20516 PyThreadState* __tstate = wxPyBeginAllowThreads();
20517 result = (arg1)->GetToolMargins();
20518
20519 wxPyEndAllowThreads(__tstate);
20520 if (PyErr_Occurred()) SWIG_fail;
20521 }
20522 {
20523 wxSize * resultptr;
20524 resultptr = new wxSize((wxSize &)(result));
20525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20526 }
20527 return resultobj;
20528 fail:
20529 return NULL;
20530 }
20531
20532
20533 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20534 PyObject *resultobj;
20535 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20536 wxSize result;
20537 PyObject * obj0 = 0 ;
20538 char *kwnames[] = {
20539 (char *) "self", NULL
20540 };
20541
20542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20544 if (SWIG_arg_fail(1)) SWIG_fail;
20545 {
20546 PyThreadState* __tstate = wxPyBeginAllowThreads();
20547 result = (arg1)->GetMargins();
20548
20549 wxPyEndAllowThreads(__tstate);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 }
20552 {
20553 wxSize * resultptr;
20554 resultptr = new wxSize((wxSize &)(result));
20555 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20556 }
20557 return resultobj;
20558 fail:
20559 return NULL;
20560 }
20561
20562
20563 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20564 PyObject *resultobj;
20565 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20566 int result;
20567 PyObject * obj0 = 0 ;
20568 char *kwnames[] = {
20569 (char *) "self", NULL
20570 };
20571
20572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20574 if (SWIG_arg_fail(1)) SWIG_fail;
20575 {
20576 PyThreadState* __tstate = wxPyBeginAllowThreads();
20577 result = (int)(arg1)->GetToolPacking();
20578
20579 wxPyEndAllowThreads(__tstate);
20580 if (PyErr_Occurred()) SWIG_fail;
20581 }
20582 {
20583 resultobj = SWIG_From_int((int)(result));
20584 }
20585 return resultobj;
20586 fail:
20587 return NULL;
20588 }
20589
20590
20591 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20592 PyObject *resultobj;
20593 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20594 int result;
20595 PyObject * obj0 = 0 ;
20596 char *kwnames[] = {
20597 (char *) "self", NULL
20598 };
20599
20600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20602 if (SWIG_arg_fail(1)) SWIG_fail;
20603 {
20604 PyThreadState* __tstate = wxPyBeginAllowThreads();
20605 result = (int)(arg1)->GetToolSeparation();
20606
20607 wxPyEndAllowThreads(__tstate);
20608 if (PyErr_Occurred()) SWIG_fail;
20609 }
20610 {
20611 resultobj = SWIG_From_int((int)(result));
20612 }
20613 return resultobj;
20614 fail:
20615 return NULL;
20616 }
20617
20618
20619 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20620 PyObject *resultobj;
20621 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20622 int arg2 ;
20623 PyObject * obj0 = 0 ;
20624 PyObject * obj1 = 0 ;
20625 char *kwnames[] = {
20626 (char *) "self",(char *) "nRows", NULL
20627 };
20628
20629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20631 if (SWIG_arg_fail(1)) SWIG_fail;
20632 {
20633 arg2 = (int)(SWIG_As_int(obj1));
20634 if (SWIG_arg_fail(2)) SWIG_fail;
20635 }
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 (arg1)->SetRows(arg2);
20639
20640 wxPyEndAllowThreads(__tstate);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 }
20643 Py_INCREF(Py_None); resultobj = Py_None;
20644 return resultobj;
20645 fail:
20646 return NULL;
20647 }
20648
20649
20650 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20651 PyObject *resultobj;
20652 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20653 int arg2 ;
20654 int arg3 ;
20655 PyObject * obj0 = 0 ;
20656 PyObject * obj1 = 0 ;
20657 PyObject * obj2 = 0 ;
20658 char *kwnames[] = {
20659 (char *) "self",(char *) "rows",(char *) "cols", NULL
20660 };
20661
20662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20664 if (SWIG_arg_fail(1)) SWIG_fail;
20665 {
20666 arg2 = (int)(SWIG_As_int(obj1));
20667 if (SWIG_arg_fail(2)) SWIG_fail;
20668 }
20669 {
20670 arg3 = (int)(SWIG_As_int(obj2));
20671 if (SWIG_arg_fail(3)) SWIG_fail;
20672 }
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 (arg1)->SetMaxRowsCols(arg2,arg3);
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 Py_INCREF(Py_None); resultobj = Py_None;
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20688 PyObject *resultobj;
20689 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20690 int result;
20691 PyObject * obj0 = 0 ;
20692 char *kwnames[] = {
20693 (char *) "self", NULL
20694 };
20695
20696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20698 if (SWIG_arg_fail(1)) SWIG_fail;
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 result = (int)(arg1)->GetMaxRows();
20702
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 {
20707 resultobj = SWIG_From_int((int)(result));
20708 }
20709 return resultobj;
20710 fail:
20711 return NULL;
20712 }
20713
20714
20715 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20716 PyObject *resultobj;
20717 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20718 int result;
20719 PyObject * obj0 = 0 ;
20720 char *kwnames[] = {
20721 (char *) "self", NULL
20722 };
20723
20724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20726 if (SWIG_arg_fail(1)) SWIG_fail;
20727 {
20728 PyThreadState* __tstate = wxPyBeginAllowThreads();
20729 result = (int)(arg1)->GetMaxCols();
20730
20731 wxPyEndAllowThreads(__tstate);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 }
20734 {
20735 resultobj = SWIG_From_int((int)(result));
20736 }
20737 return resultobj;
20738 fail:
20739 return NULL;
20740 }
20741
20742
20743 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj;
20745 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20746 wxSize *arg2 = 0 ;
20747 wxSize temp2 ;
20748 PyObject * obj0 = 0 ;
20749 PyObject * obj1 = 0 ;
20750 char *kwnames[] = {
20751 (char *) "self",(char *) "size", NULL
20752 };
20753
20754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20756 if (SWIG_arg_fail(1)) SWIG_fail;
20757 {
20758 arg2 = &temp2;
20759 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20760 }
20761 {
20762 PyThreadState* __tstate = wxPyBeginAllowThreads();
20763 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20764
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 Py_INCREF(Py_None); resultobj = Py_None;
20769 return resultobj;
20770 fail:
20771 return NULL;
20772 }
20773
20774
20775 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20776 PyObject *resultobj;
20777 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20778 wxSize result;
20779 PyObject * obj0 = 0 ;
20780 char *kwnames[] = {
20781 (char *) "self", NULL
20782 };
20783
20784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20786 if (SWIG_arg_fail(1)) SWIG_fail;
20787 {
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 result = (arg1)->GetToolBitmapSize();
20790
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 {
20795 wxSize * resultptr;
20796 resultptr = new wxSize((wxSize &)(result));
20797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20798 }
20799 return resultobj;
20800 fail:
20801 return NULL;
20802 }
20803
20804
20805 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20806 PyObject *resultobj;
20807 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20808 wxSize result;
20809 PyObject * obj0 = 0 ;
20810 char *kwnames[] = {
20811 (char *) "self", NULL
20812 };
20813
20814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20816 if (SWIG_arg_fail(1)) SWIG_fail;
20817 {
20818 PyThreadState* __tstate = wxPyBeginAllowThreads();
20819 result = (arg1)->GetToolSize();
20820
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 {
20825 wxSize * resultptr;
20826 resultptr = new wxSize((wxSize &)(result));
20827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20828 }
20829 return resultobj;
20830 fail:
20831 return NULL;
20832 }
20833
20834
20835 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20836 PyObject *resultobj;
20837 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20838 int arg2 ;
20839 int arg3 ;
20840 wxToolBarToolBase *result;
20841 PyObject * obj0 = 0 ;
20842 PyObject * obj1 = 0 ;
20843 PyObject * obj2 = 0 ;
20844 char *kwnames[] = {
20845 (char *) "self",(char *) "x",(char *) "y", NULL
20846 };
20847
20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20850 if (SWIG_arg_fail(1)) SWIG_fail;
20851 {
20852 arg2 = (int)(SWIG_As_int(obj1));
20853 if (SWIG_arg_fail(2)) SWIG_fail;
20854 }
20855 {
20856 arg3 = (int)(SWIG_As_int(obj2));
20857 if (SWIG_arg_fail(3)) SWIG_fail;
20858 }
20859 {
20860 PyThreadState* __tstate = wxPyBeginAllowThreads();
20861 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20862
20863 wxPyEndAllowThreads(__tstate);
20864 if (PyErr_Occurred()) SWIG_fail;
20865 }
20866 {
20867 resultobj = wxPyMake_wxObject(result, 0);
20868 }
20869 return resultobj;
20870 fail:
20871 return NULL;
20872 }
20873
20874
20875 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20876 PyObject *resultobj;
20877 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20878 int arg2 ;
20879 wxToolBarToolBase *result;
20880 PyObject * obj0 = 0 ;
20881 PyObject * obj1 = 0 ;
20882 char *kwnames[] = {
20883 (char *) "self",(char *) "toolid", NULL
20884 };
20885
20886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
20887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20888 if (SWIG_arg_fail(1)) SWIG_fail;
20889 {
20890 arg2 = (int)(SWIG_As_int(obj1));
20891 if (SWIG_arg_fail(2)) SWIG_fail;
20892 }
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20896
20897 wxPyEndAllowThreads(__tstate);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 }
20900 {
20901 resultobj = wxPyMake_wxObject(result, 0);
20902 }
20903 return resultobj;
20904 fail:
20905 return NULL;
20906 }
20907
20908
20909 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
20910 PyObject *resultobj;
20911 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20912 bool result;
20913 PyObject * obj0 = 0 ;
20914 char *kwnames[] = {
20915 (char *) "self", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
20919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20920 if (SWIG_arg_fail(1)) SWIG_fail;
20921 {
20922 PyThreadState* __tstate = wxPyBeginAllowThreads();
20923 result = (bool)(arg1)->IsVertical();
20924
20925 wxPyEndAllowThreads(__tstate);
20926 if (PyErr_Occurred()) SWIG_fail;
20927 }
20928 {
20929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20930 }
20931 return resultobj;
20932 fail:
20933 return NULL;
20934 }
20935
20936
20937 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
20938 PyObject *obj;
20939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20940 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20941 Py_INCREF(obj);
20942 return Py_BuildValue((char *)"");
20943 }
20944 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
20945 PyObject *resultobj;
20946 wxWindow *arg1 = (wxWindow *) 0 ;
20947 int arg2 = (int) -1 ;
20948 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20949 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20950 wxSize const &arg4_defvalue = wxDefaultSize ;
20951 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20952 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20953 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
20954 wxString *arg6 = (wxString *) &arg6_defvalue ;
20955 wxToolBar *result;
20956 wxPoint temp3 ;
20957 wxSize temp4 ;
20958 bool temp6 = false ;
20959 PyObject * obj0 = 0 ;
20960 PyObject * obj1 = 0 ;
20961 PyObject * obj2 = 0 ;
20962 PyObject * obj3 = 0 ;
20963 PyObject * obj4 = 0 ;
20964 PyObject * obj5 = 0 ;
20965 char *kwnames[] = {
20966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20967 };
20968
20969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20971 if (SWIG_arg_fail(1)) SWIG_fail;
20972 if (obj1) {
20973 {
20974 arg2 = (int)(SWIG_As_int(obj1));
20975 if (SWIG_arg_fail(2)) SWIG_fail;
20976 }
20977 }
20978 if (obj2) {
20979 {
20980 arg3 = &temp3;
20981 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20982 }
20983 }
20984 if (obj3) {
20985 {
20986 arg4 = &temp4;
20987 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20988 }
20989 }
20990 if (obj4) {
20991 {
20992 arg5 = (long)(SWIG_As_long(obj4));
20993 if (SWIG_arg_fail(5)) SWIG_fail;
20994 }
20995 }
20996 if (obj5) {
20997 {
20998 arg6 = wxString_in_helper(obj5);
20999 if (arg6 == NULL) SWIG_fail;
21000 temp6 = true;
21001 }
21002 }
21003 {
21004 if (!wxPyCheckForApp()) SWIG_fail;
21005 PyThreadState* __tstate = wxPyBeginAllowThreads();
21006 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21007
21008 wxPyEndAllowThreads(__tstate);
21009 if (PyErr_Occurred()) SWIG_fail;
21010 }
21011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21012 {
21013 if (temp6)
21014 delete arg6;
21015 }
21016 return resultobj;
21017 fail:
21018 {
21019 if (temp6)
21020 delete arg6;
21021 }
21022 return NULL;
21023 }
21024
21025
21026 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21027 PyObject *resultobj;
21028 wxToolBar *result;
21029 char *kwnames[] = {
21030 NULL
21031 };
21032
21033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21034 {
21035 if (!wxPyCheckForApp()) SWIG_fail;
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 result = (wxToolBar *)new wxToolBar();
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21043 return resultobj;
21044 fail:
21045 return NULL;
21046 }
21047
21048
21049 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21050 PyObject *resultobj;
21051 wxToolBar *arg1 = (wxToolBar *) 0 ;
21052 wxWindow *arg2 = (wxWindow *) 0 ;
21053 int arg3 = (int) -1 ;
21054 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21055 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21056 wxSize const &arg5_defvalue = wxDefaultSize ;
21057 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21058 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21059 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21060 wxString *arg7 = (wxString *) &arg7_defvalue ;
21061 bool result;
21062 wxPoint temp4 ;
21063 wxSize temp5 ;
21064 bool temp7 = false ;
21065 PyObject * obj0 = 0 ;
21066 PyObject * obj1 = 0 ;
21067 PyObject * obj2 = 0 ;
21068 PyObject * obj3 = 0 ;
21069 PyObject * obj4 = 0 ;
21070 PyObject * obj5 = 0 ;
21071 PyObject * obj6 = 0 ;
21072 char *kwnames[] = {
21073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21074 };
21075
21076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21078 if (SWIG_arg_fail(1)) SWIG_fail;
21079 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21080 if (SWIG_arg_fail(2)) SWIG_fail;
21081 if (obj2) {
21082 {
21083 arg3 = (int)(SWIG_As_int(obj2));
21084 if (SWIG_arg_fail(3)) SWIG_fail;
21085 }
21086 }
21087 if (obj3) {
21088 {
21089 arg4 = &temp4;
21090 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21091 }
21092 }
21093 if (obj4) {
21094 {
21095 arg5 = &temp5;
21096 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21097 }
21098 }
21099 if (obj5) {
21100 {
21101 arg6 = (long)(SWIG_As_long(obj5));
21102 if (SWIG_arg_fail(6)) SWIG_fail;
21103 }
21104 }
21105 if (obj6) {
21106 {
21107 arg7 = wxString_in_helper(obj6);
21108 if (arg7 == NULL) SWIG_fail;
21109 temp7 = true;
21110 }
21111 }
21112 {
21113 PyThreadState* __tstate = wxPyBeginAllowThreads();
21114 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21115
21116 wxPyEndAllowThreads(__tstate);
21117 if (PyErr_Occurred()) SWIG_fail;
21118 }
21119 {
21120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21121 }
21122 {
21123 if (temp7)
21124 delete arg7;
21125 }
21126 return resultobj;
21127 fail:
21128 {
21129 if (temp7)
21130 delete arg7;
21131 }
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxToolBar *arg1 = (wxToolBar *) 0 ;
21139 int arg2 ;
21140 int arg3 ;
21141 wxToolBarToolBase *result;
21142 PyObject * obj0 = 0 ;
21143 PyObject * obj1 = 0 ;
21144 PyObject * obj2 = 0 ;
21145 char *kwnames[] = {
21146 (char *) "self",(char *) "x",(char *) "y", NULL
21147 };
21148
21149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21151 if (SWIG_arg_fail(1)) SWIG_fail;
21152 {
21153 arg2 = (int)(SWIG_As_int(obj1));
21154 if (SWIG_arg_fail(2)) SWIG_fail;
21155 }
21156 {
21157 arg3 = (int)(SWIG_As_int(obj2));
21158 if (SWIG_arg_fail(3)) SWIG_fail;
21159 }
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 {
21168 resultobj = wxPyMake_wxObject(result, 0);
21169 }
21170 return resultobj;
21171 fail:
21172 return NULL;
21173 }
21174
21175
21176 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21177 PyObject *resultobj;
21178 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21179 wxVisualAttributes result;
21180 PyObject * obj0 = 0 ;
21181 char *kwnames[] = {
21182 (char *) "variant", NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21186 if (obj0) {
21187 {
21188 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21189 if (SWIG_arg_fail(1)) SWIG_fail;
21190 }
21191 }
21192 {
21193 if (!wxPyCheckForApp()) SWIG_fail;
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 {
21201 wxVisualAttributes * resultptr;
21202 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
21203 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21204 }
21205 return resultobj;
21206 fail:
21207 return NULL;
21208 }
21209
21210
21211 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21212 PyObject *obj;
21213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21214 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21215 Py_INCREF(obj);
21216 return Py_BuildValue((char *)"");
21217 }
21218 static int _wrap_ListCtrlNameStr_set(PyObject *) {
21219 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21220 return 1;
21221 }
21222
21223
21224 static PyObject *_wrap_ListCtrlNameStr_get(void) {
21225 PyObject *pyobj;
21226
21227 {
21228 #if wxUSE_UNICODE
21229 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21230 #else
21231 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21232 #endif
21233 }
21234 return pyobj;
21235 }
21236
21237
21238 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21239 PyObject *resultobj;
21240 wxColour const &arg1_defvalue = wxNullColour ;
21241 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21242 wxColour const &arg2_defvalue = wxNullColour ;
21243 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21244 wxFont const &arg3_defvalue = wxNullFont ;
21245 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21246 wxListItemAttr *result;
21247 wxColour temp1 ;
21248 wxColour temp2 ;
21249 PyObject * obj0 = 0 ;
21250 PyObject * obj1 = 0 ;
21251 PyObject * obj2 = 0 ;
21252 char *kwnames[] = {
21253 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21254 };
21255
21256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21257 if (obj0) {
21258 {
21259 arg1 = &temp1;
21260 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21261 }
21262 }
21263 if (obj1) {
21264 {
21265 arg2 = &temp2;
21266 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21267 }
21268 }
21269 if (obj2) {
21270 {
21271 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21272 if (SWIG_arg_fail(3)) SWIG_fail;
21273 if (arg3 == NULL) {
21274 SWIG_null_ref("wxFont");
21275 }
21276 if (SWIG_arg_fail(3)) SWIG_fail;
21277 }
21278 }
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21287 return resultobj;
21288 fail:
21289 return NULL;
21290 }
21291
21292
21293 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj;
21295 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21296 wxColour *arg2 = 0 ;
21297 wxColour temp2 ;
21298 PyObject * obj0 = 0 ;
21299 PyObject * obj1 = 0 ;
21300 char *kwnames[] = {
21301 (char *) "self",(char *) "colText", NULL
21302 };
21303
21304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21306 if (SWIG_arg_fail(1)) SWIG_fail;
21307 {
21308 arg2 = &temp2;
21309 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21310 }
21311 {
21312 PyThreadState* __tstate = wxPyBeginAllowThreads();
21313 (arg1)->SetTextColour((wxColour const &)*arg2);
21314
21315 wxPyEndAllowThreads(__tstate);
21316 if (PyErr_Occurred()) SWIG_fail;
21317 }
21318 Py_INCREF(Py_None); resultobj = Py_None;
21319 return resultobj;
21320 fail:
21321 return NULL;
21322 }
21323
21324
21325 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21326 PyObject *resultobj;
21327 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21328 wxColour *arg2 = 0 ;
21329 wxColour temp2 ;
21330 PyObject * obj0 = 0 ;
21331 PyObject * obj1 = 0 ;
21332 char *kwnames[] = {
21333 (char *) "self",(char *) "colBack", NULL
21334 };
21335
21336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21338 if (SWIG_arg_fail(1)) SWIG_fail;
21339 {
21340 arg2 = &temp2;
21341 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21342 }
21343 {
21344 PyThreadState* __tstate = wxPyBeginAllowThreads();
21345 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21346
21347 wxPyEndAllowThreads(__tstate);
21348 if (PyErr_Occurred()) SWIG_fail;
21349 }
21350 Py_INCREF(Py_None); resultobj = Py_None;
21351 return resultobj;
21352 fail:
21353 return NULL;
21354 }
21355
21356
21357 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21358 PyObject *resultobj;
21359 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21360 wxFont *arg2 = 0 ;
21361 PyObject * obj0 = 0 ;
21362 PyObject * obj1 = 0 ;
21363 char *kwnames[] = {
21364 (char *) "self",(char *) "font", NULL
21365 };
21366
21367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21369 if (SWIG_arg_fail(1)) SWIG_fail;
21370 {
21371 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21372 if (SWIG_arg_fail(2)) SWIG_fail;
21373 if (arg2 == NULL) {
21374 SWIG_null_ref("wxFont");
21375 }
21376 if (SWIG_arg_fail(2)) SWIG_fail;
21377 }
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 (arg1)->SetFont((wxFont const &)*arg2);
21381
21382 wxPyEndAllowThreads(__tstate);
21383 if (PyErr_Occurred()) SWIG_fail;
21384 }
21385 Py_INCREF(Py_None); resultobj = Py_None;
21386 return resultobj;
21387 fail:
21388 return NULL;
21389 }
21390
21391
21392 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21393 PyObject *resultobj;
21394 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21395 bool result;
21396 PyObject * obj0 = 0 ;
21397 char *kwnames[] = {
21398 (char *) "self", NULL
21399 };
21400
21401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
21402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21403 if (SWIG_arg_fail(1)) SWIG_fail;
21404 {
21405 PyThreadState* __tstate = wxPyBeginAllowThreads();
21406 result = (bool)(arg1)->HasTextColour();
21407
21408 wxPyEndAllowThreads(__tstate);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 }
21411 {
21412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21413 }
21414 return resultobj;
21415 fail:
21416 return NULL;
21417 }
21418
21419
21420 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21421 PyObject *resultobj;
21422 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21423 bool result;
21424 PyObject * obj0 = 0 ;
21425 char *kwnames[] = {
21426 (char *) "self", NULL
21427 };
21428
21429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail;
21432 {
21433 PyThreadState* __tstate = wxPyBeginAllowThreads();
21434 result = (bool)(arg1)->HasBackgroundColour();
21435
21436 wxPyEndAllowThreads(__tstate);
21437 if (PyErr_Occurred()) SWIG_fail;
21438 }
21439 {
21440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21441 }
21442 return resultobj;
21443 fail:
21444 return NULL;
21445 }
21446
21447
21448 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21449 PyObject *resultobj;
21450 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21451 bool result;
21452 PyObject * obj0 = 0 ;
21453 char *kwnames[] = {
21454 (char *) "self", NULL
21455 };
21456
21457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21459 if (SWIG_arg_fail(1)) SWIG_fail;
21460 {
21461 PyThreadState* __tstate = wxPyBeginAllowThreads();
21462 result = (bool)(arg1)->HasFont();
21463
21464 wxPyEndAllowThreads(__tstate);
21465 if (PyErr_Occurred()) SWIG_fail;
21466 }
21467 {
21468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21469 }
21470 return resultobj;
21471 fail:
21472 return NULL;
21473 }
21474
21475
21476 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21477 PyObject *resultobj;
21478 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21479 wxColour result;
21480 PyObject * obj0 = 0 ;
21481 char *kwnames[] = {
21482 (char *) "self", NULL
21483 };
21484
21485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21487 if (SWIG_arg_fail(1)) SWIG_fail;
21488 {
21489 PyThreadState* __tstate = wxPyBeginAllowThreads();
21490 result = (arg1)->GetTextColour();
21491
21492 wxPyEndAllowThreads(__tstate);
21493 if (PyErr_Occurred()) SWIG_fail;
21494 }
21495 {
21496 wxColour * resultptr;
21497 resultptr = new wxColour((wxColour &)(result));
21498 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21499 }
21500 return resultobj;
21501 fail:
21502 return NULL;
21503 }
21504
21505
21506 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21507 PyObject *resultobj;
21508 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21509 wxColour result;
21510 PyObject * obj0 = 0 ;
21511 char *kwnames[] = {
21512 (char *) "self", NULL
21513 };
21514
21515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
21516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21517 if (SWIG_arg_fail(1)) SWIG_fail;
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 result = (arg1)->GetBackgroundColour();
21521
21522 wxPyEndAllowThreads(__tstate);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
21525 {
21526 wxColour * resultptr;
21527 resultptr = new wxColour((wxColour &)(result));
21528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21529 }
21530 return resultobj;
21531 fail:
21532 return NULL;
21533 }
21534
21535
21536 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21537 PyObject *resultobj;
21538 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21539 wxFont result;
21540 PyObject * obj0 = 0 ;
21541 char *kwnames[] = {
21542 (char *) "self", NULL
21543 };
21544
21545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21547 if (SWIG_arg_fail(1)) SWIG_fail;
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 result = (arg1)->GetFont();
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 {
21556 wxFont * resultptr;
21557 resultptr = new wxFont((wxFont &)(result));
21558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21559 }
21560 return resultobj;
21561 fail:
21562 return NULL;
21563 }
21564
21565
21566 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21567 PyObject *resultobj;
21568 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21569 PyObject * obj0 = 0 ;
21570 char *kwnames[] = {
21571 (char *) "self", NULL
21572 };
21573
21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21576 if (SWIG_arg_fail(1)) SWIG_fail;
21577 {
21578 PyThreadState* __tstate = wxPyBeginAllowThreads();
21579 wxListItemAttr_Destroy(arg1);
21580
21581 wxPyEndAllowThreads(__tstate);
21582 if (PyErr_Occurred()) SWIG_fail;
21583 }
21584 Py_INCREF(Py_None); resultobj = Py_None;
21585 return resultobj;
21586 fail:
21587 return NULL;
21588 }
21589
21590
21591 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21592 PyObject *obj;
21593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21594 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21595 Py_INCREF(obj);
21596 return Py_BuildValue((char *)"");
21597 }
21598 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21599 PyObject *resultobj;
21600 wxListItem *result;
21601 char *kwnames[] = {
21602 NULL
21603 };
21604
21605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21606 {
21607 PyThreadState* __tstate = wxPyBeginAllowThreads();
21608 result = (wxListItem *)new wxListItem();
21609
21610 wxPyEndAllowThreads(__tstate);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
21613 {
21614 resultobj = wxPyMake_wxObject(result, 1);
21615 }
21616 return resultobj;
21617 fail:
21618 return NULL;
21619 }
21620
21621
21622 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21623 PyObject *resultobj;
21624 wxListItem *arg1 = (wxListItem *) 0 ;
21625 PyObject * obj0 = 0 ;
21626 char *kwnames[] = {
21627 (char *) "self", NULL
21628 };
21629
21630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21632 if (SWIG_arg_fail(1)) SWIG_fail;
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 delete arg1;
21636
21637 wxPyEndAllowThreads(__tstate);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 }
21640 Py_INCREF(Py_None); resultobj = Py_None;
21641 return resultobj;
21642 fail:
21643 return NULL;
21644 }
21645
21646
21647 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21648 PyObject *resultobj;
21649 wxListItem *arg1 = (wxListItem *) 0 ;
21650 PyObject * obj0 = 0 ;
21651 char *kwnames[] = {
21652 (char *) "self", NULL
21653 };
21654
21655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21657 if (SWIG_arg_fail(1)) SWIG_fail;
21658 {
21659 PyThreadState* __tstate = wxPyBeginAllowThreads();
21660 (arg1)->Clear();
21661
21662 wxPyEndAllowThreads(__tstate);
21663 if (PyErr_Occurred()) SWIG_fail;
21664 }
21665 Py_INCREF(Py_None); resultobj = Py_None;
21666 return resultobj;
21667 fail:
21668 return NULL;
21669 }
21670
21671
21672 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21673 PyObject *resultobj;
21674 wxListItem *arg1 = (wxListItem *) 0 ;
21675 PyObject * obj0 = 0 ;
21676 char *kwnames[] = {
21677 (char *) "self", NULL
21678 };
21679
21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21682 if (SWIG_arg_fail(1)) SWIG_fail;
21683 {
21684 PyThreadState* __tstate = wxPyBeginAllowThreads();
21685 (arg1)->ClearAttributes();
21686
21687 wxPyEndAllowThreads(__tstate);
21688 if (PyErr_Occurred()) SWIG_fail;
21689 }
21690 Py_INCREF(Py_None); resultobj = Py_None;
21691 return resultobj;
21692 fail:
21693 return NULL;
21694 }
21695
21696
21697 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21698 PyObject *resultobj;
21699 wxListItem *arg1 = (wxListItem *) 0 ;
21700 long arg2 ;
21701 PyObject * obj0 = 0 ;
21702 PyObject * obj1 = 0 ;
21703 char *kwnames[] = {
21704 (char *) "self",(char *) "mask", NULL
21705 };
21706
21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
21708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21709 if (SWIG_arg_fail(1)) SWIG_fail;
21710 {
21711 arg2 = (long)(SWIG_As_long(obj1));
21712 if (SWIG_arg_fail(2)) SWIG_fail;
21713 }
21714 {
21715 PyThreadState* __tstate = wxPyBeginAllowThreads();
21716 (arg1)->SetMask(arg2);
21717
21718 wxPyEndAllowThreads(__tstate);
21719 if (PyErr_Occurred()) SWIG_fail;
21720 }
21721 Py_INCREF(Py_None); resultobj = Py_None;
21722 return resultobj;
21723 fail:
21724 return NULL;
21725 }
21726
21727
21728 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21729 PyObject *resultobj;
21730 wxListItem *arg1 = (wxListItem *) 0 ;
21731 long arg2 ;
21732 PyObject * obj0 = 0 ;
21733 PyObject * obj1 = 0 ;
21734 char *kwnames[] = {
21735 (char *) "self",(char *) "id", NULL
21736 };
21737
21738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21740 if (SWIG_arg_fail(1)) SWIG_fail;
21741 {
21742 arg2 = (long)(SWIG_As_long(obj1));
21743 if (SWIG_arg_fail(2)) SWIG_fail;
21744 }
21745 {
21746 PyThreadState* __tstate = wxPyBeginAllowThreads();
21747 (arg1)->SetId(arg2);
21748
21749 wxPyEndAllowThreads(__tstate);
21750 if (PyErr_Occurred()) SWIG_fail;
21751 }
21752 Py_INCREF(Py_None); resultobj = Py_None;
21753 return resultobj;
21754 fail:
21755 return NULL;
21756 }
21757
21758
21759 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21760 PyObject *resultobj;
21761 wxListItem *arg1 = (wxListItem *) 0 ;
21762 int arg2 ;
21763 PyObject * obj0 = 0 ;
21764 PyObject * obj1 = 0 ;
21765 char *kwnames[] = {
21766 (char *) "self",(char *) "col", NULL
21767 };
21768
21769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21771 if (SWIG_arg_fail(1)) SWIG_fail;
21772 {
21773 arg2 = (int)(SWIG_As_int(obj1));
21774 if (SWIG_arg_fail(2)) SWIG_fail;
21775 }
21776 {
21777 PyThreadState* __tstate = wxPyBeginAllowThreads();
21778 (arg1)->SetColumn(arg2);
21779
21780 wxPyEndAllowThreads(__tstate);
21781 if (PyErr_Occurred()) SWIG_fail;
21782 }
21783 Py_INCREF(Py_None); resultobj = Py_None;
21784 return resultobj;
21785 fail:
21786 return NULL;
21787 }
21788
21789
21790 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21791 PyObject *resultobj;
21792 wxListItem *arg1 = (wxListItem *) 0 ;
21793 long arg2 ;
21794 PyObject * obj0 = 0 ;
21795 PyObject * obj1 = 0 ;
21796 char *kwnames[] = {
21797 (char *) "self",(char *) "state", NULL
21798 };
21799
21800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21802 if (SWIG_arg_fail(1)) SWIG_fail;
21803 {
21804 arg2 = (long)(SWIG_As_long(obj1));
21805 if (SWIG_arg_fail(2)) SWIG_fail;
21806 }
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 (arg1)->SetState(arg2);
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 Py_INCREF(Py_None); resultobj = Py_None;
21815 return resultobj;
21816 fail:
21817 return NULL;
21818 }
21819
21820
21821 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21822 PyObject *resultobj;
21823 wxListItem *arg1 = (wxListItem *) 0 ;
21824 long arg2 ;
21825 PyObject * obj0 = 0 ;
21826 PyObject * obj1 = 0 ;
21827 char *kwnames[] = {
21828 (char *) "self",(char *) "stateMask", NULL
21829 };
21830
21831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21833 if (SWIG_arg_fail(1)) SWIG_fail;
21834 {
21835 arg2 = (long)(SWIG_As_long(obj1));
21836 if (SWIG_arg_fail(2)) SWIG_fail;
21837 }
21838 {
21839 PyThreadState* __tstate = wxPyBeginAllowThreads();
21840 (arg1)->SetStateMask(arg2);
21841
21842 wxPyEndAllowThreads(__tstate);
21843 if (PyErr_Occurred()) SWIG_fail;
21844 }
21845 Py_INCREF(Py_None); resultobj = Py_None;
21846 return resultobj;
21847 fail:
21848 return NULL;
21849 }
21850
21851
21852 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21853 PyObject *resultobj;
21854 wxListItem *arg1 = (wxListItem *) 0 ;
21855 wxString *arg2 = 0 ;
21856 bool temp2 = false ;
21857 PyObject * obj0 = 0 ;
21858 PyObject * obj1 = 0 ;
21859 char *kwnames[] = {
21860 (char *) "self",(char *) "text", NULL
21861 };
21862
21863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21865 if (SWIG_arg_fail(1)) SWIG_fail;
21866 {
21867 arg2 = wxString_in_helper(obj1);
21868 if (arg2 == NULL) SWIG_fail;
21869 temp2 = true;
21870 }
21871 {
21872 PyThreadState* __tstate = wxPyBeginAllowThreads();
21873 (arg1)->SetText((wxString const &)*arg2);
21874
21875 wxPyEndAllowThreads(__tstate);
21876 if (PyErr_Occurred()) SWIG_fail;
21877 }
21878 Py_INCREF(Py_None); resultobj = Py_None;
21879 {
21880 if (temp2)
21881 delete arg2;
21882 }
21883 return resultobj;
21884 fail:
21885 {
21886 if (temp2)
21887 delete arg2;
21888 }
21889 return NULL;
21890 }
21891
21892
21893 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21894 PyObject *resultobj;
21895 wxListItem *arg1 = (wxListItem *) 0 ;
21896 int arg2 ;
21897 PyObject * obj0 = 0 ;
21898 PyObject * obj1 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "self",(char *) "image", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
21904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21905 if (SWIG_arg_fail(1)) SWIG_fail;
21906 {
21907 arg2 = (int)(SWIG_As_int(obj1));
21908 if (SWIG_arg_fail(2)) SWIG_fail;
21909 }
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 (arg1)->SetImage(arg2);
21913
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 Py_INCREF(Py_None); resultobj = Py_None;
21918 return resultobj;
21919 fail:
21920 return NULL;
21921 }
21922
21923
21924 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
21925 PyObject *resultobj;
21926 wxListItem *arg1 = (wxListItem *) 0 ;
21927 long arg2 ;
21928 PyObject * obj0 = 0 ;
21929 PyObject * obj1 = 0 ;
21930 char *kwnames[] = {
21931 (char *) "self",(char *) "data", NULL
21932 };
21933
21934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
21935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21936 if (SWIG_arg_fail(1)) SWIG_fail;
21937 {
21938 arg2 = (long)(SWIG_As_long(obj1));
21939 if (SWIG_arg_fail(2)) SWIG_fail;
21940 }
21941 {
21942 PyThreadState* __tstate = wxPyBeginAllowThreads();
21943 (arg1)->SetData(arg2);
21944
21945 wxPyEndAllowThreads(__tstate);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 Py_INCREF(Py_None); resultobj = Py_None;
21949 return resultobj;
21950 fail:
21951 return NULL;
21952 }
21953
21954
21955 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
21956 PyObject *resultobj;
21957 wxListItem *arg1 = (wxListItem *) 0 ;
21958 int arg2 ;
21959 PyObject * obj0 = 0 ;
21960 PyObject * obj1 = 0 ;
21961 char *kwnames[] = {
21962 (char *) "self",(char *) "width", NULL
21963 };
21964
21965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
21966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21967 if (SWIG_arg_fail(1)) SWIG_fail;
21968 {
21969 arg2 = (int)(SWIG_As_int(obj1));
21970 if (SWIG_arg_fail(2)) SWIG_fail;
21971 }
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 (arg1)->SetWidth(arg2);
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 Py_INCREF(Py_None); resultobj = Py_None;
21980 return resultobj;
21981 fail:
21982 return NULL;
21983 }
21984
21985
21986 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
21987 PyObject *resultobj;
21988 wxListItem *arg1 = (wxListItem *) 0 ;
21989 wxListColumnFormat arg2 ;
21990 PyObject * obj0 = 0 ;
21991 PyObject * obj1 = 0 ;
21992 char *kwnames[] = {
21993 (char *) "self",(char *) "align", NULL
21994 };
21995
21996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
21997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21998 if (SWIG_arg_fail(1)) SWIG_fail;
21999 {
22000 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22001 if (SWIG_arg_fail(2)) SWIG_fail;
22002 }
22003 {
22004 PyThreadState* __tstate = wxPyBeginAllowThreads();
22005 (arg1)->SetAlign((wxListColumnFormat )arg2);
22006
22007 wxPyEndAllowThreads(__tstate);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 }
22010 Py_INCREF(Py_None); resultobj = Py_None;
22011 return resultobj;
22012 fail:
22013 return NULL;
22014 }
22015
22016
22017 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22018 PyObject *resultobj;
22019 wxListItem *arg1 = (wxListItem *) 0 ;
22020 wxColour *arg2 = 0 ;
22021 wxColour temp2 ;
22022 PyObject * obj0 = 0 ;
22023 PyObject * obj1 = 0 ;
22024 char *kwnames[] = {
22025 (char *) "self",(char *) "colText", NULL
22026 };
22027
22028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22030 if (SWIG_arg_fail(1)) SWIG_fail;
22031 {
22032 arg2 = &temp2;
22033 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22034 }
22035 {
22036 PyThreadState* __tstate = wxPyBeginAllowThreads();
22037 (arg1)->SetTextColour((wxColour const &)*arg2);
22038
22039 wxPyEndAllowThreads(__tstate);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 }
22042 Py_INCREF(Py_None); resultobj = Py_None;
22043 return resultobj;
22044 fail:
22045 return NULL;
22046 }
22047
22048
22049 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22050 PyObject *resultobj;
22051 wxListItem *arg1 = (wxListItem *) 0 ;
22052 wxColour *arg2 = 0 ;
22053 wxColour temp2 ;
22054 PyObject * obj0 = 0 ;
22055 PyObject * obj1 = 0 ;
22056 char *kwnames[] = {
22057 (char *) "self",(char *) "colBack", NULL
22058 };
22059
22060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22062 if (SWIG_arg_fail(1)) SWIG_fail;
22063 {
22064 arg2 = &temp2;
22065 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22066 }
22067 {
22068 PyThreadState* __tstate = wxPyBeginAllowThreads();
22069 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22070
22071 wxPyEndAllowThreads(__tstate);
22072 if (PyErr_Occurred()) SWIG_fail;
22073 }
22074 Py_INCREF(Py_None); resultobj = Py_None;
22075 return resultobj;
22076 fail:
22077 return NULL;
22078 }
22079
22080
22081 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22082 PyObject *resultobj;
22083 wxListItem *arg1 = (wxListItem *) 0 ;
22084 wxFont *arg2 = 0 ;
22085 PyObject * obj0 = 0 ;
22086 PyObject * obj1 = 0 ;
22087 char *kwnames[] = {
22088 (char *) "self",(char *) "font", NULL
22089 };
22090
22091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
22092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22093 if (SWIG_arg_fail(1)) SWIG_fail;
22094 {
22095 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22096 if (SWIG_arg_fail(2)) SWIG_fail;
22097 if (arg2 == NULL) {
22098 SWIG_null_ref("wxFont");
22099 }
22100 if (SWIG_arg_fail(2)) SWIG_fail;
22101 }
22102 {
22103 PyThreadState* __tstate = wxPyBeginAllowThreads();
22104 (arg1)->SetFont((wxFont const &)*arg2);
22105
22106 wxPyEndAllowThreads(__tstate);
22107 if (PyErr_Occurred()) SWIG_fail;
22108 }
22109 Py_INCREF(Py_None); resultobj = Py_None;
22110 return resultobj;
22111 fail:
22112 return NULL;
22113 }
22114
22115
22116 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22117 PyObject *resultobj;
22118 wxListItem *arg1 = (wxListItem *) 0 ;
22119 long result;
22120 PyObject * obj0 = 0 ;
22121 char *kwnames[] = {
22122 (char *) "self", NULL
22123 };
22124
22125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
22126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22127 if (SWIG_arg_fail(1)) SWIG_fail;
22128 {
22129 PyThreadState* __tstate = wxPyBeginAllowThreads();
22130 result = (long)(arg1)->GetMask();
22131
22132 wxPyEndAllowThreads(__tstate);
22133 if (PyErr_Occurred()) SWIG_fail;
22134 }
22135 {
22136 resultobj = SWIG_From_long((long)(result));
22137 }
22138 return resultobj;
22139 fail:
22140 return NULL;
22141 }
22142
22143
22144 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22145 PyObject *resultobj;
22146 wxListItem *arg1 = (wxListItem *) 0 ;
22147 long result;
22148 PyObject * obj0 = 0 ;
22149 char *kwnames[] = {
22150 (char *) "self", NULL
22151 };
22152
22153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
22154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22155 if (SWIG_arg_fail(1)) SWIG_fail;
22156 {
22157 PyThreadState* __tstate = wxPyBeginAllowThreads();
22158 result = (long)(arg1)->GetId();
22159
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 {
22164 resultobj = SWIG_From_long((long)(result));
22165 }
22166 return resultobj;
22167 fail:
22168 return NULL;
22169 }
22170
22171
22172 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22173 PyObject *resultobj;
22174 wxListItem *arg1 = (wxListItem *) 0 ;
22175 int result;
22176 PyObject * obj0 = 0 ;
22177 char *kwnames[] = {
22178 (char *) "self", NULL
22179 };
22180
22181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
22182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22183 if (SWIG_arg_fail(1)) SWIG_fail;
22184 {
22185 PyThreadState* __tstate = wxPyBeginAllowThreads();
22186 result = (int)(arg1)->GetColumn();
22187
22188 wxPyEndAllowThreads(__tstate);
22189 if (PyErr_Occurred()) SWIG_fail;
22190 }
22191 {
22192 resultobj = SWIG_From_int((int)(result));
22193 }
22194 return resultobj;
22195 fail:
22196 return NULL;
22197 }
22198
22199
22200 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
22201 PyObject *resultobj;
22202 wxListItem *arg1 = (wxListItem *) 0 ;
22203 long result;
22204 PyObject * obj0 = 0 ;
22205 char *kwnames[] = {
22206 (char *) "self", NULL
22207 };
22208
22209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
22210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22211 if (SWIG_arg_fail(1)) SWIG_fail;
22212 {
22213 PyThreadState* __tstate = wxPyBeginAllowThreads();
22214 result = (long)(arg1)->GetState();
22215
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 {
22220 resultobj = SWIG_From_long((long)(result));
22221 }
22222 return resultobj;
22223 fail:
22224 return NULL;
22225 }
22226
22227
22228 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22229 PyObject *resultobj;
22230 wxListItem *arg1 = (wxListItem *) 0 ;
22231 wxString *result;
22232 PyObject * obj0 = 0 ;
22233 char *kwnames[] = {
22234 (char *) "self", NULL
22235 };
22236
22237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail;
22240 {
22241 PyThreadState* __tstate = wxPyBeginAllowThreads();
22242 {
22243 wxString const &_result_ref = (arg1)->GetText();
22244 result = (wxString *) &_result_ref;
22245 }
22246
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 {
22251 #if wxUSE_UNICODE
22252 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22253 #else
22254 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22255 #endif
22256 }
22257 return resultobj;
22258 fail:
22259 return NULL;
22260 }
22261
22262
22263 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22264 PyObject *resultobj;
22265 wxListItem *arg1 = (wxListItem *) 0 ;
22266 int result;
22267 PyObject * obj0 = 0 ;
22268 char *kwnames[] = {
22269 (char *) "self", NULL
22270 };
22271
22272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
22273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22274 if (SWIG_arg_fail(1)) SWIG_fail;
22275 {
22276 PyThreadState* __tstate = wxPyBeginAllowThreads();
22277 result = (int)(arg1)->GetImage();
22278
22279 wxPyEndAllowThreads(__tstate);
22280 if (PyErr_Occurred()) SWIG_fail;
22281 }
22282 {
22283 resultobj = SWIG_From_int((int)(result));
22284 }
22285 return resultobj;
22286 fail:
22287 return NULL;
22288 }
22289
22290
22291 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22292 PyObject *resultobj;
22293 wxListItem *arg1 = (wxListItem *) 0 ;
22294 long result;
22295 PyObject * obj0 = 0 ;
22296 char *kwnames[] = {
22297 (char *) "self", NULL
22298 };
22299
22300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22302 if (SWIG_arg_fail(1)) SWIG_fail;
22303 {
22304 PyThreadState* __tstate = wxPyBeginAllowThreads();
22305 result = (long)(arg1)->GetData();
22306
22307 wxPyEndAllowThreads(__tstate);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 {
22311 resultobj = SWIG_From_long((long)(result));
22312 }
22313 return resultobj;
22314 fail:
22315 return NULL;
22316 }
22317
22318
22319 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22320 PyObject *resultobj;
22321 wxListItem *arg1 = (wxListItem *) 0 ;
22322 int result;
22323 PyObject * obj0 = 0 ;
22324 char *kwnames[] = {
22325 (char *) "self", NULL
22326 };
22327
22328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22330 if (SWIG_arg_fail(1)) SWIG_fail;
22331 {
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 result = (int)(arg1)->GetWidth();
22334
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 {
22339 resultobj = SWIG_From_int((int)(result));
22340 }
22341 return resultobj;
22342 fail:
22343 return NULL;
22344 }
22345
22346
22347 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22348 PyObject *resultobj;
22349 wxListItem *arg1 = (wxListItem *) 0 ;
22350 wxListColumnFormat result;
22351 PyObject * obj0 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "self", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22358 if (SWIG_arg_fail(1)) SWIG_fail;
22359 {
22360 PyThreadState* __tstate = wxPyBeginAllowThreads();
22361 result = (wxListColumnFormat)(arg1)->GetAlign();
22362
22363 wxPyEndAllowThreads(__tstate);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 resultobj = SWIG_From_int((result));
22367 return resultobj;
22368 fail:
22369 return NULL;
22370 }
22371
22372
22373 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22374 PyObject *resultobj;
22375 wxListItem *arg1 = (wxListItem *) 0 ;
22376 wxListItemAttr *result;
22377 PyObject * obj0 = 0 ;
22378 char *kwnames[] = {
22379 (char *) "self", NULL
22380 };
22381
22382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
22383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22384 if (SWIG_arg_fail(1)) SWIG_fail;
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 result = (wxListItemAttr *)(arg1)->GetAttributes();
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22393 return resultobj;
22394 fail:
22395 return NULL;
22396 }
22397
22398
22399 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj;
22401 wxListItem *arg1 = (wxListItem *) 0 ;
22402 bool result;
22403 PyObject * obj0 = 0 ;
22404 char *kwnames[] = {
22405 (char *) "self", NULL
22406 };
22407
22408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22410 if (SWIG_arg_fail(1)) SWIG_fail;
22411 {
22412 PyThreadState* __tstate = wxPyBeginAllowThreads();
22413 result = (bool)(arg1)->HasAttributes();
22414
22415 wxPyEndAllowThreads(__tstate);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 {
22419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22420 }
22421 return resultobj;
22422 fail:
22423 return NULL;
22424 }
22425
22426
22427 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22428 PyObject *resultobj;
22429 wxListItem *arg1 = (wxListItem *) 0 ;
22430 wxColour result;
22431 PyObject * obj0 = 0 ;
22432 char *kwnames[] = {
22433 (char *) "self", NULL
22434 };
22435
22436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22438 if (SWIG_arg_fail(1)) SWIG_fail;
22439 {
22440 PyThreadState* __tstate = wxPyBeginAllowThreads();
22441 result = ((wxListItem const *)arg1)->GetTextColour();
22442
22443 wxPyEndAllowThreads(__tstate);
22444 if (PyErr_Occurred()) SWIG_fail;
22445 }
22446 {
22447 wxColour * resultptr;
22448 resultptr = new wxColour((wxColour &)(result));
22449 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22450 }
22451 return resultobj;
22452 fail:
22453 return NULL;
22454 }
22455
22456
22457 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj;
22459 wxListItem *arg1 = (wxListItem *) 0 ;
22460 wxColour result;
22461 PyObject * obj0 = 0 ;
22462 char *kwnames[] = {
22463 (char *) "self", NULL
22464 };
22465
22466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22468 if (SWIG_arg_fail(1)) SWIG_fail;
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22472
22473 wxPyEndAllowThreads(__tstate);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 {
22477 wxColour * resultptr;
22478 resultptr = new wxColour((wxColour &)(result));
22479 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22480 }
22481 return resultobj;
22482 fail:
22483 return NULL;
22484 }
22485
22486
22487 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22488 PyObject *resultobj;
22489 wxListItem *arg1 = (wxListItem *) 0 ;
22490 wxFont result;
22491 PyObject * obj0 = 0 ;
22492 char *kwnames[] = {
22493 (char *) "self", NULL
22494 };
22495
22496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22498 if (SWIG_arg_fail(1)) SWIG_fail;
22499 {
22500 PyThreadState* __tstate = wxPyBeginAllowThreads();
22501 result = ((wxListItem const *)arg1)->GetFont();
22502
22503 wxPyEndAllowThreads(__tstate);
22504 if (PyErr_Occurred()) SWIG_fail;
22505 }
22506 {
22507 wxFont * resultptr;
22508 resultptr = new wxFont((wxFont &)(result));
22509 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22510 }
22511 return resultobj;
22512 fail:
22513 return NULL;
22514 }
22515
22516
22517 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22518 PyObject *resultobj;
22519 wxListItem *arg1 = (wxListItem *) 0 ;
22520 long arg2 ;
22521 PyObject * obj0 = 0 ;
22522 PyObject * obj1 = 0 ;
22523 char *kwnames[] = {
22524 (char *) "self",(char *) "m_mask", NULL
22525 };
22526
22527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22529 if (SWIG_arg_fail(1)) SWIG_fail;
22530 {
22531 arg2 = (long)(SWIG_As_long(obj1));
22532 if (SWIG_arg_fail(2)) SWIG_fail;
22533 }
22534 if (arg1) (arg1)->m_mask = arg2;
22535
22536 Py_INCREF(Py_None); resultobj = Py_None;
22537 return resultobj;
22538 fail:
22539 return NULL;
22540 }
22541
22542
22543 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22544 PyObject *resultobj;
22545 wxListItem *arg1 = (wxListItem *) 0 ;
22546 long result;
22547 PyObject * obj0 = 0 ;
22548 char *kwnames[] = {
22549 (char *) "self", NULL
22550 };
22551
22552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
22553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22554 if (SWIG_arg_fail(1)) SWIG_fail;
22555 result = (long) ((arg1)->m_mask);
22556
22557 {
22558 resultobj = SWIG_From_long((long)(result));
22559 }
22560 return resultobj;
22561 fail:
22562 return NULL;
22563 }
22564
22565
22566 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22567 PyObject *resultobj;
22568 wxListItem *arg1 = (wxListItem *) 0 ;
22569 long arg2 ;
22570 PyObject * obj0 = 0 ;
22571 PyObject * obj1 = 0 ;
22572 char *kwnames[] = {
22573 (char *) "self",(char *) "m_itemId", NULL
22574 };
22575
22576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22578 if (SWIG_arg_fail(1)) SWIG_fail;
22579 {
22580 arg2 = (long)(SWIG_As_long(obj1));
22581 if (SWIG_arg_fail(2)) SWIG_fail;
22582 }
22583 if (arg1) (arg1)->m_itemId = arg2;
22584
22585 Py_INCREF(Py_None); resultobj = Py_None;
22586 return resultobj;
22587 fail:
22588 return NULL;
22589 }
22590
22591
22592 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22593 PyObject *resultobj;
22594 wxListItem *arg1 = (wxListItem *) 0 ;
22595 long result;
22596 PyObject * obj0 = 0 ;
22597 char *kwnames[] = {
22598 (char *) "self", NULL
22599 };
22600
22601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
22602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22603 if (SWIG_arg_fail(1)) SWIG_fail;
22604 result = (long) ((arg1)->m_itemId);
22605
22606 {
22607 resultobj = SWIG_From_long((long)(result));
22608 }
22609 return resultobj;
22610 fail:
22611 return NULL;
22612 }
22613
22614
22615 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22616 PyObject *resultobj;
22617 wxListItem *arg1 = (wxListItem *) 0 ;
22618 int arg2 ;
22619 PyObject * obj0 = 0 ;
22620 PyObject * obj1 = 0 ;
22621 char *kwnames[] = {
22622 (char *) "self",(char *) "m_col", NULL
22623 };
22624
22625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22627 if (SWIG_arg_fail(1)) SWIG_fail;
22628 {
22629 arg2 = (int)(SWIG_As_int(obj1));
22630 if (SWIG_arg_fail(2)) SWIG_fail;
22631 }
22632 if (arg1) (arg1)->m_col = arg2;
22633
22634 Py_INCREF(Py_None); resultobj = Py_None;
22635 return resultobj;
22636 fail:
22637 return NULL;
22638 }
22639
22640
22641 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22642 PyObject *resultobj;
22643 wxListItem *arg1 = (wxListItem *) 0 ;
22644 int result;
22645 PyObject * obj0 = 0 ;
22646 char *kwnames[] = {
22647 (char *) "self", NULL
22648 };
22649
22650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22652 if (SWIG_arg_fail(1)) SWIG_fail;
22653 result = (int) ((arg1)->m_col);
22654
22655 {
22656 resultobj = SWIG_From_int((int)(result));
22657 }
22658 return resultobj;
22659 fail:
22660 return NULL;
22661 }
22662
22663
22664 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22665 PyObject *resultobj;
22666 wxListItem *arg1 = (wxListItem *) 0 ;
22667 long arg2 ;
22668 PyObject * obj0 = 0 ;
22669 PyObject * obj1 = 0 ;
22670 char *kwnames[] = {
22671 (char *) "self",(char *) "m_state", NULL
22672 };
22673
22674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail;
22677 {
22678 arg2 = (long)(SWIG_As_long(obj1));
22679 if (SWIG_arg_fail(2)) SWIG_fail;
22680 }
22681 if (arg1) (arg1)->m_state = arg2;
22682
22683 Py_INCREF(Py_None); resultobj = Py_None;
22684 return resultobj;
22685 fail:
22686 return NULL;
22687 }
22688
22689
22690 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22691 PyObject *resultobj;
22692 wxListItem *arg1 = (wxListItem *) 0 ;
22693 long result;
22694 PyObject * obj0 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22701 if (SWIG_arg_fail(1)) SWIG_fail;
22702 result = (long) ((arg1)->m_state);
22703
22704 {
22705 resultobj = SWIG_From_long((long)(result));
22706 }
22707 return resultobj;
22708 fail:
22709 return NULL;
22710 }
22711
22712
22713 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22714 PyObject *resultobj;
22715 wxListItem *arg1 = (wxListItem *) 0 ;
22716 long arg2 ;
22717 PyObject * obj0 = 0 ;
22718 PyObject * obj1 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "self",(char *) "m_stateMask", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
22724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22725 if (SWIG_arg_fail(1)) SWIG_fail;
22726 {
22727 arg2 = (long)(SWIG_As_long(obj1));
22728 if (SWIG_arg_fail(2)) SWIG_fail;
22729 }
22730 if (arg1) (arg1)->m_stateMask = arg2;
22731
22732 Py_INCREF(Py_None); resultobj = Py_None;
22733 return resultobj;
22734 fail:
22735 return NULL;
22736 }
22737
22738
22739 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22740 PyObject *resultobj;
22741 wxListItem *arg1 = (wxListItem *) 0 ;
22742 long result;
22743 PyObject * obj0 = 0 ;
22744 char *kwnames[] = {
22745 (char *) "self", NULL
22746 };
22747
22748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22750 if (SWIG_arg_fail(1)) SWIG_fail;
22751 result = (long) ((arg1)->m_stateMask);
22752
22753 {
22754 resultobj = SWIG_From_long((long)(result));
22755 }
22756 return resultobj;
22757 fail:
22758 return NULL;
22759 }
22760
22761
22762 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22763 PyObject *resultobj;
22764 wxListItem *arg1 = (wxListItem *) 0 ;
22765 wxString *arg2 = (wxString *) 0 ;
22766 bool temp2 = false ;
22767 PyObject * obj0 = 0 ;
22768 PyObject * obj1 = 0 ;
22769 char *kwnames[] = {
22770 (char *) "self",(char *) "m_text", NULL
22771 };
22772
22773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22775 if (SWIG_arg_fail(1)) SWIG_fail;
22776 {
22777 arg2 = wxString_in_helper(obj1);
22778 if (arg2 == NULL) SWIG_fail;
22779 temp2 = true;
22780 }
22781 if (arg1) (arg1)->m_text = *arg2;
22782
22783 Py_INCREF(Py_None); resultobj = Py_None;
22784 {
22785 if (temp2)
22786 delete arg2;
22787 }
22788 return resultobj;
22789 fail:
22790 {
22791 if (temp2)
22792 delete arg2;
22793 }
22794 return NULL;
22795 }
22796
22797
22798 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22799 PyObject *resultobj;
22800 wxListItem *arg1 = (wxListItem *) 0 ;
22801 wxString *result;
22802 PyObject * obj0 = 0 ;
22803 char *kwnames[] = {
22804 (char *) "self", NULL
22805 };
22806
22807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22809 if (SWIG_arg_fail(1)) SWIG_fail;
22810 result = (wxString *)& ((arg1)->m_text);
22811
22812 {
22813 #if wxUSE_UNICODE
22814 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22815 #else
22816 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22817 #endif
22818 }
22819 return resultobj;
22820 fail:
22821 return NULL;
22822 }
22823
22824
22825 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22826 PyObject *resultobj;
22827 wxListItem *arg1 = (wxListItem *) 0 ;
22828 int arg2 ;
22829 PyObject * obj0 = 0 ;
22830 PyObject * obj1 = 0 ;
22831 char *kwnames[] = {
22832 (char *) "self",(char *) "m_image", NULL
22833 };
22834
22835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22837 if (SWIG_arg_fail(1)) SWIG_fail;
22838 {
22839 arg2 = (int)(SWIG_As_int(obj1));
22840 if (SWIG_arg_fail(2)) SWIG_fail;
22841 }
22842 if (arg1) (arg1)->m_image = arg2;
22843
22844 Py_INCREF(Py_None); resultobj = Py_None;
22845 return resultobj;
22846 fail:
22847 return NULL;
22848 }
22849
22850
22851 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22852 PyObject *resultobj;
22853 wxListItem *arg1 = (wxListItem *) 0 ;
22854 int result;
22855 PyObject * obj0 = 0 ;
22856 char *kwnames[] = {
22857 (char *) "self", NULL
22858 };
22859
22860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22862 if (SWIG_arg_fail(1)) SWIG_fail;
22863 result = (int) ((arg1)->m_image);
22864
22865 {
22866 resultobj = SWIG_From_int((int)(result));
22867 }
22868 return resultobj;
22869 fail:
22870 return NULL;
22871 }
22872
22873
22874 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22875 PyObject *resultobj;
22876 wxListItem *arg1 = (wxListItem *) 0 ;
22877 long arg2 ;
22878 PyObject * obj0 = 0 ;
22879 PyObject * obj1 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self",(char *) "m_data", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
22885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22886 if (SWIG_arg_fail(1)) SWIG_fail;
22887 {
22888 arg2 = (long)(SWIG_As_long(obj1));
22889 if (SWIG_arg_fail(2)) SWIG_fail;
22890 }
22891 if (arg1) (arg1)->m_data = arg2;
22892
22893 Py_INCREF(Py_None); resultobj = Py_None;
22894 return resultobj;
22895 fail:
22896 return NULL;
22897 }
22898
22899
22900 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
22901 PyObject *resultobj;
22902 wxListItem *arg1 = (wxListItem *) 0 ;
22903 long result;
22904 PyObject * obj0 = 0 ;
22905 char *kwnames[] = {
22906 (char *) "self", NULL
22907 };
22908
22909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
22910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22911 if (SWIG_arg_fail(1)) SWIG_fail;
22912 result = (long) ((arg1)->m_data);
22913
22914 {
22915 resultobj = SWIG_From_long((long)(result));
22916 }
22917 return resultobj;
22918 fail:
22919 return NULL;
22920 }
22921
22922
22923 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
22924 PyObject *resultobj;
22925 wxListItem *arg1 = (wxListItem *) 0 ;
22926 int arg2 ;
22927 PyObject * obj0 = 0 ;
22928 PyObject * obj1 = 0 ;
22929 char *kwnames[] = {
22930 (char *) "self",(char *) "m_format", NULL
22931 };
22932
22933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
22934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22935 if (SWIG_arg_fail(1)) SWIG_fail;
22936 {
22937 arg2 = (int)(SWIG_As_int(obj1));
22938 if (SWIG_arg_fail(2)) SWIG_fail;
22939 }
22940 if (arg1) (arg1)->m_format = arg2;
22941
22942 Py_INCREF(Py_None); resultobj = Py_None;
22943 return resultobj;
22944 fail:
22945 return NULL;
22946 }
22947
22948
22949 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
22950 PyObject *resultobj;
22951 wxListItem *arg1 = (wxListItem *) 0 ;
22952 int result;
22953 PyObject * obj0 = 0 ;
22954 char *kwnames[] = {
22955 (char *) "self", NULL
22956 };
22957
22958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
22959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22960 if (SWIG_arg_fail(1)) SWIG_fail;
22961 result = (int) ((arg1)->m_format);
22962
22963 {
22964 resultobj = SWIG_From_int((int)(result));
22965 }
22966 return resultobj;
22967 fail:
22968 return NULL;
22969 }
22970
22971
22972 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
22973 PyObject *resultobj;
22974 wxListItem *arg1 = (wxListItem *) 0 ;
22975 int arg2 ;
22976 PyObject * obj0 = 0 ;
22977 PyObject * obj1 = 0 ;
22978 char *kwnames[] = {
22979 (char *) "self",(char *) "m_width", NULL
22980 };
22981
22982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
22983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22984 if (SWIG_arg_fail(1)) SWIG_fail;
22985 {
22986 arg2 = (int)(SWIG_As_int(obj1));
22987 if (SWIG_arg_fail(2)) SWIG_fail;
22988 }
22989 if (arg1) (arg1)->m_width = arg2;
22990
22991 Py_INCREF(Py_None); resultobj = Py_None;
22992 return resultobj;
22993 fail:
22994 return NULL;
22995 }
22996
22997
22998 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
22999 PyObject *resultobj;
23000 wxListItem *arg1 = (wxListItem *) 0 ;
23001 int result;
23002 PyObject * obj0 = 0 ;
23003 char *kwnames[] = {
23004 (char *) "self", NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
23008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23009 if (SWIG_arg_fail(1)) SWIG_fail;
23010 result = (int) ((arg1)->m_width);
23011
23012 {
23013 resultobj = SWIG_From_int((int)(result));
23014 }
23015 return resultobj;
23016 fail:
23017 return NULL;
23018 }
23019
23020
23021 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
23022 PyObject *obj;
23023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23024 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23025 Py_INCREF(obj);
23026 return Py_BuildValue((char *)"");
23027 }
23028 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23029 PyObject *resultobj;
23030 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23031 int arg2 = (int) 0 ;
23032 wxListEvent *result;
23033 PyObject * obj0 = 0 ;
23034 PyObject * obj1 = 0 ;
23035 char *kwnames[] = {
23036 (char *) "commandType",(char *) "id", NULL
23037 };
23038
23039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23040 if (obj0) {
23041 {
23042 arg1 = (wxEventType)(SWIG_As_int(obj0));
23043 if (SWIG_arg_fail(1)) SWIG_fail;
23044 }
23045 }
23046 if (obj1) {
23047 {
23048 arg2 = (int)(SWIG_As_int(obj1));
23049 if (SWIG_arg_fail(2)) SWIG_fail;
23050 }
23051 }
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23055
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
23059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23060 return resultobj;
23061 fail:
23062 return NULL;
23063 }
23064
23065
23066 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
23067 PyObject *resultobj;
23068 wxListEvent *arg1 = (wxListEvent *) 0 ;
23069 int arg2 ;
23070 PyObject * obj0 = 0 ;
23071 PyObject * obj1 = 0 ;
23072 char *kwnames[] = {
23073 (char *) "self",(char *) "m_code", NULL
23074 };
23075
23076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
23077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23078 if (SWIG_arg_fail(1)) SWIG_fail;
23079 {
23080 arg2 = (int)(SWIG_As_int(obj1));
23081 if (SWIG_arg_fail(2)) SWIG_fail;
23082 }
23083 if (arg1) (arg1)->m_code = arg2;
23084
23085 Py_INCREF(Py_None); resultobj = Py_None;
23086 return resultobj;
23087 fail:
23088 return NULL;
23089 }
23090
23091
23092 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
23093 PyObject *resultobj;
23094 wxListEvent *arg1 = (wxListEvent *) 0 ;
23095 int result;
23096 PyObject * obj0 = 0 ;
23097 char *kwnames[] = {
23098 (char *) "self", NULL
23099 };
23100
23101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
23102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23103 if (SWIG_arg_fail(1)) SWIG_fail;
23104 result = (int) ((arg1)->m_code);
23105
23106 {
23107 resultobj = SWIG_From_int((int)(result));
23108 }
23109 return resultobj;
23110 fail:
23111 return NULL;
23112 }
23113
23114
23115 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23116 PyObject *resultobj;
23117 wxListEvent *arg1 = (wxListEvent *) 0 ;
23118 long arg2 ;
23119 PyObject * obj0 = 0 ;
23120 PyObject * obj1 = 0 ;
23121 char *kwnames[] = {
23122 (char *) "self",(char *) "m_oldItemIndex", NULL
23123 };
23124
23125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23127 if (SWIG_arg_fail(1)) SWIG_fail;
23128 {
23129 arg2 = (long)(SWIG_As_long(obj1));
23130 if (SWIG_arg_fail(2)) SWIG_fail;
23131 }
23132 if (arg1) (arg1)->m_oldItemIndex = arg2;
23133
23134 Py_INCREF(Py_None); resultobj = Py_None;
23135 return resultobj;
23136 fail:
23137 return NULL;
23138 }
23139
23140
23141 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23142 PyObject *resultobj;
23143 wxListEvent *arg1 = (wxListEvent *) 0 ;
23144 long result;
23145 PyObject * obj0 = 0 ;
23146 char *kwnames[] = {
23147 (char *) "self", NULL
23148 };
23149
23150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23152 if (SWIG_arg_fail(1)) SWIG_fail;
23153 result = (long) ((arg1)->m_oldItemIndex);
23154
23155 {
23156 resultobj = SWIG_From_long((long)(result));
23157 }
23158 return resultobj;
23159 fail:
23160 return NULL;
23161 }
23162
23163
23164 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23165 PyObject *resultobj;
23166 wxListEvent *arg1 = (wxListEvent *) 0 ;
23167 long arg2 ;
23168 PyObject * obj0 = 0 ;
23169 PyObject * obj1 = 0 ;
23170 char *kwnames[] = {
23171 (char *) "self",(char *) "m_itemIndex", NULL
23172 };
23173
23174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23176 if (SWIG_arg_fail(1)) SWIG_fail;
23177 {
23178 arg2 = (long)(SWIG_As_long(obj1));
23179 if (SWIG_arg_fail(2)) SWIG_fail;
23180 }
23181 if (arg1) (arg1)->m_itemIndex = arg2;
23182
23183 Py_INCREF(Py_None); resultobj = Py_None;
23184 return resultobj;
23185 fail:
23186 return NULL;
23187 }
23188
23189
23190 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23191 PyObject *resultobj;
23192 wxListEvent *arg1 = (wxListEvent *) 0 ;
23193 long result;
23194 PyObject * obj0 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23201 if (SWIG_arg_fail(1)) SWIG_fail;
23202 result = (long) ((arg1)->m_itemIndex);
23203
23204 {
23205 resultobj = SWIG_From_long((long)(result));
23206 }
23207 return resultobj;
23208 fail:
23209 return NULL;
23210 }
23211
23212
23213 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23214 PyObject *resultobj;
23215 wxListEvent *arg1 = (wxListEvent *) 0 ;
23216 int arg2 ;
23217 PyObject * obj0 = 0 ;
23218 PyObject * obj1 = 0 ;
23219 char *kwnames[] = {
23220 (char *) "self",(char *) "m_col", NULL
23221 };
23222
23223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail;
23226 {
23227 arg2 = (int)(SWIG_As_int(obj1));
23228 if (SWIG_arg_fail(2)) SWIG_fail;
23229 }
23230 if (arg1) (arg1)->m_col = arg2;
23231
23232 Py_INCREF(Py_None); resultobj = Py_None;
23233 return resultobj;
23234 fail:
23235 return NULL;
23236 }
23237
23238
23239 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23240 PyObject *resultobj;
23241 wxListEvent *arg1 = (wxListEvent *) 0 ;
23242 int result;
23243 PyObject * obj0 = 0 ;
23244 char *kwnames[] = {
23245 (char *) "self", NULL
23246 };
23247
23248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
23249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23250 if (SWIG_arg_fail(1)) SWIG_fail;
23251 result = (int) ((arg1)->m_col);
23252
23253 {
23254 resultobj = SWIG_From_int((int)(result));
23255 }
23256 return resultobj;
23257 fail:
23258 return NULL;
23259 }
23260
23261
23262 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23263 PyObject *resultobj;
23264 wxListEvent *arg1 = (wxListEvent *) 0 ;
23265 wxPoint *arg2 = (wxPoint *) 0 ;
23266 PyObject * obj0 = 0 ;
23267 PyObject * obj1 = 0 ;
23268 char *kwnames[] = {
23269 (char *) "self",(char *) "m_pointDrag", NULL
23270 };
23271
23272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
23273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23274 if (SWIG_arg_fail(1)) SWIG_fail;
23275 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23276 if (SWIG_arg_fail(2)) SWIG_fail;
23277 if (arg1) (arg1)->m_pointDrag = *arg2;
23278
23279 Py_INCREF(Py_None); resultobj = Py_None;
23280 return resultobj;
23281 fail:
23282 return NULL;
23283 }
23284
23285
23286 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23287 PyObject *resultobj;
23288 wxListEvent *arg1 = (wxListEvent *) 0 ;
23289 wxPoint *result;
23290 PyObject * obj0 = 0 ;
23291 char *kwnames[] = {
23292 (char *) "self", NULL
23293 };
23294
23295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
23296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail;
23298 result = (wxPoint *)& ((arg1)->m_pointDrag);
23299
23300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23301 return resultobj;
23302 fail:
23303 return NULL;
23304 }
23305
23306
23307 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23308 PyObject *resultobj;
23309 wxListEvent *arg1 = (wxListEvent *) 0 ;
23310 wxListItem *result;
23311 PyObject * obj0 = 0 ;
23312 char *kwnames[] = {
23313 (char *) "self", NULL
23314 };
23315
23316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23318 if (SWIG_arg_fail(1)) SWIG_fail;
23319 result = (wxListItem *)& ((arg1)->m_item);
23320
23321 {
23322 resultobj = wxPyMake_wxObject(result, 0);
23323 }
23324 return resultobj;
23325 fail:
23326 return NULL;
23327 }
23328
23329
23330 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23331 PyObject *resultobj;
23332 wxListEvent *arg1 = (wxListEvent *) 0 ;
23333 int result;
23334 PyObject * obj0 = 0 ;
23335 char *kwnames[] = {
23336 (char *) "self", NULL
23337 };
23338
23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23341 if (SWIG_arg_fail(1)) SWIG_fail;
23342 {
23343 PyThreadState* __tstate = wxPyBeginAllowThreads();
23344 result = (int)(arg1)->GetKeyCode();
23345
23346 wxPyEndAllowThreads(__tstate);
23347 if (PyErr_Occurred()) SWIG_fail;
23348 }
23349 {
23350 resultobj = SWIG_From_int((int)(result));
23351 }
23352 return resultobj;
23353 fail:
23354 return NULL;
23355 }
23356
23357
23358 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23359 PyObject *resultobj;
23360 wxListEvent *arg1 = (wxListEvent *) 0 ;
23361 long result;
23362 PyObject * obj0 = 0 ;
23363 char *kwnames[] = {
23364 (char *) "self", NULL
23365 };
23366
23367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23369 if (SWIG_arg_fail(1)) SWIG_fail;
23370 {
23371 PyThreadState* __tstate = wxPyBeginAllowThreads();
23372 result = (long)(arg1)->GetIndex();
23373
23374 wxPyEndAllowThreads(__tstate);
23375 if (PyErr_Occurred()) SWIG_fail;
23376 }
23377 {
23378 resultobj = SWIG_From_long((long)(result));
23379 }
23380 return resultobj;
23381 fail:
23382 return NULL;
23383 }
23384
23385
23386 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23387 PyObject *resultobj;
23388 wxListEvent *arg1 = (wxListEvent *) 0 ;
23389 int result;
23390 PyObject * obj0 = 0 ;
23391 char *kwnames[] = {
23392 (char *) "self", NULL
23393 };
23394
23395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23397 if (SWIG_arg_fail(1)) SWIG_fail;
23398 {
23399 PyThreadState* __tstate = wxPyBeginAllowThreads();
23400 result = (int)(arg1)->GetColumn();
23401
23402 wxPyEndAllowThreads(__tstate);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 }
23405 {
23406 resultobj = SWIG_From_int((int)(result));
23407 }
23408 return resultobj;
23409 fail:
23410 return NULL;
23411 }
23412
23413
23414 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23415 PyObject *resultobj;
23416 wxListEvent *arg1 = (wxListEvent *) 0 ;
23417 wxPoint result;
23418 PyObject * obj0 = 0 ;
23419 char *kwnames[] = {
23420 (char *) "self", NULL
23421 };
23422
23423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23425 if (SWIG_arg_fail(1)) SWIG_fail;
23426 {
23427 PyThreadState* __tstate = wxPyBeginAllowThreads();
23428 result = (arg1)->GetPoint();
23429
23430 wxPyEndAllowThreads(__tstate);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
23433 {
23434 wxPoint * resultptr;
23435 resultptr = new wxPoint((wxPoint &)(result));
23436 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23437 }
23438 return resultobj;
23439 fail:
23440 return NULL;
23441 }
23442
23443
23444 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23445 PyObject *resultobj;
23446 wxListEvent *arg1 = (wxListEvent *) 0 ;
23447 wxString *result;
23448 PyObject * obj0 = 0 ;
23449 char *kwnames[] = {
23450 (char *) "self", NULL
23451 };
23452
23453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
23454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23455 if (SWIG_arg_fail(1)) SWIG_fail;
23456 {
23457 PyThreadState* __tstate = wxPyBeginAllowThreads();
23458 {
23459 wxString const &_result_ref = (arg1)->GetLabel();
23460 result = (wxString *) &_result_ref;
23461 }
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
23466 {
23467 #if wxUSE_UNICODE
23468 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23469 #else
23470 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23471 #endif
23472 }
23473 return resultobj;
23474 fail:
23475 return NULL;
23476 }
23477
23478
23479 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23480 PyObject *resultobj;
23481 wxListEvent *arg1 = (wxListEvent *) 0 ;
23482 wxString *result;
23483 PyObject * obj0 = 0 ;
23484 char *kwnames[] = {
23485 (char *) "self", NULL
23486 };
23487
23488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23490 if (SWIG_arg_fail(1)) SWIG_fail;
23491 {
23492 PyThreadState* __tstate = wxPyBeginAllowThreads();
23493 {
23494 wxString const &_result_ref = (arg1)->GetText();
23495 result = (wxString *) &_result_ref;
23496 }
23497
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 {
23502 #if wxUSE_UNICODE
23503 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23504 #else
23505 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23506 #endif
23507 }
23508 return resultobj;
23509 fail:
23510 return NULL;
23511 }
23512
23513
23514 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23515 PyObject *resultobj;
23516 wxListEvent *arg1 = (wxListEvent *) 0 ;
23517 int result;
23518 PyObject * obj0 = 0 ;
23519 char *kwnames[] = {
23520 (char *) "self", NULL
23521 };
23522
23523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
23524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23525 if (SWIG_arg_fail(1)) SWIG_fail;
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 result = (int)(arg1)->GetImage();
23529
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
23533 {
23534 resultobj = SWIG_From_int((int)(result));
23535 }
23536 return resultobj;
23537 fail:
23538 return NULL;
23539 }
23540
23541
23542 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23543 PyObject *resultobj;
23544 wxListEvent *arg1 = (wxListEvent *) 0 ;
23545 long result;
23546 PyObject * obj0 = 0 ;
23547 char *kwnames[] = {
23548 (char *) "self", NULL
23549 };
23550
23551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23553 if (SWIG_arg_fail(1)) SWIG_fail;
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 result = (long)(arg1)->GetData();
23557
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 {
23562 resultobj = SWIG_From_long((long)(result));
23563 }
23564 return resultobj;
23565 fail:
23566 return NULL;
23567 }
23568
23569
23570 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23571 PyObject *resultobj;
23572 wxListEvent *arg1 = (wxListEvent *) 0 ;
23573 long result;
23574 PyObject * obj0 = 0 ;
23575 char *kwnames[] = {
23576 (char *) "self", NULL
23577 };
23578
23579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23581 if (SWIG_arg_fail(1)) SWIG_fail;
23582 {
23583 PyThreadState* __tstate = wxPyBeginAllowThreads();
23584 result = (long)(arg1)->GetMask();
23585
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 {
23590 resultobj = SWIG_From_long((long)(result));
23591 }
23592 return resultobj;
23593 fail:
23594 return NULL;
23595 }
23596
23597
23598 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23599 PyObject *resultobj;
23600 wxListEvent *arg1 = (wxListEvent *) 0 ;
23601 wxListItem *result;
23602 PyObject * obj0 = 0 ;
23603 char *kwnames[] = {
23604 (char *) "self", NULL
23605 };
23606
23607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23609 if (SWIG_arg_fail(1)) SWIG_fail;
23610 {
23611 PyThreadState* __tstate = wxPyBeginAllowThreads();
23612 {
23613 wxListItem const &_result_ref = (arg1)->GetItem();
23614 result = (wxListItem *) &_result_ref;
23615 }
23616
23617 wxPyEndAllowThreads(__tstate);
23618 if (PyErr_Occurred()) SWIG_fail;
23619 }
23620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23621 return resultobj;
23622 fail:
23623 return NULL;
23624 }
23625
23626
23627 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23628 PyObject *resultobj;
23629 wxListEvent *arg1 = (wxListEvent *) 0 ;
23630 long result;
23631 PyObject * obj0 = 0 ;
23632 char *kwnames[] = {
23633 (char *) "self", NULL
23634 };
23635
23636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23638 if (SWIG_arg_fail(1)) SWIG_fail;
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 result = (long)(arg1)->GetCacheFrom();
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 {
23647 resultobj = SWIG_From_long((long)(result));
23648 }
23649 return resultobj;
23650 fail:
23651 return NULL;
23652 }
23653
23654
23655 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23656 PyObject *resultobj;
23657 wxListEvent *arg1 = (wxListEvent *) 0 ;
23658 long result;
23659 PyObject * obj0 = 0 ;
23660 char *kwnames[] = {
23661 (char *) "self", NULL
23662 };
23663
23664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23666 if (SWIG_arg_fail(1)) SWIG_fail;
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 result = (long)(arg1)->GetCacheTo();
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 {
23675 resultobj = SWIG_From_long((long)(result));
23676 }
23677 return resultobj;
23678 fail:
23679 return NULL;
23680 }
23681
23682
23683 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23684 PyObject *resultobj;
23685 wxListEvent *arg1 = (wxListEvent *) 0 ;
23686 bool result;
23687 PyObject * obj0 = 0 ;
23688 char *kwnames[] = {
23689 (char *) "self", NULL
23690 };
23691
23692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23694 if (SWIG_arg_fail(1)) SWIG_fail;
23695 {
23696 PyThreadState* __tstate = wxPyBeginAllowThreads();
23697 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23698
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 {
23703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23704 }
23705 return resultobj;
23706 fail:
23707 return NULL;
23708 }
23709
23710
23711 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23712 PyObject *resultobj;
23713 wxListEvent *arg1 = (wxListEvent *) 0 ;
23714 bool arg2 ;
23715 PyObject * obj0 = 0 ;
23716 PyObject * obj1 = 0 ;
23717 char *kwnames[] = {
23718 (char *) "self",(char *) "editCancelled", NULL
23719 };
23720
23721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23723 if (SWIG_arg_fail(1)) SWIG_fail;
23724 {
23725 arg2 = (bool)(SWIG_As_bool(obj1));
23726 if (SWIG_arg_fail(2)) SWIG_fail;
23727 }
23728 {
23729 PyThreadState* __tstate = wxPyBeginAllowThreads();
23730 (arg1)->SetEditCanceled(arg2);
23731
23732 wxPyEndAllowThreads(__tstate);
23733 if (PyErr_Occurred()) SWIG_fail;
23734 }
23735 Py_INCREF(Py_None); resultobj = Py_None;
23736 return resultobj;
23737 fail:
23738 return NULL;
23739 }
23740
23741
23742 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23743 PyObject *obj;
23744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23745 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23746 Py_INCREF(obj);
23747 return Py_BuildValue((char *)"");
23748 }
23749 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23750 PyObject *resultobj;
23751 wxWindow *arg1 = (wxWindow *) 0 ;
23752 int arg2 = (int) -1 ;
23753 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23754 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23755 wxSize const &arg4_defvalue = wxDefaultSize ;
23756 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23757 long arg5 = (long) wxLC_ICON ;
23758 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23759 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23760 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23761 wxString *arg7 = (wxString *) &arg7_defvalue ;
23762 wxPyListCtrl *result;
23763 wxPoint temp3 ;
23764 wxSize temp4 ;
23765 bool temp7 = false ;
23766 PyObject * obj0 = 0 ;
23767 PyObject * obj1 = 0 ;
23768 PyObject * obj2 = 0 ;
23769 PyObject * obj3 = 0 ;
23770 PyObject * obj4 = 0 ;
23771 PyObject * obj5 = 0 ;
23772 PyObject * obj6 = 0 ;
23773 char *kwnames[] = {
23774 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23775 };
23776
23777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23779 if (SWIG_arg_fail(1)) SWIG_fail;
23780 if (obj1) {
23781 {
23782 arg2 = (int)(SWIG_As_int(obj1));
23783 if (SWIG_arg_fail(2)) SWIG_fail;
23784 }
23785 }
23786 if (obj2) {
23787 {
23788 arg3 = &temp3;
23789 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23790 }
23791 }
23792 if (obj3) {
23793 {
23794 arg4 = &temp4;
23795 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23796 }
23797 }
23798 if (obj4) {
23799 {
23800 arg5 = (long)(SWIG_As_long(obj4));
23801 if (SWIG_arg_fail(5)) SWIG_fail;
23802 }
23803 }
23804 if (obj5) {
23805 {
23806 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23807 if (SWIG_arg_fail(6)) SWIG_fail;
23808 if (arg6 == NULL) {
23809 SWIG_null_ref("wxValidator");
23810 }
23811 if (SWIG_arg_fail(6)) SWIG_fail;
23812 }
23813 }
23814 if (obj6) {
23815 {
23816 arg7 = wxString_in_helper(obj6);
23817 if (arg7 == NULL) SWIG_fail;
23818 temp7 = true;
23819 }
23820 }
23821 {
23822 if (!wxPyCheckForApp()) SWIG_fail;
23823 PyThreadState* __tstate = wxPyBeginAllowThreads();
23824 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23825
23826 wxPyEndAllowThreads(__tstate);
23827 if (PyErr_Occurred()) SWIG_fail;
23828 }
23829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23830 {
23831 if (temp7)
23832 delete arg7;
23833 }
23834 return resultobj;
23835 fail:
23836 {
23837 if (temp7)
23838 delete arg7;
23839 }
23840 return NULL;
23841 }
23842
23843
23844 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23845 PyObject *resultobj;
23846 wxPyListCtrl *result;
23847 char *kwnames[] = {
23848 NULL
23849 };
23850
23851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23852 {
23853 if (!wxPyCheckForApp()) SWIG_fail;
23854 PyThreadState* __tstate = wxPyBeginAllowThreads();
23855 result = (wxPyListCtrl *)new wxPyListCtrl();
23856
23857 wxPyEndAllowThreads(__tstate);
23858 if (PyErr_Occurred()) SWIG_fail;
23859 }
23860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23861 return resultobj;
23862 fail:
23863 return NULL;
23864 }
23865
23866
23867 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23868 PyObject *resultobj;
23869 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23870 wxWindow *arg2 = (wxWindow *) 0 ;
23871 int arg3 = (int) -1 ;
23872 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23873 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23874 wxSize const &arg5_defvalue = wxDefaultSize ;
23875 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23876 long arg6 = (long) wxLC_ICON ;
23877 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23878 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23879 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23880 wxString *arg8 = (wxString *) &arg8_defvalue ;
23881 bool result;
23882 wxPoint temp4 ;
23883 wxSize temp5 ;
23884 bool temp8 = false ;
23885 PyObject * obj0 = 0 ;
23886 PyObject * obj1 = 0 ;
23887 PyObject * obj2 = 0 ;
23888 PyObject * obj3 = 0 ;
23889 PyObject * obj4 = 0 ;
23890 PyObject * obj5 = 0 ;
23891 PyObject * obj6 = 0 ;
23892 PyObject * obj7 = 0 ;
23893 char *kwnames[] = {
23894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23895 };
23896
23897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23899 if (SWIG_arg_fail(1)) SWIG_fail;
23900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23901 if (SWIG_arg_fail(2)) SWIG_fail;
23902 if (obj2) {
23903 {
23904 arg3 = (int)(SWIG_As_int(obj2));
23905 if (SWIG_arg_fail(3)) SWIG_fail;
23906 }
23907 }
23908 if (obj3) {
23909 {
23910 arg4 = &temp4;
23911 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23912 }
23913 }
23914 if (obj4) {
23915 {
23916 arg5 = &temp5;
23917 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23918 }
23919 }
23920 if (obj5) {
23921 {
23922 arg6 = (long)(SWIG_As_long(obj5));
23923 if (SWIG_arg_fail(6)) SWIG_fail;
23924 }
23925 }
23926 if (obj6) {
23927 {
23928 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23929 if (SWIG_arg_fail(7)) SWIG_fail;
23930 if (arg7 == NULL) {
23931 SWIG_null_ref("wxValidator");
23932 }
23933 if (SWIG_arg_fail(7)) SWIG_fail;
23934 }
23935 }
23936 if (obj7) {
23937 {
23938 arg8 = wxString_in_helper(obj7);
23939 if (arg8 == NULL) SWIG_fail;
23940 temp8 = true;
23941 }
23942 }
23943 {
23944 PyThreadState* __tstate = wxPyBeginAllowThreads();
23945 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23946
23947 wxPyEndAllowThreads(__tstate);
23948 if (PyErr_Occurred()) SWIG_fail;
23949 }
23950 {
23951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23952 }
23953 {
23954 if (temp8)
23955 delete arg8;
23956 }
23957 return resultobj;
23958 fail:
23959 {
23960 if (temp8)
23961 delete arg8;
23962 }
23963 return NULL;
23964 }
23965
23966
23967 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23968 PyObject *resultobj;
23969 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23970 PyObject *arg2 = (PyObject *) 0 ;
23971 PyObject *arg3 = (PyObject *) 0 ;
23972 PyObject * obj0 = 0 ;
23973 PyObject * obj1 = 0 ;
23974 PyObject * obj2 = 0 ;
23975 char *kwnames[] = {
23976 (char *) "self",(char *) "self",(char *) "_class", NULL
23977 };
23978
23979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23981 if (SWIG_arg_fail(1)) SWIG_fail;
23982 arg2 = obj1;
23983 arg3 = obj2;
23984 {
23985 PyThreadState* __tstate = wxPyBeginAllowThreads();
23986 (arg1)->_setCallbackInfo(arg2,arg3);
23987
23988 wxPyEndAllowThreads(__tstate);
23989 if (PyErr_Occurred()) SWIG_fail;
23990 }
23991 Py_INCREF(Py_None); resultobj = Py_None;
23992 return resultobj;
23993 fail:
23994 return NULL;
23995 }
23996
23997
23998 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
23999 PyObject *resultobj;
24000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24001 wxColour *arg2 = 0 ;
24002 bool result;
24003 wxColour temp2 ;
24004 PyObject * obj0 = 0 ;
24005 PyObject * obj1 = 0 ;
24006 char *kwnames[] = {
24007 (char *) "self",(char *) "col", NULL
24008 };
24009
24010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
24011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24012 if (SWIG_arg_fail(1)) SWIG_fail;
24013 {
24014 arg2 = &temp2;
24015 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24016 }
24017 {
24018 PyThreadState* __tstate = wxPyBeginAllowThreads();
24019 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24020
24021 wxPyEndAllowThreads(__tstate);
24022 if (PyErr_Occurred()) SWIG_fail;
24023 }
24024 {
24025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24026 }
24027 return resultobj;
24028 fail:
24029 return NULL;
24030 }
24031
24032
24033 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24034 PyObject *resultobj;
24035 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24036 wxColour *arg2 = 0 ;
24037 bool result;
24038 wxColour temp2 ;
24039 PyObject * obj0 = 0 ;
24040 PyObject * obj1 = 0 ;
24041 char *kwnames[] = {
24042 (char *) "self",(char *) "col", NULL
24043 };
24044
24045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24047 if (SWIG_arg_fail(1)) SWIG_fail;
24048 {
24049 arg2 = &temp2;
24050 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24051 }
24052 {
24053 PyThreadState* __tstate = wxPyBeginAllowThreads();
24054 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24055
24056 wxPyEndAllowThreads(__tstate);
24057 if (PyErr_Occurred()) SWIG_fail;
24058 }
24059 {
24060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24061 }
24062 return resultobj;
24063 fail:
24064 return NULL;
24065 }
24066
24067
24068 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24069 PyObject *resultobj;
24070 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24071 int arg2 ;
24072 wxListItem *result;
24073 PyObject * obj0 = 0 ;
24074 PyObject * obj1 = 0 ;
24075 char *kwnames[] = {
24076 (char *) "self",(char *) "col", NULL
24077 };
24078
24079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
24080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24081 if (SWIG_arg_fail(1)) SWIG_fail;
24082 {
24083 arg2 = (int)(SWIG_As_int(obj1));
24084 if (SWIG_arg_fail(2)) SWIG_fail;
24085 }
24086 {
24087 PyThreadState* __tstate = wxPyBeginAllowThreads();
24088 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24089
24090 wxPyEndAllowThreads(__tstate);
24091 if (PyErr_Occurred()) SWIG_fail;
24092 }
24093 {
24094 resultobj = wxPyMake_wxObject(result, 0);
24095 }
24096 return resultobj;
24097 fail:
24098 return NULL;
24099 }
24100
24101
24102 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24103 PyObject *resultobj;
24104 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24105 int arg2 ;
24106 wxListItem *arg3 = 0 ;
24107 bool result;
24108 PyObject * obj0 = 0 ;
24109 PyObject * obj1 = 0 ;
24110 PyObject * obj2 = 0 ;
24111 char *kwnames[] = {
24112 (char *) "self",(char *) "col",(char *) "item", NULL
24113 };
24114
24115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
24116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24117 if (SWIG_arg_fail(1)) SWIG_fail;
24118 {
24119 arg2 = (int)(SWIG_As_int(obj1));
24120 if (SWIG_arg_fail(2)) SWIG_fail;
24121 }
24122 {
24123 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24124 if (SWIG_arg_fail(3)) SWIG_fail;
24125 if (arg3 == NULL) {
24126 SWIG_null_ref("wxListItem");
24127 }
24128 if (SWIG_arg_fail(3)) SWIG_fail;
24129 }
24130 {
24131 PyThreadState* __tstate = wxPyBeginAllowThreads();
24132 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24133
24134 wxPyEndAllowThreads(__tstate);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 }
24137 {
24138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24139 }
24140 return resultobj;
24141 fail:
24142 return NULL;
24143 }
24144
24145
24146 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24147 PyObject *resultobj;
24148 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24149 int arg2 ;
24150 int result;
24151 PyObject * obj0 = 0 ;
24152 PyObject * obj1 = 0 ;
24153 char *kwnames[] = {
24154 (char *) "self",(char *) "col", NULL
24155 };
24156
24157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24159 if (SWIG_arg_fail(1)) SWIG_fail;
24160 {
24161 arg2 = (int)(SWIG_As_int(obj1));
24162 if (SWIG_arg_fail(2)) SWIG_fail;
24163 }
24164 {
24165 PyThreadState* __tstate = wxPyBeginAllowThreads();
24166 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24167
24168 wxPyEndAllowThreads(__tstate);
24169 if (PyErr_Occurred()) SWIG_fail;
24170 }
24171 {
24172 resultobj = SWIG_From_int((int)(result));
24173 }
24174 return resultobj;
24175 fail:
24176 return NULL;
24177 }
24178
24179
24180 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24181 PyObject *resultobj;
24182 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24183 int arg2 ;
24184 int arg3 ;
24185 bool result;
24186 PyObject * obj0 = 0 ;
24187 PyObject * obj1 = 0 ;
24188 PyObject * obj2 = 0 ;
24189 char *kwnames[] = {
24190 (char *) "self",(char *) "col",(char *) "width", NULL
24191 };
24192
24193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24195 if (SWIG_arg_fail(1)) SWIG_fail;
24196 {
24197 arg2 = (int)(SWIG_As_int(obj1));
24198 if (SWIG_arg_fail(2)) SWIG_fail;
24199 }
24200 {
24201 arg3 = (int)(SWIG_As_int(obj2));
24202 if (SWIG_arg_fail(3)) SWIG_fail;
24203 }
24204 {
24205 PyThreadState* __tstate = wxPyBeginAllowThreads();
24206 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24207
24208 wxPyEndAllowThreads(__tstate);
24209 if (PyErr_Occurred()) SWIG_fail;
24210 }
24211 {
24212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24213 }
24214 return resultobj;
24215 fail:
24216 return NULL;
24217 }
24218
24219
24220 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24221 PyObject *resultobj;
24222 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24223 int result;
24224 PyObject * obj0 = 0 ;
24225 char *kwnames[] = {
24226 (char *) "self", NULL
24227 };
24228
24229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
24230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24231 if (SWIG_arg_fail(1)) SWIG_fail;
24232 {
24233 PyThreadState* __tstate = wxPyBeginAllowThreads();
24234 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24235
24236 wxPyEndAllowThreads(__tstate);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 {
24240 resultobj = SWIG_From_int((int)(result));
24241 }
24242 return resultobj;
24243 fail:
24244 return NULL;
24245 }
24246
24247
24248 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24249 PyObject *resultobj;
24250 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24251 wxRect result;
24252 PyObject * obj0 = 0 ;
24253 char *kwnames[] = {
24254 (char *) "self", NULL
24255 };
24256
24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24259 if (SWIG_arg_fail(1)) SWIG_fail;
24260 {
24261 PyThreadState* __tstate = wxPyBeginAllowThreads();
24262 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24263
24264 wxPyEndAllowThreads(__tstate);
24265 if (PyErr_Occurred()) SWIG_fail;
24266 }
24267 {
24268 wxRect * resultptr;
24269 resultptr = new wxRect((wxRect &)(result));
24270 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24271 }
24272 return resultobj;
24273 fail:
24274 return NULL;
24275 }
24276
24277
24278 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24279 PyObject *resultobj;
24280 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24281 long arg2 ;
24282 int arg3 = (int) 0 ;
24283 wxListItem *result;
24284 PyObject * obj0 = 0 ;
24285 PyObject * obj1 = 0 ;
24286 PyObject * obj2 = 0 ;
24287 char *kwnames[] = {
24288 (char *) "self",(char *) "itemId",(char *) "col", NULL
24289 };
24290
24291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24293 if (SWIG_arg_fail(1)) SWIG_fail;
24294 {
24295 arg2 = (long)(SWIG_As_long(obj1));
24296 if (SWIG_arg_fail(2)) SWIG_fail;
24297 }
24298 if (obj2) {
24299 {
24300 arg3 = (int)(SWIG_As_int(obj2));
24301 if (SWIG_arg_fail(3)) SWIG_fail;
24302 }
24303 }
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24307
24308 wxPyEndAllowThreads(__tstate);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 {
24312 resultobj = wxPyMake_wxObject(result, 0);
24313 }
24314 return resultobj;
24315 fail:
24316 return NULL;
24317 }
24318
24319
24320 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24321 PyObject *resultobj;
24322 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24323 wxListItem *arg2 = 0 ;
24324 bool result;
24325 PyObject * obj0 = 0 ;
24326 PyObject * obj1 = 0 ;
24327 char *kwnames[] = {
24328 (char *) "self",(char *) "info", NULL
24329 };
24330
24331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24333 if (SWIG_arg_fail(1)) SWIG_fail;
24334 {
24335 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24336 if (SWIG_arg_fail(2)) SWIG_fail;
24337 if (arg2 == NULL) {
24338 SWIG_null_ref("wxListItem");
24339 }
24340 if (SWIG_arg_fail(2)) SWIG_fail;
24341 }
24342 {
24343 PyThreadState* __tstate = wxPyBeginAllowThreads();
24344 result = (bool)(arg1)->SetItem(*arg2);
24345
24346 wxPyEndAllowThreads(__tstate);
24347 if (PyErr_Occurred()) SWIG_fail;
24348 }
24349 {
24350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24351 }
24352 return resultobj;
24353 fail:
24354 return NULL;
24355 }
24356
24357
24358 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24359 PyObject *resultobj;
24360 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24361 long arg2 ;
24362 int arg3 ;
24363 wxString *arg4 = 0 ;
24364 int arg5 = (int) -1 ;
24365 long result;
24366 bool temp4 = false ;
24367 PyObject * obj0 = 0 ;
24368 PyObject * obj1 = 0 ;
24369 PyObject * obj2 = 0 ;
24370 PyObject * obj3 = 0 ;
24371 PyObject * obj4 = 0 ;
24372 char *kwnames[] = {
24373 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24374 };
24375
24376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24378 if (SWIG_arg_fail(1)) SWIG_fail;
24379 {
24380 arg2 = (long)(SWIG_As_long(obj1));
24381 if (SWIG_arg_fail(2)) SWIG_fail;
24382 }
24383 {
24384 arg3 = (int)(SWIG_As_int(obj2));
24385 if (SWIG_arg_fail(3)) SWIG_fail;
24386 }
24387 {
24388 arg4 = wxString_in_helper(obj3);
24389 if (arg4 == NULL) SWIG_fail;
24390 temp4 = true;
24391 }
24392 if (obj4) {
24393 {
24394 arg5 = (int)(SWIG_As_int(obj4));
24395 if (SWIG_arg_fail(5)) SWIG_fail;
24396 }
24397 }
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24401
24402 wxPyEndAllowThreads(__tstate);
24403 if (PyErr_Occurred()) SWIG_fail;
24404 }
24405 {
24406 resultobj = SWIG_From_long((long)(result));
24407 }
24408 {
24409 if (temp4)
24410 delete arg4;
24411 }
24412 return resultobj;
24413 fail:
24414 {
24415 if (temp4)
24416 delete arg4;
24417 }
24418 return NULL;
24419 }
24420
24421
24422 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24423 PyObject *resultobj;
24424 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24425 long arg2 ;
24426 long arg3 ;
24427 int result;
24428 PyObject * obj0 = 0 ;
24429 PyObject * obj1 = 0 ;
24430 PyObject * obj2 = 0 ;
24431 char *kwnames[] = {
24432 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24433 };
24434
24435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24437 if (SWIG_arg_fail(1)) SWIG_fail;
24438 {
24439 arg2 = (long)(SWIG_As_long(obj1));
24440 if (SWIG_arg_fail(2)) SWIG_fail;
24441 }
24442 {
24443 arg3 = (long)(SWIG_As_long(obj2));
24444 if (SWIG_arg_fail(3)) SWIG_fail;
24445 }
24446 {
24447 PyThreadState* __tstate = wxPyBeginAllowThreads();
24448 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24449
24450 wxPyEndAllowThreads(__tstate);
24451 if (PyErr_Occurred()) SWIG_fail;
24452 }
24453 {
24454 resultobj = SWIG_From_int((int)(result));
24455 }
24456 return resultobj;
24457 fail:
24458 return NULL;
24459 }
24460
24461
24462 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24463 PyObject *resultobj;
24464 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24465 long arg2 ;
24466 long arg3 ;
24467 long arg4 ;
24468 bool result;
24469 PyObject * obj0 = 0 ;
24470 PyObject * obj1 = 0 ;
24471 PyObject * obj2 = 0 ;
24472 PyObject * obj3 = 0 ;
24473 char *kwnames[] = {
24474 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24475 };
24476
24477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24479 if (SWIG_arg_fail(1)) SWIG_fail;
24480 {
24481 arg2 = (long)(SWIG_As_long(obj1));
24482 if (SWIG_arg_fail(2)) SWIG_fail;
24483 }
24484 {
24485 arg3 = (long)(SWIG_As_long(obj2));
24486 if (SWIG_arg_fail(3)) SWIG_fail;
24487 }
24488 {
24489 arg4 = (long)(SWIG_As_long(obj3));
24490 if (SWIG_arg_fail(4)) SWIG_fail;
24491 }
24492 {
24493 PyThreadState* __tstate = wxPyBeginAllowThreads();
24494 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24495
24496 wxPyEndAllowThreads(__tstate);
24497 if (PyErr_Occurred()) SWIG_fail;
24498 }
24499 {
24500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24501 }
24502 return resultobj;
24503 fail:
24504 return NULL;
24505 }
24506
24507
24508 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24509 PyObject *resultobj;
24510 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24511 long arg2 ;
24512 int arg3 ;
24513 int arg4 = (int) -1 ;
24514 bool result;
24515 PyObject * obj0 = 0 ;
24516 PyObject * obj1 = 0 ;
24517 PyObject * obj2 = 0 ;
24518 PyObject * obj3 = 0 ;
24519 char *kwnames[] = {
24520 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24521 };
24522
24523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24525 if (SWIG_arg_fail(1)) SWIG_fail;
24526 {
24527 arg2 = (long)(SWIG_As_long(obj1));
24528 if (SWIG_arg_fail(2)) SWIG_fail;
24529 }
24530 {
24531 arg3 = (int)(SWIG_As_int(obj2));
24532 if (SWIG_arg_fail(3)) SWIG_fail;
24533 }
24534 if (obj3) {
24535 {
24536 arg4 = (int)(SWIG_As_int(obj3));
24537 if (SWIG_arg_fail(4)) SWIG_fail;
24538 }
24539 }
24540 {
24541 PyThreadState* __tstate = wxPyBeginAllowThreads();
24542 result = (bool)(arg1)->SetItemImage(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_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24557 PyObject *resultobj;
24558 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24559 long arg2 ;
24560 wxString result;
24561 PyObject * obj0 = 0 ;
24562 PyObject * obj1 = 0 ;
24563 char *kwnames[] = {
24564 (char *) "self",(char *) "item", NULL
24565 };
24566
24567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24569 if (SWIG_arg_fail(1)) SWIG_fail;
24570 {
24571 arg2 = (long)(SWIG_As_long(obj1));
24572 if (SWIG_arg_fail(2)) SWIG_fail;
24573 }
24574 {
24575 PyThreadState* __tstate = wxPyBeginAllowThreads();
24576 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24577
24578 wxPyEndAllowThreads(__tstate);
24579 if (PyErr_Occurred()) SWIG_fail;
24580 }
24581 {
24582 #if wxUSE_UNICODE
24583 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24584 #else
24585 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24586 #endif
24587 }
24588 return resultobj;
24589 fail:
24590 return NULL;
24591 }
24592
24593
24594 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24595 PyObject *resultobj;
24596 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24597 long arg2 ;
24598 wxString *arg3 = 0 ;
24599 bool temp3 = false ;
24600 PyObject * obj0 = 0 ;
24601 PyObject * obj1 = 0 ;
24602 PyObject * obj2 = 0 ;
24603 char *kwnames[] = {
24604 (char *) "self",(char *) "item",(char *) "str", NULL
24605 };
24606
24607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24609 if (SWIG_arg_fail(1)) SWIG_fail;
24610 {
24611 arg2 = (long)(SWIG_As_long(obj1));
24612 if (SWIG_arg_fail(2)) SWIG_fail;
24613 }
24614 {
24615 arg3 = wxString_in_helper(obj2);
24616 if (arg3 == NULL) SWIG_fail;
24617 temp3 = true;
24618 }
24619 {
24620 PyThreadState* __tstate = wxPyBeginAllowThreads();
24621 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24622
24623 wxPyEndAllowThreads(__tstate);
24624 if (PyErr_Occurred()) SWIG_fail;
24625 }
24626 Py_INCREF(Py_None); resultobj = Py_None;
24627 {
24628 if (temp3)
24629 delete arg3;
24630 }
24631 return resultobj;
24632 fail:
24633 {
24634 if (temp3)
24635 delete arg3;
24636 }
24637 return NULL;
24638 }
24639
24640
24641 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24642 PyObject *resultobj;
24643 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24644 long arg2 ;
24645 long result;
24646 PyObject * obj0 = 0 ;
24647 PyObject * obj1 = 0 ;
24648 char *kwnames[] = {
24649 (char *) "self",(char *) "item", NULL
24650 };
24651
24652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24654 if (SWIG_arg_fail(1)) SWIG_fail;
24655 {
24656 arg2 = (long)(SWIG_As_long(obj1));
24657 if (SWIG_arg_fail(2)) SWIG_fail;
24658 }
24659 {
24660 PyThreadState* __tstate = wxPyBeginAllowThreads();
24661 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24662
24663 wxPyEndAllowThreads(__tstate);
24664 if (PyErr_Occurred()) SWIG_fail;
24665 }
24666 {
24667 resultobj = SWIG_From_long((long)(result));
24668 }
24669 return resultobj;
24670 fail:
24671 return NULL;
24672 }
24673
24674
24675 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24676 PyObject *resultobj;
24677 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24678 long arg2 ;
24679 long arg3 ;
24680 bool result;
24681 PyObject * obj0 = 0 ;
24682 PyObject * obj1 = 0 ;
24683 PyObject * obj2 = 0 ;
24684 char *kwnames[] = {
24685 (char *) "self",(char *) "item",(char *) "data", NULL
24686 };
24687
24688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24690 if (SWIG_arg_fail(1)) SWIG_fail;
24691 {
24692 arg2 = (long)(SWIG_As_long(obj1));
24693 if (SWIG_arg_fail(2)) SWIG_fail;
24694 }
24695 {
24696 arg3 = (long)(SWIG_As_long(obj2));
24697 if (SWIG_arg_fail(3)) SWIG_fail;
24698 }
24699 {
24700 PyThreadState* __tstate = wxPyBeginAllowThreads();
24701 result = (bool)(arg1)->SetItemData(arg2,arg3);
24702
24703 wxPyEndAllowThreads(__tstate);
24704 if (PyErr_Occurred()) SWIG_fail;
24705 }
24706 {
24707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24708 }
24709 return resultobj;
24710 fail:
24711 return NULL;
24712 }
24713
24714
24715 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24716 PyObject *resultobj;
24717 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24718 long arg2 ;
24719 wxPoint result;
24720 PyObject * obj0 = 0 ;
24721 PyObject * obj1 = 0 ;
24722 char *kwnames[] = {
24723 (char *) "self",(char *) "item", NULL
24724 };
24725
24726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
24727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail;
24729 {
24730 arg2 = (long)(SWIG_As_long(obj1));
24731 if (SWIG_arg_fail(2)) SWIG_fail;
24732 }
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24736
24737 wxPyEndAllowThreads(__tstate);
24738 if (PyErr_Occurred()) SWIG_fail;
24739 }
24740 {
24741 wxPoint * resultptr;
24742 resultptr = new wxPoint((wxPoint &)(result));
24743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24744 }
24745 return resultobj;
24746 fail:
24747 return NULL;
24748 }
24749
24750
24751 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24752 PyObject *resultobj;
24753 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24754 long arg2 ;
24755 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24756 wxRect result;
24757 PyObject * obj0 = 0 ;
24758 PyObject * obj1 = 0 ;
24759 PyObject * obj2 = 0 ;
24760 char *kwnames[] = {
24761 (char *) "self",(char *) "item",(char *) "code", NULL
24762 };
24763
24764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24766 if (SWIG_arg_fail(1)) SWIG_fail;
24767 {
24768 arg2 = (long)(SWIG_As_long(obj1));
24769 if (SWIG_arg_fail(2)) SWIG_fail;
24770 }
24771 if (obj2) {
24772 {
24773 arg3 = (int)(SWIG_As_int(obj2));
24774 if (SWIG_arg_fail(3)) SWIG_fail;
24775 }
24776 }
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24780
24781 wxPyEndAllowThreads(__tstate);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 {
24785 wxRect * resultptr;
24786 resultptr = new wxRect((wxRect &)(result));
24787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24788 }
24789 return resultobj;
24790 fail:
24791 return NULL;
24792 }
24793
24794
24795 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24796 PyObject *resultobj;
24797 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24798 long arg2 ;
24799 wxPoint *arg3 = 0 ;
24800 bool result;
24801 wxPoint temp3 ;
24802 PyObject * obj0 = 0 ;
24803 PyObject * obj1 = 0 ;
24804 PyObject * obj2 = 0 ;
24805 char *kwnames[] = {
24806 (char *) "self",(char *) "item",(char *) "pos", NULL
24807 };
24808
24809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24811 if (SWIG_arg_fail(1)) SWIG_fail;
24812 {
24813 arg2 = (long)(SWIG_As_long(obj1));
24814 if (SWIG_arg_fail(2)) SWIG_fail;
24815 }
24816 {
24817 arg3 = &temp3;
24818 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24819 }
24820 {
24821 PyThreadState* __tstate = wxPyBeginAllowThreads();
24822 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24823
24824 wxPyEndAllowThreads(__tstate);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 }
24827 {
24828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24829 }
24830 return resultobj;
24831 fail:
24832 return NULL;
24833 }
24834
24835
24836 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj;
24838 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24839 int result;
24840 PyObject * obj0 = 0 ;
24841 char *kwnames[] = {
24842 (char *) "self", NULL
24843 };
24844
24845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24847 if (SWIG_arg_fail(1)) SWIG_fail;
24848 {
24849 PyThreadState* __tstate = wxPyBeginAllowThreads();
24850 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24851
24852 wxPyEndAllowThreads(__tstate);
24853 if (PyErr_Occurred()) SWIG_fail;
24854 }
24855 {
24856 resultobj = SWIG_From_int((int)(result));
24857 }
24858 return resultobj;
24859 fail:
24860 return NULL;
24861 }
24862
24863
24864 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
24865 PyObject *resultobj;
24866 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24867 int result;
24868 PyObject * obj0 = 0 ;
24869 char *kwnames[] = {
24870 (char *) "self", NULL
24871 };
24872
24873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
24874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24875 if (SWIG_arg_fail(1)) SWIG_fail;
24876 {
24877 PyThreadState* __tstate = wxPyBeginAllowThreads();
24878 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24879
24880 wxPyEndAllowThreads(__tstate);
24881 if (PyErr_Occurred()) SWIG_fail;
24882 }
24883 {
24884 resultobj = SWIG_From_int((int)(result));
24885 }
24886 return resultobj;
24887 fail:
24888 return NULL;
24889 }
24890
24891
24892 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24893 PyObject *resultobj;
24894 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24895 wxSize result;
24896 PyObject * obj0 = 0 ;
24897 char *kwnames[] = {
24898 (char *) "self", NULL
24899 };
24900
24901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
24902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24903 if (SWIG_arg_fail(1)) SWIG_fail;
24904 {
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24907
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 {
24912 wxSize * resultptr;
24913 resultptr = new wxSize((wxSize &)(result));
24914 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24915 }
24916 return resultobj;
24917 fail:
24918 return NULL;
24919 }
24920
24921
24922 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24923 PyObject *resultobj;
24924 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24925 int arg2 ;
24926 bool arg3 = (bool) false ;
24927 PyObject * obj0 = 0 ;
24928 PyObject * obj1 = 0 ;
24929 PyObject * obj2 = 0 ;
24930 char *kwnames[] = {
24931 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24932 };
24933
24934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
24935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24936 if (SWIG_arg_fail(1)) SWIG_fail;
24937 {
24938 arg2 = (int)(SWIG_As_int(obj1));
24939 if (SWIG_arg_fail(2)) SWIG_fail;
24940 }
24941 if (obj2) {
24942 {
24943 arg3 = (bool)(SWIG_As_bool(obj2));
24944 if (SWIG_arg_fail(3)) SWIG_fail;
24945 }
24946 }
24947 {
24948 PyThreadState* __tstate = wxPyBeginAllowThreads();
24949 (arg1)->SetItemSpacing(arg2,arg3);
24950
24951 wxPyEndAllowThreads(__tstate);
24952 if (PyErr_Occurred()) SWIG_fail;
24953 }
24954 Py_INCREF(Py_None); resultobj = Py_None;
24955 return resultobj;
24956 fail:
24957 return NULL;
24958 }
24959
24960
24961 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24962 PyObject *resultobj;
24963 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24964 int result;
24965 PyObject * obj0 = 0 ;
24966 char *kwnames[] = {
24967 (char *) "self", NULL
24968 };
24969
24970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
24971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24972 if (SWIG_arg_fail(1)) SWIG_fail;
24973 {
24974 PyThreadState* __tstate = wxPyBeginAllowThreads();
24975 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
24976
24977 wxPyEndAllowThreads(__tstate);
24978 if (PyErr_Occurred()) SWIG_fail;
24979 }
24980 {
24981 resultobj = SWIG_From_int((int)(result));
24982 }
24983 return resultobj;
24984 fail:
24985 return NULL;
24986 }
24987
24988
24989 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24990 PyObject *resultobj;
24991 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24992 wxColour result;
24993 PyObject * obj0 = 0 ;
24994 char *kwnames[] = {
24995 (char *) "self", NULL
24996 };
24997
24998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
24999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25000 if (SWIG_arg_fail(1)) SWIG_fail;
25001 {
25002 PyThreadState* __tstate = wxPyBeginAllowThreads();
25003 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25004
25005 wxPyEndAllowThreads(__tstate);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
25008 {
25009 wxColour * resultptr;
25010 resultptr = new wxColour((wxColour &)(result));
25011 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25012 }
25013 return resultobj;
25014 fail:
25015 return NULL;
25016 }
25017
25018
25019 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25020 PyObject *resultobj;
25021 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25022 wxColour *arg2 = 0 ;
25023 wxColour temp2 ;
25024 PyObject * obj0 = 0 ;
25025 PyObject * obj1 = 0 ;
25026 char *kwnames[] = {
25027 (char *) "self",(char *) "col", NULL
25028 };
25029
25030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
25031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25032 if (SWIG_arg_fail(1)) SWIG_fail;
25033 {
25034 arg2 = &temp2;
25035 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25036 }
25037 {
25038 PyThreadState* __tstate = wxPyBeginAllowThreads();
25039 (arg1)->SetTextColour((wxColour const &)*arg2);
25040
25041 wxPyEndAllowThreads(__tstate);
25042 if (PyErr_Occurred()) SWIG_fail;
25043 }
25044 Py_INCREF(Py_None); resultobj = Py_None;
25045 return resultobj;
25046 fail:
25047 return NULL;
25048 }
25049
25050
25051 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
25052 PyObject *resultobj;
25053 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25054 long result;
25055 PyObject * obj0 = 0 ;
25056 char *kwnames[] = {
25057 (char *) "self", NULL
25058 };
25059
25060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
25061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25062 if (SWIG_arg_fail(1)) SWIG_fail;
25063 {
25064 PyThreadState* __tstate = wxPyBeginAllowThreads();
25065 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25066
25067 wxPyEndAllowThreads(__tstate);
25068 if (PyErr_Occurred()) SWIG_fail;
25069 }
25070 {
25071 resultobj = SWIG_From_long((long)(result));
25072 }
25073 return resultobj;
25074 fail:
25075 return NULL;
25076 }
25077
25078
25079 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
25080 PyObject *resultobj;
25081 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25082 long arg2 ;
25083 bool arg3 = (bool) true ;
25084 PyObject * obj0 = 0 ;
25085 PyObject * obj1 = 0 ;
25086 PyObject * obj2 = 0 ;
25087 char *kwnames[] = {
25088 (char *) "self",(char *) "style",(char *) "add", NULL
25089 };
25090
25091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
25092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25093 if (SWIG_arg_fail(1)) SWIG_fail;
25094 {
25095 arg2 = (long)(SWIG_As_long(obj1));
25096 if (SWIG_arg_fail(2)) SWIG_fail;
25097 }
25098 if (obj2) {
25099 {
25100 arg3 = (bool)(SWIG_As_bool(obj2));
25101 if (SWIG_arg_fail(3)) SWIG_fail;
25102 }
25103 }
25104 {
25105 PyThreadState* __tstate = wxPyBeginAllowThreads();
25106 (arg1)->SetSingleStyle(arg2,arg3);
25107
25108 wxPyEndAllowThreads(__tstate);
25109 if (PyErr_Occurred()) SWIG_fail;
25110 }
25111 Py_INCREF(Py_None); resultobj = Py_None;
25112 return resultobj;
25113 fail:
25114 return NULL;
25115 }
25116
25117
25118 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
25119 PyObject *resultobj;
25120 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25121 long arg2 ;
25122 PyObject * obj0 = 0 ;
25123 PyObject * obj1 = 0 ;
25124 char *kwnames[] = {
25125 (char *) "self",(char *) "style", NULL
25126 };
25127
25128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
25129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25130 if (SWIG_arg_fail(1)) SWIG_fail;
25131 {
25132 arg2 = (long)(SWIG_As_long(obj1));
25133 if (SWIG_arg_fail(2)) SWIG_fail;
25134 }
25135 {
25136 PyThreadState* __tstate = wxPyBeginAllowThreads();
25137 (arg1)->SetWindowStyleFlag(arg2);
25138
25139 wxPyEndAllowThreads(__tstate);
25140 if (PyErr_Occurred()) SWIG_fail;
25141 }
25142 Py_INCREF(Py_None); resultobj = Py_None;
25143 return resultobj;
25144 fail:
25145 return NULL;
25146 }
25147
25148
25149 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
25150 PyObject *resultobj;
25151 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25152 long arg2 ;
25153 int arg3 = (int) wxLIST_NEXT_ALL ;
25154 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25155 long result;
25156 PyObject * obj0 = 0 ;
25157 PyObject * obj1 = 0 ;
25158 PyObject * obj2 = 0 ;
25159 PyObject * obj3 = 0 ;
25160 char *kwnames[] = {
25161 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25162 };
25163
25164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25166 if (SWIG_arg_fail(1)) SWIG_fail;
25167 {
25168 arg2 = (long)(SWIG_As_long(obj1));
25169 if (SWIG_arg_fail(2)) SWIG_fail;
25170 }
25171 if (obj2) {
25172 {
25173 arg3 = (int)(SWIG_As_int(obj2));
25174 if (SWIG_arg_fail(3)) SWIG_fail;
25175 }
25176 }
25177 if (obj3) {
25178 {
25179 arg4 = (int)(SWIG_As_int(obj3));
25180 if (SWIG_arg_fail(4)) SWIG_fail;
25181 }
25182 }
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 {
25191 resultobj = SWIG_From_long((long)(result));
25192 }
25193 return resultobj;
25194 fail:
25195 return NULL;
25196 }
25197
25198
25199 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25200 PyObject *resultobj;
25201 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25202 int arg2 ;
25203 wxImageList *result;
25204 PyObject * obj0 = 0 ;
25205 PyObject * obj1 = 0 ;
25206 char *kwnames[] = {
25207 (char *) "self",(char *) "which", NULL
25208 };
25209
25210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
25211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25212 if (SWIG_arg_fail(1)) SWIG_fail;
25213 {
25214 arg2 = (int)(SWIG_As_int(obj1));
25215 if (SWIG_arg_fail(2)) SWIG_fail;
25216 }
25217 {
25218 PyThreadState* __tstate = wxPyBeginAllowThreads();
25219 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25220
25221 wxPyEndAllowThreads(__tstate);
25222 if (PyErr_Occurred()) SWIG_fail;
25223 }
25224 {
25225 resultobj = wxPyMake_wxObject(result, 0);
25226 }
25227 return resultobj;
25228 fail:
25229 return NULL;
25230 }
25231
25232
25233 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25234 PyObject *resultobj;
25235 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25236 wxImageList *arg2 = (wxImageList *) 0 ;
25237 int arg3 ;
25238 PyObject * obj0 = 0 ;
25239 PyObject * obj1 = 0 ;
25240 PyObject * obj2 = 0 ;
25241 char *kwnames[] = {
25242 (char *) "self",(char *) "imageList",(char *) "which", NULL
25243 };
25244
25245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25247 if (SWIG_arg_fail(1)) SWIG_fail;
25248 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25249 if (SWIG_arg_fail(2)) SWIG_fail;
25250 {
25251 arg3 = (int)(SWIG_As_int(obj2));
25252 if (SWIG_arg_fail(3)) SWIG_fail;
25253 }
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 (arg1)->SetImageList(arg2,arg3);
25257
25258 wxPyEndAllowThreads(__tstate);
25259 if (PyErr_Occurred()) SWIG_fail;
25260 }
25261 Py_INCREF(Py_None); resultobj = Py_None;
25262 return resultobj;
25263 fail:
25264 return NULL;
25265 }
25266
25267
25268 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25269 PyObject *resultobj;
25270 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25271 wxImageList *arg2 = (wxImageList *) 0 ;
25272 int arg3 ;
25273 PyObject * obj0 = 0 ;
25274 PyObject * obj1 = 0 ;
25275 PyObject * obj2 = 0 ;
25276 char *kwnames[] = {
25277 (char *) "self",(char *) "imageList",(char *) "which", NULL
25278 };
25279
25280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25282 if (SWIG_arg_fail(1)) SWIG_fail;
25283 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25284 if (SWIG_arg_fail(2)) SWIG_fail;
25285 {
25286 arg3 = (int)(SWIG_As_int(obj2));
25287 if (SWIG_arg_fail(3)) SWIG_fail;
25288 }
25289 {
25290 PyThreadState* __tstate = wxPyBeginAllowThreads();
25291 (arg1)->AssignImageList(arg2,arg3);
25292
25293 wxPyEndAllowThreads(__tstate);
25294 if (PyErr_Occurred()) SWIG_fail;
25295 }
25296 Py_INCREF(Py_None); resultobj = Py_None;
25297 return resultobj;
25298 fail:
25299 return NULL;
25300 }
25301
25302
25303 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25304 PyObject *resultobj;
25305 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25306 bool result;
25307 PyObject * obj0 = 0 ;
25308 char *kwnames[] = {
25309 (char *) "self", NULL
25310 };
25311
25312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25314 if (SWIG_arg_fail(1)) SWIG_fail;
25315 {
25316 PyThreadState* __tstate = wxPyBeginAllowThreads();
25317 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25318
25319 wxPyEndAllowThreads(__tstate);
25320 if (PyErr_Occurred()) SWIG_fail;
25321 }
25322 {
25323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25324 }
25325 return resultobj;
25326 fail:
25327 return NULL;
25328 }
25329
25330
25331 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25332 PyObject *resultobj;
25333 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25334 bool result;
25335 PyObject * obj0 = 0 ;
25336 char *kwnames[] = {
25337 (char *) "self", NULL
25338 };
25339
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25342 if (SWIG_arg_fail(1)) SWIG_fail;
25343 {
25344 PyThreadState* __tstate = wxPyBeginAllowThreads();
25345 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25346
25347 wxPyEndAllowThreads(__tstate);
25348 if (PyErr_Occurred()) SWIG_fail;
25349 }
25350 {
25351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25352 }
25353 return resultobj;
25354 fail:
25355 return NULL;
25356 }
25357
25358
25359 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25360 PyObject *resultobj;
25361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25362 long arg2 ;
25363 PyObject * obj0 = 0 ;
25364 PyObject * obj1 = 0 ;
25365 char *kwnames[] = {
25366 (char *) "self",(char *) "item", NULL
25367 };
25368
25369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
25370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25371 if (SWIG_arg_fail(1)) SWIG_fail;
25372 {
25373 arg2 = (long)(SWIG_As_long(obj1));
25374 if (SWIG_arg_fail(2)) SWIG_fail;
25375 }
25376 {
25377 PyThreadState* __tstate = wxPyBeginAllowThreads();
25378 (arg1)->RefreshItem(arg2);
25379
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
25383 Py_INCREF(Py_None); resultobj = Py_None;
25384 return resultobj;
25385 fail:
25386 return NULL;
25387 }
25388
25389
25390 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25391 PyObject *resultobj;
25392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25393 long arg2 ;
25394 long arg3 ;
25395 PyObject * obj0 = 0 ;
25396 PyObject * obj1 = 0 ;
25397 PyObject * obj2 = 0 ;
25398 char *kwnames[] = {
25399 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25400 };
25401
25402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25404 if (SWIG_arg_fail(1)) SWIG_fail;
25405 {
25406 arg2 = (long)(SWIG_As_long(obj1));
25407 if (SWIG_arg_fail(2)) SWIG_fail;
25408 }
25409 {
25410 arg3 = (long)(SWIG_As_long(obj2));
25411 if (SWIG_arg_fail(3)) SWIG_fail;
25412 }
25413 {
25414 PyThreadState* __tstate = wxPyBeginAllowThreads();
25415 (arg1)->RefreshItems(arg2,arg3);
25416
25417 wxPyEndAllowThreads(__tstate);
25418 if (PyErr_Occurred()) SWIG_fail;
25419 }
25420 Py_INCREF(Py_None); resultobj = Py_None;
25421 return resultobj;
25422 fail:
25423 return NULL;
25424 }
25425
25426
25427 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25428 PyObject *resultobj;
25429 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25430 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25431 bool result;
25432 PyObject * obj0 = 0 ;
25433 PyObject * obj1 = 0 ;
25434 char *kwnames[] = {
25435 (char *) "self",(char *) "flag", NULL
25436 };
25437
25438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25440 if (SWIG_arg_fail(1)) SWIG_fail;
25441 if (obj1) {
25442 {
25443 arg2 = (int)(SWIG_As_int(obj1));
25444 if (SWIG_arg_fail(2)) SWIG_fail;
25445 }
25446 }
25447 {
25448 PyThreadState* __tstate = wxPyBeginAllowThreads();
25449 result = (bool)(arg1)->Arrange(arg2);
25450
25451 wxPyEndAllowThreads(__tstate);
25452 if (PyErr_Occurred()) SWIG_fail;
25453 }
25454 {
25455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25456 }
25457 return resultobj;
25458 fail:
25459 return NULL;
25460 }
25461
25462
25463 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25464 PyObject *resultobj;
25465 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25466 long arg2 ;
25467 bool result;
25468 PyObject * obj0 = 0 ;
25469 PyObject * obj1 = 0 ;
25470 char *kwnames[] = {
25471 (char *) "self",(char *) "item", NULL
25472 };
25473
25474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25476 if (SWIG_arg_fail(1)) SWIG_fail;
25477 {
25478 arg2 = (long)(SWIG_As_long(obj1));
25479 if (SWIG_arg_fail(2)) SWIG_fail;
25480 }
25481 {
25482 PyThreadState* __tstate = wxPyBeginAllowThreads();
25483 result = (bool)(arg1)->DeleteItem(arg2);
25484
25485 wxPyEndAllowThreads(__tstate);
25486 if (PyErr_Occurred()) SWIG_fail;
25487 }
25488 {
25489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25490 }
25491 return resultobj;
25492 fail:
25493 return NULL;
25494 }
25495
25496
25497 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25498 PyObject *resultobj;
25499 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25500 bool result;
25501 PyObject * obj0 = 0 ;
25502 char *kwnames[] = {
25503 (char *) "self", NULL
25504 };
25505
25506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25508 if (SWIG_arg_fail(1)) SWIG_fail;
25509 {
25510 PyThreadState* __tstate = wxPyBeginAllowThreads();
25511 result = (bool)(arg1)->DeleteAllItems();
25512
25513 wxPyEndAllowThreads(__tstate);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 {
25517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25518 }
25519 return resultobj;
25520 fail:
25521 return NULL;
25522 }
25523
25524
25525 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25526 PyObject *resultobj;
25527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25528 int arg2 ;
25529 bool result;
25530 PyObject * obj0 = 0 ;
25531 PyObject * obj1 = 0 ;
25532 char *kwnames[] = {
25533 (char *) "self",(char *) "col", NULL
25534 };
25535
25536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25538 if (SWIG_arg_fail(1)) SWIG_fail;
25539 {
25540 arg2 = (int)(SWIG_As_int(obj1));
25541 if (SWIG_arg_fail(2)) SWIG_fail;
25542 }
25543 {
25544 PyThreadState* __tstate = wxPyBeginAllowThreads();
25545 result = (bool)(arg1)->DeleteColumn(arg2);
25546
25547 wxPyEndAllowThreads(__tstate);
25548 if (PyErr_Occurred()) SWIG_fail;
25549 }
25550 {
25551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25552 }
25553 return resultobj;
25554 fail:
25555 return NULL;
25556 }
25557
25558
25559 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25560 PyObject *resultobj;
25561 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25562 bool result;
25563 PyObject * obj0 = 0 ;
25564 char *kwnames[] = {
25565 (char *) "self", NULL
25566 };
25567
25568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25570 if (SWIG_arg_fail(1)) SWIG_fail;
25571 {
25572 PyThreadState* __tstate = wxPyBeginAllowThreads();
25573 result = (bool)(arg1)->DeleteAllColumns();
25574
25575 wxPyEndAllowThreads(__tstate);
25576 if (PyErr_Occurred()) SWIG_fail;
25577 }
25578 {
25579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25580 }
25581 return resultobj;
25582 fail:
25583 return NULL;
25584 }
25585
25586
25587 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25588 PyObject *resultobj;
25589 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25590 PyObject * obj0 = 0 ;
25591 char *kwnames[] = {
25592 (char *) "self", NULL
25593 };
25594
25595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25597 if (SWIG_arg_fail(1)) SWIG_fail;
25598 {
25599 PyThreadState* __tstate = wxPyBeginAllowThreads();
25600 (arg1)->ClearAll();
25601
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 Py_INCREF(Py_None); resultobj = Py_None;
25606 return resultobj;
25607 fail:
25608 return NULL;
25609 }
25610
25611
25612 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25613 PyObject *resultobj;
25614 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25615 long arg2 ;
25616 PyObject * obj0 = 0 ;
25617 PyObject * obj1 = 0 ;
25618 char *kwnames[] = {
25619 (char *) "self",(char *) "item", NULL
25620 };
25621
25622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25624 if (SWIG_arg_fail(1)) SWIG_fail;
25625 {
25626 arg2 = (long)(SWIG_As_long(obj1));
25627 if (SWIG_arg_fail(2)) SWIG_fail;
25628 }
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 (arg1)->EditLabel(arg2);
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 Py_INCREF(Py_None); resultobj = Py_None;
25637 return resultobj;
25638 fail:
25639 return NULL;
25640 }
25641
25642
25643 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25644 PyObject *resultobj;
25645 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25646 long arg2 ;
25647 bool result;
25648 PyObject * obj0 = 0 ;
25649 PyObject * obj1 = 0 ;
25650 char *kwnames[] = {
25651 (char *) "self",(char *) "item", NULL
25652 };
25653
25654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25656 if (SWIG_arg_fail(1)) SWIG_fail;
25657 {
25658 arg2 = (long)(SWIG_As_long(obj1));
25659 if (SWIG_arg_fail(2)) SWIG_fail;
25660 }
25661 {
25662 PyThreadState* __tstate = wxPyBeginAllowThreads();
25663 result = (bool)(arg1)->EnsureVisible(arg2);
25664
25665 wxPyEndAllowThreads(__tstate);
25666 if (PyErr_Occurred()) SWIG_fail;
25667 }
25668 {
25669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25670 }
25671 return resultobj;
25672 fail:
25673 return NULL;
25674 }
25675
25676
25677 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25678 PyObject *resultobj;
25679 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25680 long arg2 ;
25681 wxString *arg3 = 0 ;
25682 bool arg4 = (bool) false ;
25683 long result;
25684 bool temp3 = false ;
25685 PyObject * obj0 = 0 ;
25686 PyObject * obj1 = 0 ;
25687 PyObject * obj2 = 0 ;
25688 PyObject * obj3 = 0 ;
25689 char *kwnames[] = {
25690 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25691 };
25692
25693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25695 if (SWIG_arg_fail(1)) SWIG_fail;
25696 {
25697 arg2 = (long)(SWIG_As_long(obj1));
25698 if (SWIG_arg_fail(2)) SWIG_fail;
25699 }
25700 {
25701 arg3 = wxString_in_helper(obj2);
25702 if (arg3 == NULL) SWIG_fail;
25703 temp3 = true;
25704 }
25705 if (obj3) {
25706 {
25707 arg4 = (bool)(SWIG_As_bool(obj3));
25708 if (SWIG_arg_fail(4)) SWIG_fail;
25709 }
25710 }
25711 {
25712 PyThreadState* __tstate = wxPyBeginAllowThreads();
25713 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25714
25715 wxPyEndAllowThreads(__tstate);
25716 if (PyErr_Occurred()) SWIG_fail;
25717 }
25718 {
25719 resultobj = SWIG_From_long((long)(result));
25720 }
25721 {
25722 if (temp3)
25723 delete arg3;
25724 }
25725 return resultobj;
25726 fail:
25727 {
25728 if (temp3)
25729 delete arg3;
25730 }
25731 return NULL;
25732 }
25733
25734
25735 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25736 PyObject *resultobj;
25737 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25738 long arg2 ;
25739 long arg3 ;
25740 long result;
25741 PyObject * obj0 = 0 ;
25742 PyObject * obj1 = 0 ;
25743 PyObject * obj2 = 0 ;
25744 char *kwnames[] = {
25745 (char *) "self",(char *) "start",(char *) "data", NULL
25746 };
25747
25748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25750 if (SWIG_arg_fail(1)) SWIG_fail;
25751 {
25752 arg2 = (long)(SWIG_As_long(obj1));
25753 if (SWIG_arg_fail(2)) SWIG_fail;
25754 }
25755 {
25756 arg3 = (long)(SWIG_As_long(obj2));
25757 if (SWIG_arg_fail(3)) SWIG_fail;
25758 }
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 result = (long)(arg1)->FindItem(arg2,arg3);
25762
25763 wxPyEndAllowThreads(__tstate);
25764 if (PyErr_Occurred()) SWIG_fail;
25765 }
25766 {
25767 resultobj = SWIG_From_long((long)(result));
25768 }
25769 return resultobj;
25770 fail:
25771 return NULL;
25772 }
25773
25774
25775 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25776 PyObject *resultobj;
25777 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25778 long arg2 ;
25779 wxPoint *arg3 = 0 ;
25780 int arg4 ;
25781 long result;
25782 wxPoint temp3 ;
25783 PyObject * obj0 = 0 ;
25784 PyObject * obj1 = 0 ;
25785 PyObject * obj2 = 0 ;
25786 PyObject * obj3 = 0 ;
25787 char *kwnames[] = {
25788 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25789 };
25790
25791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25793 if (SWIG_arg_fail(1)) SWIG_fail;
25794 {
25795 arg2 = (long)(SWIG_As_long(obj1));
25796 if (SWIG_arg_fail(2)) SWIG_fail;
25797 }
25798 {
25799 arg3 = &temp3;
25800 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25801 }
25802 {
25803 arg4 = (int)(SWIG_As_int(obj3));
25804 if (SWIG_arg_fail(4)) SWIG_fail;
25805 }
25806 {
25807 PyThreadState* __tstate = wxPyBeginAllowThreads();
25808 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25809
25810 wxPyEndAllowThreads(__tstate);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 {
25814 resultobj = SWIG_From_long((long)(result));
25815 }
25816 return resultobj;
25817 fail:
25818 return NULL;
25819 }
25820
25821
25822 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25823 PyObject *resultobj;
25824 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25825 wxPoint *arg2 = 0 ;
25826 int *arg3 = 0 ;
25827 long result;
25828 wxPoint temp2 ;
25829 int temp3 ;
25830 int res3 = 0 ;
25831 PyObject * obj0 = 0 ;
25832 PyObject * obj1 = 0 ;
25833 char *kwnames[] = {
25834 (char *) "self",(char *) "point", NULL
25835 };
25836
25837 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25840 if (SWIG_arg_fail(1)) SWIG_fail;
25841 {
25842 arg2 = &temp2;
25843 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25844 }
25845 {
25846 PyThreadState* __tstate = wxPyBeginAllowThreads();
25847 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25848
25849 wxPyEndAllowThreads(__tstate);
25850 if (PyErr_Occurred()) SWIG_fail;
25851 }
25852 {
25853 resultobj = SWIG_From_long((long)(result));
25854 }
25855 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25856 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25857 return resultobj;
25858 fail:
25859 return NULL;
25860 }
25861
25862
25863 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25864 PyObject *resultobj;
25865 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25866 wxListItem *arg2 = 0 ;
25867 long result;
25868 PyObject * obj0 = 0 ;
25869 PyObject * obj1 = 0 ;
25870 char *kwnames[] = {
25871 (char *) "self",(char *) "info", NULL
25872 };
25873
25874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
25875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25876 if (SWIG_arg_fail(1)) SWIG_fail;
25877 {
25878 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25879 if (SWIG_arg_fail(2)) SWIG_fail;
25880 if (arg2 == NULL) {
25881 SWIG_null_ref("wxListItem");
25882 }
25883 if (SWIG_arg_fail(2)) SWIG_fail;
25884 }
25885 {
25886 PyThreadState* __tstate = wxPyBeginAllowThreads();
25887 result = (long)(arg1)->InsertItem(*arg2);
25888
25889 wxPyEndAllowThreads(__tstate);
25890 if (PyErr_Occurred()) SWIG_fail;
25891 }
25892 {
25893 resultobj = SWIG_From_long((long)(result));
25894 }
25895 return resultobj;
25896 fail:
25897 return NULL;
25898 }
25899
25900
25901 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25902 PyObject *resultobj;
25903 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25904 long arg2 ;
25905 wxString *arg3 = 0 ;
25906 long result;
25907 bool temp3 = false ;
25908 PyObject * obj0 = 0 ;
25909 PyObject * obj1 = 0 ;
25910 PyObject * obj2 = 0 ;
25911 char *kwnames[] = {
25912 (char *) "self",(char *) "index",(char *) "label", NULL
25913 };
25914
25915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25917 if (SWIG_arg_fail(1)) SWIG_fail;
25918 {
25919 arg2 = (long)(SWIG_As_long(obj1));
25920 if (SWIG_arg_fail(2)) SWIG_fail;
25921 }
25922 {
25923 arg3 = wxString_in_helper(obj2);
25924 if (arg3 == NULL) SWIG_fail;
25925 temp3 = true;
25926 }
25927 {
25928 PyThreadState* __tstate = wxPyBeginAllowThreads();
25929 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25930
25931 wxPyEndAllowThreads(__tstate);
25932 if (PyErr_Occurred()) SWIG_fail;
25933 }
25934 {
25935 resultobj = SWIG_From_long((long)(result));
25936 }
25937 {
25938 if (temp3)
25939 delete arg3;
25940 }
25941 return resultobj;
25942 fail:
25943 {
25944 if (temp3)
25945 delete arg3;
25946 }
25947 return NULL;
25948 }
25949
25950
25951 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
25952 PyObject *resultobj;
25953 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25954 long arg2 ;
25955 int arg3 ;
25956 long result;
25957 PyObject * obj0 = 0 ;
25958 PyObject * obj1 = 0 ;
25959 PyObject * obj2 = 0 ;
25960 char *kwnames[] = {
25961 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25962 };
25963
25964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25966 if (SWIG_arg_fail(1)) SWIG_fail;
25967 {
25968 arg2 = (long)(SWIG_As_long(obj1));
25969 if (SWIG_arg_fail(2)) SWIG_fail;
25970 }
25971 {
25972 arg3 = (int)(SWIG_As_int(obj2));
25973 if (SWIG_arg_fail(3)) SWIG_fail;
25974 }
25975 {
25976 PyThreadState* __tstate = wxPyBeginAllowThreads();
25977 result = (long)(arg1)->InsertItem(arg2,arg3);
25978
25979 wxPyEndAllowThreads(__tstate);
25980 if (PyErr_Occurred()) SWIG_fail;
25981 }
25982 {
25983 resultobj = SWIG_From_long((long)(result));
25984 }
25985 return resultobj;
25986 fail:
25987 return NULL;
25988 }
25989
25990
25991 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
25992 PyObject *resultobj;
25993 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25994 long arg2 ;
25995 wxString *arg3 = 0 ;
25996 int arg4 ;
25997 long result;
25998 bool temp3 = false ;
25999 PyObject * obj0 = 0 ;
26000 PyObject * obj1 = 0 ;
26001 PyObject * obj2 = 0 ;
26002 PyObject * obj3 = 0 ;
26003 char *kwnames[] = {
26004 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26005 };
26006
26007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26009 if (SWIG_arg_fail(1)) SWIG_fail;
26010 {
26011 arg2 = (long)(SWIG_As_long(obj1));
26012 if (SWIG_arg_fail(2)) SWIG_fail;
26013 }
26014 {
26015 arg3 = wxString_in_helper(obj2);
26016 if (arg3 == NULL) SWIG_fail;
26017 temp3 = true;
26018 }
26019 {
26020 arg4 = (int)(SWIG_As_int(obj3));
26021 if (SWIG_arg_fail(4)) SWIG_fail;
26022 }
26023 {
26024 PyThreadState* __tstate = wxPyBeginAllowThreads();
26025 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26026
26027 wxPyEndAllowThreads(__tstate);
26028 if (PyErr_Occurred()) SWIG_fail;
26029 }
26030 {
26031 resultobj = SWIG_From_long((long)(result));
26032 }
26033 {
26034 if (temp3)
26035 delete arg3;
26036 }
26037 return resultobj;
26038 fail:
26039 {
26040 if (temp3)
26041 delete arg3;
26042 }
26043 return NULL;
26044 }
26045
26046
26047 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26048 PyObject *resultobj;
26049 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26050 long arg2 ;
26051 wxListItem *arg3 = 0 ;
26052 long result;
26053 PyObject * obj0 = 0 ;
26054 PyObject * obj1 = 0 ;
26055 PyObject * obj2 = 0 ;
26056 char *kwnames[] = {
26057 (char *) "self",(char *) "col",(char *) "info", NULL
26058 };
26059
26060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26062 if (SWIG_arg_fail(1)) SWIG_fail;
26063 {
26064 arg2 = (long)(SWIG_As_long(obj1));
26065 if (SWIG_arg_fail(2)) SWIG_fail;
26066 }
26067 {
26068 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26069 if (SWIG_arg_fail(3)) SWIG_fail;
26070 if (arg3 == NULL) {
26071 SWIG_null_ref("wxListItem");
26072 }
26073 if (SWIG_arg_fail(3)) SWIG_fail;
26074 }
26075 {
26076 PyThreadState* __tstate = wxPyBeginAllowThreads();
26077 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26078
26079 wxPyEndAllowThreads(__tstate);
26080 if (PyErr_Occurred()) SWIG_fail;
26081 }
26082 {
26083 resultobj = SWIG_From_long((long)(result));
26084 }
26085 return resultobj;
26086 fail:
26087 return NULL;
26088 }
26089
26090
26091 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26092 PyObject *resultobj;
26093 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26094 long arg2 ;
26095 wxString *arg3 = 0 ;
26096 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26097 int arg5 = (int) -1 ;
26098 long result;
26099 bool temp3 = false ;
26100 PyObject * obj0 = 0 ;
26101 PyObject * obj1 = 0 ;
26102 PyObject * obj2 = 0 ;
26103 PyObject * obj3 = 0 ;
26104 PyObject * obj4 = 0 ;
26105 char *kwnames[] = {
26106 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26107 };
26108
26109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26111 if (SWIG_arg_fail(1)) SWIG_fail;
26112 {
26113 arg2 = (long)(SWIG_As_long(obj1));
26114 if (SWIG_arg_fail(2)) SWIG_fail;
26115 }
26116 {
26117 arg3 = wxString_in_helper(obj2);
26118 if (arg3 == NULL) SWIG_fail;
26119 temp3 = true;
26120 }
26121 if (obj3) {
26122 {
26123 arg4 = (int)(SWIG_As_int(obj3));
26124 if (SWIG_arg_fail(4)) SWIG_fail;
26125 }
26126 }
26127 if (obj4) {
26128 {
26129 arg5 = (int)(SWIG_As_int(obj4));
26130 if (SWIG_arg_fail(5)) SWIG_fail;
26131 }
26132 }
26133 {
26134 PyThreadState* __tstate = wxPyBeginAllowThreads();
26135 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26136
26137 wxPyEndAllowThreads(__tstate);
26138 if (PyErr_Occurred()) SWIG_fail;
26139 }
26140 {
26141 resultobj = SWIG_From_long((long)(result));
26142 }
26143 {
26144 if (temp3)
26145 delete arg3;
26146 }
26147 return resultobj;
26148 fail:
26149 {
26150 if (temp3)
26151 delete arg3;
26152 }
26153 return NULL;
26154 }
26155
26156
26157 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26158 PyObject *resultobj;
26159 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26160 long arg2 ;
26161 PyObject * obj0 = 0 ;
26162 PyObject * obj1 = 0 ;
26163 char *kwnames[] = {
26164 (char *) "self",(char *) "count", NULL
26165 };
26166
26167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26169 if (SWIG_arg_fail(1)) SWIG_fail;
26170 {
26171 arg2 = (long)(SWIG_As_long(obj1));
26172 if (SWIG_arg_fail(2)) SWIG_fail;
26173 }
26174 {
26175 PyThreadState* __tstate = wxPyBeginAllowThreads();
26176 (arg1)->SetItemCount(arg2);
26177
26178 wxPyEndAllowThreads(__tstate);
26179 if (PyErr_Occurred()) SWIG_fail;
26180 }
26181 Py_INCREF(Py_None); resultobj = Py_None;
26182 return resultobj;
26183 fail:
26184 return NULL;
26185 }
26186
26187
26188 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26189 PyObject *resultobj;
26190 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26191 int arg2 ;
26192 int arg3 ;
26193 bool result;
26194 PyObject * obj0 = 0 ;
26195 PyObject * obj1 = 0 ;
26196 PyObject * obj2 = 0 ;
26197 char *kwnames[] = {
26198 (char *) "self",(char *) "dx",(char *) "dy", NULL
26199 };
26200
26201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26203 if (SWIG_arg_fail(1)) SWIG_fail;
26204 {
26205 arg2 = (int)(SWIG_As_int(obj1));
26206 if (SWIG_arg_fail(2)) SWIG_fail;
26207 }
26208 {
26209 arg3 = (int)(SWIG_As_int(obj2));
26210 if (SWIG_arg_fail(3)) SWIG_fail;
26211 }
26212 {
26213 PyThreadState* __tstate = wxPyBeginAllowThreads();
26214 result = (bool)(arg1)->ScrollList(arg2,arg3);
26215
26216 wxPyEndAllowThreads(__tstate);
26217 if (PyErr_Occurred()) SWIG_fail;
26218 }
26219 {
26220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26221 }
26222 return resultobj;
26223 fail:
26224 return NULL;
26225 }
26226
26227
26228 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26229 PyObject *resultobj;
26230 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26231 long arg2 ;
26232 wxColour *arg3 = 0 ;
26233 wxColour temp3 ;
26234 PyObject * obj0 = 0 ;
26235 PyObject * obj1 = 0 ;
26236 PyObject * obj2 = 0 ;
26237 char *kwnames[] = {
26238 (char *) "self",(char *) "item",(char *) "col", NULL
26239 };
26240
26241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26243 if (SWIG_arg_fail(1)) SWIG_fail;
26244 {
26245 arg2 = (long)(SWIG_As_long(obj1));
26246 if (SWIG_arg_fail(2)) SWIG_fail;
26247 }
26248 {
26249 arg3 = &temp3;
26250 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26251 }
26252 {
26253 PyThreadState* __tstate = wxPyBeginAllowThreads();
26254 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26255
26256 wxPyEndAllowThreads(__tstate);
26257 if (PyErr_Occurred()) SWIG_fail;
26258 }
26259 Py_INCREF(Py_None); resultobj = Py_None;
26260 return resultobj;
26261 fail:
26262 return NULL;
26263 }
26264
26265
26266 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26267 PyObject *resultobj;
26268 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26269 long arg2 ;
26270 wxColour result;
26271 PyObject * obj0 = 0 ;
26272 PyObject * obj1 = 0 ;
26273 char *kwnames[] = {
26274 (char *) "self",(char *) "item", NULL
26275 };
26276
26277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26279 if (SWIG_arg_fail(1)) SWIG_fail;
26280 {
26281 arg2 = (long)(SWIG_As_long(obj1));
26282 if (SWIG_arg_fail(2)) SWIG_fail;
26283 }
26284 {
26285 PyThreadState* __tstate = wxPyBeginAllowThreads();
26286 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26287
26288 wxPyEndAllowThreads(__tstate);
26289 if (PyErr_Occurred()) SWIG_fail;
26290 }
26291 {
26292 wxColour * resultptr;
26293 resultptr = new wxColour((wxColour &)(result));
26294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26295 }
26296 return resultobj;
26297 fail:
26298 return NULL;
26299 }
26300
26301
26302 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26303 PyObject *resultobj;
26304 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26305 long arg2 ;
26306 wxColour *arg3 = 0 ;
26307 wxColour temp3 ;
26308 PyObject * obj0 = 0 ;
26309 PyObject * obj1 = 0 ;
26310 PyObject * obj2 = 0 ;
26311 char *kwnames[] = {
26312 (char *) "self",(char *) "item",(char *) "col", NULL
26313 };
26314
26315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26317 if (SWIG_arg_fail(1)) SWIG_fail;
26318 {
26319 arg2 = (long)(SWIG_As_long(obj1));
26320 if (SWIG_arg_fail(2)) SWIG_fail;
26321 }
26322 {
26323 arg3 = &temp3;
26324 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26325 }
26326 {
26327 PyThreadState* __tstate = wxPyBeginAllowThreads();
26328 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26329
26330 wxPyEndAllowThreads(__tstate);
26331 if (PyErr_Occurred()) SWIG_fail;
26332 }
26333 Py_INCREF(Py_None); resultobj = Py_None;
26334 return resultobj;
26335 fail:
26336 return NULL;
26337 }
26338
26339
26340 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26341 PyObject *resultobj;
26342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26343 long arg2 ;
26344 wxColour result;
26345 PyObject * obj0 = 0 ;
26346 PyObject * obj1 = 0 ;
26347 char *kwnames[] = {
26348 (char *) "self",(char *) "item", NULL
26349 };
26350
26351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26353 if (SWIG_arg_fail(1)) SWIG_fail;
26354 {
26355 arg2 = (long)(SWIG_As_long(obj1));
26356 if (SWIG_arg_fail(2)) SWIG_fail;
26357 }
26358 {
26359 PyThreadState* __tstate = wxPyBeginAllowThreads();
26360 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26361
26362 wxPyEndAllowThreads(__tstate);
26363 if (PyErr_Occurred()) SWIG_fail;
26364 }
26365 {
26366 wxColour * resultptr;
26367 resultptr = new wxColour((wxColour &)(result));
26368 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26369 }
26370 return resultobj;
26371 fail:
26372 return NULL;
26373 }
26374
26375
26376 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26377 PyObject *resultobj;
26378 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26379 PyObject *arg2 = (PyObject *) 0 ;
26380 bool result;
26381 PyObject * obj0 = 0 ;
26382 PyObject * obj1 = 0 ;
26383 char *kwnames[] = {
26384 (char *) "self",(char *) "func", NULL
26385 };
26386
26387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26389 if (SWIG_arg_fail(1)) SWIG_fail;
26390 arg2 = obj1;
26391 {
26392 PyThreadState* __tstate = wxPyBeginAllowThreads();
26393 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26394
26395 wxPyEndAllowThreads(__tstate);
26396 if (PyErr_Occurred()) SWIG_fail;
26397 }
26398 {
26399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26400 }
26401 return resultobj;
26402 fail:
26403 return NULL;
26404 }
26405
26406
26407 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26408 PyObject *resultobj;
26409 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26410 wxWindow *result;
26411 PyObject * obj0 = 0 ;
26412 char *kwnames[] = {
26413 (char *) "self", NULL
26414 };
26415
26416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26418 if (SWIG_arg_fail(1)) SWIG_fail;
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26422
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 {
26427 resultobj = wxPyMake_wxObject(result, 0);
26428 }
26429 return resultobj;
26430 fail:
26431 return NULL;
26432 }
26433
26434
26435 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26436 PyObject *resultobj;
26437 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26438 wxVisualAttributes result;
26439 PyObject * obj0 = 0 ;
26440 char *kwnames[] = {
26441 (char *) "variant", NULL
26442 };
26443
26444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26445 if (obj0) {
26446 {
26447 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26448 if (SWIG_arg_fail(1)) SWIG_fail;
26449 }
26450 }
26451 {
26452 if (!wxPyCheckForApp()) SWIG_fail;
26453 PyThreadState* __tstate = wxPyBeginAllowThreads();
26454 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26455
26456 wxPyEndAllowThreads(__tstate);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 }
26459 {
26460 wxVisualAttributes * resultptr;
26461 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
26462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26463 }
26464 return resultobj;
26465 fail:
26466 return NULL;
26467 }
26468
26469
26470 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26471 PyObject *obj;
26472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26473 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26474 Py_INCREF(obj);
26475 return Py_BuildValue((char *)"");
26476 }
26477 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26478 PyObject *resultobj;
26479 wxWindow *arg1 = (wxWindow *) 0 ;
26480 int arg2 = (int) -1 ;
26481 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26482 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26483 wxSize const &arg4_defvalue = wxDefaultSize ;
26484 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26485 long arg5 = (long) wxLC_REPORT ;
26486 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26487 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26488 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26489 wxString *arg7 = (wxString *) &arg7_defvalue ;
26490 wxListView *result;
26491 wxPoint temp3 ;
26492 wxSize temp4 ;
26493 bool temp7 = false ;
26494 PyObject * obj0 = 0 ;
26495 PyObject * obj1 = 0 ;
26496 PyObject * obj2 = 0 ;
26497 PyObject * obj3 = 0 ;
26498 PyObject * obj4 = 0 ;
26499 PyObject * obj5 = 0 ;
26500 PyObject * obj6 = 0 ;
26501 char *kwnames[] = {
26502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26503 };
26504
26505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26507 if (SWIG_arg_fail(1)) SWIG_fail;
26508 if (obj1) {
26509 {
26510 arg2 = (int)(SWIG_As_int(obj1));
26511 if (SWIG_arg_fail(2)) SWIG_fail;
26512 }
26513 }
26514 if (obj2) {
26515 {
26516 arg3 = &temp3;
26517 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26518 }
26519 }
26520 if (obj3) {
26521 {
26522 arg4 = &temp4;
26523 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26524 }
26525 }
26526 if (obj4) {
26527 {
26528 arg5 = (long)(SWIG_As_long(obj4));
26529 if (SWIG_arg_fail(5)) SWIG_fail;
26530 }
26531 }
26532 if (obj5) {
26533 {
26534 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26535 if (SWIG_arg_fail(6)) SWIG_fail;
26536 if (arg6 == NULL) {
26537 SWIG_null_ref("wxValidator");
26538 }
26539 if (SWIG_arg_fail(6)) SWIG_fail;
26540 }
26541 }
26542 if (obj6) {
26543 {
26544 arg7 = wxString_in_helper(obj6);
26545 if (arg7 == NULL) SWIG_fail;
26546 temp7 = true;
26547 }
26548 }
26549 {
26550 if (!wxPyCheckForApp()) SWIG_fail;
26551 PyThreadState* __tstate = wxPyBeginAllowThreads();
26552 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26553
26554 wxPyEndAllowThreads(__tstate);
26555 if (PyErr_Occurred()) SWIG_fail;
26556 }
26557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26558 {
26559 if (temp7)
26560 delete arg7;
26561 }
26562 return resultobj;
26563 fail:
26564 {
26565 if (temp7)
26566 delete arg7;
26567 }
26568 return NULL;
26569 }
26570
26571
26572 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26573 PyObject *resultobj;
26574 wxListView *result;
26575 char *kwnames[] = {
26576 NULL
26577 };
26578
26579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26580 {
26581 if (!wxPyCheckForApp()) SWIG_fail;
26582 PyThreadState* __tstate = wxPyBeginAllowThreads();
26583 result = (wxListView *)new wxListView();
26584
26585 wxPyEndAllowThreads(__tstate);
26586 if (PyErr_Occurred()) SWIG_fail;
26587 }
26588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26589 return resultobj;
26590 fail:
26591 return NULL;
26592 }
26593
26594
26595 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26596 PyObject *resultobj;
26597 wxListView *arg1 = (wxListView *) 0 ;
26598 wxWindow *arg2 = (wxWindow *) 0 ;
26599 int arg3 = (int) -1 ;
26600 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26601 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26602 wxSize const &arg5_defvalue = wxDefaultSize ;
26603 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26604 long arg6 = (long) wxLC_REPORT ;
26605 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26606 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26607 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26608 wxString *arg8 = (wxString *) &arg8_defvalue ;
26609 bool result;
26610 wxPoint temp4 ;
26611 wxSize temp5 ;
26612 bool temp8 = false ;
26613 PyObject * obj0 = 0 ;
26614 PyObject * obj1 = 0 ;
26615 PyObject * obj2 = 0 ;
26616 PyObject * obj3 = 0 ;
26617 PyObject * obj4 = 0 ;
26618 PyObject * obj5 = 0 ;
26619 PyObject * obj6 = 0 ;
26620 PyObject * obj7 = 0 ;
26621 char *kwnames[] = {
26622 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26623 };
26624
26625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26627 if (SWIG_arg_fail(1)) SWIG_fail;
26628 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26629 if (SWIG_arg_fail(2)) SWIG_fail;
26630 if (obj2) {
26631 {
26632 arg3 = (int)(SWIG_As_int(obj2));
26633 if (SWIG_arg_fail(3)) SWIG_fail;
26634 }
26635 }
26636 if (obj3) {
26637 {
26638 arg4 = &temp4;
26639 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26640 }
26641 }
26642 if (obj4) {
26643 {
26644 arg5 = &temp5;
26645 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26646 }
26647 }
26648 if (obj5) {
26649 {
26650 arg6 = (long)(SWIG_As_long(obj5));
26651 if (SWIG_arg_fail(6)) SWIG_fail;
26652 }
26653 }
26654 if (obj6) {
26655 {
26656 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26657 if (SWIG_arg_fail(7)) SWIG_fail;
26658 if (arg7 == NULL) {
26659 SWIG_null_ref("wxValidator");
26660 }
26661 if (SWIG_arg_fail(7)) SWIG_fail;
26662 }
26663 }
26664 if (obj7) {
26665 {
26666 arg8 = wxString_in_helper(obj7);
26667 if (arg8 == NULL) SWIG_fail;
26668 temp8 = true;
26669 }
26670 }
26671 {
26672 PyThreadState* __tstate = wxPyBeginAllowThreads();
26673 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26674
26675 wxPyEndAllowThreads(__tstate);
26676 if (PyErr_Occurred()) SWIG_fail;
26677 }
26678 {
26679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26680 }
26681 {
26682 if (temp8)
26683 delete arg8;
26684 }
26685 return resultobj;
26686 fail:
26687 {
26688 if (temp8)
26689 delete arg8;
26690 }
26691 return NULL;
26692 }
26693
26694
26695 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26696 PyObject *resultobj;
26697 wxListView *arg1 = (wxListView *) 0 ;
26698 long arg2 ;
26699 bool arg3 = (bool) true ;
26700 PyObject * obj0 = 0 ;
26701 PyObject * obj1 = 0 ;
26702 PyObject * obj2 = 0 ;
26703 char *kwnames[] = {
26704 (char *) "self",(char *) "n",(char *) "on", NULL
26705 };
26706
26707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26709 if (SWIG_arg_fail(1)) SWIG_fail;
26710 {
26711 arg2 = (long)(SWIG_As_long(obj1));
26712 if (SWIG_arg_fail(2)) SWIG_fail;
26713 }
26714 if (obj2) {
26715 {
26716 arg3 = (bool)(SWIG_As_bool(obj2));
26717 if (SWIG_arg_fail(3)) SWIG_fail;
26718 }
26719 }
26720 {
26721 PyThreadState* __tstate = wxPyBeginAllowThreads();
26722 (arg1)->Select(arg2,arg3);
26723
26724 wxPyEndAllowThreads(__tstate);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 }
26727 Py_INCREF(Py_None); resultobj = Py_None;
26728 return resultobj;
26729 fail:
26730 return NULL;
26731 }
26732
26733
26734 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26735 PyObject *resultobj;
26736 wxListView *arg1 = (wxListView *) 0 ;
26737 long arg2 ;
26738 PyObject * obj0 = 0 ;
26739 PyObject * obj1 = 0 ;
26740 char *kwnames[] = {
26741 (char *) "self",(char *) "index", NULL
26742 };
26743
26744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26746 if (SWIG_arg_fail(1)) SWIG_fail;
26747 {
26748 arg2 = (long)(SWIG_As_long(obj1));
26749 if (SWIG_arg_fail(2)) SWIG_fail;
26750 }
26751 {
26752 PyThreadState* __tstate = wxPyBeginAllowThreads();
26753 (arg1)->Focus(arg2);
26754
26755 wxPyEndAllowThreads(__tstate);
26756 if (PyErr_Occurred()) SWIG_fail;
26757 }
26758 Py_INCREF(Py_None); resultobj = Py_None;
26759 return resultobj;
26760 fail:
26761 return NULL;
26762 }
26763
26764
26765 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26766 PyObject *resultobj;
26767 wxListView *arg1 = (wxListView *) 0 ;
26768 long result;
26769 PyObject * obj0 = 0 ;
26770 char *kwnames[] = {
26771 (char *) "self", NULL
26772 };
26773
26774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26776 if (SWIG_arg_fail(1)) SWIG_fail;
26777 {
26778 PyThreadState* __tstate = wxPyBeginAllowThreads();
26779 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26780
26781 wxPyEndAllowThreads(__tstate);
26782 if (PyErr_Occurred()) SWIG_fail;
26783 }
26784 {
26785 resultobj = SWIG_From_long((long)(result));
26786 }
26787 return resultobj;
26788 fail:
26789 return NULL;
26790 }
26791
26792
26793 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26794 PyObject *resultobj;
26795 wxListView *arg1 = (wxListView *) 0 ;
26796 long arg2 ;
26797 long result;
26798 PyObject * obj0 = 0 ;
26799 PyObject * obj1 = 0 ;
26800 char *kwnames[] = {
26801 (char *) "self",(char *) "item", NULL
26802 };
26803
26804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
26805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26806 if (SWIG_arg_fail(1)) SWIG_fail;
26807 {
26808 arg2 = (long)(SWIG_As_long(obj1));
26809 if (SWIG_arg_fail(2)) SWIG_fail;
26810 }
26811 {
26812 PyThreadState* __tstate = wxPyBeginAllowThreads();
26813 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26814
26815 wxPyEndAllowThreads(__tstate);
26816 if (PyErr_Occurred()) SWIG_fail;
26817 }
26818 {
26819 resultobj = SWIG_From_long((long)(result));
26820 }
26821 return resultobj;
26822 fail:
26823 return NULL;
26824 }
26825
26826
26827 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26828 PyObject *resultobj;
26829 wxListView *arg1 = (wxListView *) 0 ;
26830 long result;
26831 PyObject * obj0 = 0 ;
26832 char *kwnames[] = {
26833 (char *) "self", NULL
26834 };
26835
26836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
26837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26838 if (SWIG_arg_fail(1)) SWIG_fail;
26839 {
26840 PyThreadState* __tstate = wxPyBeginAllowThreads();
26841 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26842
26843 wxPyEndAllowThreads(__tstate);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 }
26846 {
26847 resultobj = SWIG_From_long((long)(result));
26848 }
26849 return resultobj;
26850 fail:
26851 return NULL;
26852 }
26853
26854
26855 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26856 PyObject *resultobj;
26857 wxListView *arg1 = (wxListView *) 0 ;
26858 long arg2 ;
26859 bool result;
26860 PyObject * obj0 = 0 ;
26861 PyObject * obj1 = 0 ;
26862 char *kwnames[] = {
26863 (char *) "self",(char *) "index", NULL
26864 };
26865
26866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26868 if (SWIG_arg_fail(1)) SWIG_fail;
26869 {
26870 arg2 = (long)(SWIG_As_long(obj1));
26871 if (SWIG_arg_fail(2)) SWIG_fail;
26872 }
26873 {
26874 PyThreadState* __tstate = wxPyBeginAllowThreads();
26875 result = (bool)(arg1)->IsSelected(arg2);
26876
26877 wxPyEndAllowThreads(__tstate);
26878 if (PyErr_Occurred()) SWIG_fail;
26879 }
26880 {
26881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26882 }
26883 return resultobj;
26884 fail:
26885 return NULL;
26886 }
26887
26888
26889 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26890 PyObject *resultobj;
26891 wxListView *arg1 = (wxListView *) 0 ;
26892 int arg2 ;
26893 int arg3 ;
26894 PyObject * obj0 = 0 ;
26895 PyObject * obj1 = 0 ;
26896 PyObject * obj2 = 0 ;
26897 char *kwnames[] = {
26898 (char *) "self",(char *) "col",(char *) "image", NULL
26899 };
26900
26901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26903 if (SWIG_arg_fail(1)) SWIG_fail;
26904 {
26905 arg2 = (int)(SWIG_As_int(obj1));
26906 if (SWIG_arg_fail(2)) SWIG_fail;
26907 }
26908 {
26909 arg3 = (int)(SWIG_As_int(obj2));
26910 if (SWIG_arg_fail(3)) SWIG_fail;
26911 }
26912 {
26913 PyThreadState* __tstate = wxPyBeginAllowThreads();
26914 (arg1)->SetColumnImage(arg2,arg3);
26915
26916 wxPyEndAllowThreads(__tstate);
26917 if (PyErr_Occurred()) SWIG_fail;
26918 }
26919 Py_INCREF(Py_None); resultobj = Py_None;
26920 return resultobj;
26921 fail:
26922 return NULL;
26923 }
26924
26925
26926 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26927 PyObject *resultobj;
26928 wxListView *arg1 = (wxListView *) 0 ;
26929 int arg2 ;
26930 PyObject * obj0 = 0 ;
26931 PyObject * obj1 = 0 ;
26932 char *kwnames[] = {
26933 (char *) "self",(char *) "col", NULL
26934 };
26935
26936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
26937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26938 if (SWIG_arg_fail(1)) SWIG_fail;
26939 {
26940 arg2 = (int)(SWIG_As_int(obj1));
26941 if (SWIG_arg_fail(2)) SWIG_fail;
26942 }
26943 {
26944 PyThreadState* __tstate = wxPyBeginAllowThreads();
26945 (arg1)->ClearColumnImage(arg2);
26946
26947 wxPyEndAllowThreads(__tstate);
26948 if (PyErr_Occurred()) SWIG_fail;
26949 }
26950 Py_INCREF(Py_None); resultobj = Py_None;
26951 return resultobj;
26952 fail:
26953 return NULL;
26954 }
26955
26956
26957 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
26958 PyObject *obj;
26959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26960 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
26961 Py_INCREF(obj);
26962 return Py_BuildValue((char *)"");
26963 }
26964 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
26965 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
26966 return 1;
26967 }
26968
26969
26970 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
26971 PyObject *pyobj;
26972
26973 {
26974 #if wxUSE_UNICODE
26975 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
26976 #else
26977 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
26978 #endif
26979 }
26980 return pyobj;
26981 }
26982
26983
26984 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
26985 PyObject *resultobj;
26986 wxTreeItemId *result;
26987 char *kwnames[] = {
26988 NULL
26989 };
26990
26991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
26992 {
26993 PyThreadState* __tstate = wxPyBeginAllowThreads();
26994 result = (wxTreeItemId *)new wxTreeItemId();
26995
26996 wxPyEndAllowThreads(__tstate);
26997 if (PyErr_Occurred()) SWIG_fail;
26998 }
26999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27000 return resultobj;
27001 fail:
27002 return NULL;
27003 }
27004
27005
27006 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27007 PyObject *resultobj;
27008 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27009 PyObject * obj0 = 0 ;
27010 char *kwnames[] = {
27011 (char *) "self", NULL
27012 };
27013
27014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
27015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27016 if (SWIG_arg_fail(1)) SWIG_fail;
27017 {
27018 PyThreadState* __tstate = wxPyBeginAllowThreads();
27019 delete arg1;
27020
27021 wxPyEndAllowThreads(__tstate);
27022 if (PyErr_Occurred()) SWIG_fail;
27023 }
27024 Py_INCREF(Py_None); resultobj = Py_None;
27025 return resultobj;
27026 fail:
27027 return NULL;
27028 }
27029
27030
27031 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27032 PyObject *resultobj;
27033 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27034 bool result;
27035 PyObject * obj0 = 0 ;
27036 char *kwnames[] = {
27037 (char *) "self", NULL
27038 };
27039
27040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
27041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27042 if (SWIG_arg_fail(1)) SWIG_fail;
27043 {
27044 PyThreadState* __tstate = wxPyBeginAllowThreads();
27045 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27046
27047 wxPyEndAllowThreads(__tstate);
27048 if (PyErr_Occurred()) SWIG_fail;
27049 }
27050 {
27051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27052 }
27053 return resultobj;
27054 fail:
27055 return NULL;
27056 }
27057
27058
27059 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27060 PyObject *resultobj;
27061 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27062 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27063 bool result;
27064 PyObject * obj0 = 0 ;
27065 PyObject * obj1 = 0 ;
27066 char *kwnames[] = {
27067 (char *) "self",(char *) "other", NULL
27068 };
27069
27070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
27071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27072 if (SWIG_arg_fail(1)) SWIG_fail;
27073 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27074 if (SWIG_arg_fail(2)) SWIG_fail;
27075 {
27076 PyThreadState* __tstate = wxPyBeginAllowThreads();
27077 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27078
27079 wxPyEndAllowThreads(__tstate);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 }
27082 {
27083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27084 }
27085 return resultobj;
27086 fail:
27087 return NULL;
27088 }
27089
27090
27091 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27092 PyObject *resultobj;
27093 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27094 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27095 bool result;
27096 PyObject * obj0 = 0 ;
27097 PyObject * obj1 = 0 ;
27098 char *kwnames[] = {
27099 (char *) "self",(char *) "other", NULL
27100 };
27101
27102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
27103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27104 if (SWIG_arg_fail(1)) SWIG_fail;
27105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27106 if (SWIG_arg_fail(2)) SWIG_fail;
27107 {
27108 PyThreadState* __tstate = wxPyBeginAllowThreads();
27109 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27110
27111 wxPyEndAllowThreads(__tstate);
27112 if (PyErr_Occurred()) SWIG_fail;
27113 }
27114 {
27115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27116 }
27117 return resultobj;
27118 fail:
27119 return NULL;
27120 }
27121
27122
27123 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27124 PyObject *resultobj;
27125 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27126 void *arg2 = (void *) 0 ;
27127 PyObject * obj0 = 0 ;
27128 PyObject * obj1 = 0 ;
27129 char *kwnames[] = {
27130 (char *) "self",(char *) "m_pItem", NULL
27131 };
27132
27133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27135 if (SWIG_arg_fail(1)) SWIG_fail;
27136 {
27137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27138 SWIG_arg_fail(2);SWIG_fail;
27139 }
27140 }
27141 if (arg1) (arg1)->m_pItem = arg2;
27142
27143 Py_INCREF(Py_None); resultobj = Py_None;
27144 return resultobj;
27145 fail:
27146 return NULL;
27147 }
27148
27149
27150 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27151 PyObject *resultobj;
27152 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27153 void *result;
27154 PyObject * obj0 = 0 ;
27155 char *kwnames[] = {
27156 (char *) "self", NULL
27157 };
27158
27159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27161 if (SWIG_arg_fail(1)) SWIG_fail;
27162 result = (void *) ((arg1)->m_pItem);
27163
27164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27165 return resultobj;
27166 fail:
27167 return NULL;
27168 }
27169
27170
27171 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27172 PyObject *obj;
27173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27174 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27175 Py_INCREF(obj);
27176 return Py_BuildValue((char *)"");
27177 }
27178 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27179 PyObject *resultobj;
27180 PyObject *arg1 = (PyObject *) NULL ;
27181 wxPyTreeItemData *result;
27182 PyObject * obj0 = 0 ;
27183 char *kwnames[] = {
27184 (char *) "obj", NULL
27185 };
27186
27187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27188 if (obj0) {
27189 arg1 = obj0;
27190 }
27191 {
27192 PyThreadState* __tstate = wxPyBeginAllowThreads();
27193 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27194
27195 wxPyEndAllowThreads(__tstate);
27196 if (PyErr_Occurred()) SWIG_fail;
27197 }
27198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27199 return resultobj;
27200 fail:
27201 return NULL;
27202 }
27203
27204
27205 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27206 PyObject *resultobj;
27207 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27208 PyObject *result;
27209 PyObject * obj0 = 0 ;
27210 char *kwnames[] = {
27211 (char *) "self", NULL
27212 };
27213
27214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
27215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27216 if (SWIG_arg_fail(1)) SWIG_fail;
27217 {
27218 PyThreadState* __tstate = wxPyBeginAllowThreads();
27219 result = (PyObject *)(arg1)->GetData();
27220
27221 wxPyEndAllowThreads(__tstate);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 resultobj = result;
27225 return resultobj;
27226 fail:
27227 return NULL;
27228 }
27229
27230
27231 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27232 PyObject *resultobj;
27233 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27234 PyObject *arg2 = (PyObject *) 0 ;
27235 PyObject * obj0 = 0 ;
27236 PyObject * obj1 = 0 ;
27237 char *kwnames[] = {
27238 (char *) "self",(char *) "obj", NULL
27239 };
27240
27241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27243 if (SWIG_arg_fail(1)) SWIG_fail;
27244 arg2 = obj1;
27245 {
27246 PyThreadState* __tstate = wxPyBeginAllowThreads();
27247 (arg1)->SetData(arg2);
27248
27249 wxPyEndAllowThreads(__tstate);
27250 if (PyErr_Occurred()) SWIG_fail;
27251 }
27252 Py_INCREF(Py_None); resultobj = Py_None;
27253 return resultobj;
27254 fail:
27255 return NULL;
27256 }
27257
27258
27259 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27260 PyObject *resultobj;
27261 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27262 wxTreeItemId *result;
27263 PyObject * obj0 = 0 ;
27264 char *kwnames[] = {
27265 (char *) "self", NULL
27266 };
27267
27268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27270 if (SWIG_arg_fail(1)) SWIG_fail;
27271 {
27272 PyThreadState* __tstate = wxPyBeginAllowThreads();
27273 {
27274 wxTreeItemId const &_result_ref = (arg1)->GetId();
27275 result = (wxTreeItemId *) &_result_ref;
27276 }
27277
27278 wxPyEndAllowThreads(__tstate);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 }
27281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27282 return resultobj;
27283 fail:
27284 return NULL;
27285 }
27286
27287
27288 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27289 PyObject *resultobj;
27290 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27291 wxTreeItemId *arg2 = 0 ;
27292 PyObject * obj0 = 0 ;
27293 PyObject * obj1 = 0 ;
27294 char *kwnames[] = {
27295 (char *) "self",(char *) "id", NULL
27296 };
27297
27298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27300 if (SWIG_arg_fail(1)) SWIG_fail;
27301 {
27302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27303 if (SWIG_arg_fail(2)) SWIG_fail;
27304 if (arg2 == NULL) {
27305 SWIG_null_ref("wxTreeItemId");
27306 }
27307 if (SWIG_arg_fail(2)) SWIG_fail;
27308 }
27309 {
27310 PyThreadState* __tstate = wxPyBeginAllowThreads();
27311 (arg1)->SetId((wxTreeItemId const &)*arg2);
27312
27313 wxPyEndAllowThreads(__tstate);
27314 if (PyErr_Occurred()) SWIG_fail;
27315 }
27316 Py_INCREF(Py_None); resultobj = Py_None;
27317 return resultobj;
27318 fail:
27319 return NULL;
27320 }
27321
27322
27323 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27324 PyObject *resultobj;
27325 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27326 PyObject * obj0 = 0 ;
27327 char *kwnames[] = {
27328 (char *) "self", NULL
27329 };
27330
27331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27333 if (SWIG_arg_fail(1)) SWIG_fail;
27334 {
27335 PyThreadState* __tstate = wxPyBeginAllowThreads();
27336 wxPyTreeItemData_Destroy(arg1);
27337
27338 wxPyEndAllowThreads(__tstate);
27339 if (PyErr_Occurred()) SWIG_fail;
27340 }
27341 Py_INCREF(Py_None); resultobj = Py_None;
27342 return resultobj;
27343 fail:
27344 return NULL;
27345 }
27346
27347
27348 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27349 PyObject *obj;
27350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27351 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27352 Py_INCREF(obj);
27353 return Py_BuildValue((char *)"");
27354 }
27355 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27356 PyObject *resultobj;
27357 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27358 int arg2 = (int) 0 ;
27359 wxTreeEvent *result;
27360 PyObject * obj0 = 0 ;
27361 PyObject * obj1 = 0 ;
27362 char *kwnames[] = {
27363 (char *) "commandType",(char *) "id", NULL
27364 };
27365
27366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27367 if (obj0) {
27368 {
27369 arg1 = (wxEventType)(SWIG_As_int(obj0));
27370 if (SWIG_arg_fail(1)) SWIG_fail;
27371 }
27372 }
27373 if (obj1) {
27374 {
27375 arg2 = (int)(SWIG_As_int(obj1));
27376 if (SWIG_arg_fail(2)) SWIG_fail;
27377 }
27378 }
27379 {
27380 PyThreadState* __tstate = wxPyBeginAllowThreads();
27381 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27382
27383 wxPyEndAllowThreads(__tstate);
27384 if (PyErr_Occurred()) SWIG_fail;
27385 }
27386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27387 return resultobj;
27388 fail:
27389 return NULL;
27390 }
27391
27392
27393 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27394 PyObject *resultobj;
27395 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27396 wxTreeItemId result;
27397 PyObject * obj0 = 0 ;
27398 char *kwnames[] = {
27399 (char *) "self", NULL
27400 };
27401
27402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27404 if (SWIG_arg_fail(1)) SWIG_fail;
27405 {
27406 PyThreadState* __tstate = wxPyBeginAllowThreads();
27407 result = ((wxTreeEvent const *)arg1)->GetItem();
27408
27409 wxPyEndAllowThreads(__tstate);
27410 if (PyErr_Occurred()) SWIG_fail;
27411 }
27412 {
27413 wxTreeItemId * resultptr;
27414 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27416 }
27417 return resultobj;
27418 fail:
27419 return NULL;
27420 }
27421
27422
27423 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27424 PyObject *resultobj;
27425 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27426 wxTreeItemId *arg2 = 0 ;
27427 PyObject * obj0 = 0 ;
27428 PyObject * obj1 = 0 ;
27429 char *kwnames[] = {
27430 (char *) "self",(char *) "item", NULL
27431 };
27432
27433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27435 if (SWIG_arg_fail(1)) SWIG_fail;
27436 {
27437 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27438 if (SWIG_arg_fail(2)) SWIG_fail;
27439 if (arg2 == NULL) {
27440 SWIG_null_ref("wxTreeItemId");
27441 }
27442 if (SWIG_arg_fail(2)) SWIG_fail;
27443 }
27444 {
27445 PyThreadState* __tstate = wxPyBeginAllowThreads();
27446 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27447
27448 wxPyEndAllowThreads(__tstate);
27449 if (PyErr_Occurred()) SWIG_fail;
27450 }
27451 Py_INCREF(Py_None); resultobj = Py_None;
27452 return resultobj;
27453 fail:
27454 return NULL;
27455 }
27456
27457
27458 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27459 PyObject *resultobj;
27460 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27461 wxTreeItemId result;
27462 PyObject * obj0 = 0 ;
27463 char *kwnames[] = {
27464 (char *) "self", NULL
27465 };
27466
27467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27469 if (SWIG_arg_fail(1)) SWIG_fail;
27470 {
27471 PyThreadState* __tstate = wxPyBeginAllowThreads();
27472 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27473
27474 wxPyEndAllowThreads(__tstate);
27475 if (PyErr_Occurred()) SWIG_fail;
27476 }
27477 {
27478 wxTreeItemId * resultptr;
27479 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27481 }
27482 return resultobj;
27483 fail:
27484 return NULL;
27485 }
27486
27487
27488 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27489 PyObject *resultobj;
27490 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27491 wxTreeItemId *arg2 = 0 ;
27492 PyObject * obj0 = 0 ;
27493 PyObject * obj1 = 0 ;
27494 char *kwnames[] = {
27495 (char *) "self",(char *) "item", NULL
27496 };
27497
27498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27500 if (SWIG_arg_fail(1)) SWIG_fail;
27501 {
27502 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27503 if (SWIG_arg_fail(2)) SWIG_fail;
27504 if (arg2 == NULL) {
27505 SWIG_null_ref("wxTreeItemId");
27506 }
27507 if (SWIG_arg_fail(2)) SWIG_fail;
27508 }
27509 {
27510 PyThreadState* __tstate = wxPyBeginAllowThreads();
27511 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27512
27513 wxPyEndAllowThreads(__tstate);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 Py_INCREF(Py_None); resultobj = Py_None;
27517 return resultobj;
27518 fail:
27519 return NULL;
27520 }
27521
27522
27523 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27524 PyObject *resultobj;
27525 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27526 wxPoint result;
27527 PyObject * obj0 = 0 ;
27528 char *kwnames[] = {
27529 (char *) "self", NULL
27530 };
27531
27532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27534 if (SWIG_arg_fail(1)) SWIG_fail;
27535 {
27536 PyThreadState* __tstate = wxPyBeginAllowThreads();
27537 result = ((wxTreeEvent const *)arg1)->GetPoint();
27538
27539 wxPyEndAllowThreads(__tstate);
27540 if (PyErr_Occurred()) SWIG_fail;
27541 }
27542 {
27543 wxPoint * resultptr;
27544 resultptr = new wxPoint((wxPoint &)(result));
27545 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27546 }
27547 return resultobj;
27548 fail:
27549 return NULL;
27550 }
27551
27552
27553 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27554 PyObject *resultobj;
27555 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27556 wxPoint *arg2 = 0 ;
27557 wxPoint temp2 ;
27558 PyObject * obj0 = 0 ;
27559 PyObject * obj1 = 0 ;
27560 char *kwnames[] = {
27561 (char *) "self",(char *) "pt", NULL
27562 };
27563
27564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27566 if (SWIG_arg_fail(1)) SWIG_fail;
27567 {
27568 arg2 = &temp2;
27569 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27570 }
27571 {
27572 PyThreadState* __tstate = wxPyBeginAllowThreads();
27573 (arg1)->SetPoint((wxPoint const &)*arg2);
27574
27575 wxPyEndAllowThreads(__tstate);
27576 if (PyErr_Occurred()) SWIG_fail;
27577 }
27578 Py_INCREF(Py_None); resultobj = Py_None;
27579 return resultobj;
27580 fail:
27581 return NULL;
27582 }
27583
27584
27585 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27586 PyObject *resultobj;
27587 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27588 wxKeyEvent *result;
27589 PyObject * obj0 = 0 ;
27590 char *kwnames[] = {
27591 (char *) "self", NULL
27592 };
27593
27594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27596 if (SWIG_arg_fail(1)) SWIG_fail;
27597 {
27598 PyThreadState* __tstate = wxPyBeginAllowThreads();
27599 {
27600 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27601 result = (wxKeyEvent *) &_result_ref;
27602 }
27603
27604 wxPyEndAllowThreads(__tstate);
27605 if (PyErr_Occurred()) SWIG_fail;
27606 }
27607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27608 return resultobj;
27609 fail:
27610 return NULL;
27611 }
27612
27613
27614 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27615 PyObject *resultobj;
27616 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27617 int result;
27618 PyObject * obj0 = 0 ;
27619 char *kwnames[] = {
27620 (char *) "self", NULL
27621 };
27622
27623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27625 if (SWIG_arg_fail(1)) SWIG_fail;
27626 {
27627 PyThreadState* __tstate = wxPyBeginAllowThreads();
27628 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27629
27630 wxPyEndAllowThreads(__tstate);
27631 if (PyErr_Occurred()) SWIG_fail;
27632 }
27633 {
27634 resultobj = SWIG_From_int((int)(result));
27635 }
27636 return resultobj;
27637 fail:
27638 return NULL;
27639 }
27640
27641
27642 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27643 PyObject *resultobj;
27644 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27645 wxKeyEvent *arg2 = 0 ;
27646 PyObject * obj0 = 0 ;
27647 PyObject * obj1 = 0 ;
27648 char *kwnames[] = {
27649 (char *) "self",(char *) "evt", NULL
27650 };
27651
27652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
27653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27654 if (SWIG_arg_fail(1)) SWIG_fail;
27655 {
27656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27657 if (SWIG_arg_fail(2)) SWIG_fail;
27658 if (arg2 == NULL) {
27659 SWIG_null_ref("wxKeyEvent");
27660 }
27661 if (SWIG_arg_fail(2)) SWIG_fail;
27662 }
27663 {
27664 PyThreadState* __tstate = wxPyBeginAllowThreads();
27665 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27666
27667 wxPyEndAllowThreads(__tstate);
27668 if (PyErr_Occurred()) SWIG_fail;
27669 }
27670 Py_INCREF(Py_None); resultobj = Py_None;
27671 return resultobj;
27672 fail:
27673 return NULL;
27674 }
27675
27676
27677 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27678 PyObject *resultobj;
27679 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27680 wxString *result;
27681 PyObject * obj0 = 0 ;
27682 char *kwnames[] = {
27683 (char *) "self", NULL
27684 };
27685
27686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
27687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27688 if (SWIG_arg_fail(1)) SWIG_fail;
27689 {
27690 PyThreadState* __tstate = wxPyBeginAllowThreads();
27691 {
27692 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27693 result = (wxString *) &_result_ref;
27694 }
27695
27696 wxPyEndAllowThreads(__tstate);
27697 if (PyErr_Occurred()) SWIG_fail;
27698 }
27699 {
27700 #if wxUSE_UNICODE
27701 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27702 #else
27703 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27704 #endif
27705 }
27706 return resultobj;
27707 fail:
27708 return NULL;
27709 }
27710
27711
27712 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27713 PyObject *resultobj;
27714 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27715 wxString *arg2 = 0 ;
27716 bool temp2 = false ;
27717 PyObject * obj0 = 0 ;
27718 PyObject * obj1 = 0 ;
27719 char *kwnames[] = {
27720 (char *) "self",(char *) "label", NULL
27721 };
27722
27723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27725 if (SWIG_arg_fail(1)) SWIG_fail;
27726 {
27727 arg2 = wxString_in_helper(obj1);
27728 if (arg2 == NULL) SWIG_fail;
27729 temp2 = true;
27730 }
27731 {
27732 PyThreadState* __tstate = wxPyBeginAllowThreads();
27733 (arg1)->SetLabel((wxString const &)*arg2);
27734
27735 wxPyEndAllowThreads(__tstate);
27736 if (PyErr_Occurred()) SWIG_fail;
27737 }
27738 Py_INCREF(Py_None); resultobj = Py_None;
27739 {
27740 if (temp2)
27741 delete arg2;
27742 }
27743 return resultobj;
27744 fail:
27745 {
27746 if (temp2)
27747 delete arg2;
27748 }
27749 return NULL;
27750 }
27751
27752
27753 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27754 PyObject *resultobj;
27755 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27756 bool result;
27757 PyObject * obj0 = 0 ;
27758 char *kwnames[] = {
27759 (char *) "self", NULL
27760 };
27761
27762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27764 if (SWIG_arg_fail(1)) SWIG_fail;
27765 {
27766 PyThreadState* __tstate = wxPyBeginAllowThreads();
27767 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27768
27769 wxPyEndAllowThreads(__tstate);
27770 if (PyErr_Occurred()) SWIG_fail;
27771 }
27772 {
27773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27774 }
27775 return resultobj;
27776 fail:
27777 return NULL;
27778 }
27779
27780
27781 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27782 PyObject *resultobj;
27783 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27784 bool arg2 ;
27785 PyObject * obj0 = 0 ;
27786 PyObject * obj1 = 0 ;
27787 char *kwnames[] = {
27788 (char *) "self",(char *) "editCancelled", NULL
27789 };
27790
27791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
27792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27793 if (SWIG_arg_fail(1)) SWIG_fail;
27794 {
27795 arg2 = (bool)(SWIG_As_bool(obj1));
27796 if (SWIG_arg_fail(2)) SWIG_fail;
27797 }
27798 {
27799 PyThreadState* __tstate = wxPyBeginAllowThreads();
27800 (arg1)->SetEditCanceled(arg2);
27801
27802 wxPyEndAllowThreads(__tstate);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 }
27805 Py_INCREF(Py_None); resultobj = Py_None;
27806 return resultobj;
27807 fail:
27808 return NULL;
27809 }
27810
27811
27812 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27813 PyObject *resultobj;
27814 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27815 wxString *arg2 = 0 ;
27816 bool temp2 = false ;
27817 PyObject * obj0 = 0 ;
27818 PyObject * obj1 = 0 ;
27819 char *kwnames[] = {
27820 (char *) "self",(char *) "toolTip", NULL
27821 };
27822
27823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail;
27826 {
27827 arg2 = wxString_in_helper(obj1);
27828 if (arg2 == NULL) SWIG_fail;
27829 temp2 = true;
27830 }
27831 {
27832 PyThreadState* __tstate = wxPyBeginAllowThreads();
27833 (arg1)->SetToolTip((wxString const &)*arg2);
27834
27835 wxPyEndAllowThreads(__tstate);
27836 if (PyErr_Occurred()) SWIG_fail;
27837 }
27838 Py_INCREF(Py_None); resultobj = Py_None;
27839 {
27840 if (temp2)
27841 delete arg2;
27842 }
27843 return resultobj;
27844 fail:
27845 {
27846 if (temp2)
27847 delete arg2;
27848 }
27849 return NULL;
27850 }
27851
27852
27853 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
27854 PyObject *obj;
27855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27856 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27857 Py_INCREF(obj);
27858 return Py_BuildValue((char *)"");
27859 }
27860 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27861 PyObject *resultobj;
27862 wxWindow *arg1 = (wxWindow *) 0 ;
27863 int arg2 = (int) -1 ;
27864 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27865 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27866 wxSize const &arg4_defvalue = wxDefaultSize ;
27867 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27868 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27869 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27870 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27871 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27872 wxString *arg7 = (wxString *) &arg7_defvalue ;
27873 wxPyTreeCtrl *result;
27874 wxPoint temp3 ;
27875 wxSize temp4 ;
27876 bool temp7 = false ;
27877 PyObject * obj0 = 0 ;
27878 PyObject * obj1 = 0 ;
27879 PyObject * obj2 = 0 ;
27880 PyObject * obj3 = 0 ;
27881 PyObject * obj4 = 0 ;
27882 PyObject * obj5 = 0 ;
27883 PyObject * obj6 = 0 ;
27884 char *kwnames[] = {
27885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27886 };
27887
27888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27890 if (SWIG_arg_fail(1)) SWIG_fail;
27891 if (obj1) {
27892 {
27893 arg2 = (int)(SWIG_As_int(obj1));
27894 if (SWIG_arg_fail(2)) SWIG_fail;
27895 }
27896 }
27897 if (obj2) {
27898 {
27899 arg3 = &temp3;
27900 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27901 }
27902 }
27903 if (obj3) {
27904 {
27905 arg4 = &temp4;
27906 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27907 }
27908 }
27909 if (obj4) {
27910 {
27911 arg5 = (long)(SWIG_As_long(obj4));
27912 if (SWIG_arg_fail(5)) SWIG_fail;
27913 }
27914 }
27915 if (obj5) {
27916 {
27917 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27918 if (SWIG_arg_fail(6)) SWIG_fail;
27919 if (arg6 == NULL) {
27920 SWIG_null_ref("wxValidator");
27921 }
27922 if (SWIG_arg_fail(6)) SWIG_fail;
27923 }
27924 }
27925 if (obj6) {
27926 {
27927 arg7 = wxString_in_helper(obj6);
27928 if (arg7 == NULL) SWIG_fail;
27929 temp7 = true;
27930 }
27931 }
27932 {
27933 if (!wxPyCheckForApp()) SWIG_fail;
27934 PyThreadState* __tstate = wxPyBeginAllowThreads();
27935 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27936
27937 wxPyEndAllowThreads(__tstate);
27938 if (PyErr_Occurred()) SWIG_fail;
27939 }
27940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
27941 {
27942 if (temp7)
27943 delete arg7;
27944 }
27945 return resultobj;
27946 fail:
27947 {
27948 if (temp7)
27949 delete arg7;
27950 }
27951 return NULL;
27952 }
27953
27954
27955 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27956 PyObject *resultobj;
27957 wxPyTreeCtrl *result;
27958 char *kwnames[] = {
27959 NULL
27960 };
27961
27962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
27963 {
27964 if (!wxPyCheckForApp()) SWIG_fail;
27965 PyThreadState* __tstate = wxPyBeginAllowThreads();
27966 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
27967
27968 wxPyEndAllowThreads(__tstate);
27969 if (PyErr_Occurred()) SWIG_fail;
27970 }
27971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
27972 return resultobj;
27973 fail:
27974 return NULL;
27975 }
27976
27977
27978 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
27979 PyObject *resultobj;
27980 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27981 wxWindow *arg2 = (wxWindow *) 0 ;
27982 int arg3 = (int) -1 ;
27983 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27984 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27985 wxSize const &arg5_defvalue = wxDefaultSize ;
27986 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27987 long arg6 = (long) wxTR_DEFAULT_STYLE ;
27988 wxValidator const &arg7_defvalue = wxDefaultValidator ;
27989 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
27990 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
27991 wxString *arg8 = (wxString *) &arg8_defvalue ;
27992 bool result;
27993 wxPoint temp4 ;
27994 wxSize temp5 ;
27995 bool temp8 = false ;
27996 PyObject * obj0 = 0 ;
27997 PyObject * obj1 = 0 ;
27998 PyObject * obj2 = 0 ;
27999 PyObject * obj3 = 0 ;
28000 PyObject * obj4 = 0 ;
28001 PyObject * obj5 = 0 ;
28002 PyObject * obj6 = 0 ;
28003 PyObject * obj7 = 0 ;
28004 char *kwnames[] = {
28005 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28006 };
28007
28008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28010 if (SWIG_arg_fail(1)) SWIG_fail;
28011 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28012 if (SWIG_arg_fail(2)) SWIG_fail;
28013 if (obj2) {
28014 {
28015 arg3 = (int)(SWIG_As_int(obj2));
28016 if (SWIG_arg_fail(3)) SWIG_fail;
28017 }
28018 }
28019 if (obj3) {
28020 {
28021 arg4 = &temp4;
28022 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28023 }
28024 }
28025 if (obj4) {
28026 {
28027 arg5 = &temp5;
28028 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28029 }
28030 }
28031 if (obj5) {
28032 {
28033 arg6 = (long)(SWIG_As_long(obj5));
28034 if (SWIG_arg_fail(6)) SWIG_fail;
28035 }
28036 }
28037 if (obj6) {
28038 {
28039 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28040 if (SWIG_arg_fail(7)) SWIG_fail;
28041 if (arg7 == NULL) {
28042 SWIG_null_ref("wxValidator");
28043 }
28044 if (SWIG_arg_fail(7)) SWIG_fail;
28045 }
28046 }
28047 if (obj7) {
28048 {
28049 arg8 = wxString_in_helper(obj7);
28050 if (arg8 == NULL) SWIG_fail;
28051 temp8 = true;
28052 }
28053 }
28054 {
28055 PyThreadState* __tstate = wxPyBeginAllowThreads();
28056 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28057
28058 wxPyEndAllowThreads(__tstate);
28059 if (PyErr_Occurred()) SWIG_fail;
28060 }
28061 {
28062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28063 }
28064 {
28065 if (temp8)
28066 delete arg8;
28067 }
28068 return resultobj;
28069 fail:
28070 {
28071 if (temp8)
28072 delete arg8;
28073 }
28074 return NULL;
28075 }
28076
28077
28078 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28079 PyObject *resultobj;
28080 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28081 PyObject *arg2 = (PyObject *) 0 ;
28082 PyObject *arg3 = (PyObject *) 0 ;
28083 PyObject * obj0 = 0 ;
28084 PyObject * obj1 = 0 ;
28085 PyObject * obj2 = 0 ;
28086 char *kwnames[] = {
28087 (char *) "self",(char *) "self",(char *) "_class", NULL
28088 };
28089
28090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28092 if (SWIG_arg_fail(1)) SWIG_fail;
28093 arg2 = obj1;
28094 arg3 = obj2;
28095 {
28096 PyThreadState* __tstate = wxPyBeginAllowThreads();
28097 (arg1)->_setCallbackInfo(arg2,arg3);
28098
28099 wxPyEndAllowThreads(__tstate);
28100 if (PyErr_Occurred()) SWIG_fail;
28101 }
28102 Py_INCREF(Py_None); resultobj = Py_None;
28103 return resultobj;
28104 fail:
28105 return NULL;
28106 }
28107
28108
28109 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28110 PyObject *resultobj;
28111 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28112 size_t result;
28113 PyObject * obj0 = 0 ;
28114 char *kwnames[] = {
28115 (char *) "self", NULL
28116 };
28117
28118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28120 if (SWIG_arg_fail(1)) SWIG_fail;
28121 {
28122 PyThreadState* __tstate = wxPyBeginAllowThreads();
28123 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28124
28125 wxPyEndAllowThreads(__tstate);
28126 if (PyErr_Occurred()) SWIG_fail;
28127 }
28128 {
28129 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28130 }
28131 return resultobj;
28132 fail:
28133 return NULL;
28134 }
28135
28136
28137 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28138 PyObject *resultobj;
28139 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28140 unsigned int result;
28141 PyObject * obj0 = 0 ;
28142 char *kwnames[] = {
28143 (char *) "self", NULL
28144 };
28145
28146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28148 if (SWIG_arg_fail(1)) SWIG_fail;
28149 {
28150 PyThreadState* __tstate = wxPyBeginAllowThreads();
28151 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28152
28153 wxPyEndAllowThreads(__tstate);
28154 if (PyErr_Occurred()) SWIG_fail;
28155 }
28156 {
28157 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28158 }
28159 return resultobj;
28160 fail:
28161 return NULL;
28162 }
28163
28164
28165 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28166 PyObject *resultobj;
28167 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28168 unsigned int arg2 ;
28169 PyObject * obj0 = 0 ;
28170 PyObject * obj1 = 0 ;
28171 char *kwnames[] = {
28172 (char *) "self",(char *) "indent", NULL
28173 };
28174
28175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28177 if (SWIG_arg_fail(1)) SWIG_fail;
28178 {
28179 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28180 if (SWIG_arg_fail(2)) SWIG_fail;
28181 }
28182 {
28183 PyThreadState* __tstate = wxPyBeginAllowThreads();
28184 (arg1)->SetIndent(arg2);
28185
28186 wxPyEndAllowThreads(__tstate);
28187 if (PyErr_Occurred()) SWIG_fail;
28188 }
28189 Py_INCREF(Py_None); resultobj = Py_None;
28190 return resultobj;
28191 fail:
28192 return NULL;
28193 }
28194
28195
28196 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28197 PyObject *resultobj;
28198 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28199 unsigned int result;
28200 PyObject * obj0 = 0 ;
28201 char *kwnames[] = {
28202 (char *) "self", NULL
28203 };
28204
28205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28207 if (SWIG_arg_fail(1)) SWIG_fail;
28208 {
28209 PyThreadState* __tstate = wxPyBeginAllowThreads();
28210 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28211
28212 wxPyEndAllowThreads(__tstate);
28213 if (PyErr_Occurred()) SWIG_fail;
28214 }
28215 {
28216 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28217 }
28218 return resultobj;
28219 fail:
28220 return NULL;
28221 }
28222
28223
28224 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28225 PyObject *resultobj;
28226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28227 unsigned int arg2 ;
28228 PyObject * obj0 = 0 ;
28229 PyObject * obj1 = 0 ;
28230 char *kwnames[] = {
28231 (char *) "self",(char *) "spacing", NULL
28232 };
28233
28234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
28235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28236 if (SWIG_arg_fail(1)) SWIG_fail;
28237 {
28238 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28239 if (SWIG_arg_fail(2)) SWIG_fail;
28240 }
28241 {
28242 PyThreadState* __tstate = wxPyBeginAllowThreads();
28243 (arg1)->SetSpacing(arg2);
28244
28245 wxPyEndAllowThreads(__tstate);
28246 if (PyErr_Occurred()) SWIG_fail;
28247 }
28248 Py_INCREF(Py_None); resultobj = Py_None;
28249 return resultobj;
28250 fail:
28251 return NULL;
28252 }
28253
28254
28255 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28256 PyObject *resultobj;
28257 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28258 wxImageList *result;
28259 PyObject * obj0 = 0 ;
28260 char *kwnames[] = {
28261 (char *) "self", NULL
28262 };
28263
28264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28266 if (SWIG_arg_fail(1)) SWIG_fail;
28267 {
28268 PyThreadState* __tstate = wxPyBeginAllowThreads();
28269 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28270
28271 wxPyEndAllowThreads(__tstate);
28272 if (PyErr_Occurred()) SWIG_fail;
28273 }
28274 {
28275 resultobj = wxPyMake_wxObject(result, 0);
28276 }
28277 return resultobj;
28278 fail:
28279 return NULL;
28280 }
28281
28282
28283 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28284 PyObject *resultobj;
28285 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28286 wxImageList *result;
28287 PyObject * obj0 = 0 ;
28288 char *kwnames[] = {
28289 (char *) "self", NULL
28290 };
28291
28292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28294 if (SWIG_arg_fail(1)) SWIG_fail;
28295 {
28296 PyThreadState* __tstate = wxPyBeginAllowThreads();
28297 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28298
28299 wxPyEndAllowThreads(__tstate);
28300 if (PyErr_Occurred()) SWIG_fail;
28301 }
28302 {
28303 resultobj = wxPyMake_wxObject(result, 0);
28304 }
28305 return resultobj;
28306 fail:
28307 return NULL;
28308 }
28309
28310
28311 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28312 PyObject *resultobj;
28313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28314 wxImageList *arg2 = (wxImageList *) 0 ;
28315 PyObject * obj0 = 0 ;
28316 PyObject * obj1 = 0 ;
28317 char *kwnames[] = {
28318 (char *) "self",(char *) "imageList", NULL
28319 };
28320
28321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28323 if (SWIG_arg_fail(1)) SWIG_fail;
28324 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28325 if (SWIG_arg_fail(2)) SWIG_fail;
28326 {
28327 PyThreadState* __tstate = wxPyBeginAllowThreads();
28328 (arg1)->SetImageList(arg2);
28329
28330 wxPyEndAllowThreads(__tstate);
28331 if (PyErr_Occurred()) SWIG_fail;
28332 }
28333 Py_INCREF(Py_None); resultobj = Py_None;
28334 return resultobj;
28335 fail:
28336 return NULL;
28337 }
28338
28339
28340 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28341 PyObject *resultobj;
28342 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28343 wxImageList *arg2 = (wxImageList *) 0 ;
28344 PyObject * obj0 = 0 ;
28345 PyObject * obj1 = 0 ;
28346 char *kwnames[] = {
28347 (char *) "self",(char *) "imageList", NULL
28348 };
28349
28350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28352 if (SWIG_arg_fail(1)) SWIG_fail;
28353 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28354 if (SWIG_arg_fail(2)) SWIG_fail;
28355 {
28356 PyThreadState* __tstate = wxPyBeginAllowThreads();
28357 (arg1)->SetStateImageList(arg2);
28358
28359 wxPyEndAllowThreads(__tstate);
28360 if (PyErr_Occurred()) SWIG_fail;
28361 }
28362 Py_INCREF(Py_None); resultobj = Py_None;
28363 return resultobj;
28364 fail:
28365 return NULL;
28366 }
28367
28368
28369 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28370 PyObject *resultobj;
28371 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28372 wxImageList *arg2 = (wxImageList *) 0 ;
28373 PyObject * obj0 = 0 ;
28374 PyObject * obj1 = 0 ;
28375 char *kwnames[] = {
28376 (char *) "self",(char *) "imageList", NULL
28377 };
28378
28379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28381 if (SWIG_arg_fail(1)) SWIG_fail;
28382 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28383 if (SWIG_arg_fail(2)) SWIG_fail;
28384 {
28385 PyThreadState* __tstate = wxPyBeginAllowThreads();
28386 (arg1)->AssignImageList(arg2);
28387
28388 wxPyEndAllowThreads(__tstate);
28389 if (PyErr_Occurred()) SWIG_fail;
28390 }
28391 Py_INCREF(Py_None); resultobj = Py_None;
28392 return resultobj;
28393 fail:
28394 return NULL;
28395 }
28396
28397
28398 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28399 PyObject *resultobj;
28400 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28401 wxImageList *arg2 = (wxImageList *) 0 ;
28402 PyObject * obj0 = 0 ;
28403 PyObject * obj1 = 0 ;
28404 char *kwnames[] = {
28405 (char *) "self",(char *) "imageList", NULL
28406 };
28407
28408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
28409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28410 if (SWIG_arg_fail(1)) SWIG_fail;
28411 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28412 if (SWIG_arg_fail(2)) SWIG_fail;
28413 {
28414 PyThreadState* __tstate = wxPyBeginAllowThreads();
28415 (arg1)->AssignStateImageList(arg2);
28416
28417 wxPyEndAllowThreads(__tstate);
28418 if (PyErr_Occurred()) SWIG_fail;
28419 }
28420 Py_INCREF(Py_None); resultobj = Py_None;
28421 return resultobj;
28422 fail:
28423 return NULL;
28424 }
28425
28426
28427 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28428 PyObject *resultobj;
28429 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28430 wxTreeItemId *arg2 = 0 ;
28431 wxString result;
28432 PyObject * obj0 = 0 ;
28433 PyObject * obj1 = 0 ;
28434 char *kwnames[] = {
28435 (char *) "self",(char *) "item", NULL
28436 };
28437
28438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28440 if (SWIG_arg_fail(1)) SWIG_fail;
28441 {
28442 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28443 if (SWIG_arg_fail(2)) SWIG_fail;
28444 if (arg2 == NULL) {
28445 SWIG_null_ref("wxTreeItemId");
28446 }
28447 if (SWIG_arg_fail(2)) SWIG_fail;
28448 }
28449 {
28450 PyThreadState* __tstate = wxPyBeginAllowThreads();
28451 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28452
28453 wxPyEndAllowThreads(__tstate);
28454 if (PyErr_Occurred()) SWIG_fail;
28455 }
28456 {
28457 #if wxUSE_UNICODE
28458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28459 #else
28460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28461 #endif
28462 }
28463 return resultobj;
28464 fail:
28465 return NULL;
28466 }
28467
28468
28469 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28470 PyObject *resultobj;
28471 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28472 wxTreeItemId *arg2 = 0 ;
28473 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28474 int result;
28475 PyObject * obj0 = 0 ;
28476 PyObject * obj1 = 0 ;
28477 PyObject * obj2 = 0 ;
28478 char *kwnames[] = {
28479 (char *) "self",(char *) "item",(char *) "which", NULL
28480 };
28481
28482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28484 if (SWIG_arg_fail(1)) SWIG_fail;
28485 {
28486 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28487 if (SWIG_arg_fail(2)) SWIG_fail;
28488 if (arg2 == NULL) {
28489 SWIG_null_ref("wxTreeItemId");
28490 }
28491 if (SWIG_arg_fail(2)) SWIG_fail;
28492 }
28493 if (obj2) {
28494 {
28495 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28496 if (SWIG_arg_fail(3)) SWIG_fail;
28497 }
28498 }
28499 {
28500 PyThreadState* __tstate = wxPyBeginAllowThreads();
28501 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28502
28503 wxPyEndAllowThreads(__tstate);
28504 if (PyErr_Occurred()) SWIG_fail;
28505 }
28506 {
28507 resultobj = SWIG_From_int((int)(result));
28508 }
28509 return resultobj;
28510 fail:
28511 return NULL;
28512 }
28513
28514
28515 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28516 PyObject *resultobj;
28517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28518 wxTreeItemId *arg2 = 0 ;
28519 wxPyTreeItemData *result;
28520 PyObject * obj0 = 0 ;
28521 PyObject * obj1 = 0 ;
28522 char *kwnames[] = {
28523 (char *) "self",(char *) "item", NULL
28524 };
28525
28526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28528 if (SWIG_arg_fail(1)) SWIG_fail;
28529 {
28530 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28531 if (SWIG_arg_fail(2)) SWIG_fail;
28532 if (arg2 == NULL) {
28533 SWIG_null_ref("wxTreeItemId");
28534 }
28535 if (SWIG_arg_fail(2)) SWIG_fail;
28536 }
28537 {
28538 PyThreadState* __tstate = wxPyBeginAllowThreads();
28539 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28540
28541 wxPyEndAllowThreads(__tstate);
28542 if (PyErr_Occurred()) SWIG_fail;
28543 }
28544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28545 return resultobj;
28546 fail:
28547 return NULL;
28548 }
28549
28550
28551 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28552 PyObject *resultobj;
28553 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28554 wxTreeItemId *arg2 = 0 ;
28555 PyObject *result;
28556 PyObject * obj0 = 0 ;
28557 PyObject * obj1 = 0 ;
28558 char *kwnames[] = {
28559 (char *) "self",(char *) "item", NULL
28560 };
28561
28562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28564 if (SWIG_arg_fail(1)) SWIG_fail;
28565 {
28566 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28567 if (SWIG_arg_fail(2)) SWIG_fail;
28568 if (arg2 == NULL) {
28569 SWIG_null_ref("wxTreeItemId");
28570 }
28571 if (SWIG_arg_fail(2)) SWIG_fail;
28572 }
28573 {
28574 PyThreadState* __tstate = wxPyBeginAllowThreads();
28575 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28576
28577 wxPyEndAllowThreads(__tstate);
28578 if (PyErr_Occurred()) SWIG_fail;
28579 }
28580 resultobj = result;
28581 return resultobj;
28582 fail:
28583 return NULL;
28584 }
28585
28586
28587 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28588 PyObject *resultobj;
28589 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28590 wxTreeItemId *arg2 = 0 ;
28591 wxColour result;
28592 PyObject * obj0 = 0 ;
28593 PyObject * obj1 = 0 ;
28594 char *kwnames[] = {
28595 (char *) "self",(char *) "item", NULL
28596 };
28597
28598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
28599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28600 if (SWIG_arg_fail(1)) SWIG_fail;
28601 {
28602 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28603 if (SWIG_arg_fail(2)) SWIG_fail;
28604 if (arg2 == NULL) {
28605 SWIG_null_ref("wxTreeItemId");
28606 }
28607 if (SWIG_arg_fail(2)) SWIG_fail;
28608 }
28609 {
28610 PyThreadState* __tstate = wxPyBeginAllowThreads();
28611 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28612
28613 wxPyEndAllowThreads(__tstate);
28614 if (PyErr_Occurred()) SWIG_fail;
28615 }
28616 {
28617 wxColour * resultptr;
28618 resultptr = new wxColour((wxColour &)(result));
28619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28620 }
28621 return resultobj;
28622 fail:
28623 return NULL;
28624 }
28625
28626
28627 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28628 PyObject *resultobj;
28629 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28630 wxTreeItemId *arg2 = 0 ;
28631 wxColour result;
28632 PyObject * obj0 = 0 ;
28633 PyObject * obj1 = 0 ;
28634 char *kwnames[] = {
28635 (char *) "self",(char *) "item", NULL
28636 };
28637
28638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28640 if (SWIG_arg_fail(1)) SWIG_fail;
28641 {
28642 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28643 if (SWIG_arg_fail(2)) SWIG_fail;
28644 if (arg2 == NULL) {
28645 SWIG_null_ref("wxTreeItemId");
28646 }
28647 if (SWIG_arg_fail(2)) SWIG_fail;
28648 }
28649 {
28650 PyThreadState* __tstate = wxPyBeginAllowThreads();
28651 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28652
28653 wxPyEndAllowThreads(__tstate);
28654 if (PyErr_Occurred()) SWIG_fail;
28655 }
28656 {
28657 wxColour * resultptr;
28658 resultptr = new wxColour((wxColour &)(result));
28659 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28660 }
28661 return resultobj;
28662 fail:
28663 return NULL;
28664 }
28665
28666
28667 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28668 PyObject *resultobj;
28669 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28670 wxTreeItemId *arg2 = 0 ;
28671 wxFont result;
28672 PyObject * obj0 = 0 ;
28673 PyObject * obj1 = 0 ;
28674 char *kwnames[] = {
28675 (char *) "self",(char *) "item", NULL
28676 };
28677
28678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28680 if (SWIG_arg_fail(1)) SWIG_fail;
28681 {
28682 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28683 if (SWIG_arg_fail(2)) SWIG_fail;
28684 if (arg2 == NULL) {
28685 SWIG_null_ref("wxTreeItemId");
28686 }
28687 if (SWIG_arg_fail(2)) SWIG_fail;
28688 }
28689 {
28690 PyThreadState* __tstate = wxPyBeginAllowThreads();
28691 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28692
28693 wxPyEndAllowThreads(__tstate);
28694 if (PyErr_Occurred()) SWIG_fail;
28695 }
28696 {
28697 wxFont * resultptr;
28698 resultptr = new wxFont((wxFont &)(result));
28699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28700 }
28701 return resultobj;
28702 fail:
28703 return NULL;
28704 }
28705
28706
28707 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28708 PyObject *resultobj;
28709 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28710 wxTreeItemId *arg2 = 0 ;
28711 wxString *arg3 = 0 ;
28712 bool temp3 = false ;
28713 PyObject * obj0 = 0 ;
28714 PyObject * obj1 = 0 ;
28715 PyObject * obj2 = 0 ;
28716 char *kwnames[] = {
28717 (char *) "self",(char *) "item",(char *) "text", NULL
28718 };
28719
28720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
28721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28722 if (SWIG_arg_fail(1)) SWIG_fail;
28723 {
28724 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28725 if (SWIG_arg_fail(2)) SWIG_fail;
28726 if (arg2 == NULL) {
28727 SWIG_null_ref("wxTreeItemId");
28728 }
28729 if (SWIG_arg_fail(2)) SWIG_fail;
28730 }
28731 {
28732 arg3 = wxString_in_helper(obj2);
28733 if (arg3 == NULL) SWIG_fail;
28734 temp3 = true;
28735 }
28736 {
28737 PyThreadState* __tstate = wxPyBeginAllowThreads();
28738 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28739
28740 wxPyEndAllowThreads(__tstate);
28741 if (PyErr_Occurred()) SWIG_fail;
28742 }
28743 Py_INCREF(Py_None); resultobj = Py_None;
28744 {
28745 if (temp3)
28746 delete arg3;
28747 }
28748 return resultobj;
28749 fail:
28750 {
28751 if (temp3)
28752 delete arg3;
28753 }
28754 return NULL;
28755 }
28756
28757
28758 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28759 PyObject *resultobj;
28760 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28761 wxTreeItemId *arg2 = 0 ;
28762 int arg3 ;
28763 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28764 PyObject * obj0 = 0 ;
28765 PyObject * obj1 = 0 ;
28766 PyObject * obj2 = 0 ;
28767 PyObject * obj3 = 0 ;
28768 char *kwnames[] = {
28769 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28770 };
28771
28772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28774 if (SWIG_arg_fail(1)) SWIG_fail;
28775 {
28776 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28777 if (SWIG_arg_fail(2)) SWIG_fail;
28778 if (arg2 == NULL) {
28779 SWIG_null_ref("wxTreeItemId");
28780 }
28781 if (SWIG_arg_fail(2)) SWIG_fail;
28782 }
28783 {
28784 arg3 = (int)(SWIG_As_int(obj2));
28785 if (SWIG_arg_fail(3)) SWIG_fail;
28786 }
28787 if (obj3) {
28788 {
28789 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28790 if (SWIG_arg_fail(4)) SWIG_fail;
28791 }
28792 }
28793 {
28794 PyThreadState* __tstate = wxPyBeginAllowThreads();
28795 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28796
28797 wxPyEndAllowThreads(__tstate);
28798 if (PyErr_Occurred()) SWIG_fail;
28799 }
28800 Py_INCREF(Py_None); resultobj = Py_None;
28801 return resultobj;
28802 fail:
28803 return NULL;
28804 }
28805
28806
28807 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28808 PyObject *resultobj;
28809 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28810 wxTreeItemId *arg2 = 0 ;
28811 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28812 PyObject * obj0 = 0 ;
28813 PyObject * obj1 = 0 ;
28814 PyObject * obj2 = 0 ;
28815 char *kwnames[] = {
28816 (char *) "self",(char *) "item",(char *) "data", NULL
28817 };
28818
28819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28821 if (SWIG_arg_fail(1)) SWIG_fail;
28822 {
28823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28824 if (SWIG_arg_fail(2)) SWIG_fail;
28825 if (arg2 == NULL) {
28826 SWIG_null_ref("wxTreeItemId");
28827 }
28828 if (SWIG_arg_fail(2)) SWIG_fail;
28829 }
28830 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28831 if (SWIG_arg_fail(3)) SWIG_fail;
28832 {
28833 PyThreadState* __tstate = wxPyBeginAllowThreads();
28834 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28835
28836 wxPyEndAllowThreads(__tstate);
28837 if (PyErr_Occurred()) SWIG_fail;
28838 }
28839 Py_INCREF(Py_None); resultobj = Py_None;
28840 return resultobj;
28841 fail:
28842 return NULL;
28843 }
28844
28845
28846 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28847 PyObject *resultobj;
28848 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28849 wxTreeItemId *arg2 = 0 ;
28850 PyObject *arg3 = (PyObject *) 0 ;
28851 PyObject * obj0 = 0 ;
28852 PyObject * obj1 = 0 ;
28853 PyObject * obj2 = 0 ;
28854 char *kwnames[] = {
28855 (char *) "self",(char *) "item",(char *) "obj", NULL
28856 };
28857
28858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28860 if (SWIG_arg_fail(1)) SWIG_fail;
28861 {
28862 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28863 if (SWIG_arg_fail(2)) SWIG_fail;
28864 if (arg2 == NULL) {
28865 SWIG_null_ref("wxTreeItemId");
28866 }
28867 if (SWIG_arg_fail(2)) SWIG_fail;
28868 }
28869 arg3 = obj2;
28870 {
28871 PyThreadState* __tstate = wxPyBeginAllowThreads();
28872 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28873
28874 wxPyEndAllowThreads(__tstate);
28875 if (PyErr_Occurred()) SWIG_fail;
28876 }
28877 Py_INCREF(Py_None); resultobj = Py_None;
28878 return resultobj;
28879 fail:
28880 return NULL;
28881 }
28882
28883
28884 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
28885 PyObject *resultobj;
28886 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28887 wxTreeItemId *arg2 = 0 ;
28888 bool arg3 = (bool) true ;
28889 PyObject * obj0 = 0 ;
28890 PyObject * obj1 = 0 ;
28891 PyObject * obj2 = 0 ;
28892 char *kwnames[] = {
28893 (char *) "self",(char *) "item",(char *) "has", NULL
28894 };
28895
28896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
28897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28898 if (SWIG_arg_fail(1)) SWIG_fail;
28899 {
28900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28901 if (SWIG_arg_fail(2)) SWIG_fail;
28902 if (arg2 == NULL) {
28903 SWIG_null_ref("wxTreeItemId");
28904 }
28905 if (SWIG_arg_fail(2)) SWIG_fail;
28906 }
28907 if (obj2) {
28908 {
28909 arg3 = (bool)(SWIG_As_bool(obj2));
28910 if (SWIG_arg_fail(3)) SWIG_fail;
28911 }
28912 }
28913 {
28914 PyThreadState* __tstate = wxPyBeginAllowThreads();
28915 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28916
28917 wxPyEndAllowThreads(__tstate);
28918 if (PyErr_Occurred()) SWIG_fail;
28919 }
28920 Py_INCREF(Py_None); resultobj = Py_None;
28921 return resultobj;
28922 fail:
28923 return NULL;
28924 }
28925
28926
28927 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
28928 PyObject *resultobj;
28929 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28930 wxTreeItemId *arg2 = 0 ;
28931 bool arg3 = (bool) true ;
28932 PyObject * obj0 = 0 ;
28933 PyObject * obj1 = 0 ;
28934 PyObject * obj2 = 0 ;
28935 char *kwnames[] = {
28936 (char *) "self",(char *) "item",(char *) "bold", NULL
28937 };
28938
28939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
28940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28941 if (SWIG_arg_fail(1)) SWIG_fail;
28942 {
28943 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28944 if (SWIG_arg_fail(2)) SWIG_fail;
28945 if (arg2 == NULL) {
28946 SWIG_null_ref("wxTreeItemId");
28947 }
28948 if (SWIG_arg_fail(2)) SWIG_fail;
28949 }
28950 if (obj2) {
28951 {
28952 arg3 = (bool)(SWIG_As_bool(obj2));
28953 if (SWIG_arg_fail(3)) SWIG_fail;
28954 }
28955 }
28956 {
28957 PyThreadState* __tstate = wxPyBeginAllowThreads();
28958 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
28959
28960 wxPyEndAllowThreads(__tstate);
28961 if (PyErr_Occurred()) SWIG_fail;
28962 }
28963 Py_INCREF(Py_None); resultobj = Py_None;
28964 return resultobj;
28965 fail:
28966 return NULL;
28967 }
28968
28969
28970 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
28971 PyObject *resultobj;
28972 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28973 wxTreeItemId *arg2 = 0 ;
28974 bool arg3 = (bool) true ;
28975 PyObject * obj0 = 0 ;
28976 PyObject * obj1 = 0 ;
28977 PyObject * obj2 = 0 ;
28978 char *kwnames[] = {
28979 (char *) "self",(char *) "item",(char *) "highlight", NULL
28980 };
28981
28982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
28983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28984 if (SWIG_arg_fail(1)) SWIG_fail;
28985 {
28986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28987 if (SWIG_arg_fail(2)) SWIG_fail;
28988 if (arg2 == NULL) {
28989 SWIG_null_ref("wxTreeItemId");
28990 }
28991 if (SWIG_arg_fail(2)) SWIG_fail;
28992 }
28993 if (obj2) {
28994 {
28995 arg3 = (bool)(SWIG_As_bool(obj2));
28996 if (SWIG_arg_fail(3)) SWIG_fail;
28997 }
28998 }
28999 {
29000 PyThreadState* __tstate = wxPyBeginAllowThreads();
29001 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29002
29003 wxPyEndAllowThreads(__tstate);
29004 if (PyErr_Occurred()) SWIG_fail;
29005 }
29006 Py_INCREF(Py_None); resultobj = Py_None;
29007 return resultobj;
29008 fail:
29009 return NULL;
29010 }
29011
29012
29013 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29014 PyObject *resultobj;
29015 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29016 wxTreeItemId *arg2 = 0 ;
29017 wxColour *arg3 = 0 ;
29018 wxColour temp3 ;
29019 PyObject * obj0 = 0 ;
29020 PyObject * obj1 = 0 ;
29021 PyObject * obj2 = 0 ;
29022 char *kwnames[] = {
29023 (char *) "self",(char *) "item",(char *) "col", NULL
29024 };
29025
29026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29028 if (SWIG_arg_fail(1)) SWIG_fail;
29029 {
29030 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29031 if (SWIG_arg_fail(2)) SWIG_fail;
29032 if (arg2 == NULL) {
29033 SWIG_null_ref("wxTreeItemId");
29034 }
29035 if (SWIG_arg_fail(2)) SWIG_fail;
29036 }
29037 {
29038 arg3 = &temp3;
29039 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29040 }
29041 {
29042 PyThreadState* __tstate = wxPyBeginAllowThreads();
29043 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29044
29045 wxPyEndAllowThreads(__tstate);
29046 if (PyErr_Occurred()) SWIG_fail;
29047 }
29048 Py_INCREF(Py_None); resultobj = Py_None;
29049 return resultobj;
29050 fail:
29051 return NULL;
29052 }
29053
29054
29055 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29056 PyObject *resultobj;
29057 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29058 wxTreeItemId *arg2 = 0 ;
29059 wxColour *arg3 = 0 ;
29060 wxColour temp3 ;
29061 PyObject * obj0 = 0 ;
29062 PyObject * obj1 = 0 ;
29063 PyObject * obj2 = 0 ;
29064 char *kwnames[] = {
29065 (char *) "self",(char *) "item",(char *) "col", NULL
29066 };
29067
29068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29070 if (SWIG_arg_fail(1)) SWIG_fail;
29071 {
29072 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29073 if (SWIG_arg_fail(2)) SWIG_fail;
29074 if (arg2 == NULL) {
29075 SWIG_null_ref("wxTreeItemId");
29076 }
29077 if (SWIG_arg_fail(2)) SWIG_fail;
29078 }
29079 {
29080 arg3 = &temp3;
29081 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29082 }
29083 {
29084 PyThreadState* __tstate = wxPyBeginAllowThreads();
29085 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29086
29087 wxPyEndAllowThreads(__tstate);
29088 if (PyErr_Occurred()) SWIG_fail;
29089 }
29090 Py_INCREF(Py_None); resultobj = Py_None;
29091 return resultobj;
29092 fail:
29093 return NULL;
29094 }
29095
29096
29097 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29098 PyObject *resultobj;
29099 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29100 wxTreeItemId *arg2 = 0 ;
29101 wxFont *arg3 = 0 ;
29102 PyObject * obj0 = 0 ;
29103 PyObject * obj1 = 0 ;
29104 PyObject * obj2 = 0 ;
29105 char *kwnames[] = {
29106 (char *) "self",(char *) "item",(char *) "font", NULL
29107 };
29108
29109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29111 if (SWIG_arg_fail(1)) SWIG_fail;
29112 {
29113 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29114 if (SWIG_arg_fail(2)) SWIG_fail;
29115 if (arg2 == NULL) {
29116 SWIG_null_ref("wxTreeItemId");
29117 }
29118 if (SWIG_arg_fail(2)) SWIG_fail;
29119 }
29120 {
29121 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29122 if (SWIG_arg_fail(3)) SWIG_fail;
29123 if (arg3 == NULL) {
29124 SWIG_null_ref("wxFont");
29125 }
29126 if (SWIG_arg_fail(3)) SWIG_fail;
29127 }
29128 {
29129 PyThreadState* __tstate = wxPyBeginAllowThreads();
29130 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29131
29132 wxPyEndAllowThreads(__tstate);
29133 if (PyErr_Occurred()) SWIG_fail;
29134 }
29135 Py_INCREF(Py_None); resultobj = Py_None;
29136 return resultobj;
29137 fail:
29138 return NULL;
29139 }
29140
29141
29142 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29143 PyObject *resultobj;
29144 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29145 wxTreeItemId *arg2 = 0 ;
29146 bool result;
29147 PyObject * obj0 = 0 ;
29148 PyObject * obj1 = 0 ;
29149 char *kwnames[] = {
29150 (char *) "self",(char *) "item", NULL
29151 };
29152
29153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
29154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29155 if (SWIG_arg_fail(1)) SWIG_fail;
29156 {
29157 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29158 if (SWIG_arg_fail(2)) SWIG_fail;
29159 if (arg2 == NULL) {
29160 SWIG_null_ref("wxTreeItemId");
29161 }
29162 if (SWIG_arg_fail(2)) SWIG_fail;
29163 }
29164 {
29165 PyThreadState* __tstate = wxPyBeginAllowThreads();
29166 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29167
29168 wxPyEndAllowThreads(__tstate);
29169 if (PyErr_Occurred()) SWIG_fail;
29170 }
29171 {
29172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29173 }
29174 return resultobj;
29175 fail:
29176 return NULL;
29177 }
29178
29179
29180 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29181 PyObject *resultobj;
29182 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29183 wxTreeItemId *arg2 = 0 ;
29184 bool result;
29185 PyObject * obj0 = 0 ;
29186 PyObject * obj1 = 0 ;
29187 char *kwnames[] = {
29188 (char *) "self",(char *) "item", NULL
29189 };
29190
29191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
29192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29193 if (SWIG_arg_fail(1)) SWIG_fail;
29194 {
29195 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29196 if (SWIG_arg_fail(2)) SWIG_fail;
29197 if (arg2 == NULL) {
29198 SWIG_null_ref("wxTreeItemId");
29199 }
29200 if (SWIG_arg_fail(2)) SWIG_fail;
29201 }
29202 {
29203 PyThreadState* __tstate = wxPyBeginAllowThreads();
29204 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29205
29206 wxPyEndAllowThreads(__tstate);
29207 if (PyErr_Occurred()) SWIG_fail;
29208 }
29209 {
29210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29211 }
29212 return resultobj;
29213 fail:
29214 return NULL;
29215 }
29216
29217
29218 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
29219 PyObject *resultobj;
29220 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29221 wxTreeItemId *arg2 = 0 ;
29222 bool result;
29223 PyObject * obj0 = 0 ;
29224 PyObject * obj1 = 0 ;
29225 char *kwnames[] = {
29226 (char *) "self",(char *) "item", NULL
29227 };
29228
29229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
29230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29231 if (SWIG_arg_fail(1)) SWIG_fail;
29232 {
29233 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29234 if (SWIG_arg_fail(2)) SWIG_fail;
29235 if (arg2 == NULL) {
29236 SWIG_null_ref("wxTreeItemId");
29237 }
29238 if (SWIG_arg_fail(2)) SWIG_fail;
29239 }
29240 {
29241 PyThreadState* __tstate = wxPyBeginAllowThreads();
29242 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29243
29244 wxPyEndAllowThreads(__tstate);
29245 if (PyErr_Occurred()) SWIG_fail;
29246 }
29247 {
29248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29249 }
29250 return resultobj;
29251 fail:
29252 return NULL;
29253 }
29254
29255
29256 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
29257 PyObject *resultobj;
29258 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29259 wxTreeItemId *arg2 = 0 ;
29260 bool result;
29261 PyObject * obj0 = 0 ;
29262 PyObject * obj1 = 0 ;
29263 char *kwnames[] = {
29264 (char *) "self",(char *) "item", NULL
29265 };
29266
29267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
29268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29269 if (SWIG_arg_fail(1)) SWIG_fail;
29270 {
29271 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29272 if (SWIG_arg_fail(2)) SWIG_fail;
29273 if (arg2 == NULL) {
29274 SWIG_null_ref("wxTreeItemId");
29275 }
29276 if (SWIG_arg_fail(2)) SWIG_fail;
29277 }
29278 {
29279 PyThreadState* __tstate = wxPyBeginAllowThreads();
29280 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29281
29282 wxPyEndAllowThreads(__tstate);
29283 if (PyErr_Occurred()) SWIG_fail;
29284 }
29285 {
29286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29287 }
29288 return resultobj;
29289 fail:
29290 return NULL;
29291 }
29292
29293
29294 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29295 PyObject *resultobj;
29296 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29297 wxTreeItemId *arg2 = 0 ;
29298 bool result;
29299 PyObject * obj0 = 0 ;
29300 PyObject * obj1 = 0 ;
29301 char *kwnames[] = {
29302 (char *) "self",(char *) "item", NULL
29303 };
29304
29305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29307 if (SWIG_arg_fail(1)) SWIG_fail;
29308 {
29309 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29310 if (SWIG_arg_fail(2)) SWIG_fail;
29311 if (arg2 == NULL) {
29312 SWIG_null_ref("wxTreeItemId");
29313 }
29314 if (SWIG_arg_fail(2)) SWIG_fail;
29315 }
29316 {
29317 PyThreadState* __tstate = wxPyBeginAllowThreads();
29318 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29319
29320 wxPyEndAllowThreads(__tstate);
29321 if (PyErr_Occurred()) SWIG_fail;
29322 }
29323 {
29324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29325 }
29326 return resultobj;
29327 fail:
29328 return NULL;
29329 }
29330
29331
29332 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29333 PyObject *resultobj;
29334 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29335 wxTreeItemId *arg2 = 0 ;
29336 bool arg3 = (bool) true ;
29337 size_t result;
29338 PyObject * obj0 = 0 ;
29339 PyObject * obj1 = 0 ;
29340 PyObject * obj2 = 0 ;
29341 char *kwnames[] = {
29342 (char *) "self",(char *) "item",(char *) "recursively", NULL
29343 };
29344
29345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29347 if (SWIG_arg_fail(1)) SWIG_fail;
29348 {
29349 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29350 if (SWIG_arg_fail(2)) SWIG_fail;
29351 if (arg2 == NULL) {
29352 SWIG_null_ref("wxTreeItemId");
29353 }
29354 if (SWIG_arg_fail(2)) SWIG_fail;
29355 }
29356 if (obj2) {
29357 {
29358 arg3 = (bool)(SWIG_As_bool(obj2));
29359 if (SWIG_arg_fail(3)) SWIG_fail;
29360 }
29361 }
29362 {
29363 PyThreadState* __tstate = wxPyBeginAllowThreads();
29364 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29365
29366 wxPyEndAllowThreads(__tstate);
29367 if (PyErr_Occurred()) SWIG_fail;
29368 }
29369 {
29370 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29371 }
29372 return resultobj;
29373 fail:
29374 return NULL;
29375 }
29376
29377
29378 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29379 PyObject *resultobj;
29380 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29381 wxTreeItemId result;
29382 PyObject * obj0 = 0 ;
29383 char *kwnames[] = {
29384 (char *) "self", NULL
29385 };
29386
29387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29389 if (SWIG_arg_fail(1)) SWIG_fail;
29390 {
29391 PyThreadState* __tstate = wxPyBeginAllowThreads();
29392 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29393
29394 wxPyEndAllowThreads(__tstate);
29395 if (PyErr_Occurred()) SWIG_fail;
29396 }
29397 {
29398 wxTreeItemId * resultptr;
29399 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29401 }
29402 return resultobj;
29403 fail:
29404 return NULL;
29405 }
29406
29407
29408 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29409 PyObject *resultobj;
29410 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29411 wxTreeItemId result;
29412 PyObject * obj0 = 0 ;
29413 char *kwnames[] = {
29414 (char *) "self", NULL
29415 };
29416
29417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29419 if (SWIG_arg_fail(1)) SWIG_fail;
29420 {
29421 PyThreadState* __tstate = wxPyBeginAllowThreads();
29422 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29423
29424 wxPyEndAllowThreads(__tstate);
29425 if (PyErr_Occurred()) SWIG_fail;
29426 }
29427 {
29428 wxTreeItemId * resultptr;
29429 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29431 }
29432 return resultobj;
29433 fail:
29434 return NULL;
29435 }
29436
29437
29438 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29439 PyObject *resultobj;
29440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29441 PyObject *result;
29442 PyObject * obj0 = 0 ;
29443 char *kwnames[] = {
29444 (char *) "self", NULL
29445 };
29446
29447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29449 if (SWIG_arg_fail(1)) SWIG_fail;
29450 {
29451 PyThreadState* __tstate = wxPyBeginAllowThreads();
29452 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29453
29454 wxPyEndAllowThreads(__tstate);
29455 if (PyErr_Occurred()) SWIG_fail;
29456 }
29457 resultobj = result;
29458 return resultobj;
29459 fail:
29460 return NULL;
29461 }
29462
29463
29464 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29465 PyObject *resultobj;
29466 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29467 wxTreeItemId *arg2 = 0 ;
29468 wxTreeItemId result;
29469 PyObject * obj0 = 0 ;
29470 PyObject * obj1 = 0 ;
29471 char *kwnames[] = {
29472 (char *) "self",(char *) "item", NULL
29473 };
29474
29475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29477 if (SWIG_arg_fail(1)) SWIG_fail;
29478 {
29479 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29480 if (SWIG_arg_fail(2)) SWIG_fail;
29481 if (arg2 == NULL) {
29482 SWIG_null_ref("wxTreeItemId");
29483 }
29484 if (SWIG_arg_fail(2)) SWIG_fail;
29485 }
29486 {
29487 PyThreadState* __tstate = wxPyBeginAllowThreads();
29488 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29489
29490 wxPyEndAllowThreads(__tstate);
29491 if (PyErr_Occurred()) SWIG_fail;
29492 }
29493 {
29494 wxTreeItemId * resultptr;
29495 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29496 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29497 }
29498 return resultobj;
29499 fail:
29500 return NULL;
29501 }
29502
29503
29504 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29505 PyObject *resultobj;
29506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29507 wxTreeItemId *arg2 = 0 ;
29508 PyObject *result;
29509 PyObject * obj0 = 0 ;
29510 PyObject * obj1 = 0 ;
29511 char *kwnames[] = {
29512 (char *) "self",(char *) "item", NULL
29513 };
29514
29515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
29516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29517 if (SWIG_arg_fail(1)) SWIG_fail;
29518 {
29519 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29520 if (SWIG_arg_fail(2)) SWIG_fail;
29521 if (arg2 == NULL) {
29522 SWIG_null_ref("wxTreeItemId");
29523 }
29524 if (SWIG_arg_fail(2)) SWIG_fail;
29525 }
29526 {
29527 PyThreadState* __tstate = wxPyBeginAllowThreads();
29528 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29529
29530 wxPyEndAllowThreads(__tstate);
29531 if (PyErr_Occurred()) SWIG_fail;
29532 }
29533 resultobj = result;
29534 return resultobj;
29535 fail:
29536 return NULL;
29537 }
29538
29539
29540 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29541 PyObject *resultobj;
29542 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29543 wxTreeItemId *arg2 = 0 ;
29544 void *arg3 = (void *) 0 ;
29545 PyObject *result;
29546 PyObject * obj0 = 0 ;
29547 PyObject * obj1 = 0 ;
29548 PyObject * obj2 = 0 ;
29549 char *kwnames[] = {
29550 (char *) "self",(char *) "item",(char *) "cookie", NULL
29551 };
29552
29553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29555 if (SWIG_arg_fail(1)) SWIG_fail;
29556 {
29557 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29558 if (SWIG_arg_fail(2)) SWIG_fail;
29559 if (arg2 == NULL) {
29560 SWIG_null_ref("wxTreeItemId");
29561 }
29562 if (SWIG_arg_fail(2)) SWIG_fail;
29563 }
29564 {
29565 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29566 SWIG_arg_fail(3);SWIG_fail;
29567 }
29568 }
29569 {
29570 PyThreadState* __tstate = wxPyBeginAllowThreads();
29571 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29572
29573 wxPyEndAllowThreads(__tstate);
29574 if (PyErr_Occurred()) SWIG_fail;
29575 }
29576 resultobj = result;
29577 return resultobj;
29578 fail:
29579 return NULL;
29580 }
29581
29582
29583 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29584 PyObject *resultobj;
29585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29586 wxTreeItemId *arg2 = 0 ;
29587 wxTreeItemId result;
29588 PyObject * obj0 = 0 ;
29589 PyObject * obj1 = 0 ;
29590 char *kwnames[] = {
29591 (char *) "self",(char *) "item", NULL
29592 };
29593
29594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29596 if (SWIG_arg_fail(1)) SWIG_fail;
29597 {
29598 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29599 if (SWIG_arg_fail(2)) SWIG_fail;
29600 if (arg2 == NULL) {
29601 SWIG_null_ref("wxTreeItemId");
29602 }
29603 if (SWIG_arg_fail(2)) SWIG_fail;
29604 }
29605 {
29606 PyThreadState* __tstate = wxPyBeginAllowThreads();
29607 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29608
29609 wxPyEndAllowThreads(__tstate);
29610 if (PyErr_Occurred()) SWIG_fail;
29611 }
29612 {
29613 wxTreeItemId * resultptr;
29614 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29615 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29616 }
29617 return resultobj;
29618 fail:
29619 return NULL;
29620 }
29621
29622
29623 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29624 PyObject *resultobj;
29625 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29626 wxTreeItemId *arg2 = 0 ;
29627 wxTreeItemId result;
29628 PyObject * obj0 = 0 ;
29629 PyObject * obj1 = 0 ;
29630 char *kwnames[] = {
29631 (char *) "self",(char *) "item", NULL
29632 };
29633
29634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29636 if (SWIG_arg_fail(1)) SWIG_fail;
29637 {
29638 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29639 if (SWIG_arg_fail(2)) SWIG_fail;
29640 if (arg2 == NULL) {
29641 SWIG_null_ref("wxTreeItemId");
29642 }
29643 if (SWIG_arg_fail(2)) SWIG_fail;
29644 }
29645 {
29646 PyThreadState* __tstate = wxPyBeginAllowThreads();
29647 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29648
29649 wxPyEndAllowThreads(__tstate);
29650 if (PyErr_Occurred()) SWIG_fail;
29651 }
29652 {
29653 wxTreeItemId * resultptr;
29654 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29656 }
29657 return resultobj;
29658 fail:
29659 return NULL;
29660 }
29661
29662
29663 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29664 PyObject *resultobj;
29665 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29666 wxTreeItemId *arg2 = 0 ;
29667 wxTreeItemId result;
29668 PyObject * obj0 = 0 ;
29669 PyObject * obj1 = 0 ;
29670 char *kwnames[] = {
29671 (char *) "self",(char *) "item", NULL
29672 };
29673
29674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
29675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29676 if (SWIG_arg_fail(1)) SWIG_fail;
29677 {
29678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29679 if (SWIG_arg_fail(2)) SWIG_fail;
29680 if (arg2 == NULL) {
29681 SWIG_null_ref("wxTreeItemId");
29682 }
29683 if (SWIG_arg_fail(2)) SWIG_fail;
29684 }
29685 {
29686 PyThreadState* __tstate = wxPyBeginAllowThreads();
29687 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29688
29689 wxPyEndAllowThreads(__tstate);
29690 if (PyErr_Occurred()) SWIG_fail;
29691 }
29692 {
29693 wxTreeItemId * resultptr;
29694 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29696 }
29697 return resultobj;
29698 fail:
29699 return NULL;
29700 }
29701
29702
29703 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29704 PyObject *resultobj;
29705 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29706 wxTreeItemId result;
29707 PyObject * obj0 = 0 ;
29708 char *kwnames[] = {
29709 (char *) "self", NULL
29710 };
29711
29712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29714 if (SWIG_arg_fail(1)) SWIG_fail;
29715 {
29716 PyThreadState* __tstate = wxPyBeginAllowThreads();
29717 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29718
29719 wxPyEndAllowThreads(__tstate);
29720 if (PyErr_Occurred()) SWIG_fail;
29721 }
29722 {
29723 wxTreeItemId * resultptr;
29724 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29726 }
29727 return resultobj;
29728 fail:
29729 return NULL;
29730 }
29731
29732
29733 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29734 PyObject *resultobj;
29735 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29736 wxTreeItemId *arg2 = 0 ;
29737 wxTreeItemId result;
29738 PyObject * obj0 = 0 ;
29739 PyObject * obj1 = 0 ;
29740 char *kwnames[] = {
29741 (char *) "self",(char *) "item", NULL
29742 };
29743
29744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29746 if (SWIG_arg_fail(1)) SWIG_fail;
29747 {
29748 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29749 if (SWIG_arg_fail(2)) SWIG_fail;
29750 if (arg2 == NULL) {
29751 SWIG_null_ref("wxTreeItemId");
29752 }
29753 if (SWIG_arg_fail(2)) SWIG_fail;
29754 }
29755 {
29756 PyThreadState* __tstate = wxPyBeginAllowThreads();
29757 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29758
29759 wxPyEndAllowThreads(__tstate);
29760 if (PyErr_Occurred()) SWIG_fail;
29761 }
29762 {
29763 wxTreeItemId * resultptr;
29764 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29766 }
29767 return resultobj;
29768 fail:
29769 return NULL;
29770 }
29771
29772
29773 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29774 PyObject *resultobj;
29775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29776 wxTreeItemId *arg2 = 0 ;
29777 wxTreeItemId result;
29778 PyObject * obj0 = 0 ;
29779 PyObject * obj1 = 0 ;
29780 char *kwnames[] = {
29781 (char *) "self",(char *) "item", NULL
29782 };
29783
29784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
29785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29786 if (SWIG_arg_fail(1)) SWIG_fail;
29787 {
29788 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29789 if (SWIG_arg_fail(2)) SWIG_fail;
29790 if (arg2 == NULL) {
29791 SWIG_null_ref("wxTreeItemId");
29792 }
29793 if (SWIG_arg_fail(2)) SWIG_fail;
29794 }
29795 {
29796 PyThreadState* __tstate = wxPyBeginAllowThreads();
29797 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29798
29799 wxPyEndAllowThreads(__tstate);
29800 if (PyErr_Occurred()) SWIG_fail;
29801 }
29802 {
29803 wxTreeItemId * resultptr;
29804 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29805 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29806 }
29807 return resultobj;
29808 fail:
29809 return NULL;
29810 }
29811
29812
29813 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
29814 PyObject *resultobj;
29815 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29816 wxString *arg2 = 0 ;
29817 int arg3 = (int) -1 ;
29818 int arg4 = (int) -1 ;
29819 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29820 wxTreeItemId result;
29821 bool temp2 = false ;
29822 PyObject * obj0 = 0 ;
29823 PyObject * obj1 = 0 ;
29824 PyObject * obj2 = 0 ;
29825 PyObject * obj3 = 0 ;
29826 PyObject * obj4 = 0 ;
29827 char *kwnames[] = {
29828 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29829 };
29830
29831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29833 if (SWIG_arg_fail(1)) SWIG_fail;
29834 {
29835 arg2 = wxString_in_helper(obj1);
29836 if (arg2 == NULL) SWIG_fail;
29837 temp2 = true;
29838 }
29839 if (obj2) {
29840 {
29841 arg3 = (int)(SWIG_As_int(obj2));
29842 if (SWIG_arg_fail(3)) SWIG_fail;
29843 }
29844 }
29845 if (obj3) {
29846 {
29847 arg4 = (int)(SWIG_As_int(obj3));
29848 if (SWIG_arg_fail(4)) SWIG_fail;
29849 }
29850 }
29851 if (obj4) {
29852 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29853 if (SWIG_arg_fail(5)) SWIG_fail;
29854 }
29855 {
29856 PyThreadState* __tstate = wxPyBeginAllowThreads();
29857 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29858
29859 wxPyEndAllowThreads(__tstate);
29860 if (PyErr_Occurred()) SWIG_fail;
29861 }
29862 {
29863 wxTreeItemId * resultptr;
29864 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29865 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29866 }
29867 {
29868 if (temp2)
29869 delete arg2;
29870 }
29871 return resultobj;
29872 fail:
29873 {
29874 if (temp2)
29875 delete arg2;
29876 }
29877 return NULL;
29878 }
29879
29880
29881 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
29882 PyObject *resultobj;
29883 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29884 wxTreeItemId *arg2 = 0 ;
29885 wxString *arg3 = 0 ;
29886 int arg4 = (int) -1 ;
29887 int arg5 = (int) -1 ;
29888 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29889 wxTreeItemId result;
29890 bool temp3 = false ;
29891 PyObject * obj0 = 0 ;
29892 PyObject * obj1 = 0 ;
29893 PyObject * obj2 = 0 ;
29894 PyObject * obj3 = 0 ;
29895 PyObject * obj4 = 0 ;
29896 PyObject * obj5 = 0 ;
29897 char *kwnames[] = {
29898 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29899 };
29900
29901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29903 if (SWIG_arg_fail(1)) SWIG_fail;
29904 {
29905 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29906 if (SWIG_arg_fail(2)) SWIG_fail;
29907 if (arg2 == NULL) {
29908 SWIG_null_ref("wxTreeItemId");
29909 }
29910 if (SWIG_arg_fail(2)) SWIG_fail;
29911 }
29912 {
29913 arg3 = wxString_in_helper(obj2);
29914 if (arg3 == NULL) SWIG_fail;
29915 temp3 = true;
29916 }
29917 if (obj3) {
29918 {
29919 arg4 = (int)(SWIG_As_int(obj3));
29920 if (SWIG_arg_fail(4)) SWIG_fail;
29921 }
29922 }
29923 if (obj4) {
29924 {
29925 arg5 = (int)(SWIG_As_int(obj4));
29926 if (SWIG_arg_fail(5)) SWIG_fail;
29927 }
29928 }
29929 if (obj5) {
29930 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29931 if (SWIG_arg_fail(6)) SWIG_fail;
29932 }
29933 {
29934 PyThreadState* __tstate = wxPyBeginAllowThreads();
29935 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
29936
29937 wxPyEndAllowThreads(__tstate);
29938 if (PyErr_Occurred()) SWIG_fail;
29939 }
29940 {
29941 wxTreeItemId * resultptr;
29942 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29943 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29944 }
29945 {
29946 if (temp3)
29947 delete arg3;
29948 }
29949 return resultobj;
29950 fail:
29951 {
29952 if (temp3)
29953 delete arg3;
29954 }
29955 return NULL;
29956 }
29957
29958
29959 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
29960 PyObject *resultobj;
29961 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29962 wxTreeItemId *arg2 = 0 ;
29963 wxTreeItemId *arg3 = 0 ;
29964 wxString *arg4 = 0 ;
29965 int arg5 = (int) -1 ;
29966 int arg6 = (int) -1 ;
29967 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
29968 wxTreeItemId result;
29969 bool temp4 = false ;
29970 PyObject * obj0 = 0 ;
29971 PyObject * obj1 = 0 ;
29972 PyObject * obj2 = 0 ;
29973 PyObject * obj3 = 0 ;
29974 PyObject * obj4 = 0 ;
29975 PyObject * obj5 = 0 ;
29976 PyObject * obj6 = 0 ;
29977 char *kwnames[] = {
29978 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29979 };
29980
29981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29983 if (SWIG_arg_fail(1)) SWIG_fail;
29984 {
29985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29986 if (SWIG_arg_fail(2)) SWIG_fail;
29987 if (arg2 == NULL) {
29988 SWIG_null_ref("wxTreeItemId");
29989 }
29990 if (SWIG_arg_fail(2)) SWIG_fail;
29991 }
29992 {
29993 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29994 if (SWIG_arg_fail(3)) SWIG_fail;
29995 if (arg3 == NULL) {
29996 SWIG_null_ref("wxTreeItemId");
29997 }
29998 if (SWIG_arg_fail(3)) SWIG_fail;
29999 }
30000 {
30001 arg4 = wxString_in_helper(obj3);
30002 if (arg4 == NULL) SWIG_fail;
30003 temp4 = true;
30004 }
30005 if (obj4) {
30006 {
30007 arg5 = (int)(SWIG_As_int(obj4));
30008 if (SWIG_arg_fail(5)) SWIG_fail;
30009 }
30010 }
30011 if (obj5) {
30012 {
30013 arg6 = (int)(SWIG_As_int(obj5));
30014 if (SWIG_arg_fail(6)) SWIG_fail;
30015 }
30016 }
30017 if (obj6) {
30018 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30019 if (SWIG_arg_fail(7)) SWIG_fail;
30020 }
30021 {
30022 PyThreadState* __tstate = wxPyBeginAllowThreads();
30023 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30024
30025 wxPyEndAllowThreads(__tstate);
30026 if (PyErr_Occurred()) SWIG_fail;
30027 }
30028 {
30029 wxTreeItemId * resultptr;
30030 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30032 }
30033 {
30034 if (temp4)
30035 delete arg4;
30036 }
30037 return resultobj;
30038 fail:
30039 {
30040 if (temp4)
30041 delete arg4;
30042 }
30043 return NULL;
30044 }
30045
30046
30047 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
30048 PyObject *resultobj;
30049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30050 wxTreeItemId *arg2 = 0 ;
30051 size_t arg3 ;
30052 wxString *arg4 = 0 ;
30053 int arg5 = (int) -1 ;
30054 int arg6 = (int) -1 ;
30055 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30056 wxTreeItemId result;
30057 bool temp4 = false ;
30058 PyObject * obj0 = 0 ;
30059 PyObject * obj1 = 0 ;
30060 PyObject * obj2 = 0 ;
30061 PyObject * obj3 = 0 ;
30062 PyObject * obj4 = 0 ;
30063 PyObject * obj5 = 0 ;
30064 PyObject * obj6 = 0 ;
30065 char *kwnames[] = {
30066 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30067 };
30068
30069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30071 if (SWIG_arg_fail(1)) SWIG_fail;
30072 {
30073 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30074 if (SWIG_arg_fail(2)) SWIG_fail;
30075 if (arg2 == NULL) {
30076 SWIG_null_ref("wxTreeItemId");
30077 }
30078 if (SWIG_arg_fail(2)) SWIG_fail;
30079 }
30080 {
30081 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30082 if (SWIG_arg_fail(3)) SWIG_fail;
30083 }
30084 {
30085 arg4 = wxString_in_helper(obj3);
30086 if (arg4 == NULL) SWIG_fail;
30087 temp4 = true;
30088 }
30089 if (obj4) {
30090 {
30091 arg5 = (int)(SWIG_As_int(obj4));
30092 if (SWIG_arg_fail(5)) SWIG_fail;
30093 }
30094 }
30095 if (obj5) {
30096 {
30097 arg6 = (int)(SWIG_As_int(obj5));
30098 if (SWIG_arg_fail(6)) SWIG_fail;
30099 }
30100 }
30101 if (obj6) {
30102 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30103 if (SWIG_arg_fail(7)) SWIG_fail;
30104 }
30105 {
30106 PyThreadState* __tstate = wxPyBeginAllowThreads();
30107 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30108
30109 wxPyEndAllowThreads(__tstate);
30110 if (PyErr_Occurred()) SWIG_fail;
30111 }
30112 {
30113 wxTreeItemId * resultptr;
30114 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30115 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30116 }
30117 {
30118 if (temp4)
30119 delete arg4;
30120 }
30121 return resultobj;
30122 fail:
30123 {
30124 if (temp4)
30125 delete arg4;
30126 }
30127 return NULL;
30128 }
30129
30130
30131 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30132 PyObject *resultobj;
30133 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30134 wxTreeItemId *arg2 = 0 ;
30135 wxString *arg3 = 0 ;
30136 int arg4 = (int) -1 ;
30137 int arg5 = (int) -1 ;
30138 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30139 wxTreeItemId result;
30140 bool temp3 = false ;
30141 PyObject * obj0 = 0 ;
30142 PyObject * obj1 = 0 ;
30143 PyObject * obj2 = 0 ;
30144 PyObject * obj3 = 0 ;
30145 PyObject * obj4 = 0 ;
30146 PyObject * obj5 = 0 ;
30147 char *kwnames[] = {
30148 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30149 };
30150
30151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30153 if (SWIG_arg_fail(1)) SWIG_fail;
30154 {
30155 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30156 if (SWIG_arg_fail(2)) SWIG_fail;
30157 if (arg2 == NULL) {
30158 SWIG_null_ref("wxTreeItemId");
30159 }
30160 if (SWIG_arg_fail(2)) SWIG_fail;
30161 }
30162 {
30163 arg3 = wxString_in_helper(obj2);
30164 if (arg3 == NULL) SWIG_fail;
30165 temp3 = true;
30166 }
30167 if (obj3) {
30168 {
30169 arg4 = (int)(SWIG_As_int(obj3));
30170 if (SWIG_arg_fail(4)) SWIG_fail;
30171 }
30172 }
30173 if (obj4) {
30174 {
30175 arg5 = (int)(SWIG_As_int(obj4));
30176 if (SWIG_arg_fail(5)) SWIG_fail;
30177 }
30178 }
30179 if (obj5) {
30180 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30181 if (SWIG_arg_fail(6)) SWIG_fail;
30182 }
30183 {
30184 PyThreadState* __tstate = wxPyBeginAllowThreads();
30185 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30186
30187 wxPyEndAllowThreads(__tstate);
30188 if (PyErr_Occurred()) SWIG_fail;
30189 }
30190 {
30191 wxTreeItemId * resultptr;
30192 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30193 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30194 }
30195 {
30196 if (temp3)
30197 delete arg3;
30198 }
30199 return resultobj;
30200 fail:
30201 {
30202 if (temp3)
30203 delete arg3;
30204 }
30205 return NULL;
30206 }
30207
30208
30209 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30210 PyObject *resultobj;
30211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30212 wxTreeItemId *arg2 = 0 ;
30213 PyObject * obj0 = 0 ;
30214 PyObject * obj1 = 0 ;
30215 char *kwnames[] = {
30216 (char *) "self",(char *) "item", NULL
30217 };
30218
30219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30221 if (SWIG_arg_fail(1)) SWIG_fail;
30222 {
30223 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30224 if (SWIG_arg_fail(2)) SWIG_fail;
30225 if (arg2 == NULL) {
30226 SWIG_null_ref("wxTreeItemId");
30227 }
30228 if (SWIG_arg_fail(2)) SWIG_fail;
30229 }
30230 {
30231 PyThreadState* __tstate = wxPyBeginAllowThreads();
30232 (arg1)->Delete((wxTreeItemId const &)*arg2);
30233
30234 wxPyEndAllowThreads(__tstate);
30235 if (PyErr_Occurred()) SWIG_fail;
30236 }
30237 Py_INCREF(Py_None); resultobj = Py_None;
30238 return resultobj;
30239 fail:
30240 return NULL;
30241 }
30242
30243
30244 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30245 PyObject *resultobj;
30246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30247 wxTreeItemId *arg2 = 0 ;
30248 PyObject * obj0 = 0 ;
30249 PyObject * obj1 = 0 ;
30250 char *kwnames[] = {
30251 (char *) "self",(char *) "item", NULL
30252 };
30253
30254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30256 if (SWIG_arg_fail(1)) SWIG_fail;
30257 {
30258 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30259 if (SWIG_arg_fail(2)) SWIG_fail;
30260 if (arg2 == NULL) {
30261 SWIG_null_ref("wxTreeItemId");
30262 }
30263 if (SWIG_arg_fail(2)) SWIG_fail;
30264 }
30265 {
30266 PyThreadState* __tstate = wxPyBeginAllowThreads();
30267 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30268
30269 wxPyEndAllowThreads(__tstate);
30270 if (PyErr_Occurred()) SWIG_fail;
30271 }
30272 Py_INCREF(Py_None); resultobj = Py_None;
30273 return resultobj;
30274 fail:
30275 return NULL;
30276 }
30277
30278
30279 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30280 PyObject *resultobj;
30281 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30282 PyObject * obj0 = 0 ;
30283 char *kwnames[] = {
30284 (char *) "self", NULL
30285 };
30286
30287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30289 if (SWIG_arg_fail(1)) SWIG_fail;
30290 {
30291 PyThreadState* __tstate = wxPyBeginAllowThreads();
30292 (arg1)->DeleteAllItems();
30293
30294 wxPyEndAllowThreads(__tstate);
30295 if (PyErr_Occurred()) SWIG_fail;
30296 }
30297 Py_INCREF(Py_None); resultobj = Py_None;
30298 return resultobj;
30299 fail:
30300 return NULL;
30301 }
30302
30303
30304 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30305 PyObject *resultobj;
30306 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30307 wxTreeItemId *arg2 = 0 ;
30308 PyObject * obj0 = 0 ;
30309 PyObject * obj1 = 0 ;
30310 char *kwnames[] = {
30311 (char *) "self",(char *) "item", NULL
30312 };
30313
30314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30316 if (SWIG_arg_fail(1)) SWIG_fail;
30317 {
30318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30319 if (SWIG_arg_fail(2)) SWIG_fail;
30320 if (arg2 == NULL) {
30321 SWIG_null_ref("wxTreeItemId");
30322 }
30323 if (SWIG_arg_fail(2)) SWIG_fail;
30324 }
30325 {
30326 PyThreadState* __tstate = wxPyBeginAllowThreads();
30327 (arg1)->Expand((wxTreeItemId const &)*arg2);
30328
30329 wxPyEndAllowThreads(__tstate);
30330 if (PyErr_Occurred()) SWIG_fail;
30331 }
30332 Py_INCREF(Py_None); resultobj = Py_None;
30333 return resultobj;
30334 fail:
30335 return NULL;
30336 }
30337
30338
30339 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30340 PyObject *resultobj;
30341 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30342 wxTreeItemId *arg2 = 0 ;
30343 PyObject * obj0 = 0 ;
30344 PyObject * obj1 = 0 ;
30345 char *kwnames[] = {
30346 (char *) "self",(char *) "item", NULL
30347 };
30348
30349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30351 if (SWIG_arg_fail(1)) SWIG_fail;
30352 {
30353 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30354 if (SWIG_arg_fail(2)) SWIG_fail;
30355 if (arg2 == NULL) {
30356 SWIG_null_ref("wxTreeItemId");
30357 }
30358 if (SWIG_arg_fail(2)) SWIG_fail;
30359 }
30360 {
30361 PyThreadState* __tstate = wxPyBeginAllowThreads();
30362 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30363
30364 wxPyEndAllowThreads(__tstate);
30365 if (PyErr_Occurred()) SWIG_fail;
30366 }
30367 Py_INCREF(Py_None); resultobj = Py_None;
30368 return resultobj;
30369 fail:
30370 return NULL;
30371 }
30372
30373
30374 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30375 PyObject *resultobj;
30376 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30377 wxTreeItemId *arg2 = 0 ;
30378 PyObject * obj0 = 0 ;
30379 PyObject * obj1 = 0 ;
30380 char *kwnames[] = {
30381 (char *) "self",(char *) "item", NULL
30382 };
30383
30384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30386 if (SWIG_arg_fail(1)) SWIG_fail;
30387 {
30388 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30389 if (SWIG_arg_fail(2)) SWIG_fail;
30390 if (arg2 == NULL) {
30391 SWIG_null_ref("wxTreeItemId");
30392 }
30393 if (SWIG_arg_fail(2)) SWIG_fail;
30394 }
30395 {
30396 PyThreadState* __tstate = wxPyBeginAllowThreads();
30397 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30398
30399 wxPyEndAllowThreads(__tstate);
30400 if (PyErr_Occurred()) SWIG_fail;
30401 }
30402 Py_INCREF(Py_None); resultobj = Py_None;
30403 return resultobj;
30404 fail:
30405 return NULL;
30406 }
30407
30408
30409 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30410 PyObject *resultobj;
30411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30412 wxTreeItemId *arg2 = 0 ;
30413 PyObject * obj0 = 0 ;
30414 PyObject * obj1 = 0 ;
30415 char *kwnames[] = {
30416 (char *) "self",(char *) "item", NULL
30417 };
30418
30419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30421 if (SWIG_arg_fail(1)) SWIG_fail;
30422 {
30423 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30424 if (SWIG_arg_fail(2)) SWIG_fail;
30425 if (arg2 == NULL) {
30426 SWIG_null_ref("wxTreeItemId");
30427 }
30428 if (SWIG_arg_fail(2)) SWIG_fail;
30429 }
30430 {
30431 PyThreadState* __tstate = wxPyBeginAllowThreads();
30432 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30433
30434 wxPyEndAllowThreads(__tstate);
30435 if (PyErr_Occurred()) SWIG_fail;
30436 }
30437 Py_INCREF(Py_None); resultobj = Py_None;
30438 return resultobj;
30439 fail:
30440 return NULL;
30441 }
30442
30443
30444 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30445 PyObject *resultobj;
30446 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30447 PyObject * obj0 = 0 ;
30448 char *kwnames[] = {
30449 (char *) "self", NULL
30450 };
30451
30452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30454 if (SWIG_arg_fail(1)) SWIG_fail;
30455 {
30456 PyThreadState* __tstate = wxPyBeginAllowThreads();
30457 (arg1)->Unselect();
30458
30459 wxPyEndAllowThreads(__tstate);
30460 if (PyErr_Occurred()) SWIG_fail;
30461 }
30462 Py_INCREF(Py_None); resultobj = Py_None;
30463 return resultobj;
30464 fail:
30465 return NULL;
30466 }
30467
30468
30469 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30470 PyObject *resultobj;
30471 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30472 wxTreeItemId *arg2 = 0 ;
30473 PyObject * obj0 = 0 ;
30474 PyObject * obj1 = 0 ;
30475 char *kwnames[] = {
30476 (char *) "self",(char *) "item", NULL
30477 };
30478
30479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30481 if (SWIG_arg_fail(1)) SWIG_fail;
30482 {
30483 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30484 if (SWIG_arg_fail(2)) SWIG_fail;
30485 if (arg2 == NULL) {
30486 SWIG_null_ref("wxTreeItemId");
30487 }
30488 if (SWIG_arg_fail(2)) SWIG_fail;
30489 }
30490 {
30491 PyThreadState* __tstate = wxPyBeginAllowThreads();
30492 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30493
30494 wxPyEndAllowThreads(__tstate);
30495 if (PyErr_Occurred()) SWIG_fail;
30496 }
30497 Py_INCREF(Py_None); resultobj = Py_None;
30498 return resultobj;
30499 fail:
30500 return NULL;
30501 }
30502
30503
30504 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30505 PyObject *resultobj;
30506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30507 PyObject * obj0 = 0 ;
30508 char *kwnames[] = {
30509 (char *) "self", NULL
30510 };
30511
30512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30514 if (SWIG_arg_fail(1)) SWIG_fail;
30515 {
30516 PyThreadState* __tstate = wxPyBeginAllowThreads();
30517 (arg1)->UnselectAll();
30518
30519 wxPyEndAllowThreads(__tstate);
30520 if (PyErr_Occurred()) SWIG_fail;
30521 }
30522 Py_INCREF(Py_None); resultobj = Py_None;
30523 return resultobj;
30524 fail:
30525 return NULL;
30526 }
30527
30528
30529 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30530 PyObject *resultobj;
30531 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30532 wxTreeItemId *arg2 = 0 ;
30533 bool arg3 = (bool) true ;
30534 PyObject * obj0 = 0 ;
30535 PyObject * obj1 = 0 ;
30536 PyObject * obj2 = 0 ;
30537 char *kwnames[] = {
30538 (char *) "self",(char *) "item",(char *) "select", NULL
30539 };
30540
30541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30543 if (SWIG_arg_fail(1)) SWIG_fail;
30544 {
30545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30546 if (SWIG_arg_fail(2)) SWIG_fail;
30547 if (arg2 == NULL) {
30548 SWIG_null_ref("wxTreeItemId");
30549 }
30550 if (SWIG_arg_fail(2)) SWIG_fail;
30551 }
30552 if (obj2) {
30553 {
30554 arg3 = (bool)(SWIG_As_bool(obj2));
30555 if (SWIG_arg_fail(3)) SWIG_fail;
30556 }
30557 }
30558 {
30559 PyThreadState* __tstate = wxPyBeginAllowThreads();
30560 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30561
30562 wxPyEndAllowThreads(__tstate);
30563 if (PyErr_Occurred()) SWIG_fail;
30564 }
30565 Py_INCREF(Py_None); resultobj = Py_None;
30566 return resultobj;
30567 fail:
30568 return NULL;
30569 }
30570
30571
30572 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30573 PyObject *resultobj;
30574 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30575 wxTreeItemId *arg2 = 0 ;
30576 PyObject * obj0 = 0 ;
30577 PyObject * obj1 = 0 ;
30578 char *kwnames[] = {
30579 (char *) "self",(char *) "item", NULL
30580 };
30581
30582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30584 if (SWIG_arg_fail(1)) SWIG_fail;
30585 {
30586 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30587 if (SWIG_arg_fail(2)) SWIG_fail;
30588 if (arg2 == NULL) {
30589 SWIG_null_ref("wxTreeItemId");
30590 }
30591 if (SWIG_arg_fail(2)) SWIG_fail;
30592 }
30593 {
30594 PyThreadState* __tstate = wxPyBeginAllowThreads();
30595 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30596
30597 wxPyEndAllowThreads(__tstate);
30598 if (PyErr_Occurred()) SWIG_fail;
30599 }
30600 Py_INCREF(Py_None); resultobj = Py_None;
30601 return resultobj;
30602 fail:
30603 return NULL;
30604 }
30605
30606
30607 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
30608 PyObject *resultobj;
30609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30610 wxTreeItemId *arg2 = 0 ;
30611 PyObject * obj0 = 0 ;
30612 PyObject * obj1 = 0 ;
30613 char *kwnames[] = {
30614 (char *) "self",(char *) "item", NULL
30615 };
30616
30617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
30618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30619 if (SWIG_arg_fail(1)) SWIG_fail;
30620 {
30621 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30622 if (SWIG_arg_fail(2)) SWIG_fail;
30623 if (arg2 == NULL) {
30624 SWIG_null_ref("wxTreeItemId");
30625 }
30626 if (SWIG_arg_fail(2)) SWIG_fail;
30627 }
30628 {
30629 PyThreadState* __tstate = wxPyBeginAllowThreads();
30630 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30631
30632 wxPyEndAllowThreads(__tstate);
30633 if (PyErr_Occurred()) SWIG_fail;
30634 }
30635 Py_INCREF(Py_None); resultobj = Py_None;
30636 return resultobj;
30637 fail:
30638 return NULL;
30639 }
30640
30641
30642 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30643 PyObject *resultobj;
30644 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30645 wxTreeItemId *arg2 = 0 ;
30646 PyObject * obj0 = 0 ;
30647 PyObject * obj1 = 0 ;
30648 char *kwnames[] = {
30649 (char *) "self",(char *) "item", NULL
30650 };
30651
30652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30654 if (SWIG_arg_fail(1)) SWIG_fail;
30655 {
30656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30657 if (SWIG_arg_fail(2)) SWIG_fail;
30658 if (arg2 == NULL) {
30659 SWIG_null_ref("wxTreeItemId");
30660 }
30661 if (SWIG_arg_fail(2)) SWIG_fail;
30662 }
30663 {
30664 PyThreadState* __tstate = wxPyBeginAllowThreads();
30665 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30666
30667 wxPyEndAllowThreads(__tstate);
30668 if (PyErr_Occurred()) SWIG_fail;
30669 }
30670 Py_INCREF(Py_None); resultobj = Py_None;
30671 return resultobj;
30672 fail:
30673 return NULL;
30674 }
30675
30676
30677 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30678 PyObject *resultobj;
30679 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30680 wxTreeItemId *arg2 = 0 ;
30681 PyObject * obj0 = 0 ;
30682 PyObject * obj1 = 0 ;
30683 char *kwnames[] = {
30684 (char *) "self",(char *) "item", NULL
30685 };
30686
30687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30689 if (SWIG_arg_fail(1)) SWIG_fail;
30690 {
30691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30692 if (SWIG_arg_fail(2)) SWIG_fail;
30693 if (arg2 == NULL) {
30694 SWIG_null_ref("wxTreeItemId");
30695 }
30696 if (SWIG_arg_fail(2)) SWIG_fail;
30697 }
30698 {
30699 PyThreadState* __tstate = wxPyBeginAllowThreads();
30700 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30701
30702 wxPyEndAllowThreads(__tstate);
30703 if (PyErr_Occurred()) SWIG_fail;
30704 }
30705 Py_INCREF(Py_None); resultobj = Py_None;
30706 return resultobj;
30707 fail:
30708 return NULL;
30709 }
30710
30711
30712 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30713 PyObject *resultobj;
30714 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30715 wxTextCtrl *result;
30716 PyObject * obj0 = 0 ;
30717 char *kwnames[] = {
30718 (char *) "self", NULL
30719 };
30720
30721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30723 if (SWIG_arg_fail(1)) SWIG_fail;
30724 {
30725 PyThreadState* __tstate = wxPyBeginAllowThreads();
30726 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30727
30728 wxPyEndAllowThreads(__tstate);
30729 if (PyErr_Occurred()) SWIG_fail;
30730 }
30731 {
30732 resultobj = wxPyMake_wxObject(result, 0);
30733 }
30734 return resultobj;
30735 fail:
30736 return NULL;
30737 }
30738
30739
30740 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30741 PyObject *resultobj;
30742 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30743 wxTreeItemId *arg2 = 0 ;
30744 PyObject * obj0 = 0 ;
30745 PyObject * obj1 = 0 ;
30746 char *kwnames[] = {
30747 (char *) "self",(char *) "item", NULL
30748 };
30749
30750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
30751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30752 if (SWIG_arg_fail(1)) SWIG_fail;
30753 {
30754 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30755 if (SWIG_arg_fail(2)) SWIG_fail;
30756 if (arg2 == NULL) {
30757 SWIG_null_ref("wxTreeItemId");
30758 }
30759 if (SWIG_arg_fail(2)) SWIG_fail;
30760 }
30761 {
30762 PyThreadState* __tstate = wxPyBeginAllowThreads();
30763 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30764
30765 wxPyEndAllowThreads(__tstate);
30766 if (PyErr_Occurred()) SWIG_fail;
30767 }
30768 Py_INCREF(Py_None); resultobj = Py_None;
30769 return resultobj;
30770 fail:
30771 return NULL;
30772 }
30773
30774
30775 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
30776 PyObject *resultobj;
30777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30778 wxPoint *arg2 = 0 ;
30779 int *arg3 = 0 ;
30780 wxTreeItemId result;
30781 wxPoint temp2 ;
30782 int temp3 ;
30783 int res3 = 0 ;
30784 PyObject * obj0 = 0 ;
30785 PyObject * obj1 = 0 ;
30786 char *kwnames[] = {
30787 (char *) "self",(char *) "point", NULL
30788 };
30789
30790 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
30792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30793 if (SWIG_arg_fail(1)) SWIG_fail;
30794 {
30795 arg2 = &temp2;
30796 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30797 }
30798 {
30799 PyThreadState* __tstate = wxPyBeginAllowThreads();
30800 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30801
30802 wxPyEndAllowThreads(__tstate);
30803 if (PyErr_Occurred()) SWIG_fail;
30804 }
30805 {
30806 wxTreeItemId * resultptr;
30807 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30808 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30809 }
30810 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30811 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30812 return resultobj;
30813 fail:
30814 return NULL;
30815 }
30816
30817
30818 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
30819 PyObject *resultobj;
30820 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30821 wxTreeItemId *arg2 = 0 ;
30822 bool arg3 = (bool) false ;
30823 PyObject *result;
30824 PyObject * obj0 = 0 ;
30825 PyObject * obj1 = 0 ;
30826 PyObject * obj2 = 0 ;
30827 char *kwnames[] = {
30828 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30829 };
30830
30831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
30832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30833 if (SWIG_arg_fail(1)) SWIG_fail;
30834 {
30835 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30836 if (SWIG_arg_fail(2)) SWIG_fail;
30837 if (arg2 == NULL) {
30838 SWIG_null_ref("wxTreeItemId");
30839 }
30840 if (SWIG_arg_fail(2)) SWIG_fail;
30841 }
30842 if (obj2) {
30843 {
30844 arg3 = (bool)(SWIG_As_bool(obj2));
30845 if (SWIG_arg_fail(3)) SWIG_fail;
30846 }
30847 }
30848 {
30849 PyThreadState* __tstate = wxPyBeginAllowThreads();
30850 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30851
30852 wxPyEndAllowThreads(__tstate);
30853 if (PyErr_Occurred()) SWIG_fail;
30854 }
30855 resultobj = result;
30856 return resultobj;
30857 fail:
30858 return NULL;
30859 }
30860
30861
30862 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
30863 PyObject *resultobj;
30864 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
30865 wxVisualAttributes result;
30866 PyObject * obj0 = 0 ;
30867 char *kwnames[] = {
30868 (char *) "variant", NULL
30869 };
30870
30871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30872 if (obj0) {
30873 {
30874 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30875 if (SWIG_arg_fail(1)) SWIG_fail;
30876 }
30877 }
30878 {
30879 if (!wxPyCheckForApp()) SWIG_fail;
30880 PyThreadState* __tstate = wxPyBeginAllowThreads();
30881 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30882
30883 wxPyEndAllowThreads(__tstate);
30884 if (PyErr_Occurred()) SWIG_fail;
30885 }
30886 {
30887 wxVisualAttributes * resultptr;
30888 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
30889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30890 }
30891 return resultobj;
30892 fail:
30893 return NULL;
30894 }
30895
30896
30897 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
30898 PyObject *obj;
30899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30900 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30901 Py_INCREF(obj);
30902 return Py_BuildValue((char *)"");
30903 }
30904 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
30905 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30906 return 1;
30907 }
30908
30909
30910 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
30911 PyObject *pyobj;
30912
30913 {
30914 #if wxUSE_UNICODE
30915 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30916 #else
30917 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30918 #endif
30919 }
30920 return pyobj;
30921 }
30922
30923
30924 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
30925 PyObject *resultobj;
30926 wxWindow *arg1 = (wxWindow *) 0 ;
30927 int arg2 = (int) (int)-1 ;
30928 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30929 wxString *arg3 = (wxString *) &arg3_defvalue ;
30930 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30931 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30932 wxSize const &arg5_defvalue = wxDefaultSize ;
30933 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30934 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
30935 wxString const &arg7_defvalue = wxPyEmptyString ;
30936 wxString *arg7 = (wxString *) &arg7_defvalue ;
30937 int arg8 = (int) 0 ;
30938 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
30939 wxString *arg9 = (wxString *) &arg9_defvalue ;
30940 wxGenericDirCtrl *result;
30941 bool temp3 = false ;
30942 wxPoint temp4 ;
30943 wxSize temp5 ;
30944 bool temp7 = false ;
30945 bool temp9 = false ;
30946 PyObject * obj0 = 0 ;
30947 PyObject * obj1 = 0 ;
30948 PyObject * obj2 = 0 ;
30949 PyObject * obj3 = 0 ;
30950 PyObject * obj4 = 0 ;
30951 PyObject * obj5 = 0 ;
30952 PyObject * obj6 = 0 ;
30953 PyObject * obj7 = 0 ;
30954 PyObject * obj8 = 0 ;
30955 char *kwnames[] = {
30956 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30957 };
30958
30959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
30960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30961 if (SWIG_arg_fail(1)) SWIG_fail;
30962 if (obj1) {
30963 {
30964 arg2 = (int const)(SWIG_As_int(obj1));
30965 if (SWIG_arg_fail(2)) SWIG_fail;
30966 }
30967 }
30968 if (obj2) {
30969 {
30970 arg3 = wxString_in_helper(obj2);
30971 if (arg3 == NULL) SWIG_fail;
30972 temp3 = true;
30973 }
30974 }
30975 if (obj3) {
30976 {
30977 arg4 = &temp4;
30978 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30979 }
30980 }
30981 if (obj4) {
30982 {
30983 arg5 = &temp5;
30984 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30985 }
30986 }
30987 if (obj5) {
30988 {
30989 arg6 = (long)(SWIG_As_long(obj5));
30990 if (SWIG_arg_fail(6)) SWIG_fail;
30991 }
30992 }
30993 if (obj6) {
30994 {
30995 arg7 = wxString_in_helper(obj6);
30996 if (arg7 == NULL) SWIG_fail;
30997 temp7 = true;
30998 }
30999 }
31000 if (obj7) {
31001 {
31002 arg8 = (int)(SWIG_As_int(obj7));
31003 if (SWIG_arg_fail(8)) SWIG_fail;
31004 }
31005 }
31006 if (obj8) {
31007 {
31008 arg9 = wxString_in_helper(obj8);
31009 if (arg9 == NULL) SWIG_fail;
31010 temp9 = true;
31011 }
31012 }
31013 {
31014 if (!wxPyCheckForApp()) SWIG_fail;
31015 PyThreadState* __tstate = wxPyBeginAllowThreads();
31016 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31017
31018 wxPyEndAllowThreads(__tstate);
31019 if (PyErr_Occurred()) SWIG_fail;
31020 }
31021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31022 {
31023 if (temp3)
31024 delete arg3;
31025 }
31026 {
31027 if (temp7)
31028 delete arg7;
31029 }
31030 {
31031 if (temp9)
31032 delete arg9;
31033 }
31034 return resultobj;
31035 fail:
31036 {
31037 if (temp3)
31038 delete arg3;
31039 }
31040 {
31041 if (temp7)
31042 delete arg7;
31043 }
31044 {
31045 if (temp9)
31046 delete arg9;
31047 }
31048 return NULL;
31049 }
31050
31051
31052 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31053 PyObject *resultobj;
31054 wxGenericDirCtrl *result;
31055 char *kwnames[] = {
31056 NULL
31057 };
31058
31059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31060 {
31061 if (!wxPyCheckForApp()) SWIG_fail;
31062 PyThreadState* __tstate = wxPyBeginAllowThreads();
31063 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31064
31065 wxPyEndAllowThreads(__tstate);
31066 if (PyErr_Occurred()) SWIG_fail;
31067 }
31068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31069 return resultobj;
31070 fail:
31071 return NULL;
31072 }
31073
31074
31075 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31076 PyObject *resultobj;
31077 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31078 wxWindow *arg2 = (wxWindow *) 0 ;
31079 int arg3 = (int) (int)-1 ;
31080 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31081 wxString *arg4 = (wxString *) &arg4_defvalue ;
31082 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31083 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31084 wxSize const &arg6_defvalue = wxDefaultSize ;
31085 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31086 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31087 wxString const &arg8_defvalue = wxPyEmptyString ;
31088 wxString *arg8 = (wxString *) &arg8_defvalue ;
31089 int arg9 = (int) 0 ;
31090 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31091 wxString *arg10 = (wxString *) &arg10_defvalue ;
31092 bool result;
31093 bool temp4 = false ;
31094 wxPoint temp5 ;
31095 wxSize temp6 ;
31096 bool temp8 = false ;
31097 bool temp10 = false ;
31098 PyObject * obj0 = 0 ;
31099 PyObject * obj1 = 0 ;
31100 PyObject * obj2 = 0 ;
31101 PyObject * obj3 = 0 ;
31102 PyObject * obj4 = 0 ;
31103 PyObject * obj5 = 0 ;
31104 PyObject * obj6 = 0 ;
31105 PyObject * obj7 = 0 ;
31106 PyObject * obj8 = 0 ;
31107 PyObject * obj9 = 0 ;
31108 char *kwnames[] = {
31109 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31110 };
31111
31112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31114 if (SWIG_arg_fail(1)) SWIG_fail;
31115 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31116 if (SWIG_arg_fail(2)) SWIG_fail;
31117 if (obj2) {
31118 {
31119 arg3 = (int const)(SWIG_As_int(obj2));
31120 if (SWIG_arg_fail(3)) SWIG_fail;
31121 }
31122 }
31123 if (obj3) {
31124 {
31125 arg4 = wxString_in_helper(obj3);
31126 if (arg4 == NULL) SWIG_fail;
31127 temp4 = true;
31128 }
31129 }
31130 if (obj4) {
31131 {
31132 arg5 = &temp5;
31133 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31134 }
31135 }
31136 if (obj5) {
31137 {
31138 arg6 = &temp6;
31139 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31140 }
31141 }
31142 if (obj6) {
31143 {
31144 arg7 = (long)(SWIG_As_long(obj6));
31145 if (SWIG_arg_fail(7)) SWIG_fail;
31146 }
31147 }
31148 if (obj7) {
31149 {
31150 arg8 = wxString_in_helper(obj7);
31151 if (arg8 == NULL) SWIG_fail;
31152 temp8 = true;
31153 }
31154 }
31155 if (obj8) {
31156 {
31157 arg9 = (int)(SWIG_As_int(obj8));
31158 if (SWIG_arg_fail(9)) SWIG_fail;
31159 }
31160 }
31161 if (obj9) {
31162 {
31163 arg10 = wxString_in_helper(obj9);
31164 if (arg10 == NULL) SWIG_fail;
31165 temp10 = true;
31166 }
31167 }
31168 {
31169 PyThreadState* __tstate = wxPyBeginAllowThreads();
31170 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31171
31172 wxPyEndAllowThreads(__tstate);
31173 if (PyErr_Occurred()) SWIG_fail;
31174 }
31175 {
31176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31177 }
31178 {
31179 if (temp4)
31180 delete arg4;
31181 }
31182 {
31183 if (temp8)
31184 delete arg8;
31185 }
31186 {
31187 if (temp10)
31188 delete arg10;
31189 }
31190 return resultobj;
31191 fail:
31192 {
31193 if (temp4)
31194 delete arg4;
31195 }
31196 {
31197 if (temp8)
31198 delete arg8;
31199 }
31200 {
31201 if (temp10)
31202 delete arg10;
31203 }
31204 return NULL;
31205 }
31206
31207
31208 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31209 PyObject *resultobj;
31210 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31211 wxString *arg2 = 0 ;
31212 bool result;
31213 bool temp2 = false ;
31214 PyObject * obj0 = 0 ;
31215 PyObject * obj1 = 0 ;
31216 char *kwnames[] = {
31217 (char *) "self",(char *) "path", NULL
31218 };
31219
31220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31222 if (SWIG_arg_fail(1)) SWIG_fail;
31223 {
31224 arg2 = wxString_in_helper(obj1);
31225 if (arg2 == NULL) SWIG_fail;
31226 temp2 = true;
31227 }
31228 {
31229 PyThreadState* __tstate = wxPyBeginAllowThreads();
31230 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31231
31232 wxPyEndAllowThreads(__tstate);
31233 if (PyErr_Occurred()) SWIG_fail;
31234 }
31235 {
31236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31237 }
31238 {
31239 if (temp2)
31240 delete arg2;
31241 }
31242 return resultobj;
31243 fail:
31244 {
31245 if (temp2)
31246 delete arg2;
31247 }
31248 return NULL;
31249 }
31250
31251
31252 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31253 PyObject *resultobj;
31254 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31255 wxString result;
31256 PyObject * obj0 = 0 ;
31257 char *kwnames[] = {
31258 (char *) "self", NULL
31259 };
31260
31261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31263 if (SWIG_arg_fail(1)) SWIG_fail;
31264 {
31265 PyThreadState* __tstate = wxPyBeginAllowThreads();
31266 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31267
31268 wxPyEndAllowThreads(__tstate);
31269 if (PyErr_Occurred()) SWIG_fail;
31270 }
31271 {
31272 #if wxUSE_UNICODE
31273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31274 #else
31275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31276 #endif
31277 }
31278 return resultobj;
31279 fail:
31280 return NULL;
31281 }
31282
31283
31284 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31285 PyObject *resultobj;
31286 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31287 wxString *arg2 = 0 ;
31288 bool temp2 = false ;
31289 PyObject * obj0 = 0 ;
31290 PyObject * obj1 = 0 ;
31291 char *kwnames[] = {
31292 (char *) "self",(char *) "path", NULL
31293 };
31294
31295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31297 if (SWIG_arg_fail(1)) SWIG_fail;
31298 {
31299 arg2 = wxString_in_helper(obj1);
31300 if (arg2 == NULL) SWIG_fail;
31301 temp2 = true;
31302 }
31303 {
31304 PyThreadState* __tstate = wxPyBeginAllowThreads();
31305 (arg1)->SetDefaultPath((wxString const &)*arg2);
31306
31307 wxPyEndAllowThreads(__tstate);
31308 if (PyErr_Occurred()) SWIG_fail;
31309 }
31310 Py_INCREF(Py_None); resultobj = Py_None;
31311 {
31312 if (temp2)
31313 delete arg2;
31314 }
31315 return resultobj;
31316 fail:
31317 {
31318 if (temp2)
31319 delete arg2;
31320 }
31321 return NULL;
31322 }
31323
31324
31325 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31326 PyObject *resultobj;
31327 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31328 wxString result;
31329 PyObject * obj0 = 0 ;
31330 char *kwnames[] = {
31331 (char *) "self", NULL
31332 };
31333
31334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31336 if (SWIG_arg_fail(1)) SWIG_fail;
31337 {
31338 PyThreadState* __tstate = wxPyBeginAllowThreads();
31339 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31340
31341 wxPyEndAllowThreads(__tstate);
31342 if (PyErr_Occurred()) SWIG_fail;
31343 }
31344 {
31345 #if wxUSE_UNICODE
31346 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31347 #else
31348 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31349 #endif
31350 }
31351 return resultobj;
31352 fail:
31353 return NULL;
31354 }
31355
31356
31357 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31358 PyObject *resultobj;
31359 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31360 wxString result;
31361 PyObject * obj0 = 0 ;
31362 char *kwnames[] = {
31363 (char *) "self", NULL
31364 };
31365
31366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31368 if (SWIG_arg_fail(1)) SWIG_fail;
31369 {
31370 PyThreadState* __tstate = wxPyBeginAllowThreads();
31371 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31372
31373 wxPyEndAllowThreads(__tstate);
31374 if (PyErr_Occurred()) SWIG_fail;
31375 }
31376 {
31377 #if wxUSE_UNICODE
31378 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31379 #else
31380 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31381 #endif
31382 }
31383 return resultobj;
31384 fail:
31385 return NULL;
31386 }
31387
31388
31389 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31390 PyObject *resultobj;
31391 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31392 wxString *arg2 = 0 ;
31393 bool temp2 = false ;
31394 PyObject * obj0 = 0 ;
31395 PyObject * obj1 = 0 ;
31396 char *kwnames[] = {
31397 (char *) "self",(char *) "path", NULL
31398 };
31399
31400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31402 if (SWIG_arg_fail(1)) SWIG_fail;
31403 {
31404 arg2 = wxString_in_helper(obj1);
31405 if (arg2 == NULL) SWIG_fail;
31406 temp2 = true;
31407 }
31408 {
31409 PyThreadState* __tstate = wxPyBeginAllowThreads();
31410 (arg1)->SetPath((wxString const &)*arg2);
31411
31412 wxPyEndAllowThreads(__tstate);
31413 if (PyErr_Occurred()) SWIG_fail;
31414 }
31415 Py_INCREF(Py_None); resultobj = Py_None;
31416 {
31417 if (temp2)
31418 delete arg2;
31419 }
31420 return resultobj;
31421 fail:
31422 {
31423 if (temp2)
31424 delete arg2;
31425 }
31426 return NULL;
31427 }
31428
31429
31430 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31431 PyObject *resultobj;
31432 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31433 bool arg2 ;
31434 PyObject * obj0 = 0 ;
31435 PyObject * obj1 = 0 ;
31436 char *kwnames[] = {
31437 (char *) "self",(char *) "show", NULL
31438 };
31439
31440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31442 if (SWIG_arg_fail(1)) SWIG_fail;
31443 {
31444 arg2 = (bool)(SWIG_As_bool(obj1));
31445 if (SWIG_arg_fail(2)) SWIG_fail;
31446 }
31447 {
31448 PyThreadState* __tstate = wxPyBeginAllowThreads();
31449 (arg1)->ShowHidden(arg2);
31450
31451 wxPyEndAllowThreads(__tstate);
31452 if (PyErr_Occurred()) SWIG_fail;
31453 }
31454 Py_INCREF(Py_None); resultobj = Py_None;
31455 return resultobj;
31456 fail:
31457 return NULL;
31458 }
31459
31460
31461 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31462 PyObject *resultobj;
31463 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31464 bool result;
31465 PyObject * obj0 = 0 ;
31466 char *kwnames[] = {
31467 (char *) "self", NULL
31468 };
31469
31470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31472 if (SWIG_arg_fail(1)) SWIG_fail;
31473 {
31474 PyThreadState* __tstate = wxPyBeginAllowThreads();
31475 result = (bool)(arg1)->GetShowHidden();
31476
31477 wxPyEndAllowThreads(__tstate);
31478 if (PyErr_Occurred()) SWIG_fail;
31479 }
31480 {
31481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31482 }
31483 return resultobj;
31484 fail:
31485 return NULL;
31486 }
31487
31488
31489 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31490 PyObject *resultobj;
31491 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31492 wxString result;
31493 PyObject * obj0 = 0 ;
31494 char *kwnames[] = {
31495 (char *) "self", NULL
31496 };
31497
31498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31500 if (SWIG_arg_fail(1)) SWIG_fail;
31501 {
31502 PyThreadState* __tstate = wxPyBeginAllowThreads();
31503 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31504
31505 wxPyEndAllowThreads(__tstate);
31506 if (PyErr_Occurred()) SWIG_fail;
31507 }
31508 {
31509 #if wxUSE_UNICODE
31510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31511 #else
31512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31513 #endif
31514 }
31515 return resultobj;
31516 fail:
31517 return NULL;
31518 }
31519
31520
31521 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31522 PyObject *resultobj;
31523 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31524 wxString *arg2 = 0 ;
31525 bool temp2 = false ;
31526 PyObject * obj0 = 0 ;
31527 PyObject * obj1 = 0 ;
31528 char *kwnames[] = {
31529 (char *) "self",(char *) "filter", NULL
31530 };
31531
31532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31534 if (SWIG_arg_fail(1)) SWIG_fail;
31535 {
31536 arg2 = wxString_in_helper(obj1);
31537 if (arg2 == NULL) SWIG_fail;
31538 temp2 = true;
31539 }
31540 {
31541 PyThreadState* __tstate = wxPyBeginAllowThreads();
31542 (arg1)->SetFilter((wxString const &)*arg2);
31543
31544 wxPyEndAllowThreads(__tstate);
31545 if (PyErr_Occurred()) SWIG_fail;
31546 }
31547 Py_INCREF(Py_None); resultobj = Py_None;
31548 {
31549 if (temp2)
31550 delete arg2;
31551 }
31552 return resultobj;
31553 fail:
31554 {
31555 if (temp2)
31556 delete arg2;
31557 }
31558 return NULL;
31559 }
31560
31561
31562 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31563 PyObject *resultobj;
31564 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31565 int result;
31566 PyObject * obj0 = 0 ;
31567 char *kwnames[] = {
31568 (char *) "self", NULL
31569 };
31570
31571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31573 if (SWIG_arg_fail(1)) SWIG_fail;
31574 {
31575 PyThreadState* __tstate = wxPyBeginAllowThreads();
31576 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31577
31578 wxPyEndAllowThreads(__tstate);
31579 if (PyErr_Occurred()) SWIG_fail;
31580 }
31581 {
31582 resultobj = SWIG_From_int((int)(result));
31583 }
31584 return resultobj;
31585 fail:
31586 return NULL;
31587 }
31588
31589
31590 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31591 PyObject *resultobj;
31592 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31593 int arg2 ;
31594 PyObject * obj0 = 0 ;
31595 PyObject * obj1 = 0 ;
31596 char *kwnames[] = {
31597 (char *) "self",(char *) "n", NULL
31598 };
31599
31600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
31601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31602 if (SWIG_arg_fail(1)) SWIG_fail;
31603 {
31604 arg2 = (int)(SWIG_As_int(obj1));
31605 if (SWIG_arg_fail(2)) SWIG_fail;
31606 }
31607 {
31608 PyThreadState* __tstate = wxPyBeginAllowThreads();
31609 (arg1)->SetFilterIndex(arg2);
31610
31611 wxPyEndAllowThreads(__tstate);
31612 if (PyErr_Occurred()) SWIG_fail;
31613 }
31614 Py_INCREF(Py_None); resultobj = Py_None;
31615 return resultobj;
31616 fail:
31617 return NULL;
31618 }
31619
31620
31621 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31622 PyObject *resultobj;
31623 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31624 wxTreeItemId result;
31625 PyObject * obj0 = 0 ;
31626 char *kwnames[] = {
31627 (char *) "self", NULL
31628 };
31629
31630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
31631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31632 if (SWIG_arg_fail(1)) SWIG_fail;
31633 {
31634 PyThreadState* __tstate = wxPyBeginAllowThreads();
31635 result = (arg1)->GetRootId();
31636
31637 wxPyEndAllowThreads(__tstate);
31638 if (PyErr_Occurred()) SWIG_fail;
31639 }
31640 {
31641 wxTreeItemId * resultptr;
31642 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31644 }
31645 return resultobj;
31646 fail:
31647 return NULL;
31648 }
31649
31650
31651 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31652 PyObject *resultobj;
31653 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31654 wxPyTreeCtrl *result;
31655 PyObject * obj0 = 0 ;
31656 char *kwnames[] = {
31657 (char *) "self", NULL
31658 };
31659
31660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
31661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31662 if (SWIG_arg_fail(1)) SWIG_fail;
31663 {
31664 PyThreadState* __tstate = wxPyBeginAllowThreads();
31665 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31666
31667 wxPyEndAllowThreads(__tstate);
31668 if (PyErr_Occurred()) SWIG_fail;
31669 }
31670 {
31671 resultobj = wxPyMake_wxObject(result, 0);
31672 }
31673 return resultobj;
31674 fail:
31675 return NULL;
31676 }
31677
31678
31679 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31680 PyObject *resultobj;
31681 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31682 wxDirFilterListCtrl *result;
31683 PyObject * obj0 = 0 ;
31684 char *kwnames[] = {
31685 (char *) "self", NULL
31686 };
31687
31688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
31689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31690 if (SWIG_arg_fail(1)) SWIG_fail;
31691 {
31692 PyThreadState* __tstate = wxPyBeginAllowThreads();
31693 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31694
31695 wxPyEndAllowThreads(__tstate);
31696 if (PyErr_Occurred()) SWIG_fail;
31697 }
31698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31699 return resultobj;
31700 fail:
31701 return NULL;
31702 }
31703
31704
31705 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
31706 PyObject *resultobj;
31707 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31708 wxTreeItemId arg2 ;
31709 wxString *arg3 = 0 ;
31710 bool *arg4 = 0 ;
31711 wxTreeItemId result;
31712 bool temp3 = false ;
31713 bool temp4 ;
31714 int res4 = 0 ;
31715 PyObject * obj0 = 0 ;
31716 PyObject * obj1 = 0 ;
31717 PyObject * obj2 = 0 ;
31718 char *kwnames[] = {
31719 (char *) "self",(char *) "parentId",(char *) "path", NULL
31720 };
31721
31722 arg4 = &temp4; res4 = SWIG_NEWOBJ;
31723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
31724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31725 if (SWIG_arg_fail(1)) SWIG_fail;
31726 {
31727 wxTreeItemId * argp;
31728 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31729 if (SWIG_arg_fail(2)) SWIG_fail;
31730 if (argp == NULL) {
31731 SWIG_null_ref("wxTreeItemId");
31732 }
31733 if (SWIG_arg_fail(2)) SWIG_fail;
31734 arg2 = *argp;
31735 }
31736 {
31737 arg3 = wxString_in_helper(obj2);
31738 if (arg3 == NULL) SWIG_fail;
31739 temp3 = true;
31740 }
31741 {
31742 PyThreadState* __tstate = wxPyBeginAllowThreads();
31743 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31744
31745 wxPyEndAllowThreads(__tstate);
31746 if (PyErr_Occurred()) SWIG_fail;
31747 }
31748 {
31749 wxTreeItemId * resultptr;
31750 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31752 }
31753 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31754 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
31755 {
31756 if (temp3)
31757 delete arg3;
31758 }
31759 return resultobj;
31760 fail:
31761 {
31762 if (temp3)
31763 delete arg3;
31764 }
31765 return NULL;
31766 }
31767
31768
31769 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
31770 PyObject *resultobj;
31771 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31772 PyObject * obj0 = 0 ;
31773 char *kwnames[] = {
31774 (char *) "self", NULL
31775 };
31776
31777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
31778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31779 if (SWIG_arg_fail(1)) SWIG_fail;
31780 {
31781 PyThreadState* __tstate = wxPyBeginAllowThreads();
31782 (arg1)->DoResize();
31783
31784 wxPyEndAllowThreads(__tstate);
31785 if (PyErr_Occurred()) SWIG_fail;
31786 }
31787 Py_INCREF(Py_None); resultobj = Py_None;
31788 return resultobj;
31789 fail:
31790 return NULL;
31791 }
31792
31793
31794 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
31795 PyObject *resultobj;
31796 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31797 PyObject * obj0 = 0 ;
31798 char *kwnames[] = {
31799 (char *) "self", NULL
31800 };
31801
31802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
31803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31804 if (SWIG_arg_fail(1)) SWIG_fail;
31805 {
31806 PyThreadState* __tstate = wxPyBeginAllowThreads();
31807 (arg1)->ReCreateTree();
31808
31809 wxPyEndAllowThreads(__tstate);
31810 if (PyErr_Occurred()) SWIG_fail;
31811 }
31812 Py_INCREF(Py_None); resultobj = Py_None;
31813 return resultobj;
31814 fail:
31815 return NULL;
31816 }
31817
31818
31819 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
31820 PyObject *obj;
31821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31822 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31823 Py_INCREF(obj);
31824 return Py_BuildValue((char *)"");
31825 }
31826 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31827 PyObject *resultobj;
31828 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31829 int arg2 = (int) (int)-1 ;
31830 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31831 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31832 wxSize const &arg4_defvalue = wxDefaultSize ;
31833 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31834 long arg5 = (long) 0 ;
31835 wxDirFilterListCtrl *result;
31836 wxPoint temp3 ;
31837 wxSize temp4 ;
31838 PyObject * obj0 = 0 ;
31839 PyObject * obj1 = 0 ;
31840 PyObject * obj2 = 0 ;
31841 PyObject * obj3 = 0 ;
31842 PyObject * obj4 = 0 ;
31843 char *kwnames[] = {
31844 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31845 };
31846
31847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31849 if (SWIG_arg_fail(1)) SWIG_fail;
31850 if (obj1) {
31851 {
31852 arg2 = (int const)(SWIG_As_int(obj1));
31853 if (SWIG_arg_fail(2)) SWIG_fail;
31854 }
31855 }
31856 if (obj2) {
31857 {
31858 arg3 = &temp3;
31859 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31860 }
31861 }
31862 if (obj3) {
31863 {
31864 arg4 = &temp4;
31865 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31866 }
31867 }
31868 if (obj4) {
31869 {
31870 arg5 = (long)(SWIG_As_long(obj4));
31871 if (SWIG_arg_fail(5)) SWIG_fail;
31872 }
31873 }
31874 {
31875 if (!wxPyCheckForApp()) SWIG_fail;
31876 PyThreadState* __tstate = wxPyBeginAllowThreads();
31877 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31878
31879 wxPyEndAllowThreads(__tstate);
31880 if (PyErr_Occurred()) SWIG_fail;
31881 }
31882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31883 return resultobj;
31884 fail:
31885 return NULL;
31886 }
31887
31888
31889 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31890 PyObject *resultobj;
31891 wxDirFilterListCtrl *result;
31892 char *kwnames[] = {
31893 NULL
31894 };
31895
31896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31897 {
31898 if (!wxPyCheckForApp()) SWIG_fail;
31899 PyThreadState* __tstate = wxPyBeginAllowThreads();
31900 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31901
31902 wxPyEndAllowThreads(__tstate);
31903 if (PyErr_Occurred()) SWIG_fail;
31904 }
31905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31906 return resultobj;
31907 fail:
31908 return NULL;
31909 }
31910
31911
31912 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31913 PyObject *resultobj;
31914 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31915 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
31916 int arg3 = (int) (int)-1 ;
31917 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31918 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31919 wxSize const &arg5_defvalue = wxDefaultSize ;
31920 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31921 long arg6 = (long) 0 ;
31922 bool result;
31923 wxPoint temp4 ;
31924 wxSize temp5 ;
31925 PyObject * obj0 = 0 ;
31926 PyObject * obj1 = 0 ;
31927 PyObject * obj2 = 0 ;
31928 PyObject * obj3 = 0 ;
31929 PyObject * obj4 = 0 ;
31930 PyObject * obj5 = 0 ;
31931 char *kwnames[] = {
31932 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31933 };
31934
31935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31937 if (SWIG_arg_fail(1)) SWIG_fail;
31938 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31939 if (SWIG_arg_fail(2)) SWIG_fail;
31940 if (obj2) {
31941 {
31942 arg3 = (int const)(SWIG_As_int(obj2));
31943 if (SWIG_arg_fail(3)) SWIG_fail;
31944 }
31945 }
31946 if (obj3) {
31947 {
31948 arg4 = &temp4;
31949 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31950 }
31951 }
31952 if (obj4) {
31953 {
31954 arg5 = &temp5;
31955 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31956 }
31957 }
31958 if (obj5) {
31959 {
31960 arg6 = (long)(SWIG_As_long(obj5));
31961 if (SWIG_arg_fail(6)) SWIG_fail;
31962 }
31963 }
31964 {
31965 PyThreadState* __tstate = wxPyBeginAllowThreads();
31966 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
31967
31968 wxPyEndAllowThreads(__tstate);
31969 if (PyErr_Occurred()) SWIG_fail;
31970 }
31971 {
31972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31973 }
31974 return resultobj;
31975 fail:
31976 return NULL;
31977 }
31978
31979
31980 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
31981 PyObject *resultobj;
31982 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31983 wxString *arg2 = 0 ;
31984 int arg3 ;
31985 bool temp2 = false ;
31986 PyObject * obj0 = 0 ;
31987 PyObject * obj1 = 0 ;
31988 PyObject * obj2 = 0 ;
31989 char *kwnames[] = {
31990 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31991 };
31992
31993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
31994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31995 if (SWIG_arg_fail(1)) SWIG_fail;
31996 {
31997 arg2 = wxString_in_helper(obj1);
31998 if (arg2 == NULL) SWIG_fail;
31999 temp2 = true;
32000 }
32001 {
32002 arg3 = (int)(SWIG_As_int(obj2));
32003 if (SWIG_arg_fail(3)) SWIG_fail;
32004 }
32005 {
32006 PyThreadState* __tstate = wxPyBeginAllowThreads();
32007 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32008
32009 wxPyEndAllowThreads(__tstate);
32010 if (PyErr_Occurred()) SWIG_fail;
32011 }
32012 Py_INCREF(Py_None); resultobj = Py_None;
32013 {
32014 if (temp2)
32015 delete arg2;
32016 }
32017 return resultobj;
32018 fail:
32019 {
32020 if (temp2)
32021 delete arg2;
32022 }
32023 return NULL;
32024 }
32025
32026
32027 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32028 PyObject *obj;
32029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32030 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32031 Py_INCREF(obj);
32032 return Py_BuildValue((char *)"");
32033 }
32034 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32035 PyObject *resultobj;
32036 wxWindow *arg1 = (wxWindow *) 0 ;
32037 int arg2 = (int) (int)-1 ;
32038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32040 wxSize const &arg4_defvalue = wxDefaultSize ;
32041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32042 long arg5 = (long) 0 ;
32043 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32044 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32045 wxString const &arg7_defvalue = wxPyControlNameStr ;
32046 wxString *arg7 = (wxString *) &arg7_defvalue ;
32047 wxPyControl *result;
32048 wxPoint temp3 ;
32049 wxSize temp4 ;
32050 bool temp7 = false ;
32051 PyObject * obj0 = 0 ;
32052 PyObject * obj1 = 0 ;
32053 PyObject * obj2 = 0 ;
32054 PyObject * obj3 = 0 ;
32055 PyObject * obj4 = 0 ;
32056 PyObject * obj5 = 0 ;
32057 PyObject * obj6 = 0 ;
32058 char *kwnames[] = {
32059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32060 };
32061
32062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32064 if (SWIG_arg_fail(1)) SWIG_fail;
32065 if (obj1) {
32066 {
32067 arg2 = (int const)(SWIG_As_int(obj1));
32068 if (SWIG_arg_fail(2)) SWIG_fail;
32069 }
32070 }
32071 if (obj2) {
32072 {
32073 arg3 = &temp3;
32074 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32075 }
32076 }
32077 if (obj3) {
32078 {
32079 arg4 = &temp4;
32080 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32081 }
32082 }
32083 if (obj4) {
32084 {
32085 arg5 = (long)(SWIG_As_long(obj4));
32086 if (SWIG_arg_fail(5)) SWIG_fail;
32087 }
32088 }
32089 if (obj5) {
32090 {
32091 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32092 if (SWIG_arg_fail(6)) SWIG_fail;
32093 if (arg6 == NULL) {
32094 SWIG_null_ref("wxValidator");
32095 }
32096 if (SWIG_arg_fail(6)) SWIG_fail;
32097 }
32098 }
32099 if (obj6) {
32100 {
32101 arg7 = wxString_in_helper(obj6);
32102 if (arg7 == NULL) SWIG_fail;
32103 temp7 = true;
32104 }
32105 }
32106 {
32107 if (!wxPyCheckForApp()) SWIG_fail;
32108 PyThreadState* __tstate = wxPyBeginAllowThreads();
32109 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32110
32111 wxPyEndAllowThreads(__tstate);
32112 if (PyErr_Occurred()) SWIG_fail;
32113 }
32114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32115 {
32116 if (temp7)
32117 delete arg7;
32118 }
32119 return resultobj;
32120 fail:
32121 {
32122 if (temp7)
32123 delete arg7;
32124 }
32125 return NULL;
32126 }
32127
32128
32129 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32130 PyObject *resultobj;
32131 wxPyControl *result;
32132 char *kwnames[] = {
32133 NULL
32134 };
32135
32136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32137 {
32138 if (!wxPyCheckForApp()) SWIG_fail;
32139 PyThreadState* __tstate = wxPyBeginAllowThreads();
32140 result = (wxPyControl *)new wxPyControl();
32141
32142 wxPyEndAllowThreads(__tstate);
32143 if (PyErr_Occurred()) SWIG_fail;
32144 }
32145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32146 return resultobj;
32147 fail:
32148 return NULL;
32149 }
32150
32151
32152 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32153 PyObject *resultobj;
32154 wxPyControl *arg1 = (wxPyControl *) 0 ;
32155 PyObject *arg2 = (PyObject *) 0 ;
32156 PyObject *arg3 = (PyObject *) 0 ;
32157 PyObject * obj0 = 0 ;
32158 PyObject * obj1 = 0 ;
32159 PyObject * obj2 = 0 ;
32160 char *kwnames[] = {
32161 (char *) "self",(char *) "self",(char *) "_class", NULL
32162 };
32163
32164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32166 if (SWIG_arg_fail(1)) SWIG_fail;
32167 arg2 = obj1;
32168 arg3 = obj2;
32169 {
32170 PyThreadState* __tstate = wxPyBeginAllowThreads();
32171 (arg1)->_setCallbackInfo(arg2,arg3);
32172
32173 wxPyEndAllowThreads(__tstate);
32174 if (PyErr_Occurred()) SWIG_fail;
32175 }
32176 Py_INCREF(Py_None); resultobj = Py_None;
32177 return resultobj;
32178 fail:
32179 return NULL;
32180 }
32181
32182
32183 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32184 PyObject *resultobj;
32185 wxPyControl *arg1 = (wxPyControl *) 0 ;
32186 wxSize *arg2 = 0 ;
32187 wxSize temp2 ;
32188 PyObject * obj0 = 0 ;
32189 PyObject * obj1 = 0 ;
32190 char *kwnames[] = {
32191 (char *) "self",(char *) "size", NULL
32192 };
32193
32194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32196 if (SWIG_arg_fail(1)) SWIG_fail;
32197 {
32198 arg2 = &temp2;
32199 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32200 }
32201 {
32202 PyThreadState* __tstate = wxPyBeginAllowThreads();
32203 (arg1)->SetBestSize((wxSize const &)*arg2);
32204
32205 wxPyEndAllowThreads(__tstate);
32206 if (PyErr_Occurred()) SWIG_fail;
32207 }
32208 Py_INCREF(Py_None); resultobj = Py_None;
32209 return resultobj;
32210 fail:
32211 return NULL;
32212 }
32213
32214
32215 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32216 PyObject *resultobj;
32217 wxPyControl *arg1 = (wxPyControl *) 0 ;
32218 int arg2 ;
32219 int arg3 ;
32220 int arg4 ;
32221 int arg5 ;
32222 PyObject * obj0 = 0 ;
32223 PyObject * obj1 = 0 ;
32224 PyObject * obj2 = 0 ;
32225 PyObject * obj3 = 0 ;
32226 PyObject * obj4 = 0 ;
32227 char *kwnames[] = {
32228 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32229 };
32230
32231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32233 if (SWIG_arg_fail(1)) SWIG_fail;
32234 {
32235 arg2 = (int)(SWIG_As_int(obj1));
32236 if (SWIG_arg_fail(2)) SWIG_fail;
32237 }
32238 {
32239 arg3 = (int)(SWIG_As_int(obj2));
32240 if (SWIG_arg_fail(3)) SWIG_fail;
32241 }
32242 {
32243 arg4 = (int)(SWIG_As_int(obj3));
32244 if (SWIG_arg_fail(4)) SWIG_fail;
32245 }
32246 {
32247 arg5 = (int)(SWIG_As_int(obj4));
32248 if (SWIG_arg_fail(5)) SWIG_fail;
32249 }
32250 {
32251 PyThreadState* __tstate = wxPyBeginAllowThreads();
32252 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32253
32254 wxPyEndAllowThreads(__tstate);
32255 if (PyErr_Occurred()) SWIG_fail;
32256 }
32257 Py_INCREF(Py_None); resultobj = Py_None;
32258 return resultobj;
32259 fail:
32260 return NULL;
32261 }
32262
32263
32264 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32265 PyObject *resultobj;
32266 wxPyControl *arg1 = (wxPyControl *) 0 ;
32267 int arg2 ;
32268 int arg3 ;
32269 int arg4 ;
32270 int arg5 ;
32271 int arg6 = (int) wxSIZE_AUTO ;
32272 PyObject * obj0 = 0 ;
32273 PyObject * obj1 = 0 ;
32274 PyObject * obj2 = 0 ;
32275 PyObject * obj3 = 0 ;
32276 PyObject * obj4 = 0 ;
32277 PyObject * obj5 = 0 ;
32278 char *kwnames[] = {
32279 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32280 };
32281
32282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32284 if (SWIG_arg_fail(1)) SWIG_fail;
32285 {
32286 arg2 = (int)(SWIG_As_int(obj1));
32287 if (SWIG_arg_fail(2)) SWIG_fail;
32288 }
32289 {
32290 arg3 = (int)(SWIG_As_int(obj2));
32291 if (SWIG_arg_fail(3)) SWIG_fail;
32292 }
32293 {
32294 arg4 = (int)(SWIG_As_int(obj3));
32295 if (SWIG_arg_fail(4)) SWIG_fail;
32296 }
32297 {
32298 arg5 = (int)(SWIG_As_int(obj4));
32299 if (SWIG_arg_fail(5)) SWIG_fail;
32300 }
32301 if (obj5) {
32302 {
32303 arg6 = (int)(SWIG_As_int(obj5));
32304 if (SWIG_arg_fail(6)) SWIG_fail;
32305 }
32306 }
32307 {
32308 PyThreadState* __tstate = wxPyBeginAllowThreads();
32309 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32310
32311 wxPyEndAllowThreads(__tstate);
32312 if (PyErr_Occurred()) SWIG_fail;
32313 }
32314 Py_INCREF(Py_None); resultobj = Py_None;
32315 return resultobj;
32316 fail:
32317 return NULL;
32318 }
32319
32320
32321 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32322 PyObject *resultobj;
32323 wxPyControl *arg1 = (wxPyControl *) 0 ;
32324 int arg2 ;
32325 int arg3 ;
32326 PyObject * obj0 = 0 ;
32327 PyObject * obj1 = 0 ;
32328 PyObject * obj2 = 0 ;
32329 char *kwnames[] = {
32330 (char *) "self",(char *) "width",(char *) "height", NULL
32331 };
32332
32333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32335 if (SWIG_arg_fail(1)) SWIG_fail;
32336 {
32337 arg2 = (int)(SWIG_As_int(obj1));
32338 if (SWIG_arg_fail(2)) SWIG_fail;
32339 }
32340 {
32341 arg3 = (int)(SWIG_As_int(obj2));
32342 if (SWIG_arg_fail(3)) SWIG_fail;
32343 }
32344 {
32345 PyThreadState* __tstate = wxPyBeginAllowThreads();
32346 (arg1)->base_DoSetClientSize(arg2,arg3);
32347
32348 wxPyEndAllowThreads(__tstate);
32349 if (PyErr_Occurred()) SWIG_fail;
32350 }
32351 Py_INCREF(Py_None); resultobj = Py_None;
32352 return resultobj;
32353 fail:
32354 return NULL;
32355 }
32356
32357
32358 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32359 PyObject *resultobj;
32360 wxPyControl *arg1 = (wxPyControl *) 0 ;
32361 int arg2 ;
32362 int arg3 ;
32363 PyObject * obj0 = 0 ;
32364 PyObject * obj1 = 0 ;
32365 PyObject * obj2 = 0 ;
32366 char *kwnames[] = {
32367 (char *) "self",(char *) "x",(char *) "y", NULL
32368 };
32369
32370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32372 if (SWIG_arg_fail(1)) SWIG_fail;
32373 {
32374 arg2 = (int)(SWIG_As_int(obj1));
32375 if (SWIG_arg_fail(2)) SWIG_fail;
32376 }
32377 {
32378 arg3 = (int)(SWIG_As_int(obj2));
32379 if (SWIG_arg_fail(3)) SWIG_fail;
32380 }
32381 {
32382 PyThreadState* __tstate = wxPyBeginAllowThreads();
32383 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32384
32385 wxPyEndAllowThreads(__tstate);
32386 if (PyErr_Occurred()) SWIG_fail;
32387 }
32388 Py_INCREF(Py_None); resultobj = Py_None;
32389 return resultobj;
32390 fail:
32391 return NULL;
32392 }
32393
32394
32395 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32396 PyObject *resultobj;
32397 wxPyControl *arg1 = (wxPyControl *) 0 ;
32398 int *arg2 = (int *) 0 ;
32399 int *arg3 = (int *) 0 ;
32400 int temp2 ;
32401 int res2 = 0 ;
32402 int temp3 ;
32403 int res3 = 0 ;
32404 PyObject * obj0 = 0 ;
32405 char *kwnames[] = {
32406 (char *) "self", NULL
32407 };
32408
32409 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32410 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32413 if (SWIG_arg_fail(1)) SWIG_fail;
32414 {
32415 PyThreadState* __tstate = wxPyBeginAllowThreads();
32416 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32417
32418 wxPyEndAllowThreads(__tstate);
32419 if (PyErr_Occurred()) SWIG_fail;
32420 }
32421 Py_INCREF(Py_None); resultobj = Py_None;
32422 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32423 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32424 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32425 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32426 return resultobj;
32427 fail:
32428 return NULL;
32429 }
32430
32431
32432 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32433 PyObject *resultobj;
32434 wxPyControl *arg1 = (wxPyControl *) 0 ;
32435 int *arg2 = (int *) 0 ;
32436 int *arg3 = (int *) 0 ;
32437 int temp2 ;
32438 int res2 = 0 ;
32439 int temp3 ;
32440 int res3 = 0 ;
32441 PyObject * obj0 = 0 ;
32442 char *kwnames[] = {
32443 (char *) "self", NULL
32444 };
32445
32446 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32447 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32450 if (SWIG_arg_fail(1)) SWIG_fail;
32451 {
32452 PyThreadState* __tstate = wxPyBeginAllowThreads();
32453 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32454
32455 wxPyEndAllowThreads(__tstate);
32456 if (PyErr_Occurred()) SWIG_fail;
32457 }
32458 Py_INCREF(Py_None); resultobj = Py_None;
32459 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32460 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32461 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32462 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32463 return resultobj;
32464 fail:
32465 return NULL;
32466 }
32467
32468
32469 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32470 PyObject *resultobj;
32471 wxPyControl *arg1 = (wxPyControl *) 0 ;
32472 int *arg2 = (int *) 0 ;
32473 int *arg3 = (int *) 0 ;
32474 int temp2 ;
32475 int res2 = 0 ;
32476 int temp3 ;
32477 int res3 = 0 ;
32478 PyObject * obj0 = 0 ;
32479 char *kwnames[] = {
32480 (char *) "self", NULL
32481 };
32482
32483 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32484 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
32486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32487 if (SWIG_arg_fail(1)) SWIG_fail;
32488 {
32489 PyThreadState* __tstate = wxPyBeginAllowThreads();
32490 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32491
32492 wxPyEndAllowThreads(__tstate);
32493 if (PyErr_Occurred()) SWIG_fail;
32494 }
32495 Py_INCREF(Py_None); resultobj = Py_None;
32496 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32497 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32498 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32499 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32500 return resultobj;
32501 fail:
32502 return NULL;
32503 }
32504
32505
32506 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32507 PyObject *resultobj;
32508 wxPyControl *arg1 = (wxPyControl *) 0 ;
32509 wxSize result;
32510 PyObject * obj0 = 0 ;
32511 char *kwnames[] = {
32512 (char *) "self", NULL
32513 };
32514
32515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32517 if (SWIG_arg_fail(1)) SWIG_fail;
32518 {
32519 PyThreadState* __tstate = wxPyBeginAllowThreads();
32520 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32521
32522 wxPyEndAllowThreads(__tstate);
32523 if (PyErr_Occurred()) SWIG_fail;
32524 }
32525 {
32526 wxSize * resultptr;
32527 resultptr = new wxSize((wxSize &)(result));
32528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32529 }
32530 return resultobj;
32531 fail:
32532 return NULL;
32533 }
32534
32535
32536 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32537 PyObject *resultobj;
32538 wxPyControl *arg1 = (wxPyControl *) 0 ;
32539 wxSize result;
32540 PyObject * obj0 = 0 ;
32541 char *kwnames[] = {
32542 (char *) "self", NULL
32543 };
32544
32545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
32546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32547 if (SWIG_arg_fail(1)) SWIG_fail;
32548 {
32549 PyThreadState* __tstate = wxPyBeginAllowThreads();
32550 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32551
32552 wxPyEndAllowThreads(__tstate);
32553 if (PyErr_Occurred()) SWIG_fail;
32554 }
32555 {
32556 wxSize * resultptr;
32557 resultptr = new wxSize((wxSize &)(result));
32558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32559 }
32560 return resultobj;
32561 fail:
32562 return NULL;
32563 }
32564
32565
32566 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32567 PyObject *resultobj;
32568 wxPyControl *arg1 = (wxPyControl *) 0 ;
32569 PyObject * obj0 = 0 ;
32570 char *kwnames[] = {
32571 (char *) "self", NULL
32572 };
32573
32574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32576 if (SWIG_arg_fail(1)) SWIG_fail;
32577 {
32578 PyThreadState* __tstate = wxPyBeginAllowThreads();
32579 (arg1)->base_InitDialog();
32580
32581 wxPyEndAllowThreads(__tstate);
32582 if (PyErr_Occurred()) SWIG_fail;
32583 }
32584 Py_INCREF(Py_None); resultobj = Py_None;
32585 return resultobj;
32586 fail:
32587 return NULL;
32588 }
32589
32590
32591 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32592 PyObject *resultobj;
32593 wxPyControl *arg1 = (wxPyControl *) 0 ;
32594 bool result;
32595 PyObject * obj0 = 0 ;
32596 char *kwnames[] = {
32597 (char *) "self", NULL
32598 };
32599
32600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
32601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32602 if (SWIG_arg_fail(1)) SWIG_fail;
32603 {
32604 PyThreadState* __tstate = wxPyBeginAllowThreads();
32605 result = (bool)(arg1)->base_TransferDataToWindow();
32606
32607 wxPyEndAllowThreads(__tstate);
32608 if (PyErr_Occurred()) SWIG_fail;
32609 }
32610 {
32611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32612 }
32613 return resultobj;
32614 fail:
32615 return NULL;
32616 }
32617
32618
32619 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32620 PyObject *resultobj;
32621 wxPyControl *arg1 = (wxPyControl *) 0 ;
32622 bool result;
32623 PyObject * obj0 = 0 ;
32624 char *kwnames[] = {
32625 (char *) "self", NULL
32626 };
32627
32628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
32629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32630 if (SWIG_arg_fail(1)) SWIG_fail;
32631 {
32632 PyThreadState* __tstate = wxPyBeginAllowThreads();
32633 result = (bool)(arg1)->base_TransferDataFromWindow();
32634
32635 wxPyEndAllowThreads(__tstate);
32636 if (PyErr_Occurred()) SWIG_fail;
32637 }
32638 {
32639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32640 }
32641 return resultobj;
32642 fail:
32643 return NULL;
32644 }
32645
32646
32647 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32648 PyObject *resultobj;
32649 wxPyControl *arg1 = (wxPyControl *) 0 ;
32650 bool result;
32651 PyObject * obj0 = 0 ;
32652 char *kwnames[] = {
32653 (char *) "self", NULL
32654 };
32655
32656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
32657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32658 if (SWIG_arg_fail(1)) SWIG_fail;
32659 {
32660 PyThreadState* __tstate = wxPyBeginAllowThreads();
32661 result = (bool)(arg1)->base_Validate();
32662
32663 wxPyEndAllowThreads(__tstate);
32664 if (PyErr_Occurred()) SWIG_fail;
32665 }
32666 {
32667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32668 }
32669 return resultobj;
32670 fail:
32671 return NULL;
32672 }
32673
32674
32675 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32676 PyObject *resultobj;
32677 wxPyControl *arg1 = (wxPyControl *) 0 ;
32678 bool result;
32679 PyObject * obj0 = 0 ;
32680 char *kwnames[] = {
32681 (char *) "self", NULL
32682 };
32683
32684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
32685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32686 if (SWIG_arg_fail(1)) SWIG_fail;
32687 {
32688 PyThreadState* __tstate = wxPyBeginAllowThreads();
32689 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32690
32691 wxPyEndAllowThreads(__tstate);
32692 if (PyErr_Occurred()) SWIG_fail;
32693 }
32694 {
32695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32696 }
32697 return resultobj;
32698 fail:
32699 return NULL;
32700 }
32701
32702
32703 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32704 PyObject *resultobj;
32705 wxPyControl *arg1 = (wxPyControl *) 0 ;
32706 bool result;
32707 PyObject * obj0 = 0 ;
32708 char *kwnames[] = {
32709 (char *) "self", NULL
32710 };
32711
32712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
32713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32714 if (SWIG_arg_fail(1)) SWIG_fail;
32715 {
32716 PyThreadState* __tstate = wxPyBeginAllowThreads();
32717 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32718
32719 wxPyEndAllowThreads(__tstate);
32720 if (PyErr_Occurred()) SWIG_fail;
32721 }
32722 {
32723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32724 }
32725 return resultobj;
32726 fail:
32727 return NULL;
32728 }
32729
32730
32731 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32732 PyObject *resultobj;
32733 wxPyControl *arg1 = (wxPyControl *) 0 ;
32734 wxSize result;
32735 PyObject * obj0 = 0 ;
32736 char *kwnames[] = {
32737 (char *) "self", NULL
32738 };
32739
32740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
32741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32742 if (SWIG_arg_fail(1)) SWIG_fail;
32743 {
32744 PyThreadState* __tstate = wxPyBeginAllowThreads();
32745 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32746
32747 wxPyEndAllowThreads(__tstate);
32748 if (PyErr_Occurred()) SWIG_fail;
32749 }
32750 {
32751 wxSize * resultptr;
32752 resultptr = new wxSize((wxSize &)(result));
32753 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32754 }
32755 return resultobj;
32756 fail:
32757 return NULL;
32758 }
32759
32760
32761 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32762 PyObject *resultobj;
32763 wxPyControl *arg1 = (wxPyControl *) 0 ;
32764 wxWindow *arg2 = (wxWindow *) 0 ;
32765 PyObject * obj0 = 0 ;
32766 PyObject * obj1 = 0 ;
32767 char *kwnames[] = {
32768 (char *) "self",(char *) "child", NULL
32769 };
32770
32771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
32772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32773 if (SWIG_arg_fail(1)) SWIG_fail;
32774 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32775 if (SWIG_arg_fail(2)) SWIG_fail;
32776 {
32777 PyThreadState* __tstate = wxPyBeginAllowThreads();
32778 (arg1)->base_AddChild(arg2);
32779
32780 wxPyEndAllowThreads(__tstate);
32781 if (PyErr_Occurred()) SWIG_fail;
32782 }
32783 Py_INCREF(Py_None); resultobj = Py_None;
32784 return resultobj;
32785 fail:
32786 return NULL;
32787 }
32788
32789
32790 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32791 PyObject *resultobj;
32792 wxPyControl *arg1 = (wxPyControl *) 0 ;
32793 wxWindow *arg2 = (wxWindow *) 0 ;
32794 PyObject * obj0 = 0 ;
32795 PyObject * obj1 = 0 ;
32796 char *kwnames[] = {
32797 (char *) "self",(char *) "child", NULL
32798 };
32799
32800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
32801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32802 if (SWIG_arg_fail(1)) SWIG_fail;
32803 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32804 if (SWIG_arg_fail(2)) SWIG_fail;
32805 {
32806 PyThreadState* __tstate = wxPyBeginAllowThreads();
32807 (arg1)->base_RemoveChild(arg2);
32808
32809 wxPyEndAllowThreads(__tstate);
32810 if (PyErr_Occurred()) SWIG_fail;
32811 }
32812 Py_INCREF(Py_None); resultobj = Py_None;
32813 return resultobj;
32814 fail:
32815 return NULL;
32816 }
32817
32818
32819 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32820 PyObject *resultobj;
32821 wxPyControl *arg1 = (wxPyControl *) 0 ;
32822 bool result;
32823 PyObject * obj0 = 0 ;
32824 char *kwnames[] = {
32825 (char *) "self", NULL
32826 };
32827
32828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
32829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32830 if (SWIG_arg_fail(1)) SWIG_fail;
32831 {
32832 PyThreadState* __tstate = wxPyBeginAllowThreads();
32833 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
32834
32835 wxPyEndAllowThreads(__tstate);
32836 if (PyErr_Occurred()) SWIG_fail;
32837 }
32838 {
32839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32840 }
32841 return resultobj;
32842 fail:
32843 return NULL;
32844 }
32845
32846
32847 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32848 PyObject *resultobj;
32849 wxPyControl *arg1 = (wxPyControl *) 0 ;
32850 wxColour *arg2 = 0 ;
32851 wxColour temp2 ;
32852 PyObject * obj0 = 0 ;
32853 PyObject * obj1 = 0 ;
32854 char *kwnames[] = {
32855 (char *) "self",(char *) "c", NULL
32856 };
32857
32858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
32859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32860 if (SWIG_arg_fail(1)) SWIG_fail;
32861 {
32862 arg2 = &temp2;
32863 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32864 }
32865 {
32866 PyThreadState* __tstate = wxPyBeginAllowThreads();
32867 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
32868
32869 wxPyEndAllowThreads(__tstate);
32870 if (PyErr_Occurred()) SWIG_fail;
32871 }
32872 Py_INCREF(Py_None); resultobj = Py_None;
32873 return resultobj;
32874 fail:
32875 return NULL;
32876 }
32877
32878
32879 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32880 PyObject *resultobj;
32881 wxPyControl *arg1 = (wxPyControl *) 0 ;
32882 wxVisualAttributes result;
32883 PyObject * obj0 = 0 ;
32884 char *kwnames[] = {
32885 (char *) "self", NULL
32886 };
32887
32888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
32889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32890 if (SWIG_arg_fail(1)) SWIG_fail;
32891 {
32892 PyThreadState* __tstate = wxPyBeginAllowThreads();
32893 result = (arg1)->base_GetDefaultAttributes();
32894
32895 wxPyEndAllowThreads(__tstate);
32896 if (PyErr_Occurred()) SWIG_fail;
32897 }
32898 {
32899 wxVisualAttributes * resultptr;
32900 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
32901 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32902 }
32903 return resultobj;
32904 fail:
32905 return NULL;
32906 }
32907
32908
32909 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
32910 PyObject *obj;
32911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32912 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32913 Py_INCREF(obj);
32914 return Py_BuildValue((char *)"");
32915 }
32916 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32917 PyObject *resultobj;
32918 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32919 int arg2 = (int) 0 ;
32920 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32921 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32922 wxHelpEvent *result;
32923 wxPoint temp3 ;
32924 PyObject * obj0 = 0 ;
32925 PyObject * obj1 = 0 ;
32926 PyObject * obj2 = 0 ;
32927 char *kwnames[] = {
32928 (char *) "type",(char *) "winid",(char *) "pt", NULL
32929 };
32930
32931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
32932 if (obj0) {
32933 {
32934 arg1 = (wxEventType)(SWIG_As_int(obj0));
32935 if (SWIG_arg_fail(1)) SWIG_fail;
32936 }
32937 }
32938 if (obj1) {
32939 {
32940 arg2 = (int)(SWIG_As_int(obj1));
32941 if (SWIG_arg_fail(2)) SWIG_fail;
32942 }
32943 }
32944 if (obj2) {
32945 {
32946 arg3 = &temp3;
32947 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32948 }
32949 }
32950 {
32951 PyThreadState* __tstate = wxPyBeginAllowThreads();
32952 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
32953
32954 wxPyEndAllowThreads(__tstate);
32955 if (PyErr_Occurred()) SWIG_fail;
32956 }
32957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
32958 return resultobj;
32959 fail:
32960 return NULL;
32961 }
32962
32963
32964 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32965 PyObject *resultobj;
32966 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32967 wxPoint result;
32968 PyObject * obj0 = 0 ;
32969 char *kwnames[] = {
32970 (char *) "self", NULL
32971 };
32972
32973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
32974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
32975 if (SWIG_arg_fail(1)) SWIG_fail;
32976 {
32977 PyThreadState* __tstate = wxPyBeginAllowThreads();
32978 result = ((wxHelpEvent const *)arg1)->GetPosition();
32979
32980 wxPyEndAllowThreads(__tstate);
32981 if (PyErr_Occurred()) SWIG_fail;
32982 }
32983 {
32984 wxPoint * resultptr;
32985 resultptr = new wxPoint((wxPoint const &)(result));
32986 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
32987 }
32988 return resultobj;
32989 fail:
32990 return NULL;
32991 }
32992
32993
32994 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32995 PyObject *resultobj;
32996 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32997 wxPoint *arg2 = 0 ;
32998 wxPoint temp2 ;
32999 PyObject * obj0 = 0 ;
33000 PyObject * obj1 = 0 ;
33001 char *kwnames[] = {
33002 (char *) "self",(char *) "pos", NULL
33003 };
33004
33005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33007 if (SWIG_arg_fail(1)) SWIG_fail;
33008 {
33009 arg2 = &temp2;
33010 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33011 }
33012 {
33013 PyThreadState* __tstate = wxPyBeginAllowThreads();
33014 (arg1)->SetPosition((wxPoint const &)*arg2);
33015
33016 wxPyEndAllowThreads(__tstate);
33017 if (PyErr_Occurred()) SWIG_fail;
33018 }
33019 Py_INCREF(Py_None); resultobj = Py_None;
33020 return resultobj;
33021 fail:
33022 return NULL;
33023 }
33024
33025
33026 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33027 PyObject *resultobj;
33028 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33029 wxString *result;
33030 PyObject * obj0 = 0 ;
33031 char *kwnames[] = {
33032 (char *) "self", NULL
33033 };
33034
33035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33037 if (SWIG_arg_fail(1)) SWIG_fail;
33038 {
33039 PyThreadState* __tstate = wxPyBeginAllowThreads();
33040 {
33041 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33042 result = (wxString *) &_result_ref;
33043 }
33044
33045 wxPyEndAllowThreads(__tstate);
33046 if (PyErr_Occurred()) SWIG_fail;
33047 }
33048 {
33049 #if wxUSE_UNICODE
33050 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33051 #else
33052 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33053 #endif
33054 }
33055 return resultobj;
33056 fail:
33057 return NULL;
33058 }
33059
33060
33061 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33062 PyObject *resultobj;
33063 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33064 wxString *arg2 = 0 ;
33065 bool temp2 = false ;
33066 PyObject * obj0 = 0 ;
33067 PyObject * obj1 = 0 ;
33068 char *kwnames[] = {
33069 (char *) "self",(char *) "link", NULL
33070 };
33071
33072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33074 if (SWIG_arg_fail(1)) SWIG_fail;
33075 {
33076 arg2 = wxString_in_helper(obj1);
33077 if (arg2 == NULL) SWIG_fail;
33078 temp2 = true;
33079 }
33080 {
33081 PyThreadState* __tstate = wxPyBeginAllowThreads();
33082 (arg1)->SetLink((wxString const &)*arg2);
33083
33084 wxPyEndAllowThreads(__tstate);
33085 if (PyErr_Occurred()) SWIG_fail;
33086 }
33087 Py_INCREF(Py_None); resultobj = Py_None;
33088 {
33089 if (temp2)
33090 delete arg2;
33091 }
33092 return resultobj;
33093 fail:
33094 {
33095 if (temp2)
33096 delete arg2;
33097 }
33098 return NULL;
33099 }
33100
33101
33102 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33103 PyObject *resultobj;
33104 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33105 wxString *result;
33106 PyObject * obj0 = 0 ;
33107 char *kwnames[] = {
33108 (char *) "self", NULL
33109 };
33110
33111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33113 if (SWIG_arg_fail(1)) SWIG_fail;
33114 {
33115 PyThreadState* __tstate = wxPyBeginAllowThreads();
33116 {
33117 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33118 result = (wxString *) &_result_ref;
33119 }
33120
33121 wxPyEndAllowThreads(__tstate);
33122 if (PyErr_Occurred()) SWIG_fail;
33123 }
33124 {
33125 #if wxUSE_UNICODE
33126 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33127 #else
33128 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33129 #endif
33130 }
33131 return resultobj;
33132 fail:
33133 return NULL;
33134 }
33135
33136
33137 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33138 PyObject *resultobj;
33139 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33140 wxString *arg2 = 0 ;
33141 bool temp2 = false ;
33142 PyObject * obj0 = 0 ;
33143 PyObject * obj1 = 0 ;
33144 char *kwnames[] = {
33145 (char *) "self",(char *) "target", NULL
33146 };
33147
33148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33150 if (SWIG_arg_fail(1)) SWIG_fail;
33151 {
33152 arg2 = wxString_in_helper(obj1);
33153 if (arg2 == NULL) SWIG_fail;
33154 temp2 = true;
33155 }
33156 {
33157 PyThreadState* __tstate = wxPyBeginAllowThreads();
33158 (arg1)->SetTarget((wxString const &)*arg2);
33159
33160 wxPyEndAllowThreads(__tstate);
33161 if (PyErr_Occurred()) SWIG_fail;
33162 }
33163 Py_INCREF(Py_None); resultobj = Py_None;
33164 {
33165 if (temp2)
33166 delete arg2;
33167 }
33168 return resultobj;
33169 fail:
33170 {
33171 if (temp2)
33172 delete arg2;
33173 }
33174 return NULL;
33175 }
33176
33177
33178 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33179 PyObject *obj;
33180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33181 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33182 Py_INCREF(obj);
33183 return Py_BuildValue((char *)"");
33184 }
33185 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33186 PyObject *resultobj;
33187 wxWindow *arg1 = (wxWindow *) NULL ;
33188 bool arg2 = (bool) true ;
33189 wxContextHelp *result;
33190 PyObject * obj0 = 0 ;
33191 PyObject * obj1 = 0 ;
33192 char *kwnames[] = {
33193 (char *) "window",(char *) "doNow", NULL
33194 };
33195
33196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33197 if (obj0) {
33198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33199 if (SWIG_arg_fail(1)) SWIG_fail;
33200 }
33201 if (obj1) {
33202 {
33203 arg2 = (bool)(SWIG_As_bool(obj1));
33204 if (SWIG_arg_fail(2)) SWIG_fail;
33205 }
33206 }
33207 {
33208 if (!wxPyCheckForApp()) SWIG_fail;
33209 PyThreadState* __tstate = wxPyBeginAllowThreads();
33210 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33211
33212 wxPyEndAllowThreads(__tstate);
33213 if (PyErr_Occurred()) SWIG_fail;
33214 }
33215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33216 return resultobj;
33217 fail:
33218 return NULL;
33219 }
33220
33221
33222 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33223 PyObject *resultobj;
33224 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33225 PyObject * obj0 = 0 ;
33226 char *kwnames[] = {
33227 (char *) "self", NULL
33228 };
33229
33230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33232 if (SWIG_arg_fail(1)) SWIG_fail;
33233 {
33234 PyThreadState* __tstate = wxPyBeginAllowThreads();
33235 delete arg1;
33236
33237 wxPyEndAllowThreads(__tstate);
33238 if (PyErr_Occurred()) SWIG_fail;
33239 }
33240 Py_INCREF(Py_None); resultobj = Py_None;
33241 return resultobj;
33242 fail:
33243 return NULL;
33244 }
33245
33246
33247 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33248 PyObject *resultobj;
33249 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33250 wxWindow *arg2 = (wxWindow *) NULL ;
33251 bool result;
33252 PyObject * obj0 = 0 ;
33253 PyObject * obj1 = 0 ;
33254 char *kwnames[] = {
33255 (char *) "self",(char *) "window", NULL
33256 };
33257
33258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33260 if (SWIG_arg_fail(1)) SWIG_fail;
33261 if (obj1) {
33262 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33263 if (SWIG_arg_fail(2)) SWIG_fail;
33264 }
33265 {
33266 PyThreadState* __tstate = wxPyBeginAllowThreads();
33267 result = (bool)(arg1)->BeginContextHelp(arg2);
33268
33269 wxPyEndAllowThreads(__tstate);
33270 if (PyErr_Occurred()) SWIG_fail;
33271 }
33272 {
33273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33274 }
33275 return resultobj;
33276 fail:
33277 return NULL;
33278 }
33279
33280
33281 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33282 PyObject *resultobj;
33283 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33284 bool result;
33285 PyObject * obj0 = 0 ;
33286 char *kwnames[] = {
33287 (char *) "self", NULL
33288 };
33289
33290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33292 if (SWIG_arg_fail(1)) SWIG_fail;
33293 {
33294 PyThreadState* __tstate = wxPyBeginAllowThreads();
33295 result = (bool)(arg1)->EndContextHelp();
33296
33297 wxPyEndAllowThreads(__tstate);
33298 if (PyErr_Occurred()) SWIG_fail;
33299 }
33300 {
33301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33302 }
33303 return resultobj;
33304 fail:
33305 return NULL;
33306 }
33307
33308
33309 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33310 PyObject *obj;
33311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33312 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33313 Py_INCREF(obj);
33314 return Py_BuildValue((char *)"");
33315 }
33316 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33317 PyObject *resultobj;
33318 wxWindow *arg1 = (wxWindow *) 0 ;
33319 int arg2 = (int) wxID_CONTEXT_HELP ;
33320 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33321 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33322 wxSize const &arg4_defvalue = wxDefaultSize ;
33323 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33324 long arg5 = (long) wxBU_AUTODRAW ;
33325 wxContextHelpButton *result;
33326 wxPoint temp3 ;
33327 wxSize temp4 ;
33328 PyObject * obj0 = 0 ;
33329 PyObject * obj1 = 0 ;
33330 PyObject * obj2 = 0 ;
33331 PyObject * obj3 = 0 ;
33332 PyObject * obj4 = 0 ;
33333 char *kwnames[] = {
33334 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33335 };
33336
33337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33339 if (SWIG_arg_fail(1)) SWIG_fail;
33340 if (obj1) {
33341 {
33342 arg2 = (int)(SWIG_As_int(obj1));
33343 if (SWIG_arg_fail(2)) SWIG_fail;
33344 }
33345 }
33346 if (obj2) {
33347 {
33348 arg3 = &temp3;
33349 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33350 }
33351 }
33352 if (obj3) {
33353 {
33354 arg4 = &temp4;
33355 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33356 }
33357 }
33358 if (obj4) {
33359 {
33360 arg5 = (long)(SWIG_As_long(obj4));
33361 if (SWIG_arg_fail(5)) SWIG_fail;
33362 }
33363 }
33364 {
33365 if (!wxPyCheckForApp()) SWIG_fail;
33366 PyThreadState* __tstate = wxPyBeginAllowThreads();
33367 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33368
33369 wxPyEndAllowThreads(__tstate);
33370 if (PyErr_Occurred()) SWIG_fail;
33371 }
33372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33373 return resultobj;
33374 fail:
33375 return NULL;
33376 }
33377
33378
33379 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33380 PyObject *obj;
33381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33382 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33383 Py_INCREF(obj);
33384 return Py_BuildValue((char *)"");
33385 }
33386 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33387 PyObject *resultobj;
33388 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33389 wxHelpProvider *result;
33390 PyObject * obj0 = 0 ;
33391 char *kwnames[] = {
33392 (char *) "helpProvider", NULL
33393 };
33394
33395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33397 if (SWIG_arg_fail(1)) SWIG_fail;
33398 {
33399 PyThreadState* __tstate = wxPyBeginAllowThreads();
33400 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33401
33402 wxPyEndAllowThreads(__tstate);
33403 if (PyErr_Occurred()) SWIG_fail;
33404 }
33405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33406 return resultobj;
33407 fail:
33408 return NULL;
33409 }
33410
33411
33412 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33413 PyObject *resultobj;
33414 wxHelpProvider *result;
33415 char *kwnames[] = {
33416 NULL
33417 };
33418
33419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33420 {
33421 PyThreadState* __tstate = wxPyBeginAllowThreads();
33422 result = (wxHelpProvider *)wxHelpProvider::Get();
33423
33424 wxPyEndAllowThreads(__tstate);
33425 if (PyErr_Occurred()) SWIG_fail;
33426 }
33427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33428 return resultobj;
33429 fail:
33430 return NULL;
33431 }
33432
33433
33434 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33435 PyObject *resultobj;
33436 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33437 wxWindow *arg2 = (wxWindow *) 0 ;
33438 wxString result;
33439 PyObject * obj0 = 0 ;
33440 PyObject * obj1 = 0 ;
33441 char *kwnames[] = {
33442 (char *) "self",(char *) "window", NULL
33443 };
33444
33445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33447 if (SWIG_arg_fail(1)) SWIG_fail;
33448 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33449 if (SWIG_arg_fail(2)) SWIG_fail;
33450 {
33451 PyThreadState* __tstate = wxPyBeginAllowThreads();
33452 result = (arg1)->GetHelp((wxWindow const *)arg2);
33453
33454 wxPyEndAllowThreads(__tstate);
33455 if (PyErr_Occurred()) SWIG_fail;
33456 }
33457 {
33458 #if wxUSE_UNICODE
33459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33460 #else
33461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33462 #endif
33463 }
33464 return resultobj;
33465 fail:
33466 return NULL;
33467 }
33468
33469
33470 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33471 PyObject *resultobj;
33472 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33473 wxWindow *arg2 = (wxWindow *) 0 ;
33474 bool result;
33475 PyObject * obj0 = 0 ;
33476 PyObject * obj1 = 0 ;
33477 char *kwnames[] = {
33478 (char *) "self",(char *) "window", NULL
33479 };
33480
33481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33483 if (SWIG_arg_fail(1)) SWIG_fail;
33484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33485 if (SWIG_arg_fail(2)) SWIG_fail;
33486 {
33487 PyThreadState* __tstate = wxPyBeginAllowThreads();
33488 result = (bool)(arg1)->ShowHelp(arg2);
33489
33490 wxPyEndAllowThreads(__tstate);
33491 if (PyErr_Occurred()) SWIG_fail;
33492 }
33493 {
33494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33495 }
33496 return resultobj;
33497 fail:
33498 return NULL;
33499 }
33500
33501
33502 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33503 PyObject *resultobj;
33504 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33505 wxWindow *arg2 = (wxWindow *) 0 ;
33506 wxString *arg3 = 0 ;
33507 bool temp3 = false ;
33508 PyObject * obj0 = 0 ;
33509 PyObject * obj1 = 0 ;
33510 PyObject * obj2 = 0 ;
33511 char *kwnames[] = {
33512 (char *) "self",(char *) "window",(char *) "text", NULL
33513 };
33514
33515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33517 if (SWIG_arg_fail(1)) SWIG_fail;
33518 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33519 if (SWIG_arg_fail(2)) SWIG_fail;
33520 {
33521 arg3 = wxString_in_helper(obj2);
33522 if (arg3 == NULL) SWIG_fail;
33523 temp3 = true;
33524 }
33525 {
33526 PyThreadState* __tstate = wxPyBeginAllowThreads();
33527 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33528
33529 wxPyEndAllowThreads(__tstate);
33530 if (PyErr_Occurred()) SWIG_fail;
33531 }
33532 Py_INCREF(Py_None); resultobj = Py_None;
33533 {
33534 if (temp3)
33535 delete arg3;
33536 }
33537 return resultobj;
33538 fail:
33539 {
33540 if (temp3)
33541 delete arg3;
33542 }
33543 return NULL;
33544 }
33545
33546
33547 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33548 PyObject *resultobj;
33549 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33550 int arg2 ;
33551 wxString *arg3 = 0 ;
33552 bool temp3 = false ;
33553 PyObject * obj0 = 0 ;
33554 PyObject * obj1 = 0 ;
33555 PyObject * obj2 = 0 ;
33556 char *kwnames[] = {
33557 (char *) "self",(char *) "id",(char *) "text", NULL
33558 };
33559
33560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33562 if (SWIG_arg_fail(1)) SWIG_fail;
33563 {
33564 arg2 = (int)(SWIG_As_int(obj1));
33565 if (SWIG_arg_fail(2)) SWIG_fail;
33566 }
33567 {
33568 arg3 = wxString_in_helper(obj2);
33569 if (arg3 == NULL) SWIG_fail;
33570 temp3 = true;
33571 }
33572 {
33573 PyThreadState* __tstate = wxPyBeginAllowThreads();
33574 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33575
33576 wxPyEndAllowThreads(__tstate);
33577 if (PyErr_Occurred()) SWIG_fail;
33578 }
33579 Py_INCREF(Py_None); resultobj = Py_None;
33580 {
33581 if (temp3)
33582 delete arg3;
33583 }
33584 return resultobj;
33585 fail:
33586 {
33587 if (temp3)
33588 delete arg3;
33589 }
33590 return NULL;
33591 }
33592
33593
33594 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33595 PyObject *resultobj;
33596 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33597 wxWindow *arg2 = (wxWindow *) 0 ;
33598 PyObject * obj0 = 0 ;
33599 PyObject * obj1 = 0 ;
33600 char *kwnames[] = {
33601 (char *) "self",(char *) "window", NULL
33602 };
33603
33604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33606 if (SWIG_arg_fail(1)) SWIG_fail;
33607 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33608 if (SWIG_arg_fail(2)) SWIG_fail;
33609 {
33610 PyThreadState* __tstate = wxPyBeginAllowThreads();
33611 (arg1)->RemoveHelp(arg2);
33612
33613 wxPyEndAllowThreads(__tstate);
33614 if (PyErr_Occurred()) SWIG_fail;
33615 }
33616 Py_INCREF(Py_None); resultobj = Py_None;
33617 return resultobj;
33618 fail:
33619 return NULL;
33620 }
33621
33622
33623 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
33624 PyObject *resultobj;
33625 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33626 PyObject * obj0 = 0 ;
33627 char *kwnames[] = {
33628 (char *) "self", NULL
33629 };
33630
33631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
33632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33633 if (SWIG_arg_fail(1)) SWIG_fail;
33634 {
33635 PyThreadState* __tstate = wxPyBeginAllowThreads();
33636 wxHelpProvider_Destroy(arg1);
33637
33638 wxPyEndAllowThreads(__tstate);
33639 if (PyErr_Occurred()) SWIG_fail;
33640 }
33641 Py_INCREF(Py_None); resultobj = Py_None;
33642 return resultobj;
33643 fail:
33644 return NULL;
33645 }
33646
33647
33648 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
33649 PyObject *obj;
33650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33651 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33652 Py_INCREF(obj);
33653 return Py_BuildValue((char *)"");
33654 }
33655 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
33656 PyObject *resultobj;
33657 wxSimpleHelpProvider *result;
33658 char *kwnames[] = {
33659 NULL
33660 };
33661
33662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33663 {
33664 PyThreadState* __tstate = wxPyBeginAllowThreads();
33665 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33666
33667 wxPyEndAllowThreads(__tstate);
33668 if (PyErr_Occurred()) SWIG_fail;
33669 }
33670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33671 return resultobj;
33672 fail:
33673 return NULL;
33674 }
33675
33676
33677 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
33678 PyObject *obj;
33679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33680 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33681 Py_INCREF(obj);
33682 return Py_BuildValue((char *)"");
33683 }
33684 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33685 PyObject *resultobj;
33686 wxBitmap *arg1 = 0 ;
33687 wxCursor const &arg2_defvalue = wxNullCursor ;
33688 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33689 wxGenericDragImage *result;
33690 PyObject * obj0 = 0 ;
33691 PyObject * obj1 = 0 ;
33692 char *kwnames[] = {
33693 (char *) "image",(char *) "cursor", NULL
33694 };
33695
33696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
33697 {
33698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33699 if (SWIG_arg_fail(1)) SWIG_fail;
33700 if (arg1 == NULL) {
33701 SWIG_null_ref("wxBitmap");
33702 }
33703 if (SWIG_arg_fail(1)) SWIG_fail;
33704 }
33705 if (obj1) {
33706 {
33707 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33708 if (SWIG_arg_fail(2)) SWIG_fail;
33709 if (arg2 == NULL) {
33710 SWIG_null_ref("wxCursor");
33711 }
33712 if (SWIG_arg_fail(2)) SWIG_fail;
33713 }
33714 }
33715 {
33716 if (!wxPyCheckForApp()) SWIG_fail;
33717 PyThreadState* __tstate = wxPyBeginAllowThreads();
33718 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33719
33720 wxPyEndAllowThreads(__tstate);
33721 if (PyErr_Occurred()) SWIG_fail;
33722 }
33723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33724 return resultobj;
33725 fail:
33726 return NULL;
33727 }
33728
33729
33730 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
33731 PyObject *resultobj;
33732 wxIcon *arg1 = 0 ;
33733 wxCursor const &arg2_defvalue = wxNullCursor ;
33734 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33735 wxGenericDragImage *result;
33736 PyObject * obj0 = 0 ;
33737 PyObject * obj1 = 0 ;
33738 char *kwnames[] = {
33739 (char *) "image",(char *) "cursor", NULL
33740 };
33741
33742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
33743 {
33744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33745 if (SWIG_arg_fail(1)) SWIG_fail;
33746 if (arg1 == NULL) {
33747 SWIG_null_ref("wxIcon");
33748 }
33749 if (SWIG_arg_fail(1)) SWIG_fail;
33750 }
33751 if (obj1) {
33752 {
33753 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33754 if (SWIG_arg_fail(2)) SWIG_fail;
33755 if (arg2 == NULL) {
33756 SWIG_null_ref("wxCursor");
33757 }
33758 if (SWIG_arg_fail(2)) SWIG_fail;
33759 }
33760 }
33761 {
33762 if (!wxPyCheckForApp()) SWIG_fail;
33763 PyThreadState* __tstate = wxPyBeginAllowThreads();
33764 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33765
33766 wxPyEndAllowThreads(__tstate);
33767 if (PyErr_Occurred()) SWIG_fail;
33768 }
33769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33770 return resultobj;
33771 fail:
33772 return NULL;
33773 }
33774
33775
33776 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
33777 PyObject *resultobj;
33778 wxString *arg1 = 0 ;
33779 wxCursor const &arg2_defvalue = wxNullCursor ;
33780 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33781 wxGenericDragImage *result;
33782 bool temp1 = false ;
33783 PyObject * obj0 = 0 ;
33784 PyObject * obj1 = 0 ;
33785 char *kwnames[] = {
33786 (char *) "str",(char *) "cursor", NULL
33787 };
33788
33789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33790 {
33791 arg1 = wxString_in_helper(obj0);
33792 if (arg1 == NULL) SWIG_fail;
33793 temp1 = true;
33794 }
33795 if (obj1) {
33796 {
33797 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33798 if (SWIG_arg_fail(2)) SWIG_fail;
33799 if (arg2 == NULL) {
33800 SWIG_null_ref("wxCursor");
33801 }
33802 if (SWIG_arg_fail(2)) SWIG_fail;
33803 }
33804 }
33805 {
33806 if (!wxPyCheckForApp()) SWIG_fail;
33807 PyThreadState* __tstate = wxPyBeginAllowThreads();
33808 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33809
33810 wxPyEndAllowThreads(__tstate);
33811 if (PyErr_Occurred()) SWIG_fail;
33812 }
33813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33814 {
33815 if (temp1)
33816 delete arg1;
33817 }
33818 return resultobj;
33819 fail:
33820 {
33821 if (temp1)
33822 delete arg1;
33823 }
33824 return NULL;
33825 }
33826
33827
33828 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
33829 PyObject *resultobj;
33830 wxPyTreeCtrl *arg1 = 0 ;
33831 wxTreeItemId *arg2 = 0 ;
33832 wxGenericDragImage *result;
33833 PyObject * obj0 = 0 ;
33834 PyObject * obj1 = 0 ;
33835 char *kwnames[] = {
33836 (char *) "treeCtrl",(char *) "id", NULL
33837 };
33838
33839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
33840 {
33841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33842 if (SWIG_arg_fail(1)) SWIG_fail;
33843 if (arg1 == NULL) {
33844 SWIG_null_ref("wxPyTreeCtrl");
33845 }
33846 if (SWIG_arg_fail(1)) SWIG_fail;
33847 }
33848 {
33849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33850 if (SWIG_arg_fail(2)) SWIG_fail;
33851 if (arg2 == NULL) {
33852 SWIG_null_ref("wxTreeItemId");
33853 }
33854 if (SWIG_arg_fail(2)) SWIG_fail;
33855 }
33856 {
33857 if (!wxPyCheckForApp()) SWIG_fail;
33858 PyThreadState* __tstate = wxPyBeginAllowThreads();
33859 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33860
33861 wxPyEndAllowThreads(__tstate);
33862 if (PyErr_Occurred()) SWIG_fail;
33863 }
33864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33865 return resultobj;
33866 fail:
33867 return NULL;
33868 }
33869
33870
33871 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
33872 PyObject *resultobj;
33873 wxPyListCtrl *arg1 = 0 ;
33874 long arg2 ;
33875 wxGenericDragImage *result;
33876 PyObject * obj0 = 0 ;
33877 PyObject * obj1 = 0 ;
33878 char *kwnames[] = {
33879 (char *) "listCtrl",(char *) "id", NULL
33880 };
33881
33882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
33883 {
33884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33885 if (SWIG_arg_fail(1)) SWIG_fail;
33886 if (arg1 == NULL) {
33887 SWIG_null_ref("wxPyListCtrl");
33888 }
33889 if (SWIG_arg_fail(1)) SWIG_fail;
33890 }
33891 {
33892 arg2 = (long)(SWIG_As_long(obj1));
33893 if (SWIG_arg_fail(2)) SWIG_fail;
33894 }
33895 {
33896 if (!wxPyCheckForApp()) SWIG_fail;
33897 PyThreadState* __tstate = wxPyBeginAllowThreads();
33898 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33899
33900 wxPyEndAllowThreads(__tstate);
33901 if (PyErr_Occurred()) SWIG_fail;
33902 }
33903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33904 return resultobj;
33905 fail:
33906 return NULL;
33907 }
33908
33909
33910 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33911 PyObject *resultobj;
33912 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33913 PyObject * obj0 = 0 ;
33914 char *kwnames[] = {
33915 (char *) "self", NULL
33916 };
33917
33918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
33919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33920 if (SWIG_arg_fail(1)) SWIG_fail;
33921 {
33922 PyThreadState* __tstate = wxPyBeginAllowThreads();
33923 delete arg1;
33924
33925 wxPyEndAllowThreads(__tstate);
33926 if (PyErr_Occurred()) SWIG_fail;
33927 }
33928 Py_INCREF(Py_None); resultobj = Py_None;
33929 return resultobj;
33930 fail:
33931 return NULL;
33932 }
33933
33934
33935 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
33936 PyObject *resultobj;
33937 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33938 wxBitmap *arg2 = (wxBitmap *) 0 ;
33939 PyObject * obj0 = 0 ;
33940 PyObject * obj1 = 0 ;
33941 char *kwnames[] = {
33942 (char *) "self",(char *) "bitmap", NULL
33943 };
33944
33945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
33946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33947 if (SWIG_arg_fail(1)) SWIG_fail;
33948 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33949 if (SWIG_arg_fail(2)) SWIG_fail;
33950 {
33951 PyThreadState* __tstate = wxPyBeginAllowThreads();
33952 (arg1)->SetBackingBitmap(arg2);
33953
33954 wxPyEndAllowThreads(__tstate);
33955 if (PyErr_Occurred()) SWIG_fail;
33956 }
33957 Py_INCREF(Py_None); resultobj = Py_None;
33958 return resultobj;
33959 fail:
33960 return NULL;
33961 }
33962
33963
33964 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
33965 PyObject *resultobj;
33966 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33967 wxPoint *arg2 = 0 ;
33968 wxWindow *arg3 = (wxWindow *) 0 ;
33969 bool arg4 = (bool) false ;
33970 wxRect *arg5 = (wxRect *) NULL ;
33971 bool result;
33972 wxPoint temp2 ;
33973 PyObject * obj0 = 0 ;
33974 PyObject * obj1 = 0 ;
33975 PyObject * obj2 = 0 ;
33976 PyObject * obj3 = 0 ;
33977 PyObject * obj4 = 0 ;
33978 char *kwnames[] = {
33979 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33980 };
33981
33982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33984 if (SWIG_arg_fail(1)) SWIG_fail;
33985 {
33986 arg2 = &temp2;
33987 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33988 }
33989 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33990 if (SWIG_arg_fail(3)) SWIG_fail;
33991 if (obj3) {
33992 {
33993 arg4 = (bool)(SWIG_As_bool(obj3));
33994 if (SWIG_arg_fail(4)) SWIG_fail;
33995 }
33996 }
33997 if (obj4) {
33998 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
33999 if (SWIG_arg_fail(5)) SWIG_fail;
34000 }
34001 {
34002 PyThreadState* __tstate = wxPyBeginAllowThreads();
34003 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34004
34005 wxPyEndAllowThreads(__tstate);
34006 if (PyErr_Occurred()) SWIG_fail;
34007 }
34008 {
34009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34010 }
34011 return resultobj;
34012 fail:
34013 return NULL;
34014 }
34015
34016
34017 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34018 PyObject *resultobj;
34019 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34020 wxPoint *arg2 = 0 ;
34021 wxWindow *arg3 = (wxWindow *) 0 ;
34022 wxWindow *arg4 = (wxWindow *) 0 ;
34023 bool result;
34024 wxPoint temp2 ;
34025 PyObject * obj0 = 0 ;
34026 PyObject * obj1 = 0 ;
34027 PyObject * obj2 = 0 ;
34028 PyObject * obj3 = 0 ;
34029 char *kwnames[] = {
34030 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34031 };
34032
34033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34035 if (SWIG_arg_fail(1)) SWIG_fail;
34036 {
34037 arg2 = &temp2;
34038 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34039 }
34040 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34041 if (SWIG_arg_fail(3)) SWIG_fail;
34042 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34043 if (SWIG_arg_fail(4)) SWIG_fail;
34044 {
34045 PyThreadState* __tstate = wxPyBeginAllowThreads();
34046 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34047
34048 wxPyEndAllowThreads(__tstate);
34049 if (PyErr_Occurred()) SWIG_fail;
34050 }
34051 {
34052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34053 }
34054 return resultobj;
34055 fail:
34056 return NULL;
34057 }
34058
34059
34060 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34061 PyObject *resultobj;
34062 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34063 bool result;
34064 PyObject * obj0 = 0 ;
34065 char *kwnames[] = {
34066 (char *) "self", NULL
34067 };
34068
34069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34071 if (SWIG_arg_fail(1)) SWIG_fail;
34072 {
34073 PyThreadState* __tstate = wxPyBeginAllowThreads();
34074 result = (bool)(arg1)->EndDrag();
34075
34076 wxPyEndAllowThreads(__tstate);
34077 if (PyErr_Occurred()) SWIG_fail;
34078 }
34079 {
34080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34081 }
34082 return resultobj;
34083 fail:
34084 return NULL;
34085 }
34086
34087
34088 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34089 PyObject *resultobj;
34090 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34091 wxPoint *arg2 = 0 ;
34092 bool result;
34093 wxPoint temp2 ;
34094 PyObject * obj0 = 0 ;
34095 PyObject * obj1 = 0 ;
34096 char *kwnames[] = {
34097 (char *) "self",(char *) "pt", NULL
34098 };
34099
34100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34102 if (SWIG_arg_fail(1)) SWIG_fail;
34103 {
34104 arg2 = &temp2;
34105 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34106 }
34107 {
34108 PyThreadState* __tstate = wxPyBeginAllowThreads();
34109 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34110
34111 wxPyEndAllowThreads(__tstate);
34112 if (PyErr_Occurred()) SWIG_fail;
34113 }
34114 {
34115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34116 }
34117 return resultobj;
34118 fail:
34119 return NULL;
34120 }
34121
34122
34123 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34124 PyObject *resultobj;
34125 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34126 bool result;
34127 PyObject * obj0 = 0 ;
34128 char *kwnames[] = {
34129 (char *) "self", NULL
34130 };
34131
34132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34134 if (SWIG_arg_fail(1)) SWIG_fail;
34135 {
34136 PyThreadState* __tstate = wxPyBeginAllowThreads();
34137 result = (bool)(arg1)->Show();
34138
34139 wxPyEndAllowThreads(__tstate);
34140 if (PyErr_Occurred()) SWIG_fail;
34141 }
34142 {
34143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34144 }
34145 return resultobj;
34146 fail:
34147 return NULL;
34148 }
34149
34150
34151 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34152 PyObject *resultobj;
34153 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34154 bool result;
34155 PyObject * obj0 = 0 ;
34156 char *kwnames[] = {
34157 (char *) "self", NULL
34158 };
34159
34160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34162 if (SWIG_arg_fail(1)) SWIG_fail;
34163 {
34164 PyThreadState* __tstate = wxPyBeginAllowThreads();
34165 result = (bool)(arg1)->Hide();
34166
34167 wxPyEndAllowThreads(__tstate);
34168 if (PyErr_Occurred()) SWIG_fail;
34169 }
34170 {
34171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34172 }
34173 return resultobj;
34174 fail:
34175 return NULL;
34176 }
34177
34178
34179 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34180 PyObject *resultobj;
34181 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34182 wxPoint *arg2 = 0 ;
34183 wxRect result;
34184 wxPoint temp2 ;
34185 PyObject * obj0 = 0 ;
34186 PyObject * obj1 = 0 ;
34187 char *kwnames[] = {
34188 (char *) "self",(char *) "pos", NULL
34189 };
34190
34191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34193 if (SWIG_arg_fail(1)) SWIG_fail;
34194 {
34195 arg2 = &temp2;
34196 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34197 }
34198 {
34199 PyThreadState* __tstate = wxPyBeginAllowThreads();
34200 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34201
34202 wxPyEndAllowThreads(__tstate);
34203 if (PyErr_Occurred()) SWIG_fail;
34204 }
34205 {
34206 wxRect * resultptr;
34207 resultptr = new wxRect((wxRect &)(result));
34208 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34209 }
34210 return resultobj;
34211 fail:
34212 return NULL;
34213 }
34214
34215
34216 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34217 PyObject *resultobj;
34218 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34219 wxDC *arg2 = 0 ;
34220 wxPoint *arg3 = 0 ;
34221 bool result;
34222 wxPoint temp3 ;
34223 PyObject * obj0 = 0 ;
34224 PyObject * obj1 = 0 ;
34225 PyObject * obj2 = 0 ;
34226 char *kwnames[] = {
34227 (char *) "self",(char *) "dc",(char *) "pos", NULL
34228 };
34229
34230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34232 if (SWIG_arg_fail(1)) SWIG_fail;
34233 {
34234 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34235 if (SWIG_arg_fail(2)) SWIG_fail;
34236 if (arg2 == NULL) {
34237 SWIG_null_ref("wxDC");
34238 }
34239 if (SWIG_arg_fail(2)) SWIG_fail;
34240 }
34241 {
34242 arg3 = &temp3;
34243 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34244 }
34245 {
34246 PyThreadState* __tstate = wxPyBeginAllowThreads();
34247 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34248
34249 wxPyEndAllowThreads(__tstate);
34250 if (PyErr_Occurred()) SWIG_fail;
34251 }
34252 {
34253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34254 }
34255 return resultobj;
34256 fail:
34257 return NULL;
34258 }
34259
34260
34261 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34262 PyObject *resultobj;
34263 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34264 wxDC *arg2 = 0 ;
34265 wxMemoryDC *arg3 = 0 ;
34266 wxRect *arg4 = 0 ;
34267 wxRect *arg5 = 0 ;
34268 bool result;
34269 wxRect temp4 ;
34270 wxRect temp5 ;
34271 PyObject * obj0 = 0 ;
34272 PyObject * obj1 = 0 ;
34273 PyObject * obj2 = 0 ;
34274 PyObject * obj3 = 0 ;
34275 PyObject * obj4 = 0 ;
34276 char *kwnames[] = {
34277 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34278 };
34279
34280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34282 if (SWIG_arg_fail(1)) SWIG_fail;
34283 {
34284 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34285 if (SWIG_arg_fail(2)) SWIG_fail;
34286 if (arg2 == NULL) {
34287 SWIG_null_ref("wxDC");
34288 }
34289 if (SWIG_arg_fail(2)) SWIG_fail;
34290 }
34291 {
34292 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34293 if (SWIG_arg_fail(3)) SWIG_fail;
34294 if (arg3 == NULL) {
34295 SWIG_null_ref("wxMemoryDC");
34296 }
34297 if (SWIG_arg_fail(3)) SWIG_fail;
34298 }
34299 {
34300 arg4 = &temp4;
34301 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34302 }
34303 {
34304 arg5 = &temp5;
34305 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34306 }
34307 {
34308 PyThreadState* __tstate = wxPyBeginAllowThreads();
34309 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34310
34311 wxPyEndAllowThreads(__tstate);
34312 if (PyErr_Occurred()) SWIG_fail;
34313 }
34314 {
34315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34316 }
34317 return resultobj;
34318 fail:
34319 return NULL;
34320 }
34321
34322
34323 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34324 PyObject *resultobj;
34325 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34326 wxPoint *arg2 = 0 ;
34327 wxPoint *arg3 = 0 ;
34328 bool arg4 ;
34329 bool arg5 ;
34330 bool result;
34331 wxPoint temp2 ;
34332 wxPoint temp3 ;
34333 PyObject * obj0 = 0 ;
34334 PyObject * obj1 = 0 ;
34335 PyObject * obj2 = 0 ;
34336 PyObject * obj3 = 0 ;
34337 PyObject * obj4 = 0 ;
34338 char *kwnames[] = {
34339 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34340 };
34341
34342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34344 if (SWIG_arg_fail(1)) SWIG_fail;
34345 {
34346 arg2 = &temp2;
34347 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34348 }
34349 {
34350 arg3 = &temp3;
34351 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34352 }
34353 {
34354 arg4 = (bool)(SWIG_As_bool(obj3));
34355 if (SWIG_arg_fail(4)) SWIG_fail;
34356 }
34357 {
34358 arg5 = (bool)(SWIG_As_bool(obj4));
34359 if (SWIG_arg_fail(5)) SWIG_fail;
34360 }
34361 {
34362 PyThreadState* __tstate = wxPyBeginAllowThreads();
34363 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34364
34365 wxPyEndAllowThreads(__tstate);
34366 if (PyErr_Occurred()) SWIG_fail;
34367 }
34368 {
34369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34370 }
34371 return resultobj;
34372 fail:
34373 return NULL;
34374 }
34375
34376
34377 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34378 PyObject *obj;
34379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34380 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34381 Py_INCREF(obj);
34382 return Py_BuildValue((char *)"");
34383 }
34384 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34385 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34386 return 1;
34387 }
34388
34389
34390 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34391 PyObject *pyobj;
34392
34393 {
34394 #if wxUSE_UNICODE
34395 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34396 #else
34397 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34398 #endif
34399 }
34400 return pyobj;
34401 }
34402
34403
34404 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34405 PyObject *resultobj;
34406 wxWindow *arg1 = (wxWindow *) 0 ;
34407 int arg2 = (int) -1 ;
34408 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34409 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34412 wxSize const &arg5_defvalue = wxDefaultSize ;
34413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34414 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34415 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34416 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34417 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34418 wxString *arg8 = (wxString *) &arg8_defvalue ;
34419 wxDatePickerCtrl *result;
34420 wxPoint temp4 ;
34421 wxSize temp5 ;
34422 bool temp8 = false ;
34423 PyObject * obj0 = 0 ;
34424 PyObject * obj1 = 0 ;
34425 PyObject * obj2 = 0 ;
34426 PyObject * obj3 = 0 ;
34427 PyObject * obj4 = 0 ;
34428 PyObject * obj5 = 0 ;
34429 PyObject * obj6 = 0 ;
34430 PyObject * obj7 = 0 ;
34431 char *kwnames[] = {
34432 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34433 };
34434
34435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34437 if (SWIG_arg_fail(1)) SWIG_fail;
34438 if (obj1) {
34439 {
34440 arg2 = (int)(SWIG_As_int(obj1));
34441 if (SWIG_arg_fail(2)) SWIG_fail;
34442 }
34443 }
34444 if (obj2) {
34445 {
34446 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34447 if (SWIG_arg_fail(3)) SWIG_fail;
34448 if (arg3 == NULL) {
34449 SWIG_null_ref("wxDateTime");
34450 }
34451 if (SWIG_arg_fail(3)) SWIG_fail;
34452 }
34453 }
34454 if (obj3) {
34455 {
34456 arg4 = &temp4;
34457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34458 }
34459 }
34460 if (obj4) {
34461 {
34462 arg5 = &temp5;
34463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34464 }
34465 }
34466 if (obj5) {
34467 {
34468 arg6 = (long)(SWIG_As_long(obj5));
34469 if (SWIG_arg_fail(6)) SWIG_fail;
34470 }
34471 }
34472 if (obj6) {
34473 {
34474 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34475 if (SWIG_arg_fail(7)) SWIG_fail;
34476 if (arg7 == NULL) {
34477 SWIG_null_ref("wxValidator");
34478 }
34479 if (SWIG_arg_fail(7)) SWIG_fail;
34480 }
34481 }
34482 if (obj7) {
34483 {
34484 arg8 = wxString_in_helper(obj7);
34485 if (arg8 == NULL) SWIG_fail;
34486 temp8 = true;
34487 }
34488 }
34489 {
34490 if (!wxPyCheckForApp()) SWIG_fail;
34491 PyThreadState* __tstate = wxPyBeginAllowThreads();
34492 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34493
34494 wxPyEndAllowThreads(__tstate);
34495 if (PyErr_Occurred()) SWIG_fail;
34496 }
34497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34498 {
34499 if (temp8)
34500 delete arg8;
34501 }
34502 return resultobj;
34503 fail:
34504 {
34505 if (temp8)
34506 delete arg8;
34507 }
34508 return NULL;
34509 }
34510
34511
34512 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34513 PyObject *resultobj;
34514 wxDatePickerCtrl *result;
34515 char *kwnames[] = {
34516 NULL
34517 };
34518
34519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34520 {
34521 if (!wxPyCheckForApp()) SWIG_fail;
34522 PyThreadState* __tstate = wxPyBeginAllowThreads();
34523 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34524
34525 wxPyEndAllowThreads(__tstate);
34526 if (PyErr_Occurred()) SWIG_fail;
34527 }
34528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34529 return resultobj;
34530 fail:
34531 return NULL;
34532 }
34533
34534
34535 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34536 PyObject *resultobj;
34537 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34538 wxWindow *arg2 = (wxWindow *) 0 ;
34539 int arg3 = (int) -1 ;
34540 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34541 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34542 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34543 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34544 wxSize const &arg6_defvalue = wxDefaultSize ;
34545 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34546 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34547 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34548 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34549 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34550 wxString *arg9 = (wxString *) &arg9_defvalue ;
34551 bool result;
34552 wxPoint temp5 ;
34553 wxSize temp6 ;
34554 bool temp9 = false ;
34555 PyObject * obj0 = 0 ;
34556 PyObject * obj1 = 0 ;
34557 PyObject * obj2 = 0 ;
34558 PyObject * obj3 = 0 ;
34559 PyObject * obj4 = 0 ;
34560 PyObject * obj5 = 0 ;
34561 PyObject * obj6 = 0 ;
34562 PyObject * obj7 = 0 ;
34563 PyObject * obj8 = 0 ;
34564 char *kwnames[] = {
34565 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34566 };
34567
34568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34570 if (SWIG_arg_fail(1)) SWIG_fail;
34571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34572 if (SWIG_arg_fail(2)) SWIG_fail;
34573 if (obj2) {
34574 {
34575 arg3 = (int)(SWIG_As_int(obj2));
34576 if (SWIG_arg_fail(3)) SWIG_fail;
34577 }
34578 }
34579 if (obj3) {
34580 {
34581 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34582 if (SWIG_arg_fail(4)) SWIG_fail;
34583 if (arg4 == NULL) {
34584 SWIG_null_ref("wxDateTime");
34585 }
34586 if (SWIG_arg_fail(4)) SWIG_fail;
34587 }
34588 }
34589 if (obj4) {
34590 {
34591 arg5 = &temp5;
34592 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34593 }
34594 }
34595 if (obj5) {
34596 {
34597 arg6 = &temp6;
34598 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34599 }
34600 }
34601 if (obj6) {
34602 {
34603 arg7 = (long)(SWIG_As_long(obj6));
34604 if (SWIG_arg_fail(7)) SWIG_fail;
34605 }
34606 }
34607 if (obj7) {
34608 {
34609 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34610 if (SWIG_arg_fail(8)) SWIG_fail;
34611 if (arg8 == NULL) {
34612 SWIG_null_ref("wxValidator");
34613 }
34614 if (SWIG_arg_fail(8)) SWIG_fail;
34615 }
34616 }
34617 if (obj8) {
34618 {
34619 arg9 = wxString_in_helper(obj8);
34620 if (arg9 == NULL) SWIG_fail;
34621 temp9 = true;
34622 }
34623 }
34624 {
34625 PyThreadState* __tstate = wxPyBeginAllowThreads();
34626 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34627
34628 wxPyEndAllowThreads(__tstate);
34629 if (PyErr_Occurred()) SWIG_fail;
34630 }
34631 {
34632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34633 }
34634 {
34635 if (temp9)
34636 delete arg9;
34637 }
34638 return resultobj;
34639 fail:
34640 {
34641 if (temp9)
34642 delete arg9;
34643 }
34644 return NULL;
34645 }
34646
34647
34648 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34649 PyObject *resultobj;
34650 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34651 wxDateTime *arg2 = 0 ;
34652 PyObject * obj0 = 0 ;
34653 PyObject * obj1 = 0 ;
34654 char *kwnames[] = {
34655 (char *) "self",(char *) "dt", NULL
34656 };
34657
34658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34660 if (SWIG_arg_fail(1)) SWIG_fail;
34661 {
34662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34663 if (SWIG_arg_fail(2)) SWIG_fail;
34664 if (arg2 == NULL) {
34665 SWIG_null_ref("wxDateTime");
34666 }
34667 if (SWIG_arg_fail(2)) SWIG_fail;
34668 }
34669 {
34670 PyThreadState* __tstate = wxPyBeginAllowThreads();
34671 (arg1)->SetValue((wxDateTime const &)*arg2);
34672
34673 wxPyEndAllowThreads(__tstate);
34674 if (PyErr_Occurred()) SWIG_fail;
34675 }
34676 Py_INCREF(Py_None); resultobj = Py_None;
34677 return resultobj;
34678 fail:
34679 return NULL;
34680 }
34681
34682
34683 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34684 PyObject *resultobj;
34685 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34686 wxDateTime result;
34687 PyObject * obj0 = 0 ;
34688 char *kwnames[] = {
34689 (char *) "self", NULL
34690 };
34691
34692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34694 if (SWIG_arg_fail(1)) SWIG_fail;
34695 {
34696 PyThreadState* __tstate = wxPyBeginAllowThreads();
34697 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34698
34699 wxPyEndAllowThreads(__tstate);
34700 if (PyErr_Occurred()) SWIG_fail;
34701 }
34702 {
34703 wxDateTime * resultptr;
34704 resultptr = new wxDateTime((wxDateTime &)(result));
34705 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34706 }
34707 return resultobj;
34708 fail:
34709 return NULL;
34710 }
34711
34712
34713 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34714 PyObject *resultobj;
34715 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34716 wxDateTime *arg2 = 0 ;
34717 wxDateTime *arg3 = 0 ;
34718 PyObject * obj0 = 0 ;
34719 PyObject * obj1 = 0 ;
34720 PyObject * obj2 = 0 ;
34721 char *kwnames[] = {
34722 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34723 };
34724
34725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34727 if (SWIG_arg_fail(1)) SWIG_fail;
34728 {
34729 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34730 if (SWIG_arg_fail(2)) SWIG_fail;
34731 if (arg2 == NULL) {
34732 SWIG_null_ref("wxDateTime");
34733 }
34734 if (SWIG_arg_fail(2)) SWIG_fail;
34735 }
34736 {
34737 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34738 if (SWIG_arg_fail(3)) SWIG_fail;
34739 if (arg3 == NULL) {
34740 SWIG_null_ref("wxDateTime");
34741 }
34742 if (SWIG_arg_fail(3)) SWIG_fail;
34743 }
34744 {
34745 PyThreadState* __tstate = wxPyBeginAllowThreads();
34746 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34747
34748 wxPyEndAllowThreads(__tstate);
34749 if (PyErr_Occurred()) SWIG_fail;
34750 }
34751 Py_INCREF(Py_None); resultobj = Py_None;
34752 return resultobj;
34753 fail:
34754 return NULL;
34755 }
34756
34757
34758 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34759 PyObject *resultobj;
34760 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34761 wxDateTime result;
34762 PyObject * obj0 = 0 ;
34763 char *kwnames[] = {
34764 (char *) "self", NULL
34765 };
34766
34767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34769 if (SWIG_arg_fail(1)) SWIG_fail;
34770 {
34771 PyThreadState* __tstate = wxPyBeginAllowThreads();
34772 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34773
34774 wxPyEndAllowThreads(__tstate);
34775 if (PyErr_Occurred()) SWIG_fail;
34776 }
34777 {
34778 wxDateTime * resultptr;
34779 resultptr = new wxDateTime((wxDateTime &)(result));
34780 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34781 }
34782 return resultobj;
34783 fail:
34784 return NULL;
34785 }
34786
34787
34788 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34789 PyObject *resultobj;
34790 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34791 wxDateTime result;
34792 PyObject * obj0 = 0 ;
34793 char *kwnames[] = {
34794 (char *) "self", NULL
34795 };
34796
34797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
34798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34799 if (SWIG_arg_fail(1)) SWIG_fail;
34800 {
34801 PyThreadState* __tstate = wxPyBeginAllowThreads();
34802 result = wxDatePickerCtrl_GetUpperLimit(arg1);
34803
34804 wxPyEndAllowThreads(__tstate);
34805 if (PyErr_Occurred()) SWIG_fail;
34806 }
34807 {
34808 wxDateTime * resultptr;
34809 resultptr = new wxDateTime((wxDateTime &)(result));
34810 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34811 }
34812 return resultobj;
34813 fail:
34814 return NULL;
34815 }
34816
34817
34818 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
34819 PyObject *obj;
34820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34821 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
34822 Py_INCREF(obj);
34823 return Py_BuildValue((char *)"");
34824 }
34825 static PyMethodDef SwigMethods[] = {
34826 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34827 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34828 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34829 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34830 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34831 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34832 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34833 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34834 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34835 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34836 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34837 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34838 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34839 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34840 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34841 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34842 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34843 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34844 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34845 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34846 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34847 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34848 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34849 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34850 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34851 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34852 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34853 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34854 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34855 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34856 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34857 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34858 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34859 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34860 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34861 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34862 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34863 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34864 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34865 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34866 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34867 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34868 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34869 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34870 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34871 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34872 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34873 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34874 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34875 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34876 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34877 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34878 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34879 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34880 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34881 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34882 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34883 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34884 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34885 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34886 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34887 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34889 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34890 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34893 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34894 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34895 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34897 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34902 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34909 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34914 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34921 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34922 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34926 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34934 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34945 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34953 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
34957 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
34966 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34984 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
34997 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35040 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35045 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35053 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35058 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35070 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35083 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35095 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35099 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35117 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35124 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35145 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35150 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35158 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35180 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35181 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35186 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35197 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35199 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35205 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35207 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35213 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35215 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35220 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35225 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35255 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35300 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35306 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35318 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35370 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35397 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35468 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35480 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35488 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35495 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35511 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35587 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35609 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35614 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35640 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35648 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35653 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35655 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35664 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35666 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
35684 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
35693 { NULL, NULL, 0, NULL }
35694 };
35695
35696
35697 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35698
35699 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35700 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35701 }
35702 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35703 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35704 }
35705 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35706 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35707 }
35708 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35709 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35710 }
35711 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35712 return (void *)((wxSizer *) ((wxGridSizer *) x));
35713 }
35714 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35715 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35716 }
35717 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35718 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35719 }
35720 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35721 return (void *)((wxSizer *) ((wxPySizer *) x));
35722 }
35723 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35724 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35725 }
35726 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35727 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35728 }
35729 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35730 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35731 }
35732 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35733 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35734 }
35735 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35736 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35737 }
35738 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35739 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35740 }
35741 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35742 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35743 }
35744 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35745 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35746 }
35747 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35748 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35749 }
35750 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35751 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35752 }
35753 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35754 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35755 }
35756 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35757 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35758 }
35759 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35760 return (void *)((wxEvent *) ((wxPyEvent *) x));
35761 }
35762 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35763 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35764 }
35765 static void *_p_wxListEventTo_p_wxEvent(void *x) {
35766 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35767 }
35768 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
35769 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
35770 }
35771 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
35772 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
35773 }
35774 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
35775 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
35776 }
35777 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35778 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35779 }
35780 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35781 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35782 }
35783 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35784 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35785 }
35786 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35787 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35788 }
35789 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35790 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35791 }
35792 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35793 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35794 }
35795 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35796 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35797 }
35798 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35799 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35800 }
35801 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35802 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35803 }
35804 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
35805 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
35806 }
35807 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35808 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35809 }
35810 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35811 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35812 }
35813 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35814 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35815 }
35816 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35817 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35818 }
35819 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35820 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35821 }
35822 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35823 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35824 }
35825 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35826 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35827 }
35828 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35829 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35830 }
35831 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35832 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35833 }
35834 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35835 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35836 }
35837 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35838 return (void *)((wxEvent *) ((wxShowEvent *) x));
35839 }
35840 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35841 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35842 }
35843 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35844 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35845 }
35846 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35847 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35848 }
35849 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35850 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35851 }
35852 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35853 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35854 }
35855 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35856 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35857 }
35858 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35859 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35860 }
35861 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35862 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35863 }
35864 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35865 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35866 }
35867 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35868 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35869 }
35870 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35871 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35872 }
35873 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35874 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35875 }
35876 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35877 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35878 }
35879 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35880 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35881 }
35882 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35883 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
35884 }
35885 static void *_p_wxToolBarTo_p_wxControl(void *x) {
35886 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35887 }
35888 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35889 return (void *)((wxControl *) ((wxToggleButton *) x));
35890 }
35891 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35892 return (void *)((wxControl *) ((wxRadioButton *) x));
35893 }
35894 static void *_p_wxPyControlTo_p_wxControl(void *x) {
35895 return (void *)((wxControl *) ((wxPyControl *) x));
35896 }
35897 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35898 return (void *)((wxControl *) ((wxToolBarBase *) x));
35899 }
35900 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35901 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35902 }
35903 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35904 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35905 }
35906 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35907 return (void *)((wxControl *) ((wxComboBox *) x));
35908 }
35909 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35910 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
35911 }
35912 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35913 return (void *)((wxControl *) ((wxScrollBar *) x));
35914 }
35915 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35916 return (void *)((wxControl *) ((wxControlWithItems *) x));
35917 }
35918 static void *_p_wxGaugeTo_p_wxControl(void *x) {
35919 return (void *)((wxControl *) ((wxGauge *) x));
35920 }
35921 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35922 return (void *)((wxControl *) ((wxStaticLine *) x));
35923 }
35924 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
35925 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
35926 }
35927 static void *_p_wxListbookTo_p_wxControl(void *x) {
35928 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
35929 }
35930 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35931 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
35932 }
35933 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35934 return (void *)((wxControl *) ((wxCheckBox *) x));
35935 }
35936 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
35937 return (void *)((wxControl *) ((wxRadioBox *) x));
35938 }
35939 static void *_p_wxChoiceTo_p_wxControl(void *x) {
35940 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
35941 }
35942 static void *_p_wxListBoxTo_p_wxControl(void *x) {
35943 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
35944 }
35945 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
35946 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35947 }
35948 static void *_p_wxListViewTo_p_wxControl(void *x) {
35949 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
35950 }
35951 static void *_p_wxNotebookTo_p_wxControl(void *x) {
35952 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
35953 }
35954 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
35955 return (void *)((wxControl *) ((wxStaticBitmap *) x));
35956 }
35957 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
35958 return (void *)((wxControl *) ((wxSpinCtrl *) x));
35959 }
35960 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
35961 return (void *)((wxControl *) ((wxStaticText *) x));
35962 }
35963 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
35964 return (void *)((wxControl *) ((wxStaticBox *) x));
35965 }
35966 static void *_p_wxSliderTo_p_wxControl(void *x) {
35967 return (void *)((wxControl *) ((wxSlider *) x));
35968 }
35969 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
35970 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
35971 }
35972 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
35973 return (void *)((wxControl *) ((wxSpinButton *) x));
35974 }
35975 static void *_p_wxButtonTo_p_wxControl(void *x) {
35976 return (void *)((wxControl *) ((wxButton *) x));
35977 }
35978 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
35979 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
35980 }
35981 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
35982 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
35983 }
35984 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
35985 return (void *)((wxControl *) ((wxTextCtrl *) x));
35986 }
35987 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
35988 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
35989 }
35990 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
35991 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
35992 }
35993 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
35994 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35995 }
35996 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
35997 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
35998 }
35999 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36000 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36001 }
36002 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36003 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36004 }
36005 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
36006 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36007 }
36008 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
36009 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36010 }
36011 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
36012 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36013 }
36014 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36015 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36016 }
36017 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36018 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
36019 }
36020 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36021 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
36022 }
36023 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36024 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36025 }
36026 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36027 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36028 }
36029 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36030 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36031 }
36032 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36033 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36034 }
36035 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36036 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36037 }
36038 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36039 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36040 }
36041 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36042 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36043 }
36044 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36045 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36046 }
36047 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36048 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36049 }
36050 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36051 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36052 }
36053 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36054 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36055 }
36056 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36057 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
36058 }
36059 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36060 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36061 }
36062 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36063 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36064 }
36065 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36066 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36067 }
36068 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36069 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36070 }
36071 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36072 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36073 }
36074 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36075 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36076 }
36077 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36078 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36079 }
36080 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36081 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36082 }
36083 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36084 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36085 }
36086 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
36087 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36088 }
36089 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
36090 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36091 }
36092 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36093 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36094 }
36095 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36096 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36097 }
36098 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36099 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36100 }
36101 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36102 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36103 }
36104 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36105 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36106 }
36107 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36108 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36109 }
36110 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
36111 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36112 }
36113 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36114 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36115 }
36116 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36117 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36118 }
36119 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36120 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36121 }
36122 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36123 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36124 }
36125 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36126 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36127 }
36128 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36129 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36130 }
36131 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36132 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36133 }
36134 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36135 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36136 }
36137 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36138 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36139 }
36140 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36141 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36142 }
36143 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36144 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36145 }
36146 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36147 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36148 }
36149 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36150 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36151 }
36152 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36153 return (void *)((wxButton *) ((wxBitmapButton *) x));
36154 }
36155 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36156 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36157 }
36158 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36159 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36160 }
36161 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36162 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36163 }
36164 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36165 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36166 }
36167 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36168 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36169 }
36170 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36171 return (void *)((wxObject *) ((wxSizerItem *) x));
36172 }
36173 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36174 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36175 }
36176 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36177 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36178 }
36179 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36180 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36181 }
36182 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36183 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36184 }
36185 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36186 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36187 }
36188 static void *_p_wxSizerTo_p_wxObject(void *x) {
36189 return (void *)((wxObject *) ((wxSizer *) x));
36190 }
36191 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36192 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36193 }
36194 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36196 }
36197 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36199 }
36200 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36201 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36202 }
36203 static void *_p_wxEventTo_p_wxObject(void *x) {
36204 return (void *)((wxObject *) ((wxEvent *) x));
36205 }
36206 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36207 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36208 }
36209 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36210 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36211 }
36212 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36213 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36214 }
36215 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36217 }
36218 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36220 }
36221 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36223 }
36224 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36225 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36226 }
36227 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36228 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36229 }
36230 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36231 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36232 }
36233 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36234 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36235 }
36236 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36237 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36238 }
36239 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36240 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36241 }
36242 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36244 }
36245 static void *_p_wxControlTo_p_wxObject(void *x) {
36246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36247 }
36248 static void *_p_wxPyControlTo_p_wxObject(void *x) {
36249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36250 }
36251 static void *_p_wxGaugeTo_p_wxObject(void *x) {
36252 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36253 }
36254 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36256 }
36257 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36259 }
36260 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36261 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36262 }
36263 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36264 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36265 }
36266 static void *_p_wxChoiceTo_p_wxObject(void *x) {
36267 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36268 }
36269 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36270 return (void *)((wxObject *) ((wxFSFile *) x));
36271 }
36272 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36273 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36274 }
36275 static void *_p_wxListViewTo_p_wxObject(void *x) {
36276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36277 }
36278 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36280 }
36281 static void *_p_wxNotebookTo_p_wxObject(void *x) {
36282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36283 }
36284 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36285 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36286 }
36287 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36288 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36289 }
36290 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
36291 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36292 }
36293 static void *_p_wxListbookTo_p_wxObject(void *x) {
36294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36295 }
36296 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36297 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36298 }
36299 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36301 }
36302 static void *_p_wxSliderTo_p_wxObject(void *x) {
36303 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36304 }
36305 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36306 return (void *)((wxObject *) ((wxMenuItem *) x));
36307 }
36308 static void *_p_wxDateEventTo_p_wxObject(void *x) {
36309 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36310 }
36311 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36312 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36313 }
36314 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36315 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36316 }
36317 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36318 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36319 }
36320 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36321 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36322 }
36323 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36324 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36325 }
36326 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36327 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36328 }
36329 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36330 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36331 }
36332 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36333 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36334 }
36335 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36337 }
36338 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36339 return (void *)((wxObject *) ((wxContextHelp *) x));
36340 }
36341 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36343 }
36344 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36345 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36346 }
36347 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36348 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36349 }
36350 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36351 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36352 }
36353 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36354 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36355 }
36356 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36357 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36358 }
36359 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36360 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36361 }
36362 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36363 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36364 }
36365 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36366 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36367 }
36368 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36369 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36370 }
36371 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36372 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36373 }
36374 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36375 return (void *)((wxObject *) ((wxImageHandler *) x));
36376 }
36377 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36378 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36379 }
36380 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36381 return (void *)((wxObject *) ((wxEvtHandler *) x));
36382 }
36383 static void *_p_wxListEventTo_p_wxObject(void *x) {
36384 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36385 }
36386 static void *_p_wxListBoxTo_p_wxObject(void *x) {
36387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36388 }
36389 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36391 }
36392 static void *_p_wxButtonTo_p_wxObject(void *x) {
36393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36394 }
36395 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36397 }
36398 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36400 }
36401 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36403 }
36404 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36405 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36406 }
36407 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36408 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36409 }
36410 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36412 }
36413 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36415 }
36416 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
36418 }
36419 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36420 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36421 }
36422 static void *_p_wxListItemTo_p_wxObject(void *x) {
36423 return (void *)((wxObject *) ((wxListItem *) x));
36424 }
36425 static void *_p_wxImageTo_p_wxObject(void *x) {
36426 return (void *)((wxObject *) ((wxImage *) x));
36427 }
36428 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36429 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36430 }
36431 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36432 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36433 }
36434 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36435 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36436 }
36437 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36438 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36439 }
36440 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36442 }
36443 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
36444 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36445 }
36446 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
36447 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36448 }
36449 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
36450 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36451 }
36452 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36453 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36454 }
36455 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36456 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36457 }
36458 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36459 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36460 }
36461 static void *_p_wxWindowTo_p_wxObject(void *x) {
36462 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36463 }
36464 static void *_p_wxMenuTo_p_wxObject(void *x) {
36465 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36466 }
36467 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36469 }
36470 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36471 return (void *)((wxObject *) ((wxFileSystem *) x));
36472 }
36473 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36474 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36475 }
36476 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36477 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36478 }
36479 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36480 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36481 }
36482 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36483 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36484 }
36485 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36486 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36487 }
36488 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36489 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36490 }
36491 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36492 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36493 }
36494 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36495 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36496 }
36497 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36499 }
36500 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36501 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36502 }
36503 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36505 }
36506 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36507 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36508 }
36509 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36510 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36511 }
36512 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36513 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36514 }
36515 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36517 }
36518 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36520 }
36521 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36522 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36523 }
36524 static void *_p_wxToolBarTo_p_wxObject(void *x) {
36525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36526 }
36527 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36528 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36529 }
36530 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36531 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36532 }
36533 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36534 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36535 }
36536 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36537 return (void *)((wxWindow *) ((wxMenuBar *) x));
36538 }
36539 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36540 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36541 }
36542 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36543 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36544 }
36545 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36546 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36547 }
36548 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36549 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36550 }
36551 static void *_p_wxControlTo_p_wxWindow(void *x) {
36552 return (void *)((wxWindow *) ((wxControl *) x));
36553 }
36554 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36555 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36556 }
36557 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36558 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36559 }
36560 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36561 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36562 }
36563 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36564 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36565 }
36566 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36567 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36568 }
36569 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36570 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36571 }
36572 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36573 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36574 }
36575 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36576 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36577 }
36578 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36579 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36580 }
36581 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36582 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36583 }
36584 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36585 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36586 }
36587 static void *_p_wxListbookTo_p_wxWindow(void *x) {
36588 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36589 }
36590 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36591 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36592 }
36593 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36594 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36595 }
36596 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36597 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36598 }
36599 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36600 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36601 }
36602 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36603 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36604 }
36605 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36606 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36607 }
36608 static void *_p_wxListViewTo_p_wxWindow(void *x) {
36609 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36610 }
36611 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36612 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36613 }
36614 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36615 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36616 }
36617 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36618 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36619 }
36620 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36621 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36622 }
36623 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36624 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36625 }
36626 static void *_p_wxSliderTo_p_wxWindow(void *x) {
36627 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36628 }
36629 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36630 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36631 }
36632 static void *_p_wxButtonTo_p_wxWindow(void *x) {
36633 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36634 }
36635 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36636 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36637 }
36638 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36639 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36640 }
36641 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36642 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36643 }
36644 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36645 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36646 }
36647 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36648 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36649 }
36650 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36651 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36652 }
36653 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36654 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36655 }
36656 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36657 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36658 }
36659 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36660 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36661 }
36662 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36663 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36664 }
36665 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36666 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36667 }
36668 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36669 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36670 }
36671 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36672 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36673 }
36674 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
36675 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36676 }
36677 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
36678 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36679 }
36680 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36681 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36682 }
36683 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36684 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36685 }
36686 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36687 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36688 }
36689 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36690 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36691 }
36692 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36693 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36694 }
36695 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36696 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36697 }
36698 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36699 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36700 }
36701 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36702 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36703 }
36704 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36705 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36706 }
36707 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36708 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36709 }
36710 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36711 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36712 }
36713 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36714 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36715 }
36716 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36717 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36718 }
36719 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36720 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36721 }
36722 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36723 return (void *)((wxValidator *) ((wxPyValidator *) x));
36724 }
36725 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}};
36726 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}};
36727 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}};
36728 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}};
36729 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36730 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}};
36731 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}};
36732 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}};
36733 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}};
36734 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}};
36735 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}};
36736 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}};
36737 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36738 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}};
36739 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}};
36740 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}};
36741 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}};
36742 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}};
36743 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}};
36744 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}};
36745 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}};
36746 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}};
36747 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}};
36748 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}};
36749 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}};
36750 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}};
36751 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}};
36752 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}};
36753 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}};
36754 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}};
36755 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}};
36756 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}};
36757 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}};
36758 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}};
36759 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}};
36760 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}};
36761 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}};
36762 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}};
36763 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}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36769 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}};
36770 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}};
36771 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36772 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}};
36773 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}};
36774 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}};
36775 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}};
36776 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}};
36777 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}};
36778 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}};
36779 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}};
36780 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}};
36781 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}};
36782 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}};
36783 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}};
36784 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}};
36785 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}};
36786 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}};
36787 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}};
36788 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}};
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36801 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}};
36802 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36803 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}};
36804 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}};
36805 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36815 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}};
36816 static swig_type_info _swigt__p_wxDatePickerCtrl[] = {{"_p_wxDatePickerCtrl", 0, "wxDatePickerCtrl *", 0, 0, 0, 0},{"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36823
36824 static swig_type_info *swig_types_initial[] = {
36825 _swigt__p_wxTextUrlEvent,
36826 _swigt__p_wxSizer,
36827 _swigt__p_wxCheckBox,
36828 _swigt__p_wxPyTreeCtrl,
36829 _swigt__p_wxEvent,
36830 _swigt__p_wxGenericDirCtrl,
36831 _swigt__p_bool,
36832 _swigt__p_wxItemContainer,
36833 _swigt__p_wxPyListCtrl,
36834 _swigt__p_wxPyTreeItemData,
36835 _swigt__p_wxDirFilterListCtrl,
36836 _swigt__p_wxStaticLine,
36837 _swigt__p_wxControl,
36838 _swigt__p_wxPyControl,
36839 _swigt__p_wxGauge,
36840 _swigt__p_wxToolBarBase,
36841 _swigt__p_wxFont,
36842 _swigt__p_wxToggleButton,
36843 _swigt__p_wxRadioButton,
36844 _swigt__p_wxChoice,
36845 _swigt__p_wxMemoryDC,
36846 _swigt__ptrdiff_t,
36847 _swigt__std__ptrdiff_t,
36848 _swigt__p_wxListItemAttr,
36849 _swigt__p_void,
36850 _swigt__p_int,
36851 _swigt__p_wxSize,
36852 _swigt__p_wxDC,
36853 _swigt__p_wxListView,
36854 _swigt__p_wxIcon,
36855 _swigt__p_wxVisualAttributes,
36856 _swigt__p_wxTextCtrl,
36857 _swigt__p_wxNotebook,
36858 _swigt__p_wxChoicebook,
36859 _swigt__p_wxNotifyEvent,
36860 _swigt__p_wxArrayString,
36861 _swigt__p_form_ops_t,
36862 _swigt__p_wxListbook,
36863 _swigt__p_wxStaticBitmap,
36864 _swigt__p_wxSlider,
36865 _swigt__p_wxStaticBox,
36866 _swigt__p_wxArrayInt,
36867 _swigt__p_wxContextHelp,
36868 _swigt__p_long,
36869 _swigt__p_wxDuplexMode,
36870 _swigt__p_wxBookCtrlBase,
36871 _swigt__p_wxEvtHandler,
36872 _swigt__p_wxListEvent,
36873 _swigt__p_wxCheckListBox,
36874 _swigt__p_wxListBox,
36875 _swigt__p_wxSpinButton,
36876 _swigt__p_wxButton,
36877 _swigt__p_wxBitmapButton,
36878 _swigt__p_wxRect,
36879 _swigt__p_wxContextHelpButton,
36880 _swigt__p_wxRadioBox,
36881 _swigt__p_wxScrollBar,
36882 _swigt__p_char,
36883 _swigt__p_wxComboBox,
36884 _swigt__p_wxTreeItemId,
36885 _swigt__p_wxHelpEvent,
36886 _swigt__p_wxListItem,
36887 _swigt__p_wxNotebookSizer,
36888 _swigt__p_wxSpinEvent,
36889 _swigt__p_wxGenericDragImage,
36890 _swigt__p_wxSpinCtrl,
36891 _swigt__p_wxPaperSize,
36892 _swigt__p_wxImageList,
36893 _swigt__p_wxHelpProvider,
36894 _swigt__p_wxTextAttr,
36895 _swigt__p_wxSimpleHelpProvider,
36896 _swigt__p_wxChoicebookEvent,
36897 _swigt__p_wxListbookEvent,
36898 _swigt__p_wxNotebookEvent,
36899 _swigt__p_wxPoint,
36900 _swigt__p_wxObject,
36901 _swigt__p_wxCursor,
36902 _swigt__p_wxDateTime,
36903 _swigt__p_wxKeyEvent,
36904 _swigt__p_unsigned_long,
36905 _swigt__p_wxWindow,
36906 _swigt__p_wxString,
36907 _swigt__p_wxBitmap,
36908 _swigt__unsigned_int,
36909 _swigt__p_unsigned_int,
36910 _swigt__p_unsigned_char,
36911 _swigt__p_wxMouseEvent,
36912 _swigt__p_wxBookCtrlBaseEvent,
36913 _swigt__p_wxTreeEvent,
36914 _swigt__p_wxCommandEvent,
36915 _swigt__p_wxStaticText,
36916 _swigt__p_wxDatePickerCtrl,
36917 _swigt__p_wxControlWithItems,
36918 _swigt__p_wxToolBarToolBase,
36919 _swigt__p_wxColour,
36920 _swigt__p_wxToolBar,
36921 _swigt__p_wxBookCtrlSizer,
36922 _swigt__p_wxValidator,
36923 0
36924 };
36925
36926
36927 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36928
36929 static swig_const_info swig_const_table[] = {
36930 {0, 0, 0, 0.0, 0, 0}};
36931
36932 #ifdef __cplusplus
36933 }
36934 #endif
36935
36936
36937 #ifdef __cplusplus
36938 extern "C" {
36939 #endif
36940
36941 /* Python-specific SWIG API */
36942 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36943 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36944 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36945
36946 /* -----------------------------------------------------------------------------
36947 * global variable support code.
36948 * ----------------------------------------------------------------------------- */
36949
36950 typedef struct swig_globalvar {
36951 char *name; /* Name of global variable */
36952 PyObject *(*get_attr)(); /* Return the current value */
36953 int (*set_attr)(PyObject *); /* Set the value */
36954 struct swig_globalvar *next;
36955 } swig_globalvar;
36956
36957 typedef struct swig_varlinkobject {
36958 PyObject_HEAD
36959 swig_globalvar *vars;
36960 } swig_varlinkobject;
36961
36962 static PyObject *
36963 swig_varlink_repr(swig_varlinkobject *v) {
36964 v = v;
36965 return PyString_FromString("<Swig global variables>");
36966 }
36967
36968 static int
36969 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
36970 swig_globalvar *var;
36971 flags = flags;
36972 fprintf(fp,"Swig global variables { ");
36973 for (var = v->vars; var; var=var->next) {
36974 fprintf(fp,"%s", var->name);
36975 if (var->next) fprintf(fp,", ");
36976 }
36977 fprintf(fp," }\n");
36978 return 0;
36979 }
36980
36981 static PyObject *
36982 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36983 swig_globalvar *var = v->vars;
36984 while (var) {
36985 if (strcmp(var->name,n) == 0) {
36986 return (*var->get_attr)();
36987 }
36988 var = var->next;
36989 }
36990 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36991 return NULL;
36992 }
36993
36994 static int
36995 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36996 swig_globalvar *var = v->vars;
36997 while (var) {
36998 if (strcmp(var->name,n) == 0) {
36999 return (*var->set_attr)(p);
37000 }
37001 var = var->next;
37002 }
37003 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37004 return 1;
37005 }
37006
37007 static PyTypeObject varlinktype = {
37008 PyObject_HEAD_INIT(0)
37009 0, /* Number of items in variable part (ob_size) */
37010 (char *)"swigvarlink", /* Type name (tp_name) */
37011 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37012 0, /* Itemsize (tp_itemsize) */
37013 0, /* Deallocator (tp_dealloc) */
37014 (printfunc) swig_varlink_print, /* Print (tp_print) */
37015 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37016 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37017 0, /* tp_compare */
37018 (reprfunc) swig_varlink_repr, /* tp_repr */
37019 0, /* tp_as_number */
37020 0, /* tp_as_sequence */
37021 0, /* tp_as_mapping */
37022 0, /* tp_hash */
37023 0, /* tp_call */
37024 0, /* tp_str */
37025 0, /* tp_getattro */
37026 0, /* tp_setattro */
37027 0, /* tp_as_buffer */
37028 0, /* tp_flags */
37029 0, /* tp_doc */
37030 #if PY_VERSION_HEX >= 0x02000000
37031 0, /* tp_traverse */
37032 0, /* tp_clear */
37033 #endif
37034 #if PY_VERSION_HEX >= 0x02010000
37035 0, /* tp_richcompare */
37036 0, /* tp_weaklistoffset */
37037 #endif
37038 #if PY_VERSION_HEX >= 0x02020000
37039 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37040 #endif
37041 #if PY_VERSION_HEX >= 0x02030000
37042 0, /* tp_del */
37043 #endif
37044 #ifdef COUNT_ALLOCS
37045 0,0,0,0 /* tp_alloc -> tp_next */
37046 #endif
37047 };
37048
37049 /* Create a variable linking object for use later */
37050 static PyObject *
37051 SWIG_Python_newvarlink(void) {
37052 swig_varlinkobject *result = 0;
37053 result = PyMem_NEW(swig_varlinkobject,1);
37054 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37055 result->ob_type = &varlinktype;
37056 result->vars = 0;
37057 result->ob_refcnt = 0;
37058 Py_XINCREF((PyObject *) result);
37059 return ((PyObject*) result);
37060 }
37061
37062 static void
37063 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37064 swig_varlinkobject *v;
37065 swig_globalvar *gv;
37066 v= (swig_varlinkobject *) p;
37067 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37068 gv->name = (char *) malloc(strlen(name)+1);
37069 strcpy(gv->name,name);
37070 gv->get_attr = get_attr;
37071 gv->set_attr = set_attr;
37072 gv->next = v->vars;
37073 v->vars = gv;
37074 }
37075
37076 /* -----------------------------------------------------------------------------
37077 * constants/methods manipulation
37078 * ----------------------------------------------------------------------------- */
37079
37080 /* Install Constants */
37081 static void
37082 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37083 PyObject *obj = 0;
37084 size_t i;
37085 for (i = 0; constants[i].type; i++) {
37086 switch(constants[i].type) {
37087 case SWIG_PY_INT:
37088 obj = PyInt_FromLong(constants[i].lvalue);
37089 break;
37090 case SWIG_PY_FLOAT:
37091 obj = PyFloat_FromDouble(constants[i].dvalue);
37092 break;
37093 case SWIG_PY_STRING:
37094 if (constants[i].pvalue) {
37095 obj = PyString_FromString((char *) constants[i].pvalue);
37096 } else {
37097 Py_INCREF(Py_None);
37098 obj = Py_None;
37099 }
37100 break;
37101 case SWIG_PY_POINTER:
37102 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37103 break;
37104 case SWIG_PY_BINARY:
37105 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37106 break;
37107 default:
37108 obj = 0;
37109 break;
37110 }
37111 if (obj) {
37112 PyDict_SetItemString(d,constants[i].name,obj);
37113 Py_DECREF(obj);
37114 }
37115 }
37116 }
37117
37118 /* -----------------------------------------------------------------------------*/
37119 /* Fix SwigMethods to carry the callback ptrs when needed */
37120 /* -----------------------------------------------------------------------------*/
37121
37122 static void
37123 SWIG_Python_FixMethods(PyMethodDef *methods,
37124 swig_const_info *const_table,
37125 swig_type_info **types,
37126 swig_type_info **types_initial) {
37127 size_t i;
37128 for (i = 0; methods[i].ml_name; ++i) {
37129 char *c = methods[i].ml_doc;
37130 if (c && (c = strstr(c, "swig_ptr: "))) {
37131 int j;
37132 swig_const_info *ci = 0;
37133 char *name = c + 10;
37134 for (j = 0; const_table[j].type; j++) {
37135 if (strncmp(const_table[j].name, name,
37136 strlen(const_table[j].name)) == 0) {
37137 ci = &(const_table[j]);
37138 break;
37139 }
37140 }
37141 if (ci) {
37142 size_t shift = (ci->ptype) - types;
37143 swig_type_info *ty = types_initial[shift];
37144 size_t ldoc = (c - methods[i].ml_doc);
37145 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37146 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37147 char *buff = ndoc;
37148 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37149 strncpy(buff, methods[i].ml_doc, ldoc);
37150 buff += ldoc;
37151 strncpy(buff, "swig_ptr: ", 10);
37152 buff += 10;
37153 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37154 methods[i].ml_doc = ndoc;
37155 }
37156 }
37157 }
37158 }
37159
37160 /* -----------------------------------------------------------------------------*
37161 * Initialize type list
37162 * -----------------------------------------------------------------------------*/
37163
37164 #if PY_MAJOR_VERSION < 2
37165 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37166 is copied out of Python/modsupport.c in python version 2.3.4 */
37167 static int
37168 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37169 {
37170 PyObject *dict;
37171 if (!PyModule_Check(m)) {
37172 PyErr_SetString(PyExc_TypeError,
37173 "PyModule_AddObject() needs module as first arg");
37174 return -1;
37175 }
37176 if (!o) {
37177 PyErr_SetString(PyExc_TypeError,
37178 "PyModule_AddObject() needs non-NULL value");
37179 return -1;
37180 }
37181
37182 dict = PyModule_GetDict(m);
37183 if (dict == NULL) {
37184 /* Internal error -- modules must have a dict! */
37185 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37186 PyModule_GetName(m));
37187 return -1;
37188 }
37189 if (PyDict_SetItemString(dict, name, o))
37190 return -1;
37191 Py_DECREF(o);
37192 return 0;
37193 }
37194 #endif
37195
37196 static swig_type_info **
37197 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37198 static PyMethodDef swig_empty_runtime_method_table[] = {
37199 {
37200 NULL, NULL, 0, NULL
37201 }
37202 };/* Sentinel */
37203
37204 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37205 swig_empty_runtime_method_table);
37206 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37207 if (pointer && module) {
37208 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37209 }
37210 return type_list_handle;
37211 }
37212
37213 static swig_type_info **
37214 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37215 swig_type_info **type_pointer;
37216
37217 /* first check if module already created */
37218 type_pointer = SWIG_Python_GetTypeListHandle();
37219 if (type_pointer) {
37220 return type_pointer;
37221 } else {
37222 /* create a new module and variable */
37223 return SWIG_Python_SetTypeListHandle(type_list_handle);
37224 }
37225 }
37226
37227 #ifdef __cplusplus
37228 }
37229 #endif
37230
37231 /* -----------------------------------------------------------------------------*
37232 * Partial Init method
37233 * -----------------------------------------------------------------------------*/
37234
37235 #ifdef SWIG_LINK_RUNTIME
37236 #ifdef __cplusplus
37237 extern "C"
37238 #endif
37239 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37240 #endif
37241
37242 #ifdef __cplusplus
37243 extern "C"
37244 #endif
37245 SWIGEXPORT(void) SWIG_init(void) {
37246 static PyObject *SWIG_globals = 0;
37247 static int typeinit = 0;
37248 PyObject *m, *d;
37249 int i;
37250 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37251
37252 /* Fix SwigMethods to carry the callback ptrs when needed */
37253 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37254
37255 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37256 d = PyModule_GetDict(m);
37257
37258 if (!typeinit) {
37259 #ifdef SWIG_LINK_RUNTIME
37260 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37261 #else
37262 # ifndef SWIG_STATIC_RUNTIME
37263 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37264 # endif
37265 #endif
37266 for (i = 0; swig_types_initial[i]; i++) {
37267 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37268 }
37269 typeinit = 1;
37270 }
37271 SWIG_InstallConstants(d,swig_const_table);
37272
37273 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37274 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
37275 {
37276 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37277 }
37278 {
37279 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37280 }
37281 {
37282 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37283 }
37284 {
37285 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37286 }
37287 {
37288 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37289 }
37290 {
37291 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37292 }
37293 {
37294 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37295 }
37296 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
37297 {
37298 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37299 }
37300 {
37301 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37302 }
37303 {
37304 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37305 }
37306 {
37307 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37308 }
37309 {
37310 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37311 }
37312 {
37313 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37314 }
37315 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37316 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37317 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
37318 {
37319 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37320 }
37321 {
37322 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37323 }
37324 {
37325 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37326 }
37327 {
37328 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37329 }
37330 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37331 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37332 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37333 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37334 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
37335 {
37336 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37337 }
37338 {
37339 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37340 }
37341 {
37342 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37343 }
37344 {
37345 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37346 }
37347 {
37348 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37349 }
37350 {
37351 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37352 }
37353 {
37354 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37355 }
37356 {
37357 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37358 }
37359 {
37360 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37361 }
37362 {
37363 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37364 }
37365 {
37366 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37367 }
37368 {
37369 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37370 }
37371 {
37372 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37373 }
37374 {
37375 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37376 }
37377 {
37378 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37379 }
37380 {
37381 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37382 }
37383 {
37384 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37385 }
37386 {
37387 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37388 }
37389 {
37390 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37391 }
37392 {
37393 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37394 }
37395 {
37396 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37397 }
37398 {
37399 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37400 }
37401 {
37402 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37403 }
37404 {
37405 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37406 }
37407 {
37408 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37409 }
37410 {
37411 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37412 }
37413 {
37414 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37415 }
37416 {
37417 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37418 }
37419 {
37420 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37421 }
37422 {
37423 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37424 }
37425 {
37426 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37427 }
37428 {
37429 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37430 }
37431 {
37432 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37433 }
37434 {
37435 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37436 }
37437 {
37438 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37439 }
37440 {
37441 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37442 }
37443 {
37444 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37445 }
37446 {
37447 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37448 }
37449 {
37450 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37451 }
37452 {
37453 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37454 }
37455 {
37456 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37457 }
37458 {
37459 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37460 }
37461 {
37462 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37463 }
37464 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37465 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37466 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37467 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37468 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37469 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37470 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
37471 {
37472 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37473 }
37474 {
37475 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37476 }
37477 {
37478 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37479 }
37480 {
37481 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37482 }
37483 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37484 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37485 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37486 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37487 {
37488 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37489 }
37490 {
37491 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37492 }
37493 {
37494 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37495 }
37496 {
37497 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37498 }
37499 {
37500 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37501 }
37502 {
37503 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37504 }
37505 {
37506 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37507 }
37508 {
37509 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37510 }
37511 {
37512 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37513 }
37514 {
37515 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37516 }
37517 {
37518 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37519 }
37520 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37521 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
37522 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
37523 {
37524 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37525 }
37526 {
37527 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37528 }
37529 {
37530 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37531 }
37532 {
37533 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37534 }
37535 {
37536 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37537 }
37538 {
37539 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37540 }
37541 {
37542 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37543 }
37544 {
37545 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37546 }
37547 {
37548 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37549 }
37550 {
37551 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37552 }
37553 {
37554 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37555 }
37556 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37557 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
37558 {
37559 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37560 }
37561 {
37562 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37563 }
37564 {
37565 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37566 }
37567 {
37568 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37569 }
37570 {
37571 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37572 }
37573 {
37574 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37575 }
37576 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37577 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
37578 {
37579 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37580 }
37581 {
37582 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37583 }
37584 {
37585 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37586 }
37587 {
37588 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37589 }
37590 {
37591 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37592 }
37593 {
37594 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37595 }
37596 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37597 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
37598 {
37599 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37600 }
37601 {
37602 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37603 }
37604 {
37605 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37606 }
37607 {
37608 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37609 }
37610 {
37611 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37612 }
37613 {
37614 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37615 }
37616 {
37617 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37618 }
37619 {
37620 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37621 }
37622 {
37623 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37624 }
37625 {
37626 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37627 }
37628 {
37629 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37630 }
37631 {
37632 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37633 }
37634 {
37635 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37636 }
37637 {
37638 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37639 }
37640 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
37641 {
37642 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37643 }
37644 {
37645 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37646 }
37647 {
37648 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37649 }
37650 {
37651 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37652 }
37653 {
37654 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37655 }
37656 {
37657 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37658 }
37659 {
37660 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37661 }
37662 {
37663 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37664 }
37665 {
37666 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37667 }
37668 {
37669 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37670 }
37671 {
37672 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37673 }
37674 {
37675 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37676 }
37677 {
37678 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37679 }
37680 {
37681 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37682 }
37683 {
37684 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37685 }
37686 {
37687 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37688 }
37689 {
37690 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37691 }
37692 {
37693 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37694 }
37695 {
37696 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37697 }
37698 {
37699 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37700 }
37701 {
37702 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37703 }
37704 {
37705 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37706 }
37707 {
37708 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37709 }
37710 {
37711 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37712 }
37713 {
37714 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37715 }
37716 {
37717 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37718 }
37719 {
37720 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37721 }
37722 {
37723 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37724 }
37725 {
37726 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37727 }
37728 {
37729 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37730 }
37731 {
37732 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37733 }
37734 {
37735 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37736 }
37737 {
37738 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37739 }
37740 {
37741 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37742 }
37743 {
37744 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37745 }
37746 {
37747 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37748 }
37749 {
37750 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37751 }
37752 {
37753 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37754 }
37755 {
37756 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37757 }
37758 {
37759 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37760 }
37761 {
37762 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37763 }
37764 {
37765 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37766 }
37767 {
37768 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37769 }
37770 {
37771 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37772 }
37773 {
37774 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37775 }
37776 {
37777 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37778 }
37779 {
37780 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37781 }
37782 {
37783 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37784 }
37785 {
37786 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37787 }
37788 {
37789 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37790 }
37791 {
37792 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37793 }
37794 {
37795 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37796 }
37797 {
37798 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37799 }
37800 {
37801 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37802 }
37803 {
37804 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37805 }
37806 {
37807 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37808 }
37809 {
37810 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37811 }
37812 {
37813 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37814 }
37815 {
37816 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37817 }
37818 {
37819 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37820 }
37821 {
37822 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37823 }
37824 {
37825 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37826 }
37827 {
37828 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37829 }
37830 {
37831 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37832 }
37833 {
37834 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37835 }
37836 {
37837 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37838 }
37839 {
37840 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37841 }
37842 {
37843 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37844 }
37845 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37846 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37847 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37848 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37849 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37850 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
37851 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37852 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37853 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37854 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37855 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37856 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37857 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37858 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37859 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37860 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37861 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37862 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37863 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37864 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
37865 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37866 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
37867
37868 // Map renamed classes back to their common name for OOR
37869 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37870
37871 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
37872 {
37873 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37874 }
37875 {
37876 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37877 }
37878 {
37879 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37880 }
37881 {
37882 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37883 }
37884 {
37885 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37886 }
37887 {
37888 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37889 }
37890 {
37891 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37892 }
37893 {
37894 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37895 }
37896 {
37897 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37898 }
37899 {
37900 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37901 }
37902 {
37903 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37904 }
37905 {
37906 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37907 }
37908 {
37909 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37910 }
37911 {
37912 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37913 }
37914 {
37915 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37916 }
37917 {
37918 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37919 }
37920 {
37921 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37922 }
37923 {
37924 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
37925 }
37926 {
37927 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
37928 }
37929 {
37930 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
37931 }
37932 {
37933 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
37934 }
37935 {
37936 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
37937 }
37938 {
37939 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
37940 }
37941 {
37942 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
37943 }
37944 {
37945 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
37946 }
37947 {
37948 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
37949 }
37950 {
37951 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
37952 }
37953 {
37954 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
37955 }
37956 {
37957 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
37958 }
37959 {
37960 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
37961 }
37962 {
37963 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
37964 }
37965 {
37966 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
37967 }
37968 {
37969 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
37970 }
37971 {
37972 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
37973 }
37974 {
37975 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
37976 }
37977 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
37978 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
37979 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
37980 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
37981 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
37982 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
37983 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
37984 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
37985 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
37986 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
37987 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
37988 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
37989 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
37990 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
37991 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
37992 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
37993 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
37994 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
37995 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
37996 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
37997 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
37998
37999 // Map renamed classes back to their common name for OOR
38000 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38001 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38002
38003 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
38004 {
38005 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38006 }
38007 {
38008 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38009 }
38010 {
38011 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38012 }
38013 {
38014 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38015 }
38016 {
38017 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38018 }
38019 {
38020 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38021 }
38022 {
38023 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38024 }
38025 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38026 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38027
38028 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38029
38030 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38031 {
38032 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38033 }
38034 {
38035 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38036 }
38037 {
38038 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38039 }
38040 {
38041 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38042 }
38043 {
38044 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38045 }
38046 }
38047