]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_controls_wrap.cpp
b937b426c64149a51e03d04f7bca843fbd989234
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 if (str)
1041 Py_DECREF(str);
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049 }
1050
1051 SWIGRUNTIMEINLINE void
1052 SWIG_Python_NullRef(const char *type)
1053 {
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059 }
1060
1061 SWIGRUNTIME int
1062 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063 {
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084 }
1085
1086 SWIGRUNTIME int
1087 SWIG_Python_ArgFail(int argnum)
1088 {
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097 }
1098
1099
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104 /* Convert a pointer value */
1105 SWIGRUNTIME int
1106 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137 #else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155 #endif
1156
1157 type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172 type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195 }
1196
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIGRUNTIME void *
1199 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209 }
1210
1211 /* Convert a packed value value */
1212 SWIGRUNTIME int
1213 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219 #else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224 #endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232 type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242 }
1243
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject *
1246 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254 #else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260 #endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276 }
1277
1278 SWIGRUNTIME PyObject *
1279 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287 #else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293 #endif
1294 return robj;
1295 }
1296
1297 /* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1303 #endif
1304
1305 SWIGRUNTIME swig_type_info **
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312 #else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320 #endif
1321 return (swig_type_info **) type_pointer;
1322 }
1323
1324 /*
1325 Search for a swig_type_info structure
1326 */
1327 SWIGRUNTIMEINLINE swig_type_info *
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331 }
1332
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335 #ifdef __cplusplus
1336 }
1337 #endif
1338
1339
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1341
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info *swig_types[99];
1441
1442 /* -------- TYPES TABLE (END) -------- */
1443
1444
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1449
1450 #define SWIG_name "_controls_"
1451
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1454
1455 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1456 static const wxString wxPyEmptyString(wxEmptyString);
1457 static const wxString wxPyControlNameStr(wxControlNameStr);
1458
1459 const wxArrayString wxPyEmptyStringArray;
1460
1461 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1462
1463 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1465 /*@@*/
1466
1467
1468 #include <limits.h>
1469
1470
1471 SWIGINTERN int
1472 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1473 const char *errmsg)
1474 {
1475 if (value < min_value) {
1476 if (errmsg) {
1477 PyErr_Format(PyExc_OverflowError,
1478 "value %ld is less than '%s' minimum %ld",
1479 value, errmsg, min_value);
1480 }
1481 return 0;
1482 } else if (value > max_value) {
1483 if (errmsg) {
1484 PyErr_Format(PyExc_OverflowError,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value, errmsg, max_value);
1487 }
1488 return 0;
1489 }
1490 return 1;
1491 }
1492
1493
1494 SWIGINTERN int
1495 SWIG_AsVal_long(PyObject* obj, long* val)
1496 {
1497 if (PyNumber_Check(obj)) {
1498 if (val) *val = PyInt_AsLong(obj);
1499 return 1;
1500 }
1501 else {
1502 SWIG_type_error("number", obj);
1503 }
1504 return 0;
1505 }
1506
1507
1508 #if INT_MAX != LONG_MAX
1509 SWIGINTERN int
1510 SWIG_AsVal_int(PyObject *obj, int *val)
1511 {
1512 const char* errmsg = val ? "int" : (char*)0;
1513 long v;
1514 if (SWIG_AsVal_long(obj, &v)) {
1515 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1516 if (val) *val = (int)(v);
1517 return 1;
1518 } else {
1519 return 0;
1520 }
1521 } else {
1522 PyErr_Clear();
1523 }
1524 if (val) {
1525 SWIG_type_error(errmsg, obj);
1526 }
1527 return 0;
1528 }
1529 #else
1530 SWIGINTERNSHORT int
1531 SWIG_AsVal_int(PyObject *obj, int *val)
1532 {
1533 return SWIG_AsVal_long(obj,(long*)val);
1534 }
1535 #endif
1536
1537
1538 SWIGINTERNSHORT int
1539 SWIG_As_int(PyObject* obj)
1540 {
1541 int v;
1542 if (!SWIG_AsVal_int(obj, &v)) {
1543 /*
1544 this is needed to make valgrind/purify happier.
1545 */
1546 memset((void*)&v, 0, sizeof(int));
1547 }
1548 return v;
1549 }
1550
1551
1552 SWIGINTERNSHORT long
1553 SWIG_As_long(PyObject* obj)
1554 {
1555 long v;
1556 if (!SWIG_AsVal_long(obj, &v)) {
1557 /*
1558 this is needed to make valgrind/purify happier.
1559 */
1560 memset((void*)&v, 0, sizeof(long));
1561 }
1562 return v;
1563 }
1564
1565
1566 SWIGINTERNSHORT int
1567 SWIG_Check_int(PyObject* obj)
1568 {
1569 return SWIG_AsVal_int(obj, (int*)0);
1570 }
1571
1572
1573 SWIGINTERNSHORT int
1574 SWIG_Check_long(PyObject* obj)
1575 {
1576 return SWIG_AsVal_long(obj, (long*)0);
1577 }
1578
1579 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
1580
1581 SWIGINTERN int
1582 SWIG_AsVal_bool(PyObject *obj, bool *val)
1583 {
1584 if (obj == Py_True) {
1585 if (val) *val = true;
1586 return 1;
1587 }
1588 if (obj == Py_False) {
1589 if (val) *val = false;
1590 return 1;
1591 }
1592 int res = 0;
1593 if (SWIG_AsVal_int(obj, &res)) {
1594 if (val) *val = res ? true : false;
1595 return 1;
1596 } else {
1597 PyErr_Clear();
1598 }
1599 if (val) {
1600 SWIG_type_error("bool", obj);
1601 }
1602 return 0;
1603 }
1604
1605
1606 SWIGINTERNSHORT bool
1607 SWIG_As_bool(PyObject* obj)
1608 {
1609 bool v;
1610 if (!SWIG_AsVal_bool(obj, &v)) {
1611 /*
1612 this is needed to make valgrind/purify happier.
1613 */
1614 memset((void*)&v, 0, sizeof(bool));
1615 }
1616 return v;
1617 }
1618
1619
1620 SWIGINTERNSHORT int
1621 SWIG_Check_bool(PyObject* obj)
1622 {
1623 return SWIG_AsVal_bool(obj, (bool*)0);
1624 }
1625
1626 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1627 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
1628
1629 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1631 /*@@*/
1632
1633
1634 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1635 PyObject* o2;
1636 PyObject* o3;
1637
1638 if (!target) {
1639 target = o;
1640 } else if (target == Py_None) {
1641 Py_DECREF(Py_None);
1642 target = o;
1643 } else {
1644 if (!PyTuple_Check(target)) {
1645 o2 = target;
1646 target = PyTuple_New(1);
1647 PyTuple_SetItem(target, 0, o2);
1648 }
1649 o3 = PyTuple_New(1);
1650 PyTuple_SetItem(o3, 0, o);
1651
1652 o2 = target;
1653 target = PySequence_Concat(o2, o3);
1654 Py_DECREF(o2);
1655 Py_DECREF(o3);
1656 }
1657 return target;
1658 }
1659
1660
1661 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1662 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1663 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1664 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1665
1666 #include <wx/checklst.h>
1667
1668
1669 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
1670 static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
1671 if (clientData) {
1672 wxPyClientData* data = new wxPyClientData(clientData);
1673 self->Insert(item, pos, data);
1674 } else
1675 self->Insert(item, pos);
1676 }
1677 static PyObject *wxListBox_GetSelections(wxListBox *self){
1678 wxArrayInt lst;
1679 self->GetSelections(lst);
1680 PyObject *tup = PyTuple_New(lst.GetCount());
1681 for(size_t i=0; i<lst.GetCount(); i++) {
1682 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1683 }
1684 return tup;
1685 }
1686 static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
1687 #ifdef __WXMSW__
1688 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1689 self->GetItem(item)->SetTextColour(c);
1690 #endif
1691 }
1692 static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
1693 #ifdef __WXMSW__
1694 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1695 self->GetItem(item)->SetBackgroundColour(c);
1696 #endif
1697 }
1698 static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
1699 #ifdef __WXMSW__
1700 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1701 self->GetItem(item)->SetFont(f);
1702 #endif
1703 }
1704 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1705
1706 SWIGINTERN int
1707 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1708 {
1709 long v = 0;
1710 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1711 SWIG_type_error("unsigned number", obj);
1712 }
1713 else if (val)
1714 *val = (unsigned long)v;
1715 return 1;
1716 }
1717
1718
1719 SWIGINTERNSHORT unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject* obj)
1721 {
1722 unsigned long v;
1723 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1724 /*
1725 this is needed to make valgrind/purify happier.
1726 */
1727 memset((void*)&v, 0, sizeof(unsigned long));
1728 }
1729 return v;
1730 }
1731
1732
1733 SWIGINTERNSHORT int
1734 SWIG_Check_unsigned_SS_long(PyObject* obj)
1735 {
1736 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1737 }
1738
1739 static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
1740 self->AppendText(text);
1741 }
1742 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
1743 return self->GetValue().Mid(from, to - from);
1744 }
1745 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1746 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1747 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1749 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1750
1751 #include <wx/slider.h>
1752
1753
1754 static const wxString wxPySliderNameStr(wxSliderNameStr);
1755 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1756
1757 #if !wxUSE_TOGGLEBTN
1758 // implement dummy items for platforms that don't have this class
1759
1760 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1761
1762 class wxToggleButton : public wxControl
1763 {
1764 public:
1765 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1766 const wxPoint&, const wxSize&, long,
1767 const wxValidator&, const wxString&)
1768 { wxPyRaiseNotImplemented(); }
1769
1770 wxToggleButton()
1771 { wxPyRaiseNotImplemented(); }
1772 };
1773 #endif
1774
1775 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
1776
1777 SWIGINTERNSHORT PyObject*
1778 SWIG_From_unsigned_SS_long(unsigned long value)
1779 {
1780 return (value > LONG_MAX) ?
1781 PyLong_FromUnsignedLong(value)
1782 : PyInt_FromLong((long)(value));
1783 }
1784
1785 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1786 static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
1787 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1788 if (udata) {
1789 Py_INCREF(udata->m_obj);
1790 return udata->m_obj;
1791 } else {
1792 Py_INCREF(Py_None);
1793 return Py_None;
1794 }
1795 }
1796 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
1797 self->SetClientData(new wxPyUserData(clientData));
1798 }
1799 static wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
1800 wxPyUserData* udata = NULL;
1801 if (clientData && clientData != Py_None)
1802 udata = new wxPyUserData(clientData);
1803 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1804 shortHelp, longHelp, udata);
1805 }
1806 static wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
1807 wxPyUserData* udata = NULL;
1808 if (clientData && clientData != Py_None)
1809 udata = new wxPyUserData(clientData);
1810 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1811 shortHelp, longHelp, udata);
1812 }
1813 static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
1814 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1815 if (udata) {
1816 Py_INCREF(udata->m_obj);
1817 return udata->m_obj;
1818 } else {
1819 Py_INCREF(Py_None);
1820 return Py_None;
1821 }
1822 }
1823 static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
1824 self->SetToolClientData(id, new wxPyUserData(clientData));
1825 }
1826
1827 #include <wx/listctrl.h>
1828
1829 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
1830 static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
1831 // Python aware sorting function for wxPyListCtrl
1832 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1833 int retval = 0;
1834 PyObject* func = (PyObject*)funcPtr;
1835 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1836
1837 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1838 PyObject* result = PyEval_CallObject(func, args);
1839 Py_DECREF(args);
1840 if (result) {
1841 retval = PyInt_AsLong(result);
1842 Py_DECREF(result);
1843 }
1844
1845 wxPyEndBlockThreads(blocked);
1846 return retval;
1847 }
1848
1849 // C++ Version of a Python aware class
1850 class wxPyListCtrl : public wxListCtrl {
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1852 public:
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1855 const wxPoint& pos,
1856 const wxSize& size,
1857 long style,
1858 const wxValidator& validator,
1859 const wxString& name) :
1860 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1861
1862 bool Create(wxWindow* parent, wxWindowID id,
1863 const wxPoint& pos,
1864 const wxSize& size,
1865 long style,
1866 const wxValidator& validator,
1867 const wxString& name) {
1868 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1869 }
1870
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1873
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1876
1877 PYPRIVATE;
1878 };
1879
1880 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1881
1882 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
1883 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
1884 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1885
1886
1887 static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
1888 wxListItem item;
1889 item.SetMask( wxLIST_MASK_STATE |
1890 wxLIST_MASK_TEXT |
1891 wxLIST_MASK_IMAGE |
1892 wxLIST_MASK_DATA |
1893 wxLIST_SET_ITEM |
1894 wxLIST_MASK_WIDTH |
1895 wxLIST_MASK_FORMAT
1896 );
1897 if (self->GetColumn(col, item))
1898 return new wxListItem(item);
1899 else
1900 return NULL;
1901 }
1902 static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
1903 wxListItem* info = new wxListItem;
1904 info->m_itemId = itemId;
1905 info->m_col = col;
1906 info->m_mask = 0xFFFF;
1907 self->GetItem(*info);
1908 return info;
1909 }
1910 static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
1911 wxPoint pos;
1912 self->GetItemPosition(item, pos);
1913 return pos;
1914 }
1915 static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
1916 wxRect rect;
1917 self->GetItemRect(item, rect, code);
1918 return rect;
1919 }
1920
1921 static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
1922 if (!PyCallable_Check(func))
1923 return false;
1924 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1925 }
1926 static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
1927
1928 return self;
1929
1930
1931
1932 }
1933
1934 #include <wx/treectrl.h>
1935 #include "wx/wxPython/pytree.h"
1936
1937 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1938 static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1939 static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1940 static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
1941 // C++ version of Python aware wxTreeCtrl
1942 class wxPyTreeCtrl : public wxTreeCtrl {
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1944 public:
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1947 const wxPoint& pos,
1948 const wxSize& size,
1949 long style,
1950 const wxValidator& validator,
1951 const wxString& name) :
1952 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1953
1954 bool Create(wxWindow *parent, wxWindowID id,
1955 const wxPoint& pos,
1956 const wxSize& size,
1957 long style,
1958 const wxValidator& validator,
1959 const wxString& name) {
1960 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1961 }
1962
1963
1964 int OnCompareItems(const wxTreeItemId& item1,
1965 const wxTreeItemId& item2) {
1966 int rval = 0;
1967 bool found;
1968 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1969 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1970 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1971 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
1972 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1973 Py_DECREF(o1);
1974 Py_DECREF(o2);
1975 }
1976 wxPyEndBlockThreads(blocked);
1977 if (! found)
1978 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1979 return rval;
1980 }
1981 PYPRIVATE;
1982 };
1983
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1985
1986
1987
1988 #if UINT_MAX < LONG_MAX
1989 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1990 #define SWIG_From_unsigned_SS_int SWIG_From_long
1991 /*@@*/
1992 #else
1993 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1994 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1995 /*@@*/
1996 #endif
1997
1998
1999 SWIGINTERNSHORT int
2000 SWIG_CheckUnsignedLongInRange(unsigned long value,
2001 unsigned long max_value,
2002 const char *errmsg)
2003 {
2004 if (value > max_value) {
2005 if (errmsg) {
2006 PyErr_Format(PyExc_OverflowError,
2007 "value %lu is greater than '%s' minimum %lu",
2008 value, errmsg, max_value);
2009 }
2010 return 0;
2011 }
2012 return 1;
2013 }
2014
2015
2016 #if UINT_MAX != ULONG_MAX
2017 SWIGINTERN int
2018 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2019 {
2020 const char* errmsg = val ? "unsigned int" : (char*)0;
2021 unsigned long v;
2022 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2023 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
2024 if (val) *val = (unsigned int)(v);
2025 return 1;
2026 }
2027 } else {
2028 PyErr_Clear();
2029 }
2030 if (val) {
2031 SWIG_type_error(errmsg, obj);
2032 }
2033 return 0;
2034 }
2035 #else
2036 SWIGINTERNSHORT unsigned int
2037 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2038 {
2039 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2040 }
2041 #endif
2042
2043
2044 SWIGINTERNSHORT unsigned int
2045 SWIG_As_unsigned_SS_int(PyObject* obj)
2046 {
2047 unsigned int v;
2048 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2049 /*
2050 this is needed to make valgrind/purify happier.
2051 */
2052 memset((void*)&v, 0, sizeof(unsigned int));
2053 }
2054 return v;
2055 }
2056
2057
2058 SWIGINTERNSHORT int
2059 SWIG_Check_unsigned_SS_int(PyObject* obj)
2060 {
2061 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
2062 }
2063
2064 static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2065 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2066 if (data == NULL) {
2067 data = new wxPyTreeItemData();
2068 data->SetId(item); // set the id
2069 self->SetItemData(item, data);
2070 }
2071 return data;
2072 }
2073 static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
2074 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2075 if (data == NULL) {
2076 data = new wxPyTreeItemData();
2077 data->SetId(item); // set the id
2078 self->SetItemData(item, data);
2079 }
2080 return data->GetData();
2081 }
2082 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
2083 data->SetId(item); // set the id
2084 self->SetItemData(item, data);
2085 }
2086 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
2087 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2088 if (data == NULL) {
2089 data = new wxPyTreeItemData(obj);
2090 data->SetId(item); // set the id
2091 self->SetItemData(item, data);
2092 } else
2093 data->SetData(obj);
2094 }
2095 static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
2096 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2097 PyObject* rval = PyList_New(0);
2098 wxArrayTreeItemIds array;
2099 size_t num, x;
2100 num = self->GetSelections(array);
2101 for (x=0; x < num; x++) {
2102 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
2103 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
2104 PyList_Append(rval, item);
2105 Py_DECREF(item);
2106 }
2107 wxPyEndBlockThreads(blocked);
2108 return rval;
2109 }
2110 static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
2111 void* cookie = 0;
2112 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
2113 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2114 PyObject* tup = PyTuple_New(2);
2115 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2116 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2117 wxPyEndBlockThreads(blocked);
2118 return tup;
2119 }
2120 static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
2121 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
2122 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2123 PyObject* tup = PyTuple_New(2);
2124 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
2125 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2126 wxPyEndBlockThreads(blocked);
2127 return tup;
2128 }
2129 static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
2130 wxRect rect;
2131 if (self->GetBoundingRect(item, rect, textOnly)) {
2132 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2133 wxRect* r = new wxRect(rect);
2134 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
2135 wxPyEndBlockThreads(blocked);
2136 return val;
2137 }
2138 else
2139 RETURN_NONE();
2140 }
2141 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
2142
2143 SWIGINTERNSHORT PyObject*
2144 SWIG_From_bool(bool value)
2145 {
2146 PyObject *obj = value ? Py_True : Py_False;
2147 Py_INCREF(obj);
2148 return obj;
2149 }
2150
2151
2152 // C++ version of Python aware wxControl
2153 class wxPyControl : public wxControl
2154 {
2155 DECLARE_DYNAMIC_CLASS(wxPyControl)
2156 public:
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow* parent, const wxWindowID id,
2159 const wxPoint& pos = wxDefaultPosition,
2160 const wxSize& size = wxDefaultSize,
2161 long style = 0,
2162 const wxValidator& validator=wxDefaultValidator,
2163 const wxString& name = wxPyControlNameStr)
2164 : wxControl(parent, id, pos, size, style, validator, name) {}
2165
2166 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
2167
2168 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2169 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2171 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2172
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2176
2177 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2178 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2179
2180 DEC_PYCALLBACK__(InitDialog);
2181 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2182 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2183 DEC_PYCALLBACK_BOOL_(Validate);
2184
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2186 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2187 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2188
2189 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2190 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2191
2192 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2193 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2194
2195 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2196
2197 PYPRIVATE;
2198 };
2199
2200 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2201
2202 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2203 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2204 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2205 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2206
2207 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2208 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2209 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2210
2211 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2212 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2213
2214 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2215 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2216 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2217 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2218
2219 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2220 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2221 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2222
2223 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2224 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2225
2226 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
2227 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
2228
2229 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2230
2231
2232
2233 static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
2234
2235 #include <wx/generic/dragimgg.h>
2236
2237 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2238 static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2239 wxDateTime rv;
2240 self->GetRange(&rv, NULL);
2241 return rv;
2242 }
2243 static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2244 wxDateTime rv;
2245 self->GetRange(NULL, &rv);
2246 return rv;
2247 }
2248 #ifdef __cplusplus
2249 extern "C" {
2250 #endif
2251 static int _wrap_ButtonNameStr_set(PyObject *) {
2252 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2253 return 1;
2254 }
2255
2256
2257 static PyObject *_wrap_ButtonNameStr_get(void) {
2258 PyObject *pyobj;
2259
2260 {
2261 #if wxUSE_UNICODE
2262 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2263 #else
2264 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2265 #endif
2266 }
2267 return pyobj;
2268 }
2269
2270
2271 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
2272 PyObject *resultobj;
2273 wxWindow *arg1 = (wxWindow *) 0 ;
2274 int arg2 = (int) -1 ;
2275 wxString const &arg3_defvalue = wxPyEmptyString ;
2276 wxString *arg3 = (wxString *) &arg3_defvalue ;
2277 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2278 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2279 wxSize const &arg5_defvalue = wxDefaultSize ;
2280 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2281 long arg6 = (long) 0 ;
2282 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2283 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2284 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2285 wxString *arg8 = (wxString *) &arg8_defvalue ;
2286 wxButton *result;
2287 bool temp3 = false ;
2288 wxPoint temp4 ;
2289 wxSize temp5 ;
2290 bool temp8 = false ;
2291 PyObject * obj0 = 0 ;
2292 PyObject * obj1 = 0 ;
2293 PyObject * obj2 = 0 ;
2294 PyObject * obj3 = 0 ;
2295 PyObject * obj4 = 0 ;
2296 PyObject * obj5 = 0 ;
2297 PyObject * obj6 = 0 ;
2298 PyObject * obj7 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2305 if (SWIG_arg_fail(1)) SWIG_fail;
2306 if (obj1) {
2307 {
2308 arg2 = (int)(SWIG_As_int(obj1));
2309 if (SWIG_arg_fail(2)) SWIG_fail;
2310 }
2311 }
2312 if (obj2) {
2313 {
2314 arg3 = wxString_in_helper(obj2);
2315 if (arg3 == NULL) SWIG_fail;
2316 temp3 = true;
2317 }
2318 }
2319 if (obj3) {
2320 {
2321 arg4 = &temp4;
2322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2323 }
2324 }
2325 if (obj4) {
2326 {
2327 arg5 = &temp5;
2328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2329 }
2330 }
2331 if (obj5) {
2332 {
2333 arg6 = (long)(SWIG_As_long(obj5));
2334 if (SWIG_arg_fail(6)) SWIG_fail;
2335 }
2336 }
2337 if (obj6) {
2338 {
2339 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2340 if (SWIG_arg_fail(7)) SWIG_fail;
2341 if (arg7 == NULL) {
2342 SWIG_null_ref("wxValidator");
2343 }
2344 if (SWIG_arg_fail(7)) SWIG_fail;
2345 }
2346 }
2347 if (obj7) {
2348 {
2349 arg8 = wxString_in_helper(obj7);
2350 if (arg8 == NULL) SWIG_fail;
2351 temp8 = true;
2352 }
2353 }
2354 {
2355 if (!wxPyCheckForApp()) SWIG_fail;
2356 PyThreadState* __tstate = wxPyBeginAllowThreads();
2357 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2358
2359 wxPyEndAllowThreads(__tstate);
2360 if (PyErr_Occurred()) SWIG_fail;
2361 }
2362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2363 {
2364 if (temp3)
2365 delete arg3;
2366 }
2367 {
2368 if (temp8)
2369 delete arg8;
2370 }
2371 return resultobj;
2372 fail:
2373 {
2374 if (temp3)
2375 delete arg3;
2376 }
2377 {
2378 if (temp8)
2379 delete arg8;
2380 }
2381 return NULL;
2382 }
2383
2384
2385 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
2386 PyObject *resultobj;
2387 wxButton *result;
2388 char *kwnames[] = {
2389 NULL
2390 };
2391
2392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2393 {
2394 if (!wxPyCheckForApp()) SWIG_fail;
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 result = (wxButton *)new wxButton();
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) SWIG_fail;
2400 }
2401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
2402 return resultobj;
2403 fail:
2404 return NULL;
2405 }
2406
2407
2408 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2409 PyObject *resultobj;
2410 wxButton *arg1 = (wxButton *) 0 ;
2411 wxWindow *arg2 = (wxWindow *) 0 ;
2412 int arg3 = (int) -1 ;
2413 wxString const &arg4_defvalue = wxPyEmptyString ;
2414 wxString *arg4 = (wxString *) &arg4_defvalue ;
2415 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2416 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2417 wxSize const &arg6_defvalue = wxDefaultSize ;
2418 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2419 long arg7 = (long) 0 ;
2420 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2421 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2422 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2423 wxString *arg9 = (wxString *) &arg9_defvalue ;
2424 bool result;
2425 bool temp4 = false ;
2426 wxPoint temp5 ;
2427 wxSize temp6 ;
2428 bool temp9 = false ;
2429 PyObject * obj0 = 0 ;
2430 PyObject * obj1 = 0 ;
2431 PyObject * obj2 = 0 ;
2432 PyObject * obj3 = 0 ;
2433 PyObject * obj4 = 0 ;
2434 PyObject * obj5 = 0 ;
2435 PyObject * obj6 = 0 ;
2436 PyObject * obj7 = 0 ;
2437 PyObject * obj8 = 0 ;
2438 char *kwnames[] = {
2439 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2440 };
2441
2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2444 if (SWIG_arg_fail(1)) SWIG_fail;
2445 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2446 if (SWIG_arg_fail(2)) SWIG_fail;
2447 if (obj2) {
2448 {
2449 arg3 = (int)(SWIG_As_int(obj2));
2450 if (SWIG_arg_fail(3)) SWIG_fail;
2451 }
2452 }
2453 if (obj3) {
2454 {
2455 arg4 = wxString_in_helper(obj3);
2456 if (arg4 == NULL) SWIG_fail;
2457 temp4 = true;
2458 }
2459 }
2460 if (obj4) {
2461 {
2462 arg5 = &temp5;
2463 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2464 }
2465 }
2466 if (obj5) {
2467 {
2468 arg6 = &temp6;
2469 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2470 }
2471 }
2472 if (obj6) {
2473 {
2474 arg7 = (long)(SWIG_As_long(obj6));
2475 if (SWIG_arg_fail(7)) SWIG_fail;
2476 }
2477 }
2478 if (obj7) {
2479 {
2480 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2481 if (SWIG_arg_fail(8)) SWIG_fail;
2482 if (arg8 == NULL) {
2483 SWIG_null_ref("wxValidator");
2484 }
2485 if (SWIG_arg_fail(8)) SWIG_fail;
2486 }
2487 }
2488 if (obj8) {
2489 {
2490 arg9 = wxString_in_helper(obj8);
2491 if (arg9 == NULL) SWIG_fail;
2492 temp9 = true;
2493 }
2494 }
2495 {
2496 PyThreadState* __tstate = wxPyBeginAllowThreads();
2497 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2498
2499 wxPyEndAllowThreads(__tstate);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 }
2502 {
2503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2504 }
2505 {
2506 if (temp4)
2507 delete arg4;
2508 }
2509 {
2510 if (temp9)
2511 delete arg9;
2512 }
2513 return resultobj;
2514 fail:
2515 {
2516 if (temp4)
2517 delete arg4;
2518 }
2519 {
2520 if (temp9)
2521 delete arg9;
2522 }
2523 return NULL;
2524 }
2525
2526
2527 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
2528 PyObject *resultobj;
2529 wxButton *arg1 = (wxButton *) 0 ;
2530 PyObject * obj0 = 0 ;
2531 char *kwnames[] = {
2532 (char *) "self", NULL
2533 };
2534
2535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2537 if (SWIG_arg_fail(1)) SWIG_fail;
2538 {
2539 PyThreadState* __tstate = wxPyBeginAllowThreads();
2540 (arg1)->SetDefault();
2541
2542 wxPyEndAllowThreads(__tstate);
2543 if (PyErr_Occurred()) SWIG_fail;
2544 }
2545 Py_INCREF(Py_None); resultobj = Py_None;
2546 return resultobj;
2547 fail:
2548 return NULL;
2549 }
2550
2551
2552 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
2553 PyObject *resultobj;
2554 wxSize result;
2555 char *kwnames[] = {
2556 NULL
2557 };
2558
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2560 {
2561 PyThreadState* __tstate = wxPyBeginAllowThreads();
2562 result = wxButton::GetDefaultSize();
2563
2564 wxPyEndAllowThreads(__tstate);
2565 if (PyErr_Occurred()) SWIG_fail;
2566 }
2567 {
2568 wxSize * resultptr;
2569 resultptr = new wxSize((wxSize &)(result));
2570 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2571 }
2572 return resultobj;
2573 fail:
2574 return NULL;
2575 }
2576
2577
2578 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2579 PyObject *resultobj;
2580 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2581 wxVisualAttributes result;
2582 PyObject * obj0 = 0 ;
2583 char *kwnames[] = {
2584 (char *) "variant", NULL
2585 };
2586
2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2588 if (obj0) {
2589 {
2590 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2591 if (SWIG_arg_fail(1)) SWIG_fail;
2592 }
2593 }
2594 {
2595 if (!wxPyCheckForApp()) SWIG_fail;
2596 PyThreadState* __tstate = wxPyBeginAllowThreads();
2597 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2598
2599 wxPyEndAllowThreads(__tstate);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 }
2602 {
2603 wxVisualAttributes * resultptr;
2604 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2605 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2606 }
2607 return resultobj;
2608 fail:
2609 return NULL;
2610 }
2611
2612
2613 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
2614 PyObject *obj;
2615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2616 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2617 Py_INCREF(obj);
2618 return Py_BuildValue((char *)"");
2619 }
2620 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2621 PyObject *resultobj;
2622 wxWindow *arg1 = (wxWindow *) 0 ;
2623 int arg2 = (int) -1 ;
2624 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2625 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
2626 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2627 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2628 wxSize const &arg5_defvalue = wxDefaultSize ;
2629 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2630 long arg6 = (long) wxBU_AUTODRAW ;
2631 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2632 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2633 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2634 wxString *arg8 = (wxString *) &arg8_defvalue ;
2635 wxBitmapButton *result;
2636 wxPoint temp4 ;
2637 wxSize temp5 ;
2638 bool temp8 = false ;
2639 PyObject * obj0 = 0 ;
2640 PyObject * obj1 = 0 ;
2641 PyObject * obj2 = 0 ;
2642 PyObject * obj3 = 0 ;
2643 PyObject * obj4 = 0 ;
2644 PyObject * obj5 = 0 ;
2645 PyObject * obj6 = 0 ;
2646 PyObject * obj7 = 0 ;
2647 char *kwnames[] = {
2648 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2649 };
2650
2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2653 if (SWIG_arg_fail(1)) SWIG_fail;
2654 if (obj1) {
2655 {
2656 arg2 = (int)(SWIG_As_int(obj1));
2657 if (SWIG_arg_fail(2)) SWIG_fail;
2658 }
2659 }
2660 if (obj2) {
2661 {
2662 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2663 if (SWIG_arg_fail(3)) SWIG_fail;
2664 if (arg3 == NULL) {
2665 SWIG_null_ref("wxBitmap");
2666 }
2667 if (SWIG_arg_fail(3)) SWIG_fail;
2668 }
2669 }
2670 if (obj3) {
2671 {
2672 arg4 = &temp4;
2673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2674 }
2675 }
2676 if (obj4) {
2677 {
2678 arg5 = &temp5;
2679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2680 }
2681 }
2682 if (obj5) {
2683 {
2684 arg6 = (long)(SWIG_As_long(obj5));
2685 if (SWIG_arg_fail(6)) SWIG_fail;
2686 }
2687 }
2688 if (obj6) {
2689 {
2690 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2691 if (SWIG_arg_fail(7)) SWIG_fail;
2692 if (arg7 == NULL) {
2693 SWIG_null_ref("wxValidator");
2694 }
2695 if (SWIG_arg_fail(7)) SWIG_fail;
2696 }
2697 }
2698 if (obj7) {
2699 {
2700 arg8 = wxString_in_helper(obj7);
2701 if (arg8 == NULL) SWIG_fail;
2702 temp8 = true;
2703 }
2704 }
2705 {
2706 if (!wxPyCheckForApp()) SWIG_fail;
2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
2708 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2709
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 }
2713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2714 {
2715 if (temp8)
2716 delete arg8;
2717 }
2718 return resultobj;
2719 fail:
2720 {
2721 if (temp8)
2722 delete arg8;
2723 }
2724 return NULL;
2725 }
2726
2727
2728 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
2729 PyObject *resultobj;
2730 wxBitmapButton *result;
2731 char *kwnames[] = {
2732 NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2736 {
2737 if (!wxPyCheckForApp()) SWIG_fail;
2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
2739 result = (wxBitmapButton *)new wxBitmapButton();
2740
2741 wxPyEndAllowThreads(__tstate);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
2745 return resultobj;
2746 fail:
2747 return NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2754 wxWindow *arg2 = (wxWindow *) 0 ;
2755 int arg3 = (int) -1 ;
2756 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2757 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
2758 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2759 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2760 wxSize const &arg6_defvalue = wxDefaultSize ;
2761 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2762 long arg7 = (long) wxBU_AUTODRAW ;
2763 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2764 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2765 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2766 wxString *arg9 = (wxString *) &arg9_defvalue ;
2767 bool result;
2768 wxPoint temp5 ;
2769 wxSize temp6 ;
2770 bool temp9 = false ;
2771 PyObject * obj0 = 0 ;
2772 PyObject * obj1 = 0 ;
2773 PyObject * obj2 = 0 ;
2774 PyObject * obj3 = 0 ;
2775 PyObject * obj4 = 0 ;
2776 PyObject * obj5 = 0 ;
2777 PyObject * obj6 = 0 ;
2778 PyObject * obj7 = 0 ;
2779 PyObject * obj8 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail;
2787 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2788 if (SWIG_arg_fail(2)) SWIG_fail;
2789 if (obj2) {
2790 {
2791 arg3 = (int)(SWIG_As_int(obj2));
2792 if (SWIG_arg_fail(3)) SWIG_fail;
2793 }
2794 }
2795 if (obj3) {
2796 {
2797 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2798 if (SWIG_arg_fail(4)) SWIG_fail;
2799 if (arg4 == NULL) {
2800 SWIG_null_ref("wxBitmap");
2801 }
2802 if (SWIG_arg_fail(4)) SWIG_fail;
2803 }
2804 }
2805 if (obj4) {
2806 {
2807 arg5 = &temp5;
2808 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2809 }
2810 }
2811 if (obj5) {
2812 {
2813 arg6 = &temp6;
2814 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2815 }
2816 }
2817 if (obj6) {
2818 {
2819 arg7 = (long)(SWIG_As_long(obj6));
2820 if (SWIG_arg_fail(7)) SWIG_fail;
2821 }
2822 }
2823 if (obj7) {
2824 {
2825 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2826 if (SWIG_arg_fail(8)) SWIG_fail;
2827 if (arg8 == NULL) {
2828 SWIG_null_ref("wxValidator");
2829 }
2830 if (SWIG_arg_fail(8)) SWIG_fail;
2831 }
2832 }
2833 if (obj8) {
2834 {
2835 arg9 = wxString_in_helper(obj8);
2836 if (arg9 == NULL) SWIG_fail;
2837 temp9 = true;
2838 }
2839 }
2840 {
2841 PyThreadState* __tstate = wxPyBeginAllowThreads();
2842 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2843
2844 wxPyEndAllowThreads(__tstate);
2845 if (PyErr_Occurred()) SWIG_fail;
2846 }
2847 {
2848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2849 }
2850 {
2851 if (temp9)
2852 delete arg9;
2853 }
2854 return resultobj;
2855 fail:
2856 {
2857 if (temp9)
2858 delete arg9;
2859 }
2860 return NULL;
2861 }
2862
2863
2864 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2865 PyObject *resultobj;
2866 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2867 wxBitmap result;
2868 PyObject * obj0 = 0 ;
2869 char *kwnames[] = {
2870 (char *) "self", NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
2874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2875 if (SWIG_arg_fail(1)) SWIG_fail;
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 result = (arg1)->GetBitmapLabel();
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 {
2884 wxBitmap * resultptr;
2885 resultptr = new wxBitmap((wxBitmap &)(result));
2886 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2887 }
2888 return resultobj;
2889 fail:
2890 return NULL;
2891 }
2892
2893
2894 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2895 PyObject *resultobj;
2896 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2897 wxBitmap result;
2898 PyObject * obj0 = 0 ;
2899 char *kwnames[] = {
2900 (char *) "self", NULL
2901 };
2902
2903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
2904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2905 if (SWIG_arg_fail(1)) SWIG_fail;
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 result = (arg1)->GetBitmapDisabled();
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 {
2914 wxBitmap * resultptr;
2915 resultptr = new wxBitmap((wxBitmap &)(result));
2916 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2917 }
2918 return resultobj;
2919 fail:
2920 return NULL;
2921 }
2922
2923
2924 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2925 PyObject *resultobj;
2926 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2927 wxBitmap result;
2928 PyObject * obj0 = 0 ;
2929 char *kwnames[] = {
2930 (char *) "self", NULL
2931 };
2932
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
2934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2935 if (SWIG_arg_fail(1)) SWIG_fail;
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 result = (arg1)->GetBitmapFocus();
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 {
2944 wxBitmap * resultptr;
2945 resultptr = new wxBitmap((wxBitmap &)(result));
2946 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2947 }
2948 return resultobj;
2949 fail:
2950 return NULL;
2951 }
2952
2953
2954 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
2955 PyObject *resultobj;
2956 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2957 wxBitmap result;
2958 PyObject * obj0 = 0 ;
2959 char *kwnames[] = {
2960 (char *) "self", NULL
2961 };
2962
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
2964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2965 if (SWIG_arg_fail(1)) SWIG_fail;
2966 {
2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
2968 result = (arg1)->GetBitmapSelected();
2969
2970 wxPyEndAllowThreads(__tstate);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 }
2973 {
2974 wxBitmap * resultptr;
2975 resultptr = new wxBitmap((wxBitmap &)(result));
2976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2977 }
2978 return resultobj;
2979 fail:
2980 return NULL;
2981 }
2982
2983
2984 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
2985 PyObject *resultobj;
2986 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2987 wxBitmap *arg2 = 0 ;
2988 PyObject * obj0 = 0 ;
2989 PyObject * obj1 = 0 ;
2990 char *kwnames[] = {
2991 (char *) "self",(char *) "bitmap", NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
2995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2996 if (SWIG_arg_fail(1)) SWIG_fail;
2997 {
2998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2999 if (SWIG_arg_fail(2)) SWIG_fail;
3000 if (arg2 == NULL) {
3001 SWIG_null_ref("wxBitmap");
3002 }
3003 if (SWIG_arg_fail(2)) SWIG_fail;
3004 }
3005 {
3006 PyThreadState* __tstate = wxPyBeginAllowThreads();
3007 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3008
3009 wxPyEndAllowThreads(__tstate);
3010 if (PyErr_Occurred()) SWIG_fail;
3011 }
3012 Py_INCREF(Py_None); resultobj = Py_None;
3013 return resultobj;
3014 fail:
3015 return NULL;
3016 }
3017
3018
3019 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
3020 PyObject *resultobj;
3021 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3022 wxBitmap *arg2 = 0 ;
3023 PyObject * obj0 = 0 ;
3024 PyObject * obj1 = 0 ;
3025 char *kwnames[] = {
3026 (char *) "self",(char *) "bitmap", NULL
3027 };
3028
3029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
3030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3031 if (SWIG_arg_fail(1)) SWIG_fail;
3032 {
3033 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3034 if (SWIG_arg_fail(2)) SWIG_fail;
3035 if (arg2 == NULL) {
3036 SWIG_null_ref("wxBitmap");
3037 }
3038 if (SWIG_arg_fail(2)) SWIG_fail;
3039 }
3040 {
3041 PyThreadState* __tstate = wxPyBeginAllowThreads();
3042 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3043
3044 wxPyEndAllowThreads(__tstate);
3045 if (PyErr_Occurred()) SWIG_fail;
3046 }
3047 Py_INCREF(Py_None); resultobj = Py_None;
3048 return resultobj;
3049 fail:
3050 return NULL;
3051 }
3052
3053
3054 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
3055 PyObject *resultobj;
3056 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3057 wxBitmap *arg2 = 0 ;
3058 PyObject * obj0 = 0 ;
3059 PyObject * obj1 = 0 ;
3060 char *kwnames[] = {
3061 (char *) "self",(char *) "bitmap", NULL
3062 };
3063
3064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
3065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3066 if (SWIG_arg_fail(1)) SWIG_fail;
3067 {
3068 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3069 if (SWIG_arg_fail(2)) SWIG_fail;
3070 if (arg2 == NULL) {
3071 SWIG_null_ref("wxBitmap");
3072 }
3073 if (SWIG_arg_fail(2)) SWIG_fail;
3074 }
3075 {
3076 PyThreadState* __tstate = wxPyBeginAllowThreads();
3077 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3078
3079 wxPyEndAllowThreads(__tstate);
3080 if (PyErr_Occurred()) SWIG_fail;
3081 }
3082 Py_INCREF(Py_None); resultobj = Py_None;
3083 return resultobj;
3084 fail:
3085 return NULL;
3086 }
3087
3088
3089 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3090 PyObject *resultobj;
3091 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3092 wxBitmap *arg2 = 0 ;
3093 PyObject * obj0 = 0 ;
3094 PyObject * obj1 = 0 ;
3095 char *kwnames[] = {
3096 (char *) "self",(char *) "bitmap", NULL
3097 };
3098
3099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
3100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3101 if (SWIG_arg_fail(1)) SWIG_fail;
3102 {
3103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3104 if (SWIG_arg_fail(2)) SWIG_fail;
3105 if (arg2 == NULL) {
3106 SWIG_null_ref("wxBitmap");
3107 }
3108 if (SWIG_arg_fail(2)) SWIG_fail;
3109 }
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3113
3114 wxPyEndAllowThreads(__tstate);
3115 if (PyErr_Occurred()) SWIG_fail;
3116 }
3117 Py_INCREF(Py_None); resultobj = Py_None;
3118 return resultobj;
3119 fail:
3120 return NULL;
3121 }
3122
3123
3124 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
3125 PyObject *resultobj;
3126 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3127 int arg2 ;
3128 int arg3 ;
3129 PyObject * obj0 = 0 ;
3130 PyObject * obj1 = 0 ;
3131 PyObject * obj2 = 0 ;
3132 char *kwnames[] = {
3133 (char *) "self",(char *) "x",(char *) "y", NULL
3134 };
3135
3136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
3137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3138 if (SWIG_arg_fail(1)) SWIG_fail;
3139 {
3140 arg2 = (int)(SWIG_As_int(obj1));
3141 if (SWIG_arg_fail(2)) SWIG_fail;
3142 }
3143 {
3144 arg3 = (int)(SWIG_As_int(obj2));
3145 if (SWIG_arg_fail(3)) SWIG_fail;
3146 }
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 (arg1)->SetMargins(arg2,arg3);
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 Py_INCREF(Py_None); resultobj = Py_None;
3155 return resultobj;
3156 fail:
3157 return NULL;
3158 }
3159
3160
3161 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
3162 PyObject *resultobj;
3163 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3164 int result;
3165 PyObject * obj0 = 0 ;
3166 char *kwnames[] = {
3167 (char *) "self", NULL
3168 };
3169
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
3171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail;
3173 {
3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
3175 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3176
3177 wxPyEndAllowThreads(__tstate);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
3180 {
3181 resultobj = SWIG_From_int((int)(result));
3182 }
3183 return resultobj;
3184 fail:
3185 return NULL;
3186 }
3187
3188
3189 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
3190 PyObject *resultobj;
3191 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3192 int result;
3193 PyObject * obj0 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
3199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail;
3201 {
3202 PyThreadState* __tstate = wxPyBeginAllowThreads();
3203 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3204
3205 wxPyEndAllowThreads(__tstate);
3206 if (PyErr_Occurred()) SWIG_fail;
3207 }
3208 {
3209 resultobj = SWIG_From_int((int)(result));
3210 }
3211 return resultobj;
3212 fail:
3213 return NULL;
3214 }
3215
3216
3217 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
3218 PyObject *obj;
3219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3220 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3221 Py_INCREF(obj);
3222 return Py_BuildValue((char *)"");
3223 }
3224 static int _wrap_CheckBoxNameStr_set(PyObject *) {
3225 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3226 return 1;
3227 }
3228
3229
3230 static PyObject *_wrap_CheckBoxNameStr_get(void) {
3231 PyObject *pyobj;
3232
3233 {
3234 #if wxUSE_UNICODE
3235 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3236 #else
3237 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3238 #endif
3239 }
3240 return pyobj;
3241 }
3242
3243
3244 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3245 PyObject *resultobj;
3246 wxWindow *arg1 = (wxWindow *) 0 ;
3247 int arg2 = (int) -1 ;
3248 wxString const &arg3_defvalue = wxPyEmptyString ;
3249 wxString *arg3 = (wxString *) &arg3_defvalue ;
3250 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3251 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3252 wxSize const &arg5_defvalue = wxDefaultSize ;
3253 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3254 long arg6 = (long) 0 ;
3255 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3256 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3257 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3258 wxString *arg8 = (wxString *) &arg8_defvalue ;
3259 wxCheckBox *result;
3260 bool temp3 = false ;
3261 wxPoint temp4 ;
3262 wxSize temp5 ;
3263 bool temp8 = false ;
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 PyObject * obj2 = 0 ;
3267 PyObject * obj3 = 0 ;
3268 PyObject * obj4 = 0 ;
3269 PyObject * obj5 = 0 ;
3270 PyObject * obj6 = 0 ;
3271 PyObject * obj7 = 0 ;
3272 char *kwnames[] = {
3273 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3274 };
3275
3276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail;
3279 if (obj1) {
3280 {
3281 arg2 = (int)(SWIG_As_int(obj1));
3282 if (SWIG_arg_fail(2)) SWIG_fail;
3283 }
3284 }
3285 if (obj2) {
3286 {
3287 arg3 = wxString_in_helper(obj2);
3288 if (arg3 == NULL) SWIG_fail;
3289 temp3 = true;
3290 }
3291 }
3292 if (obj3) {
3293 {
3294 arg4 = &temp4;
3295 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3296 }
3297 }
3298 if (obj4) {
3299 {
3300 arg5 = &temp5;
3301 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3302 }
3303 }
3304 if (obj5) {
3305 {
3306 arg6 = (long)(SWIG_As_long(obj5));
3307 if (SWIG_arg_fail(6)) SWIG_fail;
3308 }
3309 }
3310 if (obj6) {
3311 {
3312 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3313 if (SWIG_arg_fail(7)) SWIG_fail;
3314 if (arg7 == NULL) {
3315 SWIG_null_ref("wxValidator");
3316 }
3317 if (SWIG_arg_fail(7)) SWIG_fail;
3318 }
3319 }
3320 if (obj7) {
3321 {
3322 arg8 = wxString_in_helper(obj7);
3323 if (arg8 == NULL) SWIG_fail;
3324 temp8 = true;
3325 }
3326 }
3327 {
3328 if (!wxPyCheckForApp()) SWIG_fail;
3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
3330 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3331
3332 wxPyEndAllowThreads(__tstate);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3336 {
3337 if (temp3)
3338 delete arg3;
3339 }
3340 {
3341 if (temp8)
3342 delete arg8;
3343 }
3344 return resultobj;
3345 fail:
3346 {
3347 if (temp3)
3348 delete arg3;
3349 }
3350 {
3351 if (temp8)
3352 delete arg8;
3353 }
3354 return NULL;
3355 }
3356
3357
3358 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
3359 PyObject *resultobj;
3360 wxCheckBox *result;
3361 char *kwnames[] = {
3362 NULL
3363 };
3364
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3366 {
3367 if (!wxPyCheckForApp()) SWIG_fail;
3368 PyThreadState* __tstate = wxPyBeginAllowThreads();
3369 result = (wxCheckBox *)new wxCheckBox();
3370
3371 wxPyEndAllowThreads(__tstate);
3372 if (PyErr_Occurred()) SWIG_fail;
3373 }
3374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3375 return resultobj;
3376 fail:
3377 return NULL;
3378 }
3379
3380
3381 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3382 PyObject *resultobj;
3383 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3384 wxWindow *arg2 = (wxWindow *) 0 ;
3385 int arg3 = (int) -1 ;
3386 wxString const &arg4_defvalue = wxPyEmptyString ;
3387 wxString *arg4 = (wxString *) &arg4_defvalue ;
3388 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3389 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3390 wxSize const &arg6_defvalue = wxDefaultSize ;
3391 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3392 long arg7 = (long) 0 ;
3393 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3394 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3395 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3396 wxString *arg9 = (wxString *) &arg9_defvalue ;
3397 bool result;
3398 bool temp4 = false ;
3399 wxPoint temp5 ;
3400 wxSize temp6 ;
3401 bool temp9 = false ;
3402 PyObject * obj0 = 0 ;
3403 PyObject * obj1 = 0 ;
3404 PyObject * obj2 = 0 ;
3405 PyObject * obj3 = 0 ;
3406 PyObject * obj4 = 0 ;
3407 PyObject * obj5 = 0 ;
3408 PyObject * obj6 = 0 ;
3409 PyObject * obj7 = 0 ;
3410 PyObject * obj8 = 0 ;
3411 char *kwnames[] = {
3412 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3413 };
3414
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3417 if (SWIG_arg_fail(1)) SWIG_fail;
3418 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3419 if (SWIG_arg_fail(2)) SWIG_fail;
3420 if (obj2) {
3421 {
3422 arg3 = (int)(SWIG_As_int(obj2));
3423 if (SWIG_arg_fail(3)) SWIG_fail;
3424 }
3425 }
3426 if (obj3) {
3427 {
3428 arg4 = wxString_in_helper(obj3);
3429 if (arg4 == NULL) SWIG_fail;
3430 temp4 = true;
3431 }
3432 }
3433 if (obj4) {
3434 {
3435 arg5 = &temp5;
3436 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3437 }
3438 }
3439 if (obj5) {
3440 {
3441 arg6 = &temp6;
3442 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3443 }
3444 }
3445 if (obj6) {
3446 {
3447 arg7 = (long)(SWIG_As_long(obj6));
3448 if (SWIG_arg_fail(7)) SWIG_fail;
3449 }
3450 }
3451 if (obj7) {
3452 {
3453 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3454 if (SWIG_arg_fail(8)) SWIG_fail;
3455 if (arg8 == NULL) {
3456 SWIG_null_ref("wxValidator");
3457 }
3458 if (SWIG_arg_fail(8)) SWIG_fail;
3459 }
3460 }
3461 if (obj8) {
3462 {
3463 arg9 = wxString_in_helper(obj8);
3464 if (arg9 == NULL) SWIG_fail;
3465 temp9 = true;
3466 }
3467 }
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3471
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 {
3476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3477 }
3478 {
3479 if (temp4)
3480 delete arg4;
3481 }
3482 {
3483 if (temp9)
3484 delete arg9;
3485 }
3486 return resultobj;
3487 fail:
3488 {
3489 if (temp4)
3490 delete arg4;
3491 }
3492 {
3493 if (temp9)
3494 delete arg9;
3495 }
3496 return NULL;
3497 }
3498
3499
3500 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3501 PyObject *resultobj;
3502 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3503 bool result;
3504 PyObject * obj0 = 0 ;
3505 char *kwnames[] = {
3506 (char *) "self", NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
3510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail;
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 result = (bool)(arg1)->GetValue();
3515
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 {
3520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3521 }
3522 return resultobj;
3523 fail:
3524 return NULL;
3525 }
3526
3527
3528 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
3529 PyObject *resultobj;
3530 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3531 bool result;
3532 PyObject * obj0 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "self", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
3538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3539 if (SWIG_arg_fail(1)) SWIG_fail;
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (bool)(arg1)->IsChecked();
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 {
3548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3549 }
3550 return resultobj;
3551 fail:
3552 return NULL;
3553 }
3554
3555
3556 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3559 bool arg2 ;
3560 PyObject * obj0 = 0 ;
3561 PyObject * obj1 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self",(char *) "state", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail;
3569 {
3570 arg2 = (bool const)(SWIG_As_bool(obj1));
3571 if (SWIG_arg_fail(2)) SWIG_fail;
3572 }
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 (arg1)->SetValue(arg2);
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 Py_INCREF(Py_None); resultobj = Py_None;
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3590 wxCheckBoxState result;
3591 PyObject * obj0 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
3597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3598 if (SWIG_arg_fail(1)) SWIG_fail;
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
3606 resultobj = SWIG_From_int((result));
3607 return resultobj;
3608 fail:
3609 return NULL;
3610 }
3611
3612
3613 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
3614 PyObject *resultobj;
3615 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3616 wxCheckBoxState arg2 ;
3617 PyObject * obj0 = 0 ;
3618 PyObject * obj1 = 0 ;
3619 char *kwnames[] = {
3620 (char *) "self",(char *) "state", NULL
3621 };
3622
3623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
3624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3625 if (SWIG_arg_fail(1)) SWIG_fail;
3626 {
3627 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3628 if (SWIG_arg_fail(2)) SWIG_fail;
3629 }
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 Py_INCREF(Py_None); resultobj = Py_None;
3638 return resultobj;
3639 fail:
3640 return NULL;
3641 }
3642
3643
3644 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
3645 PyObject *resultobj;
3646 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3647 bool result;
3648 PyObject * obj0 = 0 ;
3649 char *kwnames[] = {
3650 (char *) "self", NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
3654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3655 if (SWIG_arg_fail(1)) SWIG_fail;
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 {
3664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3665 }
3666 return resultobj;
3667 fail:
3668 return NULL;
3669 }
3670
3671
3672 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
3673 PyObject *resultobj;
3674 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3675 bool result;
3676 PyObject * obj0 = 0 ;
3677 char *kwnames[] = {
3678 (char *) "self", NULL
3679 };
3680
3681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
3682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail;
3684 {
3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
3686 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3687
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 {
3692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3693 }
3694 return resultobj;
3695 fail:
3696 return NULL;
3697 }
3698
3699
3700 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3701 PyObject *resultobj;
3702 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3703 wxVisualAttributes result;
3704 PyObject * obj0 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "variant", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3710 if (obj0) {
3711 {
3712 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3713 if (SWIG_arg_fail(1)) SWIG_fail;
3714 }
3715 }
3716 {
3717 if (!wxPyCheckForApp()) SWIG_fail;
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 {
3725 wxVisualAttributes * resultptr;
3726 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3728 }
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
3736 PyObject *obj;
3737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3738 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3739 Py_INCREF(obj);
3740 return Py_BuildValue((char *)"");
3741 }
3742 static int _wrap_ChoiceNameStr_set(PyObject *) {
3743 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3744 return 1;
3745 }
3746
3747
3748 static PyObject *_wrap_ChoiceNameStr_get(void) {
3749 PyObject *pyobj;
3750
3751 {
3752 #if wxUSE_UNICODE
3753 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3754 #else
3755 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3756 #endif
3757 }
3758 return pyobj;
3759 }
3760
3761
3762 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
3763 PyObject *resultobj;
3764 wxWindow *arg1 = (wxWindow *) 0 ;
3765 int arg2 = (int) -1 ;
3766 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3767 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3768 wxSize const &arg4_defvalue = wxDefaultSize ;
3769 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3770 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3771 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3772 long arg6 = (long) 0 ;
3773 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3774 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3775 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3776 wxString *arg8 = (wxString *) &arg8_defvalue ;
3777 wxChoice *result;
3778 wxPoint temp3 ;
3779 wxSize temp4 ;
3780 bool temp5 = false ;
3781 bool temp8 = false ;
3782 PyObject * obj0 = 0 ;
3783 PyObject * obj1 = 0 ;
3784 PyObject * obj2 = 0 ;
3785 PyObject * obj3 = 0 ;
3786 PyObject * obj4 = 0 ;
3787 PyObject * obj5 = 0 ;
3788 PyObject * obj6 = 0 ;
3789 PyObject * obj7 = 0 ;
3790 char *kwnames[] = {
3791 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3792 };
3793
3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3796 if (SWIG_arg_fail(1)) SWIG_fail;
3797 if (obj1) {
3798 {
3799 arg2 = (int)(SWIG_As_int(obj1));
3800 if (SWIG_arg_fail(2)) SWIG_fail;
3801 }
3802 }
3803 if (obj2) {
3804 {
3805 arg3 = &temp3;
3806 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3807 }
3808 }
3809 if (obj3) {
3810 {
3811 arg4 = &temp4;
3812 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3813 }
3814 }
3815 if (obj4) {
3816 {
3817 if (! PySequence_Check(obj4)) {
3818 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3819 SWIG_fail;
3820 }
3821 arg5 = new wxArrayString;
3822 temp5 = true;
3823 int i, len=PySequence_Length(obj4);
3824 for (i=0; i<len; i++) {
3825 PyObject* item = PySequence_GetItem(obj4, i);
3826 wxString* s = wxString_in_helper(item);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 arg5->Add(*s);
3829 delete s;
3830 Py_DECREF(item);
3831 }
3832 }
3833 }
3834 if (obj5) {
3835 {
3836 arg6 = (long)(SWIG_As_long(obj5));
3837 if (SWIG_arg_fail(6)) SWIG_fail;
3838 }
3839 }
3840 if (obj6) {
3841 {
3842 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3843 if (SWIG_arg_fail(7)) SWIG_fail;
3844 if (arg7 == NULL) {
3845 SWIG_null_ref("wxValidator");
3846 }
3847 if (SWIG_arg_fail(7)) SWIG_fail;
3848 }
3849 }
3850 if (obj7) {
3851 {
3852 arg8 = wxString_in_helper(obj7);
3853 if (arg8 == NULL) SWIG_fail;
3854 temp8 = true;
3855 }
3856 }
3857 {
3858 if (!wxPyCheckForApp()) SWIG_fail;
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3866 {
3867 if (temp5) delete arg5;
3868 }
3869 {
3870 if (temp8)
3871 delete arg8;
3872 }
3873 return resultobj;
3874 fail:
3875 {
3876 if (temp5) delete arg5;
3877 }
3878 {
3879 if (temp8)
3880 delete arg8;
3881 }
3882 return NULL;
3883 }
3884
3885
3886 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3887 PyObject *resultobj;
3888 wxChoice *result;
3889 char *kwnames[] = {
3890 NULL
3891 };
3892
3893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3894 {
3895 if (!wxPyCheckForApp()) SWIG_fail;
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (wxChoice *)new wxChoice();
3898
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3903 return resultobj;
3904 fail:
3905 return NULL;
3906 }
3907
3908
3909 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3910 PyObject *resultobj;
3911 wxChoice *arg1 = (wxChoice *) 0 ;
3912 wxWindow *arg2 = (wxWindow *) 0 ;
3913 int arg3 = (int) -1 ;
3914 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3915 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3916 wxSize const &arg5_defvalue = wxDefaultSize ;
3917 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3918 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3919 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3920 long arg7 = (long) 0 ;
3921 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3922 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3923 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3924 wxString *arg9 = (wxString *) &arg9_defvalue ;
3925 bool result;
3926 wxPoint temp4 ;
3927 wxSize temp5 ;
3928 bool temp6 = false ;
3929 bool temp9 = false ;
3930 PyObject * obj0 = 0 ;
3931 PyObject * obj1 = 0 ;
3932 PyObject * obj2 = 0 ;
3933 PyObject * obj3 = 0 ;
3934 PyObject * obj4 = 0 ;
3935 PyObject * obj5 = 0 ;
3936 PyObject * obj6 = 0 ;
3937 PyObject * obj7 = 0 ;
3938 PyObject * obj8 = 0 ;
3939 char *kwnames[] = {
3940 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3941 };
3942
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3945 if (SWIG_arg_fail(1)) SWIG_fail;
3946 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3947 if (SWIG_arg_fail(2)) SWIG_fail;
3948 if (obj2) {
3949 {
3950 arg3 = (int)(SWIG_As_int(obj2));
3951 if (SWIG_arg_fail(3)) SWIG_fail;
3952 }
3953 }
3954 if (obj3) {
3955 {
3956 arg4 = &temp4;
3957 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3958 }
3959 }
3960 if (obj4) {
3961 {
3962 arg5 = &temp5;
3963 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3964 }
3965 }
3966 if (obj5) {
3967 {
3968 if (! PySequence_Check(obj5)) {
3969 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3970 SWIG_fail;
3971 }
3972 arg6 = new wxArrayString;
3973 temp6 = true;
3974 int i, len=PySequence_Length(obj5);
3975 for (i=0; i<len; i++) {
3976 PyObject* item = PySequence_GetItem(obj5, i);
3977 wxString* s = wxString_in_helper(item);
3978 if (PyErr_Occurred()) SWIG_fail;
3979 arg6->Add(*s);
3980 delete s;
3981 Py_DECREF(item);
3982 }
3983 }
3984 }
3985 if (obj6) {
3986 {
3987 arg7 = (long)(SWIG_As_long(obj6));
3988 if (SWIG_arg_fail(7)) SWIG_fail;
3989 }
3990 }
3991 if (obj7) {
3992 {
3993 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3994 if (SWIG_arg_fail(8)) SWIG_fail;
3995 if (arg8 == NULL) {
3996 SWIG_null_ref("wxValidator");
3997 }
3998 if (SWIG_arg_fail(8)) SWIG_fail;
3999 }
4000 }
4001 if (obj8) {
4002 {
4003 arg9 = wxString_in_helper(obj8);
4004 if (arg9 == NULL) SWIG_fail;
4005 temp9 = true;
4006 }
4007 }
4008 {
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4011
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 {
4016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4017 }
4018 {
4019 if (temp6) delete arg6;
4020 }
4021 {
4022 if (temp9)
4023 delete arg9;
4024 }
4025 return resultobj;
4026 fail:
4027 {
4028 if (temp6) delete arg6;
4029 }
4030 {
4031 if (temp9)
4032 delete arg9;
4033 }
4034 return NULL;
4035 }
4036
4037
4038 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4039 PyObject *resultobj;
4040 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4041 wxVisualAttributes result;
4042 PyObject * obj0 = 0 ;
4043 char *kwnames[] = {
4044 (char *) "variant", NULL
4045 };
4046
4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4048 if (obj0) {
4049 {
4050 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4051 if (SWIG_arg_fail(1)) SWIG_fail;
4052 }
4053 }
4054 {
4055 if (!wxPyCheckForApp()) SWIG_fail;
4056 PyThreadState* __tstate = wxPyBeginAllowThreads();
4057 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4058
4059 wxPyEndAllowThreads(__tstate);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 {
4063 wxVisualAttributes * resultptr;
4064 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4066 }
4067 return resultobj;
4068 fail:
4069 return NULL;
4070 }
4071
4072
4073 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
4074 PyObject *obj;
4075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4076 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4077 Py_INCREF(obj);
4078 return Py_BuildValue((char *)"");
4079 }
4080 static int _wrap_ComboBoxNameStr_set(PyObject *) {
4081 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4082 return 1;
4083 }
4084
4085
4086 static PyObject *_wrap_ComboBoxNameStr_get(void) {
4087 PyObject *pyobj;
4088
4089 {
4090 #if wxUSE_UNICODE
4091 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4092 #else
4093 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4094 #endif
4095 }
4096 return pyobj;
4097 }
4098
4099
4100 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4101 PyObject *resultobj;
4102 wxWindow *arg1 = (wxWindow *) 0 ;
4103 int arg2 = (int) -1 ;
4104 wxString const &arg3_defvalue = wxPyEmptyString ;
4105 wxString *arg3 = (wxString *) &arg3_defvalue ;
4106 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4107 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4108 wxSize const &arg5_defvalue = wxDefaultSize ;
4109 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4110 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4111 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4112 long arg7 = (long) 0 ;
4113 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4114 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4115 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4116 wxString *arg9 = (wxString *) &arg9_defvalue ;
4117 wxComboBox *result;
4118 bool temp3 = false ;
4119 wxPoint temp4 ;
4120 wxSize temp5 ;
4121 bool temp6 = false ;
4122 bool temp9 = false ;
4123 PyObject * obj0 = 0 ;
4124 PyObject * obj1 = 0 ;
4125 PyObject * obj2 = 0 ;
4126 PyObject * obj3 = 0 ;
4127 PyObject * obj4 = 0 ;
4128 PyObject * obj5 = 0 ;
4129 PyObject * obj6 = 0 ;
4130 PyObject * obj7 = 0 ;
4131 PyObject * obj8 = 0 ;
4132 char *kwnames[] = {
4133 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4134 };
4135
4136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4138 if (SWIG_arg_fail(1)) SWIG_fail;
4139 if (obj1) {
4140 {
4141 arg2 = (int)(SWIG_As_int(obj1));
4142 if (SWIG_arg_fail(2)) SWIG_fail;
4143 }
4144 }
4145 if (obj2) {
4146 {
4147 arg3 = wxString_in_helper(obj2);
4148 if (arg3 == NULL) SWIG_fail;
4149 temp3 = true;
4150 }
4151 }
4152 if (obj3) {
4153 {
4154 arg4 = &temp4;
4155 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4156 }
4157 }
4158 if (obj4) {
4159 {
4160 arg5 = &temp5;
4161 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4162 }
4163 }
4164 if (obj5) {
4165 {
4166 if (! PySequence_Check(obj5)) {
4167 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4168 SWIG_fail;
4169 }
4170 arg6 = new wxArrayString;
4171 temp6 = true;
4172 int i, len=PySequence_Length(obj5);
4173 for (i=0; i<len; i++) {
4174 PyObject* item = PySequence_GetItem(obj5, i);
4175 wxString* s = wxString_in_helper(item);
4176 if (PyErr_Occurred()) SWIG_fail;
4177 arg6->Add(*s);
4178 delete s;
4179 Py_DECREF(item);
4180 }
4181 }
4182 }
4183 if (obj6) {
4184 {
4185 arg7 = (long)(SWIG_As_long(obj6));
4186 if (SWIG_arg_fail(7)) SWIG_fail;
4187 }
4188 }
4189 if (obj7) {
4190 {
4191 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4192 if (SWIG_arg_fail(8)) SWIG_fail;
4193 if (arg8 == NULL) {
4194 SWIG_null_ref("wxValidator");
4195 }
4196 if (SWIG_arg_fail(8)) SWIG_fail;
4197 }
4198 }
4199 if (obj8) {
4200 {
4201 arg9 = wxString_in_helper(obj8);
4202 if (arg9 == NULL) SWIG_fail;
4203 temp9 = true;
4204 }
4205 }
4206 {
4207 if (!wxPyCheckForApp()) SWIG_fail;
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 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);
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4215 {
4216 if (temp3)
4217 delete arg3;
4218 }
4219 {
4220 if (temp6) delete arg6;
4221 }
4222 {
4223 if (temp9)
4224 delete arg9;
4225 }
4226 return resultobj;
4227 fail:
4228 {
4229 if (temp3)
4230 delete arg3;
4231 }
4232 {
4233 if (temp6) delete arg6;
4234 }
4235 {
4236 if (temp9)
4237 delete arg9;
4238 }
4239 return NULL;
4240 }
4241
4242
4243 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
4244 PyObject *resultobj;
4245 wxComboBox *result;
4246 char *kwnames[] = {
4247 NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4251 {
4252 if (!wxPyCheckForApp()) SWIG_fail;
4253 PyThreadState* __tstate = wxPyBeginAllowThreads();
4254 result = (wxComboBox *)new wxComboBox();
4255
4256 wxPyEndAllowThreads(__tstate);
4257 if (PyErr_Occurred()) SWIG_fail;
4258 }
4259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4260 return resultobj;
4261 fail:
4262 return NULL;
4263 }
4264
4265
4266 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4267 PyObject *resultobj;
4268 wxComboBox *arg1 = (wxComboBox *) 0 ;
4269 wxWindow *arg2 = (wxWindow *) 0 ;
4270 int arg3 = (int) -1 ;
4271 wxString const &arg4_defvalue = wxPyEmptyString ;
4272 wxString *arg4 = (wxString *) &arg4_defvalue ;
4273 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4274 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4275 wxSize const &arg6_defvalue = wxDefaultSize ;
4276 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4277 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4278 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4279 long arg8 = (long) 0 ;
4280 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4281 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4282 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4283 wxString *arg10 = (wxString *) &arg10_defvalue ;
4284 bool result;
4285 bool temp4 = false ;
4286 wxPoint temp5 ;
4287 wxSize temp6 ;
4288 bool temp7 = false ;
4289 bool temp10 = false ;
4290 PyObject * obj0 = 0 ;
4291 PyObject * obj1 = 0 ;
4292 PyObject * obj2 = 0 ;
4293 PyObject * obj3 = 0 ;
4294 PyObject * obj4 = 0 ;
4295 PyObject * obj5 = 0 ;
4296 PyObject * obj6 = 0 ;
4297 PyObject * obj7 = 0 ;
4298 PyObject * obj8 = 0 ;
4299 PyObject * obj9 = 0 ;
4300 char *kwnames[] = {
4301 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
4305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4306 if (SWIG_arg_fail(1)) SWIG_fail;
4307 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4308 if (SWIG_arg_fail(2)) SWIG_fail;
4309 if (obj2) {
4310 {
4311 arg3 = (int)(SWIG_As_int(obj2));
4312 if (SWIG_arg_fail(3)) SWIG_fail;
4313 }
4314 }
4315 if (obj3) {
4316 {
4317 arg4 = wxString_in_helper(obj3);
4318 if (arg4 == NULL) SWIG_fail;
4319 temp4 = true;
4320 }
4321 }
4322 if (obj4) {
4323 {
4324 arg5 = &temp5;
4325 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4326 }
4327 }
4328 if (obj5) {
4329 {
4330 arg6 = &temp6;
4331 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4332 }
4333 }
4334 if (obj6) {
4335 {
4336 if (! PySequence_Check(obj6)) {
4337 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4338 SWIG_fail;
4339 }
4340 arg7 = new wxArrayString;
4341 temp7 = true;
4342 int i, len=PySequence_Length(obj6);
4343 for (i=0; i<len; i++) {
4344 PyObject* item = PySequence_GetItem(obj6, i);
4345 wxString* s = wxString_in_helper(item);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 arg7->Add(*s);
4348 delete s;
4349 Py_DECREF(item);
4350 }
4351 }
4352 }
4353 if (obj7) {
4354 {
4355 arg8 = (long)(SWIG_As_long(obj7));
4356 if (SWIG_arg_fail(8)) SWIG_fail;
4357 }
4358 }
4359 if (obj8) {
4360 {
4361 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4362 if (SWIG_arg_fail(9)) SWIG_fail;
4363 if (arg9 == NULL) {
4364 SWIG_null_ref("wxValidator");
4365 }
4366 if (SWIG_arg_fail(9)) SWIG_fail;
4367 }
4368 }
4369 if (obj9) {
4370 {
4371 arg10 = wxString_in_helper(obj9);
4372 if (arg10 == NULL) SWIG_fail;
4373 temp10 = true;
4374 }
4375 }
4376 {
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 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);
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 {
4384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4385 }
4386 {
4387 if (temp4)
4388 delete arg4;
4389 }
4390 {
4391 if (temp7) delete arg7;
4392 }
4393 {
4394 if (temp10)
4395 delete arg10;
4396 }
4397 return resultobj;
4398 fail:
4399 {
4400 if (temp4)
4401 delete arg4;
4402 }
4403 {
4404 if (temp7) delete arg7;
4405 }
4406 {
4407 if (temp10)
4408 delete arg10;
4409 }
4410 return NULL;
4411 }
4412
4413
4414 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4415 PyObject *resultobj;
4416 wxComboBox *arg1 = (wxComboBox *) 0 ;
4417 wxString result;
4418 PyObject * obj0 = 0 ;
4419 char *kwnames[] = {
4420 (char *) "self", NULL
4421 };
4422
4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
4424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4425 if (SWIG_arg_fail(1)) SWIG_fail;
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 result = ((wxComboBox const *)arg1)->GetValue();
4429
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 {
4434 #if wxUSE_UNICODE
4435 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4436 #else
4437 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4438 #endif
4439 }
4440 return resultobj;
4441 fail:
4442 return NULL;
4443 }
4444
4445
4446 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
4447 PyObject *resultobj;
4448 wxComboBox *arg1 = (wxComboBox *) 0 ;
4449 wxString *arg2 = 0 ;
4450 bool temp2 = false ;
4451 PyObject * obj0 = 0 ;
4452 PyObject * obj1 = 0 ;
4453 char *kwnames[] = {
4454 (char *) "self",(char *) "value", NULL
4455 };
4456
4457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
4458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4459 if (SWIG_arg_fail(1)) SWIG_fail;
4460 {
4461 arg2 = wxString_in_helper(obj1);
4462 if (arg2 == NULL) SWIG_fail;
4463 temp2 = true;
4464 }
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 (arg1)->SetValue((wxString const &)*arg2);
4468
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 Py_INCREF(Py_None); resultobj = Py_None;
4473 {
4474 if (temp2)
4475 delete arg2;
4476 }
4477 return resultobj;
4478 fail:
4479 {
4480 if (temp2)
4481 delete arg2;
4482 }
4483 return NULL;
4484 }
4485
4486
4487 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj;
4489 wxComboBox *arg1 = (wxComboBox *) 0 ;
4490 PyObject * obj0 = 0 ;
4491 char *kwnames[] = {
4492 (char *) "self", NULL
4493 };
4494
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
4496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4497 if (SWIG_arg_fail(1)) SWIG_fail;
4498 {
4499 PyThreadState* __tstate = wxPyBeginAllowThreads();
4500 (arg1)->Copy();
4501
4502 wxPyEndAllowThreads(__tstate);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 }
4505 Py_INCREF(Py_None); resultobj = Py_None;
4506 return resultobj;
4507 fail:
4508 return NULL;
4509 }
4510
4511
4512 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
4513 PyObject *resultobj;
4514 wxComboBox *arg1 = (wxComboBox *) 0 ;
4515 PyObject * obj0 = 0 ;
4516 char *kwnames[] = {
4517 (char *) "self", NULL
4518 };
4519
4520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
4521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4522 if (SWIG_arg_fail(1)) SWIG_fail;
4523 {
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 (arg1)->Cut();
4526
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 Py_INCREF(Py_None); resultobj = Py_None;
4531 return resultobj;
4532 fail:
4533 return NULL;
4534 }
4535
4536
4537 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
4538 PyObject *resultobj;
4539 wxComboBox *arg1 = (wxComboBox *) 0 ;
4540 PyObject * obj0 = 0 ;
4541 char *kwnames[] = {
4542 (char *) "self", NULL
4543 };
4544
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
4546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4547 if (SWIG_arg_fail(1)) SWIG_fail;
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 (arg1)->Paste();
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 Py_INCREF(Py_None); resultobj = Py_None;
4556 return resultobj;
4557 fail:
4558 return NULL;
4559 }
4560
4561
4562 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4563 PyObject *resultobj;
4564 wxComboBox *arg1 = (wxComboBox *) 0 ;
4565 long arg2 ;
4566 PyObject * obj0 = 0 ;
4567 PyObject * obj1 = 0 ;
4568 char *kwnames[] = {
4569 (char *) "self",(char *) "pos", NULL
4570 };
4571
4572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
4573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4574 if (SWIG_arg_fail(1)) SWIG_fail;
4575 {
4576 arg2 = (long)(SWIG_As_long(obj1));
4577 if (SWIG_arg_fail(2)) SWIG_fail;
4578 }
4579 {
4580 PyThreadState* __tstate = wxPyBeginAllowThreads();
4581 (arg1)->SetInsertionPoint(arg2);
4582
4583 wxPyEndAllowThreads(__tstate);
4584 if (PyErr_Occurred()) SWIG_fail;
4585 }
4586 Py_INCREF(Py_None); resultobj = Py_None;
4587 return resultobj;
4588 fail:
4589 return NULL;
4590 }
4591
4592
4593 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4594 PyObject *resultobj;
4595 wxComboBox *arg1 = (wxComboBox *) 0 ;
4596 long result;
4597 PyObject * obj0 = 0 ;
4598 char *kwnames[] = {
4599 (char *) "self", NULL
4600 };
4601
4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
4603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4604 if (SWIG_arg_fail(1)) SWIG_fail;
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4608
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 {
4613 resultobj = SWIG_From_long((long)(result));
4614 }
4615 return resultobj;
4616 fail:
4617 return NULL;
4618 }
4619
4620
4621 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj;
4623 wxComboBox *arg1 = (wxComboBox *) 0 ;
4624 long result;
4625 PyObject * obj0 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
4631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4632 if (SWIG_arg_fail(1)) SWIG_fail;
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 {
4641 resultobj = SWIG_From_long((long)(result));
4642 }
4643 return resultobj;
4644 fail:
4645 return NULL;
4646 }
4647
4648
4649 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
4650 PyObject *resultobj;
4651 wxComboBox *arg1 = (wxComboBox *) 0 ;
4652 long arg2 ;
4653 long arg3 ;
4654 wxString *arg4 = 0 ;
4655 bool temp4 = false ;
4656 PyObject * obj0 = 0 ;
4657 PyObject * obj1 = 0 ;
4658 PyObject * obj2 = 0 ;
4659 PyObject * obj3 = 0 ;
4660 char *kwnames[] = {
4661 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4662 };
4663
4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4666 if (SWIG_arg_fail(1)) SWIG_fail;
4667 {
4668 arg2 = (long)(SWIG_As_long(obj1));
4669 if (SWIG_arg_fail(2)) SWIG_fail;
4670 }
4671 {
4672 arg3 = (long)(SWIG_As_long(obj2));
4673 if (SWIG_arg_fail(3)) SWIG_fail;
4674 }
4675 {
4676 arg4 = wxString_in_helper(obj3);
4677 if (arg4 == NULL) SWIG_fail;
4678 temp4 = true;
4679 }
4680 {
4681 PyThreadState* __tstate = wxPyBeginAllowThreads();
4682 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4683
4684 wxPyEndAllowThreads(__tstate);
4685 if (PyErr_Occurred()) SWIG_fail;
4686 }
4687 Py_INCREF(Py_None); resultobj = Py_None;
4688 {
4689 if (temp4)
4690 delete arg4;
4691 }
4692 return resultobj;
4693 fail:
4694 {
4695 if (temp4)
4696 delete arg4;
4697 }
4698 return NULL;
4699 }
4700
4701
4702 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4703 PyObject *resultobj;
4704 wxComboBox *arg1 = (wxComboBox *) 0 ;
4705 int arg2 ;
4706 PyObject * obj0 = 0 ;
4707 PyObject * obj1 = 0 ;
4708 char *kwnames[] = {
4709 (char *) "self",(char *) "n", NULL
4710 };
4711
4712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
4713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4714 if (SWIG_arg_fail(1)) SWIG_fail;
4715 {
4716 arg2 = (int)(SWIG_As_int(obj1));
4717 if (SWIG_arg_fail(2)) SWIG_fail;
4718 }
4719 {
4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4721 (arg1)->SetSelection(arg2);
4722
4723 wxPyEndAllowThreads(__tstate);
4724 if (PyErr_Occurred()) SWIG_fail;
4725 }
4726 Py_INCREF(Py_None); resultobj = Py_None;
4727 return resultobj;
4728 fail:
4729 return NULL;
4730 }
4731
4732
4733 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4734 PyObject *resultobj;
4735 wxComboBox *arg1 = (wxComboBox *) 0 ;
4736 long arg2 ;
4737 long arg3 ;
4738 PyObject * obj0 = 0 ;
4739 PyObject * obj1 = 0 ;
4740 PyObject * obj2 = 0 ;
4741 char *kwnames[] = {
4742 (char *) "self",(char *) "from",(char *) "to", NULL
4743 };
4744
4745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
4746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4747 if (SWIG_arg_fail(1)) SWIG_fail;
4748 {
4749 arg2 = (long)(SWIG_As_long(obj1));
4750 if (SWIG_arg_fail(2)) SWIG_fail;
4751 }
4752 {
4753 arg3 = (long)(SWIG_As_long(obj2));
4754 if (SWIG_arg_fail(3)) SWIG_fail;
4755 }
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 (arg1)->SetSelection(arg2,arg3);
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 Py_INCREF(Py_None); resultobj = Py_None;
4764 return resultobj;
4765 fail:
4766 return NULL;
4767 }
4768
4769
4770 static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxComboBox *arg1 = (wxComboBox *) 0 ;
4773 long *arg2 = (long *) 0 ;
4774 long *arg3 = (long *) 0 ;
4775 long temp2 ;
4776 int res2 = 0 ;
4777 long temp3 ;
4778 int res3 = 0 ;
4779 PyObject * obj0 = 0 ;
4780 char *kwnames[] = {
4781 (char *) "self", NULL
4782 };
4783
4784 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4785 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetMark",kwnames,&obj0)) goto fail;
4787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4788 if (SWIG_arg_fail(1)) SWIG_fail;
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 (arg1)->GetSelection(arg2,arg3);
4792
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 Py_INCREF(Py_None); resultobj = Py_None;
4797 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4798 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
4799 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4800 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4801 return resultobj;
4802 fail:
4803 return NULL;
4804 }
4805
4806
4807 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
4808 PyObject *resultobj;
4809 wxComboBox *arg1 = (wxComboBox *) 0 ;
4810 wxString *arg2 = 0 ;
4811 bool result;
4812 bool temp2 = false ;
4813 PyObject * obj0 = 0 ;
4814 PyObject * obj1 = 0 ;
4815 char *kwnames[] = {
4816 (char *) "self",(char *) "string", NULL
4817 };
4818
4819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
4820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4821 if (SWIG_arg_fail(1)) SWIG_fail;
4822 {
4823 arg2 = wxString_in_helper(obj1);
4824 if (arg2 == NULL) SWIG_fail;
4825 temp2 = true;
4826 }
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 {
4835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4836 }
4837 {
4838 if (temp2)
4839 delete arg2;
4840 }
4841 return resultobj;
4842 fail:
4843 {
4844 if (temp2)
4845 delete arg2;
4846 }
4847 return NULL;
4848 }
4849
4850
4851 static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj;
4853 wxComboBox *arg1 = (wxComboBox *) 0 ;
4854 int arg2 ;
4855 wxString *arg3 = 0 ;
4856 bool temp3 = false ;
4857 PyObject * obj0 = 0 ;
4858 PyObject * obj1 = 0 ;
4859 PyObject * obj2 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self",(char *) "n",(char *) "string", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
4865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4866 if (SWIG_arg_fail(1)) SWIG_fail;
4867 {
4868 arg2 = (int)(SWIG_As_int(obj1));
4869 if (SWIG_arg_fail(2)) SWIG_fail;
4870 }
4871 {
4872 arg3 = wxString_in_helper(obj2);
4873 if (arg3 == NULL) SWIG_fail;
4874 temp3 = true;
4875 }
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 (arg1)->SetString(arg2,(wxString const &)*arg3);
4879
4880 wxPyEndAllowThreads(__tstate);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 }
4883 Py_INCREF(Py_None); resultobj = Py_None;
4884 {
4885 if (temp3)
4886 delete arg3;
4887 }
4888 return resultobj;
4889 fail:
4890 {
4891 if (temp3)
4892 delete arg3;
4893 }
4894 return NULL;
4895 }
4896
4897
4898 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4899 PyObject *resultobj;
4900 wxComboBox *arg1 = (wxComboBox *) 0 ;
4901 bool arg2 ;
4902 PyObject * obj0 = 0 ;
4903 PyObject * obj1 = 0 ;
4904 char *kwnames[] = {
4905 (char *) "self",(char *) "editable", NULL
4906 };
4907
4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
4909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4910 if (SWIG_arg_fail(1)) SWIG_fail;
4911 {
4912 arg2 = (bool)(SWIG_As_bool(obj1));
4913 if (SWIG_arg_fail(2)) SWIG_fail;
4914 }
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 (arg1)->SetEditable(arg2);
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 Py_INCREF(Py_None); resultobj = Py_None;
4923 return resultobj;
4924 fail:
4925 return NULL;
4926 }
4927
4928
4929 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
4930 PyObject *resultobj;
4931 wxComboBox *arg1 = (wxComboBox *) 0 ;
4932 PyObject * obj0 = 0 ;
4933 char *kwnames[] = {
4934 (char *) "self", NULL
4935 };
4936
4937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
4938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4939 if (SWIG_arg_fail(1)) SWIG_fail;
4940 {
4941 PyThreadState* __tstate = wxPyBeginAllowThreads();
4942 (arg1)->SetInsertionPointEnd();
4943
4944 wxPyEndAllowThreads(__tstate);
4945 if (PyErr_Occurred()) SWIG_fail;
4946 }
4947 Py_INCREF(Py_None); resultobj = Py_None;
4948 return resultobj;
4949 fail:
4950 return NULL;
4951 }
4952
4953
4954 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
4955 PyObject *resultobj;
4956 wxComboBox *arg1 = (wxComboBox *) 0 ;
4957 long arg2 ;
4958 long arg3 ;
4959 PyObject * obj0 = 0 ;
4960 PyObject * obj1 = 0 ;
4961 PyObject * obj2 = 0 ;
4962 char *kwnames[] = {
4963 (char *) "self",(char *) "from",(char *) "to", NULL
4964 };
4965
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
4967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4968 if (SWIG_arg_fail(1)) SWIG_fail;
4969 {
4970 arg2 = (long)(SWIG_As_long(obj1));
4971 if (SWIG_arg_fail(2)) SWIG_fail;
4972 }
4973 {
4974 arg3 = (long)(SWIG_As_long(obj2));
4975 if (SWIG_arg_fail(3)) SWIG_fail;
4976 }
4977 {
4978 PyThreadState* __tstate = wxPyBeginAllowThreads();
4979 (arg1)->Remove(arg2,arg3);
4980
4981 wxPyEndAllowThreads(__tstate);
4982 if (PyErr_Occurred()) SWIG_fail;
4983 }
4984 Py_INCREF(Py_None); resultobj = Py_None;
4985 return resultobj;
4986 fail:
4987 return NULL;
4988 }
4989
4990
4991 static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4992 PyObject *resultobj;
4993 wxComboBox *arg1 = (wxComboBox *) 0 ;
4994 bool result;
4995 PyObject * obj0 = 0 ;
4996 char *kwnames[] = {
4997 (char *) "self", NULL
4998 };
4999
5000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
5001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5002 if (SWIG_arg_fail(1)) SWIG_fail;
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 result = (bool)((wxComboBox const *)arg1)->IsEditable();
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 {
5011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5012 }
5013 return resultobj;
5014 fail:
5015 return NULL;
5016 }
5017
5018
5019 static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
5020 PyObject *resultobj;
5021 wxComboBox *arg1 = (wxComboBox *) 0 ;
5022 PyObject * obj0 = 0 ;
5023 char *kwnames[] = {
5024 (char *) "self", NULL
5025 };
5026
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
5028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5029 if (SWIG_arg_fail(1)) SWIG_fail;
5030 {
5031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5032 (arg1)->Undo();
5033
5034 wxPyEndAllowThreads(__tstate);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 Py_INCREF(Py_None); resultobj = Py_None;
5038 return resultobj;
5039 fail:
5040 return NULL;
5041 }
5042
5043
5044 static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5045 PyObject *resultobj;
5046 wxComboBox *arg1 = (wxComboBox *) 0 ;
5047 PyObject * obj0 = 0 ;
5048 char *kwnames[] = {
5049 (char *) "self", NULL
5050 };
5051
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
5053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5054 if (SWIG_arg_fail(1)) SWIG_fail;
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 (arg1)->Redo();
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 Py_INCREF(Py_None); resultobj = Py_None;
5063 return resultobj;
5064 fail:
5065 return NULL;
5066 }
5067
5068
5069 static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5070 PyObject *resultobj;
5071 wxComboBox *arg1 = (wxComboBox *) 0 ;
5072 PyObject * obj0 = 0 ;
5073 char *kwnames[] = {
5074 (char *) "self", NULL
5075 };
5076
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
5078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5079 if (SWIG_arg_fail(1)) SWIG_fail;
5080 {
5081 PyThreadState* __tstate = wxPyBeginAllowThreads();
5082 (arg1)->SelectAll();
5083
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 Py_INCREF(Py_None); resultobj = Py_None;
5088 return resultobj;
5089 fail:
5090 return NULL;
5091 }
5092
5093
5094 static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5095 PyObject *resultobj;
5096 wxComboBox *arg1 = (wxComboBox *) 0 ;
5097 bool result;
5098 PyObject * obj0 = 0 ;
5099 char *kwnames[] = {
5100 (char *) "self", NULL
5101 };
5102
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
5104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5105 if (SWIG_arg_fail(1)) SWIG_fail;
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 {
5114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5115 }
5116 return resultobj;
5117 fail:
5118 return NULL;
5119 }
5120
5121
5122 static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxComboBox *arg1 = (wxComboBox *) 0 ;
5125 bool result;
5126 PyObject * obj0 = 0 ;
5127 char *kwnames[] = {
5128 (char *) "self", NULL
5129 };
5130
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
5132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5133 if (SWIG_arg_fail(1)) SWIG_fail;
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 result = (bool)((wxComboBox const *)arg1)->CanCut();
5137
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 {
5142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5143 }
5144 return resultobj;
5145 fail:
5146 return NULL;
5147 }
5148
5149
5150 static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5151 PyObject *resultobj;
5152 wxComboBox *arg1 = (wxComboBox *) 0 ;
5153 bool result;
5154 PyObject * obj0 = 0 ;
5155 char *kwnames[] = {
5156 (char *) "self", NULL
5157 };
5158
5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
5160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5161 if (SWIG_arg_fail(1)) SWIG_fail;
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 {
5170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5171 }
5172 return resultobj;
5173 fail:
5174 return NULL;
5175 }
5176
5177
5178 static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5179 PyObject *resultobj;
5180 wxComboBox *arg1 = (wxComboBox *) 0 ;
5181 bool result;
5182 PyObject * obj0 = 0 ;
5183 char *kwnames[] = {
5184 (char *) "self", NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
5188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5189 if (SWIG_arg_fail(1)) SWIG_fail;
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5193
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 {
5198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5199 }
5200 return resultobj;
5201 fail:
5202 return NULL;
5203 }
5204
5205
5206 static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5207 PyObject *resultobj;
5208 wxComboBox *arg1 = (wxComboBox *) 0 ;
5209 bool result;
5210 PyObject * obj0 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
5216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5217 if (SWIG_arg_fail(1)) SWIG_fail;
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5221
5222 wxPyEndAllowThreads(__tstate);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 }
5225 {
5226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5227 }
5228 return resultobj;
5229 fail:
5230 return NULL;
5231 }
5232
5233
5234 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5235 PyObject *resultobj;
5236 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5237 wxVisualAttributes result;
5238 PyObject * obj0 = 0 ;
5239 char *kwnames[] = {
5240 (char *) "variant", NULL
5241 };
5242
5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5244 if (obj0) {
5245 {
5246 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5247 if (SWIG_arg_fail(1)) SWIG_fail;
5248 }
5249 }
5250 {
5251 if (!wxPyCheckForApp()) SWIG_fail;
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 {
5259 wxVisualAttributes * resultptr;
5260 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5261 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5262 }
5263 return resultobj;
5264 fail:
5265 return NULL;
5266 }
5267
5268
5269 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
5270 PyObject *obj;
5271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5272 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5273 Py_INCREF(obj);
5274 return Py_BuildValue((char *)"");
5275 }
5276 static int _wrap_GaugeNameStr_set(PyObject *) {
5277 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5278 return 1;
5279 }
5280
5281
5282 static PyObject *_wrap_GaugeNameStr_get(void) {
5283 PyObject *pyobj;
5284
5285 {
5286 #if wxUSE_UNICODE
5287 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5288 #else
5289 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5290 #endif
5291 }
5292 return pyobj;
5293 }
5294
5295
5296 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
5297 PyObject *resultobj;
5298 wxWindow *arg1 = (wxWindow *) 0 ;
5299 int arg2 = (int) -1 ;
5300 int arg3 = (int) 100 ;
5301 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5302 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5303 wxSize const &arg5_defvalue = wxDefaultSize ;
5304 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5305 long arg6 = (long) wxGA_HORIZONTAL ;
5306 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5307 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5308 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5309 wxString *arg8 = (wxString *) &arg8_defvalue ;
5310 wxGauge *result;
5311 wxPoint temp4 ;
5312 wxSize temp5 ;
5313 bool temp8 = false ;
5314 PyObject * obj0 = 0 ;
5315 PyObject * obj1 = 0 ;
5316 PyObject * obj2 = 0 ;
5317 PyObject * obj3 = 0 ;
5318 PyObject * obj4 = 0 ;
5319 PyObject * obj5 = 0 ;
5320 PyObject * obj6 = 0 ;
5321 PyObject * obj7 = 0 ;
5322 char *kwnames[] = {
5323 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5324 };
5325
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5328 if (SWIG_arg_fail(1)) SWIG_fail;
5329 if (obj1) {
5330 {
5331 arg2 = (int)(SWIG_As_int(obj1));
5332 if (SWIG_arg_fail(2)) SWIG_fail;
5333 }
5334 }
5335 if (obj2) {
5336 {
5337 arg3 = (int)(SWIG_As_int(obj2));
5338 if (SWIG_arg_fail(3)) SWIG_fail;
5339 }
5340 }
5341 if (obj3) {
5342 {
5343 arg4 = &temp4;
5344 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5345 }
5346 }
5347 if (obj4) {
5348 {
5349 arg5 = &temp5;
5350 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5351 }
5352 }
5353 if (obj5) {
5354 {
5355 arg6 = (long)(SWIG_As_long(obj5));
5356 if (SWIG_arg_fail(6)) SWIG_fail;
5357 }
5358 }
5359 if (obj6) {
5360 {
5361 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5362 if (SWIG_arg_fail(7)) SWIG_fail;
5363 if (arg7 == NULL) {
5364 SWIG_null_ref("wxValidator");
5365 }
5366 if (SWIG_arg_fail(7)) SWIG_fail;
5367 }
5368 }
5369 if (obj7) {
5370 {
5371 arg8 = wxString_in_helper(obj7);
5372 if (arg8 == NULL) SWIG_fail;
5373 temp8 = true;
5374 }
5375 }
5376 {
5377 if (!wxPyCheckForApp()) SWIG_fail;
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5385 {
5386 if (temp8)
5387 delete arg8;
5388 }
5389 return resultobj;
5390 fail:
5391 {
5392 if (temp8)
5393 delete arg8;
5394 }
5395 return NULL;
5396 }
5397
5398
5399 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
5400 PyObject *resultobj;
5401 wxGauge *result;
5402 char *kwnames[] = {
5403 NULL
5404 };
5405
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5407 {
5408 if (!wxPyCheckForApp()) SWIG_fail;
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 result = (wxGauge *)new wxGauge();
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5416 return resultobj;
5417 fail:
5418 return NULL;
5419 }
5420
5421
5422 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5423 PyObject *resultobj;
5424 wxGauge *arg1 = (wxGauge *) 0 ;
5425 wxWindow *arg2 = (wxWindow *) 0 ;
5426 int arg3 = (int) -1 ;
5427 int arg4 = (int) 100 ;
5428 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5429 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5430 wxSize const &arg6_defvalue = wxDefaultSize ;
5431 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5432 long arg7 = (long) wxGA_HORIZONTAL ;
5433 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5434 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5435 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5436 wxString *arg9 = (wxString *) &arg9_defvalue ;
5437 bool result;
5438 wxPoint temp5 ;
5439 wxSize temp6 ;
5440 bool temp9 = false ;
5441 PyObject * obj0 = 0 ;
5442 PyObject * obj1 = 0 ;
5443 PyObject * obj2 = 0 ;
5444 PyObject * obj3 = 0 ;
5445 PyObject * obj4 = 0 ;
5446 PyObject * obj5 = 0 ;
5447 PyObject * obj6 = 0 ;
5448 PyObject * obj7 = 0 ;
5449 PyObject * obj8 = 0 ;
5450 char *kwnames[] = {
5451 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5452 };
5453
5454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5456 if (SWIG_arg_fail(1)) SWIG_fail;
5457 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5458 if (SWIG_arg_fail(2)) SWIG_fail;
5459 if (obj2) {
5460 {
5461 arg3 = (int)(SWIG_As_int(obj2));
5462 if (SWIG_arg_fail(3)) SWIG_fail;
5463 }
5464 }
5465 if (obj3) {
5466 {
5467 arg4 = (int)(SWIG_As_int(obj3));
5468 if (SWIG_arg_fail(4)) SWIG_fail;
5469 }
5470 }
5471 if (obj4) {
5472 {
5473 arg5 = &temp5;
5474 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5475 }
5476 }
5477 if (obj5) {
5478 {
5479 arg6 = &temp6;
5480 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5481 }
5482 }
5483 if (obj6) {
5484 {
5485 arg7 = (long)(SWIG_As_long(obj6));
5486 if (SWIG_arg_fail(7)) SWIG_fail;
5487 }
5488 }
5489 if (obj7) {
5490 {
5491 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5492 if (SWIG_arg_fail(8)) SWIG_fail;
5493 if (arg8 == NULL) {
5494 SWIG_null_ref("wxValidator");
5495 }
5496 if (SWIG_arg_fail(8)) SWIG_fail;
5497 }
5498 }
5499 if (obj8) {
5500 {
5501 arg9 = wxString_in_helper(obj8);
5502 if (arg9 == NULL) SWIG_fail;
5503 temp9 = true;
5504 }
5505 }
5506 {
5507 PyThreadState* __tstate = wxPyBeginAllowThreads();
5508 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5509
5510 wxPyEndAllowThreads(__tstate);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 {
5514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5515 }
5516 {
5517 if (temp9)
5518 delete arg9;
5519 }
5520 return resultobj;
5521 fail:
5522 {
5523 if (temp9)
5524 delete arg9;
5525 }
5526 return NULL;
5527 }
5528
5529
5530 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5531 PyObject *resultobj;
5532 wxGauge *arg1 = (wxGauge *) 0 ;
5533 int arg2 ;
5534 PyObject * obj0 = 0 ;
5535 PyObject * obj1 = 0 ;
5536 char *kwnames[] = {
5537 (char *) "self",(char *) "range", NULL
5538 };
5539
5540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
5541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5542 if (SWIG_arg_fail(1)) SWIG_fail;
5543 {
5544 arg2 = (int)(SWIG_As_int(obj1));
5545 if (SWIG_arg_fail(2)) SWIG_fail;
5546 }
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 (arg1)->SetRange(arg2);
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 Py_INCREF(Py_None); resultobj = Py_None;
5555 return resultobj;
5556 fail:
5557 return NULL;
5558 }
5559
5560
5561 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
5562 PyObject *resultobj;
5563 wxGauge *arg1 = (wxGauge *) 0 ;
5564 int result;
5565 PyObject * obj0 = 0 ;
5566 char *kwnames[] = {
5567 (char *) "self", NULL
5568 };
5569
5570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
5571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5572 if (SWIG_arg_fail(1)) SWIG_fail;
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 result = (int)((wxGauge const *)arg1)->GetRange();
5576
5577 wxPyEndAllowThreads(__tstate);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 {
5581 resultobj = SWIG_From_int((int)(result));
5582 }
5583 return resultobj;
5584 fail:
5585 return NULL;
5586 }
5587
5588
5589 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5590 PyObject *resultobj;
5591 wxGauge *arg1 = (wxGauge *) 0 ;
5592 int arg2 ;
5593 PyObject * obj0 = 0 ;
5594 PyObject * obj1 = 0 ;
5595 char *kwnames[] = {
5596 (char *) "self",(char *) "pos", NULL
5597 };
5598
5599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
5600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5601 if (SWIG_arg_fail(1)) SWIG_fail;
5602 {
5603 arg2 = (int)(SWIG_As_int(obj1));
5604 if (SWIG_arg_fail(2)) SWIG_fail;
5605 }
5606 {
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 (arg1)->SetValue(arg2);
5609
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
5613 Py_INCREF(Py_None); resultobj = Py_None;
5614 return resultobj;
5615 fail:
5616 return NULL;
5617 }
5618
5619
5620 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
5621 PyObject *resultobj;
5622 wxGauge *arg1 = (wxGauge *) 0 ;
5623 int result;
5624 PyObject * obj0 = 0 ;
5625 char *kwnames[] = {
5626 (char *) "self", NULL
5627 };
5628
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
5630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5631 if (SWIG_arg_fail(1)) SWIG_fail;
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 result = (int)((wxGauge const *)arg1)->GetValue();
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 {
5640 resultobj = SWIG_From_int((int)(result));
5641 }
5642 return resultobj;
5643 fail:
5644 return NULL;
5645 }
5646
5647
5648 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
5649 PyObject *resultobj;
5650 wxGauge *arg1 = (wxGauge *) 0 ;
5651 bool result;
5652 PyObject * obj0 = 0 ;
5653 char *kwnames[] = {
5654 (char *) "self", NULL
5655 };
5656
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
5658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5659 if (SWIG_arg_fail(1)) SWIG_fail;
5660 {
5661 PyThreadState* __tstate = wxPyBeginAllowThreads();
5662 result = (bool)((wxGauge const *)arg1)->IsVertical();
5663
5664 wxPyEndAllowThreads(__tstate);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 {
5668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5669 }
5670 return resultobj;
5671 fail:
5672 return NULL;
5673 }
5674
5675
5676 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5677 PyObject *resultobj;
5678 wxGauge *arg1 = (wxGauge *) 0 ;
5679 int arg2 ;
5680 PyObject * obj0 = 0 ;
5681 PyObject * obj1 = 0 ;
5682 char *kwnames[] = {
5683 (char *) "self",(char *) "w", NULL
5684 };
5685
5686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
5687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5688 if (SWIG_arg_fail(1)) SWIG_fail;
5689 {
5690 arg2 = (int)(SWIG_As_int(obj1));
5691 if (SWIG_arg_fail(2)) SWIG_fail;
5692 }
5693 {
5694 PyThreadState* __tstate = wxPyBeginAllowThreads();
5695 (arg1)->SetShadowWidth(arg2);
5696
5697 wxPyEndAllowThreads(__tstate);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 }
5700 Py_INCREF(Py_None); resultobj = Py_None;
5701 return resultobj;
5702 fail:
5703 return NULL;
5704 }
5705
5706
5707 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
5708 PyObject *resultobj;
5709 wxGauge *arg1 = (wxGauge *) 0 ;
5710 int result;
5711 PyObject * obj0 = 0 ;
5712 char *kwnames[] = {
5713 (char *) "self", NULL
5714 };
5715
5716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
5717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5718 if (SWIG_arg_fail(1)) SWIG_fail;
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5722
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
5726 {
5727 resultobj = SWIG_From_int((int)(result));
5728 }
5729 return resultobj;
5730 fail:
5731 return NULL;
5732 }
5733
5734
5735 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5736 PyObject *resultobj;
5737 wxGauge *arg1 = (wxGauge *) 0 ;
5738 int arg2 ;
5739 PyObject * obj0 = 0 ;
5740 PyObject * obj1 = 0 ;
5741 char *kwnames[] = {
5742 (char *) "self",(char *) "w", NULL
5743 };
5744
5745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
5746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5747 if (SWIG_arg_fail(1)) SWIG_fail;
5748 {
5749 arg2 = (int)(SWIG_As_int(obj1));
5750 if (SWIG_arg_fail(2)) SWIG_fail;
5751 }
5752 {
5753 PyThreadState* __tstate = wxPyBeginAllowThreads();
5754 (arg1)->SetBezelFace(arg2);
5755
5756 wxPyEndAllowThreads(__tstate);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 }
5759 Py_INCREF(Py_None); resultobj = Py_None;
5760 return resultobj;
5761 fail:
5762 return NULL;
5763 }
5764
5765
5766 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
5767 PyObject *resultobj;
5768 wxGauge *arg1 = (wxGauge *) 0 ;
5769 int result;
5770 PyObject * obj0 = 0 ;
5771 char *kwnames[] = {
5772 (char *) "self", NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
5776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5777 if (SWIG_arg_fail(1)) SWIG_fail;
5778 {
5779 PyThreadState* __tstate = wxPyBeginAllowThreads();
5780 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5781
5782 wxPyEndAllowThreads(__tstate);
5783 if (PyErr_Occurred()) SWIG_fail;
5784 }
5785 {
5786 resultobj = SWIG_From_int((int)(result));
5787 }
5788 return resultobj;
5789 fail:
5790 return NULL;
5791 }
5792
5793
5794 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5795 PyObject *resultobj;
5796 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5797 wxVisualAttributes result;
5798 PyObject * obj0 = 0 ;
5799 char *kwnames[] = {
5800 (char *) "variant", NULL
5801 };
5802
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5804 if (obj0) {
5805 {
5806 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5807 if (SWIG_arg_fail(1)) SWIG_fail;
5808 }
5809 }
5810 {
5811 if (!wxPyCheckForApp()) SWIG_fail;
5812 PyThreadState* __tstate = wxPyBeginAllowThreads();
5813 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5814
5815 wxPyEndAllowThreads(__tstate);
5816 if (PyErr_Occurred()) SWIG_fail;
5817 }
5818 {
5819 wxVisualAttributes * resultptr;
5820 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5821 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5822 }
5823 return resultobj;
5824 fail:
5825 return NULL;
5826 }
5827
5828
5829 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
5830 PyObject *obj;
5831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5832 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5833 Py_INCREF(obj);
5834 return Py_BuildValue((char *)"");
5835 }
5836 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
5837 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5838 return 1;
5839 }
5840
5841
5842 static PyObject *_wrap_StaticBitmapNameStr_get(void) {
5843 PyObject *pyobj;
5844
5845 {
5846 #if wxUSE_UNICODE
5847 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5848 #else
5849 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5850 #endif
5851 }
5852 return pyobj;
5853 }
5854
5855
5856 static int _wrap_StaticBoxNameStr_set(PyObject *) {
5857 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5858 return 1;
5859 }
5860
5861
5862 static PyObject *_wrap_StaticBoxNameStr_get(void) {
5863 PyObject *pyobj;
5864
5865 {
5866 #if wxUSE_UNICODE
5867 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5868 #else
5869 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5870 #endif
5871 }
5872 return pyobj;
5873 }
5874
5875
5876 static int _wrap_StaticTextNameStr_set(PyObject *) {
5877 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5878 return 1;
5879 }
5880
5881
5882 static PyObject *_wrap_StaticTextNameStr_get(void) {
5883 PyObject *pyobj;
5884
5885 {
5886 #if wxUSE_UNICODE
5887 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5888 #else
5889 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5890 #endif
5891 }
5892 return pyobj;
5893 }
5894
5895
5896 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5897 PyObject *resultobj;
5898 wxWindow *arg1 = (wxWindow *) 0 ;
5899 int arg2 = (int) -1 ;
5900 wxString const &arg3_defvalue = wxPyEmptyString ;
5901 wxString *arg3 = (wxString *) &arg3_defvalue ;
5902 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5903 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5904 wxSize const &arg5_defvalue = wxDefaultSize ;
5905 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5906 long arg6 = (long) 0 ;
5907 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5908 wxString *arg7 = (wxString *) &arg7_defvalue ;
5909 wxStaticBox *result;
5910 bool temp3 = false ;
5911 wxPoint temp4 ;
5912 wxSize temp5 ;
5913 bool temp7 = false ;
5914 PyObject * obj0 = 0 ;
5915 PyObject * obj1 = 0 ;
5916 PyObject * obj2 = 0 ;
5917 PyObject * obj3 = 0 ;
5918 PyObject * obj4 = 0 ;
5919 PyObject * obj5 = 0 ;
5920 PyObject * obj6 = 0 ;
5921 char *kwnames[] = {
5922 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5923 };
5924
5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5927 if (SWIG_arg_fail(1)) SWIG_fail;
5928 if (obj1) {
5929 {
5930 arg2 = (int)(SWIG_As_int(obj1));
5931 if (SWIG_arg_fail(2)) SWIG_fail;
5932 }
5933 }
5934 if (obj2) {
5935 {
5936 arg3 = wxString_in_helper(obj2);
5937 if (arg3 == NULL) SWIG_fail;
5938 temp3 = true;
5939 }
5940 }
5941 if (obj3) {
5942 {
5943 arg4 = &temp4;
5944 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5945 }
5946 }
5947 if (obj4) {
5948 {
5949 arg5 = &temp5;
5950 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5951 }
5952 }
5953 if (obj5) {
5954 {
5955 arg6 = (long)(SWIG_As_long(obj5));
5956 if (SWIG_arg_fail(6)) SWIG_fail;
5957 }
5958 }
5959 if (obj6) {
5960 {
5961 arg7 = wxString_in_helper(obj6);
5962 if (arg7 == NULL) SWIG_fail;
5963 temp7 = true;
5964 }
5965 }
5966 {
5967 if (!wxPyCheckForApp()) SWIG_fail;
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5970
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
5975 {
5976 if (temp3)
5977 delete arg3;
5978 }
5979 {
5980 if (temp7)
5981 delete arg7;
5982 }
5983 return resultobj;
5984 fail:
5985 {
5986 if (temp3)
5987 delete arg3;
5988 }
5989 {
5990 if (temp7)
5991 delete arg7;
5992 }
5993 return NULL;
5994 }
5995
5996
5997 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
5998 PyObject *resultobj;
5999 wxStaticBox *result;
6000 char *kwnames[] = {
6001 NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
6005 {
6006 if (!wxPyCheckForApp()) SWIG_fail;
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 result = (wxStaticBox *)new wxStaticBox();
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
6013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
6014 return resultobj;
6015 fail:
6016 return NULL;
6017 }
6018
6019
6020 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6021 PyObject *resultobj;
6022 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
6023 wxWindow *arg2 = (wxWindow *) 0 ;
6024 int arg3 = (int) -1 ;
6025 wxString const &arg4_defvalue = wxPyEmptyString ;
6026 wxString *arg4 = (wxString *) &arg4_defvalue ;
6027 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6028 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6029 wxSize const &arg6_defvalue = wxDefaultSize ;
6030 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6031 long arg7 = (long) 0 ;
6032 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6033 wxString *arg8 = (wxString *) &arg8_defvalue ;
6034 bool result;
6035 bool temp4 = false ;
6036 wxPoint temp5 ;
6037 wxSize temp6 ;
6038 bool temp8 = false ;
6039 PyObject * obj0 = 0 ;
6040 PyObject * obj1 = 0 ;
6041 PyObject * obj2 = 0 ;
6042 PyObject * obj3 = 0 ;
6043 PyObject * obj4 = 0 ;
6044 PyObject * obj5 = 0 ;
6045 PyObject * obj6 = 0 ;
6046 PyObject * obj7 = 0 ;
6047 char *kwnames[] = {
6048 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6049 };
6050
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6053 if (SWIG_arg_fail(1)) SWIG_fail;
6054 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6055 if (SWIG_arg_fail(2)) SWIG_fail;
6056 if (obj2) {
6057 {
6058 arg3 = (int)(SWIG_As_int(obj2));
6059 if (SWIG_arg_fail(3)) SWIG_fail;
6060 }
6061 }
6062 if (obj3) {
6063 {
6064 arg4 = wxString_in_helper(obj3);
6065 if (arg4 == NULL) SWIG_fail;
6066 temp4 = true;
6067 }
6068 }
6069 if (obj4) {
6070 {
6071 arg5 = &temp5;
6072 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6073 }
6074 }
6075 if (obj5) {
6076 {
6077 arg6 = &temp6;
6078 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6079 }
6080 }
6081 if (obj6) {
6082 {
6083 arg7 = (long)(SWIG_As_long(obj6));
6084 if (SWIG_arg_fail(7)) SWIG_fail;
6085 }
6086 }
6087 if (obj7) {
6088 {
6089 arg8 = wxString_in_helper(obj7);
6090 if (arg8 == NULL) SWIG_fail;
6091 temp8 = true;
6092 }
6093 }
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6097
6098 wxPyEndAllowThreads(__tstate);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 }
6101 {
6102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6103 }
6104 {
6105 if (temp4)
6106 delete arg4;
6107 }
6108 {
6109 if (temp8)
6110 delete arg8;
6111 }
6112 return resultobj;
6113 fail:
6114 {
6115 if (temp4)
6116 delete arg4;
6117 }
6118 {
6119 if (temp8)
6120 delete arg8;
6121 }
6122 return NULL;
6123 }
6124
6125
6126 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj;
6128 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6129 wxVisualAttributes result;
6130 PyObject * obj0 = 0 ;
6131 char *kwnames[] = {
6132 (char *) "variant", NULL
6133 };
6134
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6136 if (obj0) {
6137 {
6138 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6139 if (SWIG_arg_fail(1)) SWIG_fail;
6140 }
6141 }
6142 {
6143 if (!wxPyCheckForApp()) SWIG_fail;
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 {
6151 wxVisualAttributes * resultptr;
6152 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6153 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6154 }
6155 return resultobj;
6156 fail:
6157 return NULL;
6158 }
6159
6160
6161 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
6162 PyObject *obj;
6163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6164 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6165 Py_INCREF(obj);
6166 return Py_BuildValue((char *)"");
6167 }
6168 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6169 PyObject *resultobj;
6170 wxWindow *arg1 = (wxWindow *) 0 ;
6171 int arg2 = (int) -1 ;
6172 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6173 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6174 wxSize const &arg4_defvalue = wxDefaultSize ;
6175 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6176 long arg5 = (long) wxLI_HORIZONTAL ;
6177 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6178 wxString *arg6 = (wxString *) &arg6_defvalue ;
6179 wxStaticLine *result;
6180 wxPoint temp3 ;
6181 wxSize temp4 ;
6182 bool temp6 = false ;
6183 PyObject * obj0 = 0 ;
6184 PyObject * obj1 = 0 ;
6185 PyObject * obj2 = 0 ;
6186 PyObject * obj3 = 0 ;
6187 PyObject * obj4 = 0 ;
6188 PyObject * obj5 = 0 ;
6189 char *kwnames[] = {
6190 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6191 };
6192
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6195 if (SWIG_arg_fail(1)) SWIG_fail;
6196 if (obj1) {
6197 {
6198 arg2 = (int)(SWIG_As_int(obj1));
6199 if (SWIG_arg_fail(2)) SWIG_fail;
6200 }
6201 }
6202 if (obj2) {
6203 {
6204 arg3 = &temp3;
6205 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6206 }
6207 }
6208 if (obj3) {
6209 {
6210 arg4 = &temp4;
6211 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6212 }
6213 }
6214 if (obj4) {
6215 {
6216 arg5 = (long)(SWIG_As_long(obj4));
6217 if (SWIG_arg_fail(5)) SWIG_fail;
6218 }
6219 }
6220 if (obj5) {
6221 {
6222 arg6 = wxString_in_helper(obj5);
6223 if (arg6 == NULL) SWIG_fail;
6224 temp6 = true;
6225 }
6226 }
6227 {
6228 if (!wxPyCheckForApp()) SWIG_fail;
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6236 {
6237 if (temp6)
6238 delete arg6;
6239 }
6240 return resultobj;
6241 fail:
6242 {
6243 if (temp6)
6244 delete arg6;
6245 }
6246 return NULL;
6247 }
6248
6249
6250 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
6251 PyObject *resultobj;
6252 wxStaticLine *result;
6253 char *kwnames[] = {
6254 NULL
6255 };
6256
6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6258 {
6259 if (!wxPyCheckForApp()) SWIG_fail;
6260 PyThreadState* __tstate = wxPyBeginAllowThreads();
6261 result = (wxStaticLine *)new wxStaticLine();
6262
6263 wxPyEndAllowThreads(__tstate);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 }
6266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6267 return resultobj;
6268 fail:
6269 return NULL;
6270 }
6271
6272
6273 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6274 PyObject *resultobj;
6275 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6276 wxWindow *arg2 = (wxWindow *) 0 ;
6277 int arg3 = (int) -1 ;
6278 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6279 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6280 wxSize const &arg5_defvalue = wxDefaultSize ;
6281 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6282 long arg6 = (long) wxLI_HORIZONTAL ;
6283 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6284 wxString *arg7 = (wxString *) &arg7_defvalue ;
6285 bool result;
6286 wxPoint temp4 ;
6287 wxSize temp5 ;
6288 bool temp7 = false ;
6289 PyObject * obj0 = 0 ;
6290 PyObject * obj1 = 0 ;
6291 PyObject * obj2 = 0 ;
6292 PyObject * obj3 = 0 ;
6293 PyObject * obj4 = 0 ;
6294 PyObject * obj5 = 0 ;
6295 PyObject * obj6 = 0 ;
6296 char *kwnames[] = {
6297 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6298 };
6299
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6302 if (SWIG_arg_fail(1)) SWIG_fail;
6303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6304 if (SWIG_arg_fail(2)) SWIG_fail;
6305 if (obj2) {
6306 {
6307 arg3 = (int)(SWIG_As_int(obj2));
6308 if (SWIG_arg_fail(3)) SWIG_fail;
6309 }
6310 }
6311 if (obj3) {
6312 {
6313 arg4 = &temp4;
6314 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6315 }
6316 }
6317 if (obj4) {
6318 {
6319 arg5 = &temp5;
6320 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6321 }
6322 }
6323 if (obj5) {
6324 {
6325 arg6 = (long)(SWIG_As_long(obj5));
6326 if (SWIG_arg_fail(6)) SWIG_fail;
6327 }
6328 }
6329 if (obj6) {
6330 {
6331 arg7 = wxString_in_helper(obj6);
6332 if (arg7 == NULL) SWIG_fail;
6333 temp7 = true;
6334 }
6335 }
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 {
6344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6345 }
6346 {
6347 if (temp7)
6348 delete arg7;
6349 }
6350 return resultobj;
6351 fail:
6352 {
6353 if (temp7)
6354 delete arg7;
6355 }
6356 return NULL;
6357 }
6358
6359
6360 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
6361 PyObject *resultobj;
6362 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6363 bool result;
6364 PyObject * obj0 = 0 ;
6365 char *kwnames[] = {
6366 (char *) "self", NULL
6367 };
6368
6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
6370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6371 if (SWIG_arg_fail(1)) SWIG_fail;
6372 {
6373 PyThreadState* __tstate = wxPyBeginAllowThreads();
6374 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6375
6376 wxPyEndAllowThreads(__tstate);
6377 if (PyErr_Occurred()) SWIG_fail;
6378 }
6379 {
6380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6381 }
6382 return resultobj;
6383 fail:
6384 return NULL;
6385 }
6386
6387
6388 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj;
6390 int result;
6391 char *kwnames[] = {
6392 NULL
6393 };
6394
6395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6396 {
6397 PyThreadState* __tstate = wxPyBeginAllowThreads();
6398 result = (int)wxStaticLine::GetDefaultSize();
6399
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 {
6404 resultobj = SWIG_From_int((int)(result));
6405 }
6406 return resultobj;
6407 fail:
6408 return NULL;
6409 }
6410
6411
6412 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6413 PyObject *resultobj;
6414 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6415 wxVisualAttributes result;
6416 PyObject * obj0 = 0 ;
6417 char *kwnames[] = {
6418 (char *) "variant", NULL
6419 };
6420
6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6422 if (obj0) {
6423 {
6424 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6425 if (SWIG_arg_fail(1)) SWIG_fail;
6426 }
6427 }
6428 {
6429 if (!wxPyCheckForApp()) SWIG_fail;
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6432
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 {
6437 wxVisualAttributes * resultptr;
6438 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6439 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6440 }
6441 return resultobj;
6442 fail:
6443 return NULL;
6444 }
6445
6446
6447 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
6448 PyObject *obj;
6449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6450 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6451 Py_INCREF(obj);
6452 return Py_BuildValue((char *)"");
6453 }
6454 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6455 PyObject *resultobj;
6456 wxWindow *arg1 = (wxWindow *) 0 ;
6457 int arg2 = (int) -1 ;
6458 wxString const &arg3_defvalue = wxPyEmptyString ;
6459 wxString *arg3 = (wxString *) &arg3_defvalue ;
6460 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6461 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6462 wxSize const &arg5_defvalue = wxDefaultSize ;
6463 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6464 long arg6 = (long) 0 ;
6465 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6466 wxString *arg7 = (wxString *) &arg7_defvalue ;
6467 wxStaticText *result;
6468 bool temp3 = false ;
6469 wxPoint temp4 ;
6470 wxSize temp5 ;
6471 bool temp7 = false ;
6472 PyObject * obj0 = 0 ;
6473 PyObject * obj1 = 0 ;
6474 PyObject * obj2 = 0 ;
6475 PyObject * obj3 = 0 ;
6476 PyObject * obj4 = 0 ;
6477 PyObject * obj5 = 0 ;
6478 PyObject * obj6 = 0 ;
6479 char *kwnames[] = {
6480 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6481 };
6482
6483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6485 if (SWIG_arg_fail(1)) SWIG_fail;
6486 if (obj1) {
6487 {
6488 arg2 = (int)(SWIG_As_int(obj1));
6489 if (SWIG_arg_fail(2)) SWIG_fail;
6490 }
6491 }
6492 if (obj2) {
6493 {
6494 arg3 = wxString_in_helper(obj2);
6495 if (arg3 == NULL) SWIG_fail;
6496 temp3 = true;
6497 }
6498 }
6499 if (obj3) {
6500 {
6501 arg4 = &temp4;
6502 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6503 }
6504 }
6505 if (obj4) {
6506 {
6507 arg5 = &temp5;
6508 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6509 }
6510 }
6511 if (obj5) {
6512 {
6513 arg6 = (long)(SWIG_As_long(obj5));
6514 if (SWIG_arg_fail(6)) SWIG_fail;
6515 }
6516 }
6517 if (obj6) {
6518 {
6519 arg7 = wxString_in_helper(obj6);
6520 if (arg7 == NULL) SWIG_fail;
6521 temp7 = true;
6522 }
6523 }
6524 {
6525 if (!wxPyCheckForApp()) SWIG_fail;
6526 PyThreadState* __tstate = wxPyBeginAllowThreads();
6527 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6528
6529 wxPyEndAllowThreads(__tstate);
6530 if (PyErr_Occurred()) SWIG_fail;
6531 }
6532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6533 {
6534 if (temp3)
6535 delete arg3;
6536 }
6537 {
6538 if (temp7)
6539 delete arg7;
6540 }
6541 return resultobj;
6542 fail:
6543 {
6544 if (temp3)
6545 delete arg3;
6546 }
6547 {
6548 if (temp7)
6549 delete arg7;
6550 }
6551 return NULL;
6552 }
6553
6554
6555 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
6556 PyObject *resultobj;
6557 wxStaticText *result;
6558 char *kwnames[] = {
6559 NULL
6560 };
6561
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6563 {
6564 if (!wxPyCheckForApp()) SWIG_fail;
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 result = (wxStaticText *)new wxStaticText();
6567
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6572 return resultobj;
6573 fail:
6574 return NULL;
6575 }
6576
6577
6578 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6579 PyObject *resultobj;
6580 wxStaticText *arg1 = (wxStaticText *) 0 ;
6581 wxWindow *arg2 = (wxWindow *) 0 ;
6582 int arg3 = (int) -1 ;
6583 wxString const &arg4_defvalue = wxPyEmptyString ;
6584 wxString *arg4 = (wxString *) &arg4_defvalue ;
6585 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6586 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6587 wxSize const &arg6_defvalue = wxDefaultSize ;
6588 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6589 long arg7 = (long) 0 ;
6590 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6591 wxString *arg8 = (wxString *) &arg8_defvalue ;
6592 bool result;
6593 bool temp4 = false ;
6594 wxPoint temp5 ;
6595 wxSize temp6 ;
6596 bool temp8 = false ;
6597 PyObject * obj0 = 0 ;
6598 PyObject * obj1 = 0 ;
6599 PyObject * obj2 = 0 ;
6600 PyObject * obj3 = 0 ;
6601 PyObject * obj4 = 0 ;
6602 PyObject * obj5 = 0 ;
6603 PyObject * obj6 = 0 ;
6604 PyObject * obj7 = 0 ;
6605 char *kwnames[] = {
6606 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6607 };
6608
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6611 if (SWIG_arg_fail(1)) SWIG_fail;
6612 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6613 if (SWIG_arg_fail(2)) SWIG_fail;
6614 if (obj2) {
6615 {
6616 arg3 = (int)(SWIG_As_int(obj2));
6617 if (SWIG_arg_fail(3)) SWIG_fail;
6618 }
6619 }
6620 if (obj3) {
6621 {
6622 arg4 = wxString_in_helper(obj3);
6623 if (arg4 == NULL) SWIG_fail;
6624 temp4 = true;
6625 }
6626 }
6627 if (obj4) {
6628 {
6629 arg5 = &temp5;
6630 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6631 }
6632 }
6633 if (obj5) {
6634 {
6635 arg6 = &temp6;
6636 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6637 }
6638 }
6639 if (obj6) {
6640 {
6641 arg7 = (long)(SWIG_As_long(obj6));
6642 if (SWIG_arg_fail(7)) SWIG_fail;
6643 }
6644 }
6645 if (obj7) {
6646 {
6647 arg8 = wxString_in_helper(obj7);
6648 if (arg8 == NULL) SWIG_fail;
6649 temp8 = true;
6650 }
6651 }
6652 {
6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
6654 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6655
6656 wxPyEndAllowThreads(__tstate);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 }
6659 {
6660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6661 }
6662 {
6663 if (temp4)
6664 delete arg4;
6665 }
6666 {
6667 if (temp8)
6668 delete arg8;
6669 }
6670 return resultobj;
6671 fail:
6672 {
6673 if (temp4)
6674 delete arg4;
6675 }
6676 {
6677 if (temp8)
6678 delete arg8;
6679 }
6680 return NULL;
6681 }
6682
6683
6684 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6685 PyObject *resultobj;
6686 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6687 wxVisualAttributes result;
6688 PyObject * obj0 = 0 ;
6689 char *kwnames[] = {
6690 (char *) "variant", NULL
6691 };
6692
6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6694 if (obj0) {
6695 {
6696 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6697 if (SWIG_arg_fail(1)) SWIG_fail;
6698 }
6699 }
6700 {
6701 if (!wxPyCheckForApp()) SWIG_fail;
6702 PyThreadState* __tstate = wxPyBeginAllowThreads();
6703 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6704
6705 wxPyEndAllowThreads(__tstate);
6706 if (PyErr_Occurred()) SWIG_fail;
6707 }
6708 {
6709 wxVisualAttributes * resultptr;
6710 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6712 }
6713 return resultobj;
6714 fail:
6715 return NULL;
6716 }
6717
6718
6719 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
6720 PyObject *obj;
6721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6722 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6723 Py_INCREF(obj);
6724 return Py_BuildValue((char *)"");
6725 }
6726 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6727 PyObject *resultobj;
6728 wxWindow *arg1 = (wxWindow *) 0 ;
6729 int arg2 = (int) -1 ;
6730 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6731 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6732 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6733 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6734 wxSize const &arg5_defvalue = wxDefaultSize ;
6735 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6736 long arg6 = (long) 0 ;
6737 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6738 wxString *arg7 = (wxString *) &arg7_defvalue ;
6739 wxStaticBitmap *result;
6740 wxPoint temp4 ;
6741 wxSize temp5 ;
6742 bool temp7 = false ;
6743 PyObject * obj0 = 0 ;
6744 PyObject * obj1 = 0 ;
6745 PyObject * obj2 = 0 ;
6746 PyObject * obj3 = 0 ;
6747 PyObject * obj4 = 0 ;
6748 PyObject * obj5 = 0 ;
6749 PyObject * obj6 = 0 ;
6750 char *kwnames[] = {
6751 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6752 };
6753
6754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6756 if (SWIG_arg_fail(1)) SWIG_fail;
6757 if (obj1) {
6758 {
6759 arg2 = (int)(SWIG_As_int(obj1));
6760 if (SWIG_arg_fail(2)) SWIG_fail;
6761 }
6762 }
6763 if (obj2) {
6764 {
6765 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6766 if (SWIG_arg_fail(3)) SWIG_fail;
6767 if (arg3 == NULL) {
6768 SWIG_null_ref("wxBitmap");
6769 }
6770 if (SWIG_arg_fail(3)) SWIG_fail;
6771 }
6772 }
6773 if (obj3) {
6774 {
6775 arg4 = &temp4;
6776 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6777 }
6778 }
6779 if (obj4) {
6780 {
6781 arg5 = &temp5;
6782 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6783 }
6784 }
6785 if (obj5) {
6786 {
6787 arg6 = (long)(SWIG_As_long(obj5));
6788 if (SWIG_arg_fail(6)) SWIG_fail;
6789 }
6790 }
6791 if (obj6) {
6792 {
6793 arg7 = wxString_in_helper(obj6);
6794 if (arg7 == NULL) SWIG_fail;
6795 temp7 = true;
6796 }
6797 }
6798 {
6799 if (!wxPyCheckForApp()) SWIG_fail;
6800 PyThreadState* __tstate = wxPyBeginAllowThreads();
6801 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6802
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6807 {
6808 if (temp7)
6809 delete arg7;
6810 }
6811 return resultobj;
6812 fail:
6813 {
6814 if (temp7)
6815 delete arg7;
6816 }
6817 return NULL;
6818 }
6819
6820
6821 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6822 PyObject *resultobj;
6823 wxStaticBitmap *result;
6824 char *kwnames[] = {
6825 NULL
6826 };
6827
6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6829 {
6830 if (!wxPyCheckForApp()) SWIG_fail;
6831 PyThreadState* __tstate = wxPyBeginAllowThreads();
6832 result = (wxStaticBitmap *)new wxStaticBitmap();
6833
6834 wxPyEndAllowThreads(__tstate);
6835 if (PyErr_Occurred()) SWIG_fail;
6836 }
6837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6838 return resultobj;
6839 fail:
6840 return NULL;
6841 }
6842
6843
6844 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6845 PyObject *resultobj;
6846 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6847 wxWindow *arg2 = (wxWindow *) 0 ;
6848 int arg3 = (int) -1 ;
6849 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6850 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
6851 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6852 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6853 wxSize const &arg6_defvalue = wxDefaultSize ;
6854 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6855 long arg7 = (long) 0 ;
6856 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6857 wxString *arg8 = (wxString *) &arg8_defvalue ;
6858 bool result;
6859 wxPoint temp5 ;
6860 wxSize temp6 ;
6861 bool temp8 = false ;
6862 PyObject * obj0 = 0 ;
6863 PyObject * obj1 = 0 ;
6864 PyObject * obj2 = 0 ;
6865 PyObject * obj3 = 0 ;
6866 PyObject * obj4 = 0 ;
6867 PyObject * obj5 = 0 ;
6868 PyObject * obj6 = 0 ;
6869 PyObject * obj7 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6876 if (SWIG_arg_fail(1)) SWIG_fail;
6877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6878 if (SWIG_arg_fail(2)) SWIG_fail;
6879 if (obj2) {
6880 {
6881 arg3 = (int)(SWIG_As_int(obj2));
6882 if (SWIG_arg_fail(3)) SWIG_fail;
6883 }
6884 }
6885 if (obj3) {
6886 {
6887 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6888 if (SWIG_arg_fail(4)) SWIG_fail;
6889 if (arg4 == NULL) {
6890 SWIG_null_ref("wxBitmap");
6891 }
6892 if (SWIG_arg_fail(4)) SWIG_fail;
6893 }
6894 }
6895 if (obj4) {
6896 {
6897 arg5 = &temp5;
6898 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6899 }
6900 }
6901 if (obj5) {
6902 {
6903 arg6 = &temp6;
6904 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6905 }
6906 }
6907 if (obj6) {
6908 {
6909 arg7 = (long)(SWIG_As_long(obj6));
6910 if (SWIG_arg_fail(7)) SWIG_fail;
6911 }
6912 }
6913 if (obj7) {
6914 {
6915 arg8 = wxString_in_helper(obj7);
6916 if (arg8 == NULL) SWIG_fail;
6917 temp8 = true;
6918 }
6919 }
6920 {
6921 PyThreadState* __tstate = wxPyBeginAllowThreads();
6922 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6923
6924 wxPyEndAllowThreads(__tstate);
6925 if (PyErr_Occurred()) SWIG_fail;
6926 }
6927 {
6928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6929 }
6930 {
6931 if (temp8)
6932 delete arg8;
6933 }
6934 return resultobj;
6935 fail:
6936 {
6937 if (temp8)
6938 delete arg8;
6939 }
6940 return NULL;
6941 }
6942
6943
6944 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6945 PyObject *resultobj;
6946 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6947 wxBitmap result;
6948 PyObject * obj0 = 0 ;
6949 char *kwnames[] = {
6950 (char *) "self", NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
6954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6955 if (SWIG_arg_fail(1)) SWIG_fail;
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 result = (arg1)->GetBitmap();
6959
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 {
6964 wxBitmap * resultptr;
6965 resultptr = new wxBitmap((wxBitmap &)(result));
6966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6967 }
6968 return resultobj;
6969 fail:
6970 return NULL;
6971 }
6972
6973
6974 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6975 PyObject *resultobj;
6976 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6977 wxBitmap *arg2 = 0 ;
6978 PyObject * obj0 = 0 ;
6979 PyObject * obj1 = 0 ;
6980 char *kwnames[] = {
6981 (char *) "self",(char *) "bitmap", NULL
6982 };
6983
6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6986 if (SWIG_arg_fail(1)) SWIG_fail;
6987 {
6988 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6989 if (SWIG_arg_fail(2)) SWIG_fail;
6990 if (arg2 == NULL) {
6991 SWIG_null_ref("wxBitmap");
6992 }
6993 if (SWIG_arg_fail(2)) SWIG_fail;
6994 }
6995 {
6996 PyThreadState* __tstate = wxPyBeginAllowThreads();
6997 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6998
6999 wxPyEndAllowThreads(__tstate);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 Py_INCREF(Py_None); resultobj = Py_None;
7003 return resultobj;
7004 fail:
7005 return NULL;
7006 }
7007
7008
7009 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7010 PyObject *resultobj;
7011 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
7012 wxIcon *arg2 = 0 ;
7013 PyObject * obj0 = 0 ;
7014 PyObject * obj1 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "self",(char *) "icon", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
7020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail;
7022 {
7023 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
7024 if (SWIG_arg_fail(2)) SWIG_fail;
7025 if (arg2 == NULL) {
7026 SWIG_null_ref("wxIcon");
7027 }
7028 if (SWIG_arg_fail(2)) SWIG_fail;
7029 }
7030 {
7031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7032 (arg1)->SetIcon((wxIcon const &)*arg2);
7033
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 Py_INCREF(Py_None); resultobj = Py_None;
7038 return resultobj;
7039 fail:
7040 return NULL;
7041 }
7042
7043
7044 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7047 wxVisualAttributes result;
7048 PyObject * obj0 = 0 ;
7049 char *kwnames[] = {
7050 (char *) "variant", NULL
7051 };
7052
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7054 if (obj0) {
7055 {
7056 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7057 if (SWIG_arg_fail(1)) SWIG_fail;
7058 }
7059 }
7060 {
7061 if (!wxPyCheckForApp()) SWIG_fail;
7062 PyThreadState* __tstate = wxPyBeginAllowThreads();
7063 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7064
7065 wxPyEndAllowThreads(__tstate);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 }
7068 {
7069 wxVisualAttributes * resultptr;
7070 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7072 }
7073 return resultobj;
7074 fail:
7075 return NULL;
7076 }
7077
7078
7079 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
7080 PyObject *obj;
7081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7082 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7083 Py_INCREF(obj);
7084 return Py_BuildValue((char *)"");
7085 }
7086 static int _wrap_ListBoxNameStr_set(PyObject *) {
7087 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7088 return 1;
7089 }
7090
7091
7092 static PyObject *_wrap_ListBoxNameStr_get(void) {
7093 PyObject *pyobj;
7094
7095 {
7096 #if wxUSE_UNICODE
7097 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7098 #else
7099 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7100 #endif
7101 }
7102 return pyobj;
7103 }
7104
7105
7106 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7107 PyObject *resultobj;
7108 wxWindow *arg1 = (wxWindow *) 0 ;
7109 int arg2 = (int) -1 ;
7110 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7111 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7112 wxSize const &arg4_defvalue = wxDefaultSize ;
7113 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7114 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7115 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7116 long arg6 = (long) 0 ;
7117 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7118 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7119 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7120 wxString *arg8 = (wxString *) &arg8_defvalue ;
7121 wxListBox *result;
7122 wxPoint temp3 ;
7123 wxSize temp4 ;
7124 bool temp5 = false ;
7125 bool temp8 = false ;
7126 PyObject * obj0 = 0 ;
7127 PyObject * obj1 = 0 ;
7128 PyObject * obj2 = 0 ;
7129 PyObject * obj3 = 0 ;
7130 PyObject * obj4 = 0 ;
7131 PyObject * obj5 = 0 ;
7132 PyObject * obj6 = 0 ;
7133 PyObject * obj7 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7140 if (SWIG_arg_fail(1)) SWIG_fail;
7141 if (obj1) {
7142 {
7143 arg2 = (int)(SWIG_As_int(obj1));
7144 if (SWIG_arg_fail(2)) SWIG_fail;
7145 }
7146 }
7147 if (obj2) {
7148 {
7149 arg3 = &temp3;
7150 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7151 }
7152 }
7153 if (obj3) {
7154 {
7155 arg4 = &temp4;
7156 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7157 }
7158 }
7159 if (obj4) {
7160 {
7161 if (! PySequence_Check(obj4)) {
7162 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7163 SWIG_fail;
7164 }
7165 arg5 = new wxArrayString;
7166 temp5 = true;
7167 int i, len=PySequence_Length(obj4);
7168 for (i=0; i<len; i++) {
7169 PyObject* item = PySequence_GetItem(obj4, i);
7170 wxString* s = wxString_in_helper(item);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 arg5->Add(*s);
7173 delete s;
7174 Py_DECREF(item);
7175 }
7176 }
7177 }
7178 if (obj5) {
7179 {
7180 arg6 = (long)(SWIG_As_long(obj5));
7181 if (SWIG_arg_fail(6)) SWIG_fail;
7182 }
7183 }
7184 if (obj6) {
7185 {
7186 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7187 if (SWIG_arg_fail(7)) SWIG_fail;
7188 if (arg7 == NULL) {
7189 SWIG_null_ref("wxValidator");
7190 }
7191 if (SWIG_arg_fail(7)) SWIG_fail;
7192 }
7193 }
7194 if (obj7) {
7195 {
7196 arg8 = wxString_in_helper(obj7);
7197 if (arg8 == NULL) SWIG_fail;
7198 temp8 = true;
7199 }
7200 }
7201 {
7202 if (!wxPyCheckForApp()) SWIG_fail;
7203 PyThreadState* __tstate = wxPyBeginAllowThreads();
7204 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7205
7206 wxPyEndAllowThreads(__tstate);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 }
7209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7210 {
7211 if (temp5) delete arg5;
7212 }
7213 {
7214 if (temp8)
7215 delete arg8;
7216 }
7217 return resultobj;
7218 fail:
7219 {
7220 if (temp5) delete arg5;
7221 }
7222 {
7223 if (temp8)
7224 delete arg8;
7225 }
7226 return NULL;
7227 }
7228
7229
7230 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj;
7232 wxListBox *result;
7233 char *kwnames[] = {
7234 NULL
7235 };
7236
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7238 {
7239 if (!wxPyCheckForApp()) SWIG_fail;
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 result = (wxListBox *)new wxListBox();
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7247 return resultobj;
7248 fail:
7249 return NULL;
7250 }
7251
7252
7253 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj;
7255 wxListBox *arg1 = (wxListBox *) 0 ;
7256 wxWindow *arg2 = (wxWindow *) 0 ;
7257 int arg3 = (int) -1 ;
7258 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7259 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7260 wxSize const &arg5_defvalue = wxDefaultSize ;
7261 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7262 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7263 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7264 long arg7 = (long) 0 ;
7265 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7266 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7267 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7268 wxString *arg9 = (wxString *) &arg9_defvalue ;
7269 bool result;
7270 wxPoint temp4 ;
7271 wxSize temp5 ;
7272 bool temp6 = false ;
7273 bool temp9 = false ;
7274 PyObject * obj0 = 0 ;
7275 PyObject * obj1 = 0 ;
7276 PyObject * obj2 = 0 ;
7277 PyObject * obj3 = 0 ;
7278 PyObject * obj4 = 0 ;
7279 PyObject * obj5 = 0 ;
7280 PyObject * obj6 = 0 ;
7281 PyObject * obj7 = 0 ;
7282 PyObject * obj8 = 0 ;
7283 char *kwnames[] = {
7284 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7285 };
7286
7287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7289 if (SWIG_arg_fail(1)) SWIG_fail;
7290 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7291 if (SWIG_arg_fail(2)) SWIG_fail;
7292 if (obj2) {
7293 {
7294 arg3 = (int)(SWIG_As_int(obj2));
7295 if (SWIG_arg_fail(3)) SWIG_fail;
7296 }
7297 }
7298 if (obj3) {
7299 {
7300 arg4 = &temp4;
7301 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7302 }
7303 }
7304 if (obj4) {
7305 {
7306 arg5 = &temp5;
7307 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7308 }
7309 }
7310 if (obj5) {
7311 {
7312 if (! PySequence_Check(obj5)) {
7313 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7314 SWIG_fail;
7315 }
7316 arg6 = new wxArrayString;
7317 temp6 = true;
7318 int i, len=PySequence_Length(obj5);
7319 for (i=0; i<len; i++) {
7320 PyObject* item = PySequence_GetItem(obj5, i);
7321 wxString* s = wxString_in_helper(item);
7322 if (PyErr_Occurred()) SWIG_fail;
7323 arg6->Add(*s);
7324 delete s;
7325 Py_DECREF(item);
7326 }
7327 }
7328 }
7329 if (obj6) {
7330 {
7331 arg7 = (long)(SWIG_As_long(obj6));
7332 if (SWIG_arg_fail(7)) SWIG_fail;
7333 }
7334 }
7335 if (obj7) {
7336 {
7337 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7338 if (SWIG_arg_fail(8)) SWIG_fail;
7339 if (arg8 == NULL) {
7340 SWIG_null_ref("wxValidator");
7341 }
7342 if (SWIG_arg_fail(8)) SWIG_fail;
7343 }
7344 }
7345 if (obj8) {
7346 {
7347 arg9 = wxString_in_helper(obj8);
7348 if (arg9 == NULL) SWIG_fail;
7349 temp9 = true;
7350 }
7351 }
7352 {
7353 PyThreadState* __tstate = wxPyBeginAllowThreads();
7354 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7355
7356 wxPyEndAllowThreads(__tstate);
7357 if (PyErr_Occurred()) SWIG_fail;
7358 }
7359 {
7360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7361 }
7362 {
7363 if (temp6) delete arg6;
7364 }
7365 {
7366 if (temp9)
7367 delete arg9;
7368 }
7369 return resultobj;
7370 fail:
7371 {
7372 if (temp6) delete arg6;
7373 }
7374 {
7375 if (temp9)
7376 delete arg9;
7377 }
7378 return NULL;
7379 }
7380
7381
7382 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj;
7384 wxListBox *arg1 = (wxListBox *) 0 ;
7385 wxString *arg2 = 0 ;
7386 int arg3 ;
7387 PyObject *arg4 = (PyObject *) NULL ;
7388 bool temp2 = false ;
7389 PyObject * obj0 = 0 ;
7390 PyObject * obj1 = 0 ;
7391 PyObject * obj2 = 0 ;
7392 PyObject * obj3 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7399 if (SWIG_arg_fail(1)) SWIG_fail;
7400 {
7401 arg2 = wxString_in_helper(obj1);
7402 if (arg2 == NULL) SWIG_fail;
7403 temp2 = true;
7404 }
7405 {
7406 arg3 = (int)(SWIG_As_int(obj2));
7407 if (SWIG_arg_fail(3)) SWIG_fail;
7408 }
7409 if (obj3) {
7410 arg4 = obj3;
7411 }
7412 {
7413 PyThreadState* __tstate = wxPyBeginAllowThreads();
7414 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7415
7416 wxPyEndAllowThreads(__tstate);
7417 if (PyErr_Occurred()) SWIG_fail;
7418 }
7419 Py_INCREF(Py_None); resultobj = Py_None;
7420 {
7421 if (temp2)
7422 delete arg2;
7423 }
7424 return resultobj;
7425 fail:
7426 {
7427 if (temp2)
7428 delete arg2;
7429 }
7430 return NULL;
7431 }
7432
7433
7434 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
7435 PyObject *resultobj;
7436 wxListBox *arg1 = (wxListBox *) 0 ;
7437 wxArrayString *arg2 = 0 ;
7438 int arg3 ;
7439 bool temp2 = false ;
7440 PyObject * obj0 = 0 ;
7441 PyObject * obj1 = 0 ;
7442 PyObject * obj2 = 0 ;
7443 char *kwnames[] = {
7444 (char *) "self",(char *) "items",(char *) "pos", NULL
7445 };
7446
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
7448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7449 if (SWIG_arg_fail(1)) SWIG_fail;
7450 {
7451 if (! PySequence_Check(obj1)) {
7452 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7453 SWIG_fail;
7454 }
7455 arg2 = new wxArrayString;
7456 temp2 = true;
7457 int i, len=PySequence_Length(obj1);
7458 for (i=0; i<len; i++) {
7459 PyObject* item = PySequence_GetItem(obj1, i);
7460 wxString* s = wxString_in_helper(item);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 arg2->Add(*s);
7463 delete s;
7464 Py_DECREF(item);
7465 }
7466 }
7467 {
7468 arg3 = (int)(SWIG_As_int(obj2));
7469 if (SWIG_arg_fail(3)) SWIG_fail;
7470 }
7471 {
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7474
7475 wxPyEndAllowThreads(__tstate);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 Py_INCREF(Py_None); resultobj = Py_None;
7479 {
7480 if (temp2) delete arg2;
7481 }
7482 return resultobj;
7483 fail:
7484 {
7485 if (temp2) delete arg2;
7486 }
7487 return NULL;
7488 }
7489
7490
7491 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7492 PyObject *resultobj;
7493 wxListBox *arg1 = (wxListBox *) 0 ;
7494 wxArrayString *arg2 = 0 ;
7495 bool temp2 = false ;
7496 PyObject * obj0 = 0 ;
7497 PyObject * obj1 = 0 ;
7498 char *kwnames[] = {
7499 (char *) "self",(char *) "items", NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
7503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7504 if (SWIG_arg_fail(1)) SWIG_fail;
7505 {
7506 if (! PySequence_Check(obj1)) {
7507 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7508 SWIG_fail;
7509 }
7510 arg2 = new wxArrayString;
7511 temp2 = true;
7512 int i, len=PySequence_Length(obj1);
7513 for (i=0; i<len; i++) {
7514 PyObject* item = PySequence_GetItem(obj1, i);
7515 wxString* s = wxString_in_helper(item);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 arg2->Add(*s);
7518 delete s;
7519 Py_DECREF(item);
7520 }
7521 }
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 (arg1)->Set((wxArrayString const &)*arg2);
7525
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 Py_INCREF(Py_None); resultobj = Py_None;
7530 {
7531 if (temp2) delete arg2;
7532 }
7533 return resultobj;
7534 fail:
7535 {
7536 if (temp2) delete arg2;
7537 }
7538 return NULL;
7539 }
7540
7541
7542 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
7543 PyObject *resultobj;
7544 wxListBox *arg1 = (wxListBox *) 0 ;
7545 int arg2 ;
7546 bool result;
7547 PyObject * obj0 = 0 ;
7548 PyObject * obj1 = 0 ;
7549 char *kwnames[] = {
7550 (char *) "self",(char *) "n", NULL
7551 };
7552
7553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
7554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7555 if (SWIG_arg_fail(1)) SWIG_fail;
7556 {
7557 arg2 = (int)(SWIG_As_int(obj1));
7558 if (SWIG_arg_fail(2)) SWIG_fail;
7559 }
7560 {
7561 PyThreadState* __tstate = wxPyBeginAllowThreads();
7562 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7563
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 {
7568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7569 }
7570 return resultobj;
7571 fail:
7572 return NULL;
7573 }
7574
7575
7576 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxListBox *arg1 = (wxListBox *) 0 ;
7579 int arg2 ;
7580 bool arg3 = (bool) true ;
7581 PyObject * obj0 = 0 ;
7582 PyObject * obj1 = 0 ;
7583 PyObject * obj2 = 0 ;
7584 char *kwnames[] = {
7585 (char *) "self",(char *) "n",(char *) "select", NULL
7586 };
7587
7588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7590 if (SWIG_arg_fail(1)) SWIG_fail;
7591 {
7592 arg2 = (int)(SWIG_As_int(obj1));
7593 if (SWIG_arg_fail(2)) SWIG_fail;
7594 }
7595 if (obj2) {
7596 {
7597 arg3 = (bool)(SWIG_As_bool(obj2));
7598 if (SWIG_arg_fail(3)) SWIG_fail;
7599 }
7600 }
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 (arg1)->SetSelection(arg2,arg3);
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 Py_INCREF(Py_None); resultobj = Py_None;
7609 return resultobj;
7610 fail:
7611 return NULL;
7612 }
7613
7614
7615 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
7616 PyObject *resultobj;
7617 wxListBox *arg1 = (wxListBox *) 0 ;
7618 int arg2 ;
7619 PyObject * obj0 = 0 ;
7620 PyObject * obj1 = 0 ;
7621 char *kwnames[] = {
7622 (char *) "self",(char *) "n", NULL
7623 };
7624
7625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
7626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7627 if (SWIG_arg_fail(1)) SWIG_fail;
7628 {
7629 arg2 = (int)(SWIG_As_int(obj1));
7630 if (SWIG_arg_fail(2)) SWIG_fail;
7631 }
7632 {
7633 PyThreadState* __tstate = wxPyBeginAllowThreads();
7634 (arg1)->Select(arg2);
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 Py_INCREF(Py_None); resultobj = Py_None;
7640 return resultobj;
7641 fail:
7642 return NULL;
7643 }
7644
7645
7646 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
7647 PyObject *resultobj;
7648 wxListBox *arg1 = (wxListBox *) 0 ;
7649 int arg2 ;
7650 PyObject * obj0 = 0 ;
7651 PyObject * obj1 = 0 ;
7652 char *kwnames[] = {
7653 (char *) "self",(char *) "n", NULL
7654 };
7655
7656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
7657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7658 if (SWIG_arg_fail(1)) SWIG_fail;
7659 {
7660 arg2 = (int)(SWIG_As_int(obj1));
7661 if (SWIG_arg_fail(2)) SWIG_fail;
7662 }
7663 {
7664 PyThreadState* __tstate = wxPyBeginAllowThreads();
7665 (arg1)->Deselect(arg2);
7666
7667 wxPyEndAllowThreads(__tstate);
7668 if (PyErr_Occurred()) SWIG_fail;
7669 }
7670 Py_INCREF(Py_None); resultobj = Py_None;
7671 return resultobj;
7672 fail:
7673 return NULL;
7674 }
7675
7676
7677 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7678 PyObject *resultobj;
7679 wxListBox *arg1 = (wxListBox *) 0 ;
7680 int arg2 = (int) -1 ;
7681 PyObject * obj0 = 0 ;
7682 PyObject * obj1 = 0 ;
7683 char *kwnames[] = {
7684 (char *) "self",(char *) "itemToLeaveSelected", NULL
7685 };
7686
7687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
7688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7689 if (SWIG_arg_fail(1)) SWIG_fail;
7690 if (obj1) {
7691 {
7692 arg2 = (int)(SWIG_As_int(obj1));
7693 if (SWIG_arg_fail(2)) SWIG_fail;
7694 }
7695 }
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 (arg1)->DeselectAll(arg2);
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
7703 Py_INCREF(Py_None); resultobj = Py_None;
7704 return resultobj;
7705 fail:
7706 return NULL;
7707 }
7708
7709
7710 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7711 PyObject *resultobj;
7712 wxListBox *arg1 = (wxListBox *) 0 ;
7713 wxString *arg2 = 0 ;
7714 bool arg3 = (bool) true ;
7715 bool result;
7716 bool temp2 = false ;
7717 PyObject * obj0 = 0 ;
7718 PyObject * obj1 = 0 ;
7719 PyObject * obj2 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self",(char *) "s",(char *) "select", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7726 if (SWIG_arg_fail(1)) SWIG_fail;
7727 {
7728 arg2 = wxString_in_helper(obj1);
7729 if (arg2 == NULL) SWIG_fail;
7730 temp2 = true;
7731 }
7732 if (obj2) {
7733 {
7734 arg3 = (bool)(SWIG_As_bool(obj2));
7735 if (SWIG_arg_fail(3)) SWIG_fail;
7736 }
7737 }
7738 {
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7741
7742 wxPyEndAllowThreads(__tstate);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 }
7745 {
7746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7747 }
7748 {
7749 if (temp2)
7750 delete arg2;
7751 }
7752 return resultobj;
7753 fail:
7754 {
7755 if (temp2)
7756 delete arg2;
7757 }
7758 return NULL;
7759 }
7760
7761
7762 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
7763 PyObject *resultobj;
7764 wxListBox *arg1 = (wxListBox *) 0 ;
7765 PyObject *result;
7766 PyObject * obj0 = 0 ;
7767 char *kwnames[] = {
7768 (char *) "self", NULL
7769 };
7770
7771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
7772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7773 if (SWIG_arg_fail(1)) SWIG_fail;
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 result = (PyObject *)wxListBox_GetSelections(arg1);
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 resultobj = result;
7782 return resultobj;
7783 fail:
7784 return NULL;
7785 }
7786
7787
7788 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
7789 PyObject *resultobj;
7790 wxListBox *arg1 = (wxListBox *) 0 ;
7791 int arg2 ;
7792 PyObject * obj0 = 0 ;
7793 PyObject * obj1 = 0 ;
7794 char *kwnames[] = {
7795 (char *) "self",(char *) "n", NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
7799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7800 if (SWIG_arg_fail(1)) SWIG_fail;
7801 {
7802 arg2 = (int)(SWIG_As_int(obj1));
7803 if (SWIG_arg_fail(2)) SWIG_fail;
7804 }
7805 {
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 (arg1)->SetFirstItem(arg2);
7808
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 }
7812 Py_INCREF(Py_None); resultobj = Py_None;
7813 return resultobj;
7814 fail:
7815 return NULL;
7816 }
7817
7818
7819 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
7820 PyObject *resultobj;
7821 wxListBox *arg1 = (wxListBox *) 0 ;
7822 wxString *arg2 = 0 ;
7823 bool temp2 = false ;
7824 PyObject * obj0 = 0 ;
7825 PyObject * obj1 = 0 ;
7826 char *kwnames[] = {
7827 (char *) "self",(char *) "s", NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
7831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7832 if (SWIG_arg_fail(1)) SWIG_fail;
7833 {
7834 arg2 = wxString_in_helper(obj1);
7835 if (arg2 == NULL) SWIG_fail;
7836 temp2 = true;
7837 }
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 (arg1)->SetFirstItem((wxString const &)*arg2);
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 Py_INCREF(Py_None); resultobj = Py_None;
7846 {
7847 if (temp2)
7848 delete arg2;
7849 }
7850 return resultobj;
7851 fail:
7852 {
7853 if (temp2)
7854 delete arg2;
7855 }
7856 return NULL;
7857 }
7858
7859
7860 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7861 PyObject *resultobj;
7862 wxListBox *arg1 = (wxListBox *) 0 ;
7863 int arg2 ;
7864 PyObject * obj0 = 0 ;
7865 PyObject * obj1 = 0 ;
7866 char *kwnames[] = {
7867 (char *) "self",(char *) "n", NULL
7868 };
7869
7870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7872 if (SWIG_arg_fail(1)) SWIG_fail;
7873 {
7874 arg2 = (int)(SWIG_As_int(obj1));
7875 if (SWIG_arg_fail(2)) SWIG_fail;
7876 }
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 (arg1)->EnsureVisible(arg2);
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 Py_INCREF(Py_None); resultobj = Py_None;
7885 return resultobj;
7886 fail:
7887 return NULL;
7888 }
7889
7890
7891 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7892 PyObject *resultobj;
7893 wxListBox *arg1 = (wxListBox *) 0 ;
7894 wxString *arg2 = 0 ;
7895 bool temp2 = false ;
7896 PyObject * obj0 = 0 ;
7897 PyObject * obj1 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self",(char *) "s", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail;
7905 {
7906 arg2 = wxString_in_helper(obj1);
7907 if (arg2 == NULL) SWIG_fail;
7908 temp2 = true;
7909 }
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 Py_INCREF(Py_None); resultobj = Py_None;
7918 {
7919 if (temp2)
7920 delete arg2;
7921 }
7922 return resultobj;
7923 fail:
7924 {
7925 if (temp2)
7926 delete arg2;
7927 }
7928 return NULL;
7929 }
7930
7931
7932 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
7933 PyObject *resultobj;
7934 wxListBox *arg1 = (wxListBox *) 0 ;
7935 bool result;
7936 PyObject * obj0 = 0 ;
7937 char *kwnames[] = {
7938 (char *) "self", NULL
7939 };
7940
7941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
7942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7943 if (SWIG_arg_fail(1)) SWIG_fail;
7944 {
7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
7946 result = (bool)((wxListBox const *)arg1)->IsSorted();
7947
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
7951 {
7952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7953 }
7954 return resultobj;
7955 fail:
7956 return NULL;
7957 }
7958
7959
7960 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxListBox *arg1 = (wxListBox *) 0 ;
7963 int arg2 ;
7964 wxColour *arg3 = 0 ;
7965 wxColour temp3 ;
7966 PyObject * obj0 = 0 ;
7967 PyObject * obj1 = 0 ;
7968 PyObject * obj2 = 0 ;
7969 char *kwnames[] = {
7970 (char *) "self",(char *) "item",(char *) "c", NULL
7971 };
7972
7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7975 if (SWIG_arg_fail(1)) SWIG_fail;
7976 {
7977 arg2 = (int)(SWIG_As_int(obj1));
7978 if (SWIG_arg_fail(2)) SWIG_fail;
7979 }
7980 {
7981 arg3 = &temp3;
7982 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7983 }
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
7987
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 Py_INCREF(Py_None); resultobj = Py_None;
7992 return resultobj;
7993 fail:
7994 return NULL;
7995 }
7996
7997
7998 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxListBox *arg1 = (wxListBox *) 0 ;
8001 int arg2 ;
8002 wxColour *arg3 = 0 ;
8003 wxColour temp3 ;
8004 PyObject * obj0 = 0 ;
8005 PyObject * obj1 = 0 ;
8006 PyObject * obj2 = 0 ;
8007 char *kwnames[] = {
8008 (char *) "self",(char *) "item",(char *) "c", NULL
8009 };
8010
8011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8013 if (SWIG_arg_fail(1)) SWIG_fail;
8014 {
8015 arg2 = (int)(SWIG_As_int(obj1));
8016 if (SWIG_arg_fail(2)) SWIG_fail;
8017 }
8018 {
8019 arg3 = &temp3;
8020 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8021 }
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 Py_INCREF(Py_None); resultobj = Py_None;
8030 return resultobj;
8031 fail:
8032 return NULL;
8033 }
8034
8035
8036 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 wxListBox *arg1 = (wxListBox *) 0 ;
8039 int arg2 ;
8040 wxFont *arg3 = 0 ;
8041 PyObject * obj0 = 0 ;
8042 PyObject * obj1 = 0 ;
8043 PyObject * obj2 = 0 ;
8044 char *kwnames[] = {
8045 (char *) "self",(char *) "item",(char *) "f", NULL
8046 };
8047
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail;
8051 {
8052 arg2 = (int)(SWIG_As_int(obj1));
8053 if (SWIG_arg_fail(2)) SWIG_fail;
8054 }
8055 {
8056 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8057 if (SWIG_arg_fail(3)) SWIG_fail;
8058 if (arg3 == NULL) {
8059 SWIG_null_ref("wxFont");
8060 }
8061 if (SWIG_arg_fail(3)) SWIG_fail;
8062 }
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 Py_INCREF(Py_None); resultobj = Py_None;
8071 return resultobj;
8072 fail:
8073 return NULL;
8074 }
8075
8076
8077 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8080 wxVisualAttributes result;
8081 PyObject * obj0 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "variant", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8087 if (obj0) {
8088 {
8089 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8090 if (SWIG_arg_fail(1)) SWIG_fail;
8091 }
8092 }
8093 {
8094 if (!wxPyCheckForApp()) SWIG_fail;
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8097
8098 wxPyEndAllowThreads(__tstate);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 }
8101 {
8102 wxVisualAttributes * resultptr;
8103 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8105 }
8106 return resultobj;
8107 fail:
8108 return NULL;
8109 }
8110
8111
8112 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
8113 PyObject *obj;
8114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8115 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8116 Py_INCREF(obj);
8117 return Py_BuildValue((char *)"");
8118 }
8119 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj;
8121 wxWindow *arg1 = (wxWindow *) 0 ;
8122 int arg2 = (int) -1 ;
8123 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8124 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8125 wxSize const &arg4_defvalue = wxDefaultSize ;
8126 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8127 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8128 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8129 long arg6 = (long) 0 ;
8130 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8131 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8132 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8133 wxString *arg8 = (wxString *) &arg8_defvalue ;
8134 wxCheckListBox *result;
8135 wxPoint temp3 ;
8136 wxSize temp4 ;
8137 bool temp5 = false ;
8138 bool temp8 = false ;
8139 PyObject * obj0 = 0 ;
8140 PyObject * obj1 = 0 ;
8141 PyObject * obj2 = 0 ;
8142 PyObject * obj3 = 0 ;
8143 PyObject * obj4 = 0 ;
8144 PyObject * obj5 = 0 ;
8145 PyObject * obj6 = 0 ;
8146 PyObject * obj7 = 0 ;
8147 char *kwnames[] = {
8148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8149 };
8150
8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8153 if (SWIG_arg_fail(1)) SWIG_fail;
8154 if (obj1) {
8155 {
8156 arg2 = (int)(SWIG_As_int(obj1));
8157 if (SWIG_arg_fail(2)) SWIG_fail;
8158 }
8159 }
8160 if (obj2) {
8161 {
8162 arg3 = &temp3;
8163 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8164 }
8165 }
8166 if (obj3) {
8167 {
8168 arg4 = &temp4;
8169 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8170 }
8171 }
8172 if (obj4) {
8173 {
8174 if (! PySequence_Check(obj4)) {
8175 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8176 SWIG_fail;
8177 }
8178 arg5 = new wxArrayString;
8179 temp5 = true;
8180 int i, len=PySequence_Length(obj4);
8181 for (i=0; i<len; i++) {
8182 PyObject* item = PySequence_GetItem(obj4, i);
8183 wxString* s = wxString_in_helper(item);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 arg5->Add(*s);
8186 delete s;
8187 Py_DECREF(item);
8188 }
8189 }
8190 }
8191 if (obj5) {
8192 {
8193 arg6 = (long)(SWIG_As_long(obj5));
8194 if (SWIG_arg_fail(6)) SWIG_fail;
8195 }
8196 }
8197 if (obj6) {
8198 {
8199 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8200 if (SWIG_arg_fail(7)) SWIG_fail;
8201 if (arg7 == NULL) {
8202 SWIG_null_ref("wxValidator");
8203 }
8204 if (SWIG_arg_fail(7)) SWIG_fail;
8205 }
8206 }
8207 if (obj7) {
8208 {
8209 arg8 = wxString_in_helper(obj7);
8210 if (arg8 == NULL) SWIG_fail;
8211 temp8 = true;
8212 }
8213 }
8214 {
8215 if (!wxPyCheckForApp()) SWIG_fail;
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8223 {
8224 if (temp5) delete arg5;
8225 }
8226 {
8227 if (temp8)
8228 delete arg8;
8229 }
8230 return resultobj;
8231 fail:
8232 {
8233 if (temp5) delete arg5;
8234 }
8235 {
8236 if (temp8)
8237 delete arg8;
8238 }
8239 return NULL;
8240 }
8241
8242
8243 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
8244 PyObject *resultobj;
8245 wxCheckListBox *result;
8246 char *kwnames[] = {
8247 NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8251 {
8252 if (!wxPyCheckForApp()) SWIG_fail;
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (wxCheckListBox *)new wxCheckListBox();
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8260 return resultobj;
8261 fail:
8262 return NULL;
8263 }
8264
8265
8266 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8267 PyObject *resultobj;
8268 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8269 wxWindow *arg2 = (wxWindow *) 0 ;
8270 int arg3 = (int) -1 ;
8271 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8272 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8273 wxSize const &arg5_defvalue = wxDefaultSize ;
8274 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8275 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8276 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8277 long arg7 = (long) 0 ;
8278 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8279 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8280 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8281 wxString *arg9 = (wxString *) &arg9_defvalue ;
8282 bool result;
8283 wxPoint temp4 ;
8284 wxSize temp5 ;
8285 bool temp6 = false ;
8286 bool temp9 = false ;
8287 PyObject * obj0 = 0 ;
8288 PyObject * obj1 = 0 ;
8289 PyObject * obj2 = 0 ;
8290 PyObject * obj3 = 0 ;
8291 PyObject * obj4 = 0 ;
8292 PyObject * obj5 = 0 ;
8293 PyObject * obj6 = 0 ;
8294 PyObject * obj7 = 0 ;
8295 PyObject * obj8 = 0 ;
8296 char *kwnames[] = {
8297 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8298 };
8299
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8302 if (SWIG_arg_fail(1)) SWIG_fail;
8303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8304 if (SWIG_arg_fail(2)) SWIG_fail;
8305 if (obj2) {
8306 {
8307 arg3 = (int)(SWIG_As_int(obj2));
8308 if (SWIG_arg_fail(3)) SWIG_fail;
8309 }
8310 }
8311 if (obj3) {
8312 {
8313 arg4 = &temp4;
8314 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8315 }
8316 }
8317 if (obj4) {
8318 {
8319 arg5 = &temp5;
8320 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8321 }
8322 }
8323 if (obj5) {
8324 {
8325 if (! PySequence_Check(obj5)) {
8326 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8327 SWIG_fail;
8328 }
8329 arg6 = new wxArrayString;
8330 temp6 = true;
8331 int i, len=PySequence_Length(obj5);
8332 for (i=0; i<len; i++) {
8333 PyObject* item = PySequence_GetItem(obj5, i);
8334 wxString* s = wxString_in_helper(item);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 arg6->Add(*s);
8337 delete s;
8338 Py_DECREF(item);
8339 }
8340 }
8341 }
8342 if (obj6) {
8343 {
8344 arg7 = (long)(SWIG_As_long(obj6));
8345 if (SWIG_arg_fail(7)) SWIG_fail;
8346 }
8347 }
8348 if (obj7) {
8349 {
8350 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8351 if (SWIG_arg_fail(8)) SWIG_fail;
8352 if (arg8 == NULL) {
8353 SWIG_null_ref("wxValidator");
8354 }
8355 if (SWIG_arg_fail(8)) SWIG_fail;
8356 }
8357 }
8358 if (obj8) {
8359 {
8360 arg9 = wxString_in_helper(obj8);
8361 if (arg9 == NULL) SWIG_fail;
8362 temp9 = true;
8363 }
8364 }
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 {
8373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8374 }
8375 {
8376 if (temp6) delete arg6;
8377 }
8378 {
8379 if (temp9)
8380 delete arg9;
8381 }
8382 return resultobj;
8383 fail:
8384 {
8385 if (temp6) delete arg6;
8386 }
8387 {
8388 if (temp9)
8389 delete arg9;
8390 }
8391 return NULL;
8392 }
8393
8394
8395 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
8396 PyObject *resultobj;
8397 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8398 int arg2 ;
8399 bool result;
8400 PyObject * obj0 = 0 ;
8401 PyObject * obj1 = 0 ;
8402 char *kwnames[] = {
8403 (char *) "self",(char *) "index", NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
8407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8408 if (SWIG_arg_fail(1)) SWIG_fail;
8409 {
8410 arg2 = (int)(SWIG_As_int(obj1));
8411 if (SWIG_arg_fail(2)) SWIG_fail;
8412 }
8413 {
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 result = (bool)(arg1)->IsChecked(arg2);
8416
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 {
8421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8422 }
8423 return resultobj;
8424 fail:
8425 return NULL;
8426 }
8427
8428
8429 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
8430 PyObject *resultobj;
8431 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8432 int arg2 ;
8433 int arg3 = (int) true ;
8434 PyObject * obj0 = 0 ;
8435 PyObject * obj1 = 0 ;
8436 PyObject * obj2 = 0 ;
8437 char *kwnames[] = {
8438 (char *) "self",(char *) "index",(char *) "check", NULL
8439 };
8440
8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
8442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8443 if (SWIG_arg_fail(1)) SWIG_fail;
8444 {
8445 arg2 = (int)(SWIG_As_int(obj1));
8446 if (SWIG_arg_fail(2)) SWIG_fail;
8447 }
8448 if (obj2) {
8449 {
8450 arg3 = (int)(SWIG_As_int(obj2));
8451 if (SWIG_arg_fail(3)) SWIG_fail;
8452 }
8453 }
8454 {
8455 PyThreadState* __tstate = wxPyBeginAllowThreads();
8456 (arg1)->Check(arg2,arg3);
8457
8458 wxPyEndAllowThreads(__tstate);
8459 if (PyErr_Occurred()) SWIG_fail;
8460 }
8461 Py_INCREF(Py_None); resultobj = Py_None;
8462 return resultobj;
8463 fail:
8464 return NULL;
8465 }
8466
8467
8468 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) {
8469 PyObject *resultobj;
8470 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8471 int result;
8472 PyObject * obj0 = 0 ;
8473 char *kwnames[] = {
8474 (char *) "self", NULL
8475 };
8476
8477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
8478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8479 if (SWIG_arg_fail(1)) SWIG_fail;
8480 {
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 result = (int)(arg1)->GetItemHeight();
8483
8484 wxPyEndAllowThreads(__tstate);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 }
8487 {
8488 resultobj = SWIG_From_int((int)(result));
8489 }
8490 return resultobj;
8491 fail:
8492 return NULL;
8493 }
8494
8495
8496 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8497 PyObject *resultobj;
8498 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8499 wxPoint *arg2 = 0 ;
8500 int result;
8501 wxPoint temp2 ;
8502 PyObject * obj0 = 0 ;
8503 PyObject * obj1 = 0 ;
8504 char *kwnames[] = {
8505 (char *) "self",(char *) "pt", NULL
8506 };
8507
8508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
8509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8510 if (SWIG_arg_fail(1)) SWIG_fail;
8511 {
8512 arg2 = &temp2;
8513 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8514 }
8515 {
8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
8517 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8518
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 {
8523 resultobj = SWIG_From_int((int)(result));
8524 }
8525 return resultobj;
8526 fail:
8527 return NULL;
8528 }
8529
8530
8531 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
8532 PyObject *resultobj;
8533 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8534 int arg2 ;
8535 int arg3 ;
8536 int result;
8537 PyObject * obj0 = 0 ;
8538 PyObject * obj1 = 0 ;
8539 PyObject * obj2 = 0 ;
8540 char *kwnames[] = {
8541 (char *) "self",(char *) "x",(char *) "y", NULL
8542 };
8543
8544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
8545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8546 if (SWIG_arg_fail(1)) SWIG_fail;
8547 {
8548 arg2 = (int)(SWIG_As_int(obj1));
8549 if (SWIG_arg_fail(2)) SWIG_fail;
8550 }
8551 {
8552 arg3 = (int)(SWIG_As_int(obj2));
8553 if (SWIG_arg_fail(3)) SWIG_fail;
8554 }
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 {
8563 resultobj = SWIG_From_int((int)(result));
8564 }
8565 return resultobj;
8566 fail:
8567 return NULL;
8568 }
8569
8570
8571 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
8572 PyObject *obj;
8573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8574 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8575 Py_INCREF(obj);
8576 return Py_BuildValue((char *)"");
8577 }
8578 static int _wrap_TextCtrlNameStr_set(PyObject *) {
8579 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8580 return 1;
8581 }
8582
8583
8584 static PyObject *_wrap_TextCtrlNameStr_get(void) {
8585 PyObject *pyobj;
8586
8587 {
8588 #if wxUSE_UNICODE
8589 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8590 #else
8591 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8592 #endif
8593 }
8594 return pyobj;
8595 }
8596
8597
8598 static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8599 PyObject *resultobj;
8600 wxColour const &arg1_defvalue = wxNullColour ;
8601 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
8602 wxColour const &arg2_defvalue = wxNullColour ;
8603 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8604 wxFont const &arg3_defvalue = wxNullFont ;
8605 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
8606 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
8607 wxTextAttr *result;
8608 wxColour temp1 ;
8609 wxColour temp2 ;
8610 PyObject * obj0 = 0 ;
8611 PyObject * obj1 = 0 ;
8612 PyObject * obj2 = 0 ;
8613 PyObject * obj3 = 0 ;
8614 char *kwnames[] = {
8615 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8616 };
8617
8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8619 if (obj0) {
8620 {
8621 arg1 = &temp1;
8622 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8623 }
8624 }
8625 if (obj1) {
8626 {
8627 arg2 = &temp2;
8628 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8629 }
8630 }
8631 if (obj2) {
8632 {
8633 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8634 if (SWIG_arg_fail(3)) SWIG_fail;
8635 if (arg3 == NULL) {
8636 SWIG_null_ref("wxFont");
8637 }
8638 if (SWIG_arg_fail(3)) SWIG_fail;
8639 }
8640 }
8641 if (obj3) {
8642 {
8643 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8644 if (SWIG_arg_fail(4)) SWIG_fail;
8645 }
8646 }
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8655 return resultobj;
8656 fail:
8657 return NULL;
8658 }
8659
8660
8661 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
8662 PyObject *resultobj;
8663 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8664 PyObject * obj0 = 0 ;
8665 char *kwnames[] = {
8666 (char *) "self", NULL
8667 };
8668
8669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
8670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8671 if (SWIG_arg_fail(1)) SWIG_fail;
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 delete arg1;
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 Py_INCREF(Py_None); resultobj = Py_None;
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj;
8688 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8689 PyObject * obj0 = 0 ;
8690 char *kwnames[] = {
8691 (char *) "self", NULL
8692 };
8693
8694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
8695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8696 if (SWIG_arg_fail(1)) SWIG_fail;
8697 {
8698 PyThreadState* __tstate = wxPyBeginAllowThreads();
8699 (arg1)->Init();
8700
8701 wxPyEndAllowThreads(__tstate);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 }
8704 Py_INCREF(Py_None); resultobj = Py_None;
8705 return resultobj;
8706 fail:
8707 return NULL;
8708 }
8709
8710
8711 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
8712 PyObject *resultobj;
8713 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8714 wxColour *arg2 = 0 ;
8715 wxColour temp2 ;
8716 PyObject * obj0 = 0 ;
8717 PyObject * obj1 = 0 ;
8718 char *kwnames[] = {
8719 (char *) "self",(char *) "colText", NULL
8720 };
8721
8722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
8723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8724 if (SWIG_arg_fail(1)) SWIG_fail;
8725 {
8726 arg2 = &temp2;
8727 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8728 }
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 (arg1)->SetTextColour((wxColour const &)*arg2);
8732
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 Py_INCREF(Py_None); resultobj = Py_None;
8737 return resultobj;
8738 fail:
8739 return NULL;
8740 }
8741
8742
8743 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
8744 PyObject *resultobj;
8745 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8746 wxColour *arg2 = 0 ;
8747 wxColour temp2 ;
8748 PyObject * obj0 = 0 ;
8749 PyObject * obj1 = 0 ;
8750 char *kwnames[] = {
8751 (char *) "self",(char *) "colBack", NULL
8752 };
8753
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
8755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8756 if (SWIG_arg_fail(1)) SWIG_fail;
8757 {
8758 arg2 = &temp2;
8759 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8760 }
8761 {
8762 PyThreadState* __tstate = wxPyBeginAllowThreads();
8763 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8764
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 Py_INCREF(Py_None); resultobj = Py_None;
8769 return resultobj;
8770 fail:
8771 return NULL;
8772 }
8773
8774
8775 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
8776 PyObject *resultobj;
8777 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8778 wxFont *arg2 = 0 ;
8779 long arg3 = (long) wxTEXT_ATTR_FONT ;
8780 PyObject * obj0 = 0 ;
8781 PyObject * obj1 = 0 ;
8782 PyObject * obj2 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self",(char *) "font",(char *) "flags", NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
8788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8789 if (SWIG_arg_fail(1)) SWIG_fail;
8790 {
8791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8792 if (SWIG_arg_fail(2)) SWIG_fail;
8793 if (arg2 == NULL) {
8794 SWIG_null_ref("wxFont");
8795 }
8796 if (SWIG_arg_fail(2)) SWIG_fail;
8797 }
8798 if (obj2) {
8799 {
8800 arg3 = (long)(SWIG_As_long(obj2));
8801 if (SWIG_arg_fail(3)) SWIG_fail;
8802 }
8803 }
8804 {
8805 PyThreadState* __tstate = wxPyBeginAllowThreads();
8806 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8807
8808 wxPyEndAllowThreads(__tstate);
8809 if (PyErr_Occurred()) SWIG_fail;
8810 }
8811 Py_INCREF(Py_None); resultobj = Py_None;
8812 return resultobj;
8813 fail:
8814 return NULL;
8815 }
8816
8817
8818 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8819 PyObject *resultobj;
8820 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8821 wxTextAttrAlignment arg2 ;
8822 PyObject * obj0 = 0 ;
8823 PyObject * obj1 = 0 ;
8824 char *kwnames[] = {
8825 (char *) "self",(char *) "alignment", NULL
8826 };
8827
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8830 if (SWIG_arg_fail(1)) SWIG_fail;
8831 {
8832 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8833 if (SWIG_arg_fail(2)) SWIG_fail;
8834 }
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
8837 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8838
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 Py_INCREF(Py_None); resultobj = Py_None;
8843 return resultobj;
8844 fail:
8845 return NULL;
8846 }
8847
8848
8849 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
8850 PyObject *resultobj;
8851 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8852 wxArrayInt *arg2 = 0 ;
8853 bool temp2 = false ;
8854 PyObject * obj0 = 0 ;
8855 PyObject * obj1 = 0 ;
8856 char *kwnames[] = {
8857 (char *) "self",(char *) "tabs", NULL
8858 };
8859
8860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
8861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8862 if (SWIG_arg_fail(1)) SWIG_fail;
8863 {
8864 if (! PySequence_Check(obj1)) {
8865 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8866 SWIG_fail;
8867 }
8868 arg2 = new wxArrayInt;
8869 temp2 = true;
8870 int i, len=PySequence_Length(obj1);
8871 for (i=0; i<len; i++) {
8872 PyObject* item = PySequence_GetItem(obj1, i);
8873 PyObject* number = PyNumber_Int(item);
8874 arg2->Add(PyInt_AS_LONG(number));
8875 Py_DECREF(item);
8876 Py_DECREF(number);
8877 }
8878 }
8879 {
8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
8881 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8882
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 Py_INCREF(Py_None); resultobj = Py_None;
8887 {
8888 if (temp2) delete arg2;
8889 }
8890 return resultobj;
8891 fail:
8892 {
8893 if (temp2) delete arg2;
8894 }
8895 return NULL;
8896 }
8897
8898
8899 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8900 PyObject *resultobj;
8901 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8902 int arg2 ;
8903 int arg3 = (int) 0 ;
8904 PyObject * obj0 = 0 ;
8905 PyObject * obj1 = 0 ;
8906 PyObject * obj2 = 0 ;
8907 char *kwnames[] = {
8908 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8909 };
8910
8911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
8912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8913 if (SWIG_arg_fail(1)) SWIG_fail;
8914 {
8915 arg2 = (int)(SWIG_As_int(obj1));
8916 if (SWIG_arg_fail(2)) SWIG_fail;
8917 }
8918 if (obj2) {
8919 {
8920 arg3 = (int)(SWIG_As_int(obj2));
8921 if (SWIG_arg_fail(3)) SWIG_fail;
8922 }
8923 }
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 (arg1)->SetLeftIndent(arg2,arg3);
8927
8928 wxPyEndAllowThreads(__tstate);
8929 if (PyErr_Occurred()) SWIG_fail;
8930 }
8931 Py_INCREF(Py_None); resultobj = Py_None;
8932 return resultobj;
8933 fail:
8934 return NULL;
8935 }
8936
8937
8938 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
8939 PyObject *resultobj;
8940 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8941 int arg2 ;
8942 PyObject * obj0 = 0 ;
8943 PyObject * obj1 = 0 ;
8944 char *kwnames[] = {
8945 (char *) "self",(char *) "indent", NULL
8946 };
8947
8948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
8949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8950 if (SWIG_arg_fail(1)) SWIG_fail;
8951 {
8952 arg2 = (int)(SWIG_As_int(obj1));
8953 if (SWIG_arg_fail(2)) SWIG_fail;
8954 }
8955 {
8956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8957 (arg1)->SetRightIndent(arg2);
8958
8959 wxPyEndAllowThreads(__tstate);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 }
8962 Py_INCREF(Py_None); resultobj = Py_None;
8963 return resultobj;
8964 fail:
8965 return NULL;
8966 }
8967
8968
8969 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8970 PyObject *resultobj;
8971 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8972 long arg2 ;
8973 PyObject * obj0 = 0 ;
8974 PyObject * obj1 = 0 ;
8975 char *kwnames[] = {
8976 (char *) "self",(char *) "flags", NULL
8977 };
8978
8979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8981 if (SWIG_arg_fail(1)) SWIG_fail;
8982 {
8983 arg2 = (long)(SWIG_As_long(obj1));
8984 if (SWIG_arg_fail(2)) SWIG_fail;
8985 }
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 (arg1)->SetFlags(arg2);
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 Py_INCREF(Py_None); resultobj = Py_None;
8994 return resultobj;
8995 fail:
8996 return NULL;
8997 }
8998
8999
9000 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9003 bool result;
9004 PyObject * obj0 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "self", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
9010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9011 if (SWIG_arg_fail(1)) SWIG_fail;
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
9015
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 {
9020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9021 }
9022 return resultobj;
9023 fail:
9024 return NULL;
9025 }
9026
9027
9028 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9029 PyObject *resultobj;
9030 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9031 bool result;
9032 PyObject * obj0 = 0 ;
9033 char *kwnames[] = {
9034 (char *) "self", NULL
9035 };
9036
9037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
9038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9039 if (SWIG_arg_fail(1)) SWIG_fail;
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
9043
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 {
9048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9049 }
9050 return resultobj;
9051 fail:
9052 return NULL;
9053 }
9054
9055
9056 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
9057 PyObject *resultobj;
9058 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9059 bool result;
9060 PyObject * obj0 = 0 ;
9061 char *kwnames[] = {
9062 (char *) "self", NULL
9063 };
9064
9065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
9066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9067 if (SWIG_arg_fail(1)) SWIG_fail;
9068 {
9069 PyThreadState* __tstate = wxPyBeginAllowThreads();
9070 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9071
9072 wxPyEndAllowThreads(__tstate);
9073 if (PyErr_Occurred()) SWIG_fail;
9074 }
9075 {
9076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9077 }
9078 return resultobj;
9079 fail:
9080 return NULL;
9081 }
9082
9083
9084 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9085 PyObject *resultobj;
9086 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9087 bool result;
9088 PyObject * obj0 = 0 ;
9089 char *kwnames[] = {
9090 (char *) "self", NULL
9091 };
9092
9093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
9094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9095 if (SWIG_arg_fail(1)) SWIG_fail;
9096 {
9097 PyThreadState* __tstate = wxPyBeginAllowThreads();
9098 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9099
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 {
9104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9105 }
9106 return resultobj;
9107 fail:
9108 return NULL;
9109 }
9110
9111
9112 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj;
9114 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9115 bool result;
9116 PyObject * obj0 = 0 ;
9117 char *kwnames[] = {
9118 (char *) "self", NULL
9119 };
9120
9121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
9122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9123 if (SWIG_arg_fail(1)) SWIG_fail;
9124 {
9125 PyThreadState* __tstate = wxPyBeginAllowThreads();
9126 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9127
9128 wxPyEndAllowThreads(__tstate);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 }
9131 {
9132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9133 }
9134 return resultobj;
9135 fail:
9136 return NULL;
9137 }
9138
9139
9140 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj;
9142 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9143 bool result;
9144 PyObject * obj0 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
9150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail;
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 {
9160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9161 }
9162 return resultobj;
9163 fail:
9164 return NULL;
9165 }
9166
9167
9168 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9169 PyObject *resultobj;
9170 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9171 bool result;
9172 PyObject * obj0 = 0 ;
9173 char *kwnames[] = {
9174 (char *) "self", NULL
9175 };
9176
9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
9178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9179 if (SWIG_arg_fail(1)) SWIG_fail;
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 {
9188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9189 }
9190 return resultobj;
9191 fail:
9192 return NULL;
9193 }
9194
9195
9196 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
9197 PyObject *resultobj;
9198 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9199 long arg2 ;
9200 bool result;
9201 PyObject * obj0 = 0 ;
9202 PyObject * obj1 = 0 ;
9203 char *kwnames[] = {
9204 (char *) "self",(char *) "flag", NULL
9205 };
9206
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
9208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9209 if (SWIG_arg_fail(1)) SWIG_fail;
9210 {
9211 arg2 = (long)(SWIG_As_long(obj1));
9212 if (SWIG_arg_fail(2)) SWIG_fail;
9213 }
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
9221 {
9222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9223 }
9224 return resultobj;
9225 fail:
9226 return NULL;
9227 }
9228
9229
9230 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj;
9232 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9233 wxColour *result;
9234 PyObject * obj0 = 0 ;
9235 char *kwnames[] = {
9236 (char *) "self", NULL
9237 };
9238
9239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
9240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9241 if (SWIG_arg_fail(1)) SWIG_fail;
9242 {
9243 PyThreadState* __tstate = wxPyBeginAllowThreads();
9244 {
9245 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9246 result = (wxColour *) &_result_ref;
9247 }
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9253 return resultobj;
9254 fail:
9255 return NULL;
9256 }
9257
9258
9259 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
9260 PyObject *resultobj;
9261 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9262 wxColour *result;
9263 PyObject * obj0 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
9269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9270 if (SWIG_arg_fail(1)) SWIG_fail;
9271 {
9272 PyThreadState* __tstate = wxPyBeginAllowThreads();
9273 {
9274 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9275 result = (wxColour *) &_result_ref;
9276 }
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9282 return resultobj;
9283 fail:
9284 return NULL;
9285 }
9286
9287
9288 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj;
9290 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9291 wxFont *result;
9292 PyObject * obj0 = 0 ;
9293 char *kwnames[] = {
9294 (char *) "self", NULL
9295 };
9296
9297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
9298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9299 if (SWIG_arg_fail(1)) SWIG_fail;
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 {
9303 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9304 result = (wxFont *) &_result_ref;
9305 }
9306
9307 wxPyEndAllowThreads(__tstate);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
9310 {
9311 wxFont* resultptr = new wxFont(*result);
9312 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9313 }
9314 return resultobj;
9315 fail:
9316 return NULL;
9317 }
9318
9319
9320 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9321 PyObject *resultobj;
9322 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9323 wxTextAttrAlignment result;
9324 PyObject * obj0 = 0 ;
9325 char *kwnames[] = {
9326 (char *) "self", NULL
9327 };
9328
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
9330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9331 if (SWIG_arg_fail(1)) SWIG_fail;
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 resultobj = SWIG_From_int((result));
9340 return resultobj;
9341 fail:
9342 return NULL;
9343 }
9344
9345
9346 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj;
9348 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9349 wxArrayInt *result;
9350 PyObject * obj0 = 0 ;
9351 char *kwnames[] = {
9352 (char *) "self", NULL
9353 };
9354
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
9356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9357 if (SWIG_arg_fail(1)) SWIG_fail;
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 {
9361 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9362 result = (wxArrayInt *) &_result_ref;
9363 }
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 {
9369 resultobj = PyList_New(0);
9370 size_t idx;
9371 for (idx = 0; idx < result->GetCount(); idx += 1) {
9372 PyObject* val = PyInt_FromLong( result->Item(idx) );
9373 PyList_Append(resultobj, val);
9374 Py_DECREF(val);
9375 }
9376 }
9377 return resultobj;
9378 fail:
9379 return NULL;
9380 }
9381
9382
9383 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9384 PyObject *resultobj;
9385 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9386 long result;
9387 PyObject * obj0 = 0 ;
9388 char *kwnames[] = {
9389 (char *) "self", NULL
9390 };
9391
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
9393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9394 if (SWIG_arg_fail(1)) SWIG_fail;
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9398
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) SWIG_fail;
9401 }
9402 {
9403 resultobj = SWIG_From_long((long)(result));
9404 }
9405 return resultobj;
9406 fail:
9407 return NULL;
9408 }
9409
9410
9411 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9412 PyObject *resultobj;
9413 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9414 long result;
9415 PyObject * obj0 = 0 ;
9416 char *kwnames[] = {
9417 (char *) "self", NULL
9418 };
9419
9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
9421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9422 if (SWIG_arg_fail(1)) SWIG_fail;
9423 {
9424 PyThreadState* __tstate = wxPyBeginAllowThreads();
9425 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9426
9427 wxPyEndAllowThreads(__tstate);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 }
9430 {
9431 resultobj = SWIG_From_long((long)(result));
9432 }
9433 return resultobj;
9434 fail:
9435 return NULL;
9436 }
9437
9438
9439 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9440 PyObject *resultobj;
9441 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9442 long result;
9443 PyObject * obj0 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
9449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9450 if (SWIG_arg_fail(1)) SWIG_fail;
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 {
9459 resultobj = SWIG_From_long((long)(result));
9460 }
9461 return resultobj;
9462 fail:
9463 return NULL;
9464 }
9465
9466
9467 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9468 PyObject *resultobj;
9469 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9470 long result;
9471 PyObject * obj0 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "self", NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
9477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9478 if (SWIG_arg_fail(1)) SWIG_fail;
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 {
9487 resultobj = SWIG_From_long((long)(result));
9488 }
9489 return resultobj;
9490 fail:
9491 return NULL;
9492 }
9493
9494
9495 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj;
9497 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9498 bool result;
9499 PyObject * obj0 = 0 ;
9500 char *kwnames[] = {
9501 (char *) "self", NULL
9502 };
9503
9504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
9505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9506 if (SWIG_arg_fail(1)) SWIG_fail;
9507 {
9508 PyThreadState* __tstate = wxPyBeginAllowThreads();
9509 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9510
9511 wxPyEndAllowThreads(__tstate);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
9514 {
9515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9516 }
9517 return resultobj;
9518 fail:
9519 return NULL;
9520 }
9521
9522
9523 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
9524 PyObject *resultobj;
9525 wxTextAttr *arg1 = 0 ;
9526 wxTextAttr *arg2 = 0 ;
9527 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9528 wxTextAttr result;
9529 PyObject * obj0 = 0 ;
9530 PyObject * obj1 = 0 ;
9531 PyObject * obj2 = 0 ;
9532 char *kwnames[] = {
9533 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9534 };
9535
9536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
9537 {
9538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9539 if (SWIG_arg_fail(1)) SWIG_fail;
9540 if (arg1 == NULL) {
9541 SWIG_null_ref("wxTextAttr");
9542 }
9543 if (SWIG_arg_fail(1)) SWIG_fail;
9544 }
9545 {
9546 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9547 if (SWIG_arg_fail(2)) SWIG_fail;
9548 if (arg2 == NULL) {
9549 SWIG_null_ref("wxTextAttr");
9550 }
9551 if (SWIG_arg_fail(2)) SWIG_fail;
9552 }
9553 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9554 if (SWIG_arg_fail(3)) SWIG_fail;
9555 {
9556 PyThreadState* __tstate = wxPyBeginAllowThreads();
9557 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9558
9559 wxPyEndAllowThreads(__tstate);
9560 if (PyErr_Occurred()) SWIG_fail;
9561 }
9562 {
9563 wxTextAttr * resultptr;
9564 resultptr = new wxTextAttr((wxTextAttr &)(result));
9565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9566 }
9567 return resultobj;
9568 fail:
9569 return NULL;
9570 }
9571
9572
9573 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
9574 PyObject *obj;
9575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9576 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9577 Py_INCREF(obj);
9578 return Py_BuildValue((char *)"");
9579 }
9580 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9581 PyObject *resultobj;
9582 wxWindow *arg1 = (wxWindow *) 0 ;
9583 int arg2 = (int) -1 ;
9584 wxString const &arg3_defvalue = wxPyEmptyString ;
9585 wxString *arg3 = (wxString *) &arg3_defvalue ;
9586 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9587 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9588 wxSize const &arg5_defvalue = wxDefaultSize ;
9589 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9590 long arg6 = (long) 0 ;
9591 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9592 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9593 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9594 wxString *arg8 = (wxString *) &arg8_defvalue ;
9595 wxTextCtrl *result;
9596 bool temp3 = false ;
9597 wxPoint temp4 ;
9598 wxSize temp5 ;
9599 bool temp8 = false ;
9600 PyObject * obj0 = 0 ;
9601 PyObject * obj1 = 0 ;
9602 PyObject * obj2 = 0 ;
9603 PyObject * obj3 = 0 ;
9604 PyObject * obj4 = 0 ;
9605 PyObject * obj5 = 0 ;
9606 PyObject * obj6 = 0 ;
9607 PyObject * obj7 = 0 ;
9608 char *kwnames[] = {
9609 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9610 };
9611
9612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9614 if (SWIG_arg_fail(1)) SWIG_fail;
9615 if (obj1) {
9616 {
9617 arg2 = (int)(SWIG_As_int(obj1));
9618 if (SWIG_arg_fail(2)) SWIG_fail;
9619 }
9620 }
9621 if (obj2) {
9622 {
9623 arg3 = wxString_in_helper(obj2);
9624 if (arg3 == NULL) SWIG_fail;
9625 temp3 = true;
9626 }
9627 }
9628 if (obj3) {
9629 {
9630 arg4 = &temp4;
9631 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9632 }
9633 }
9634 if (obj4) {
9635 {
9636 arg5 = &temp5;
9637 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9638 }
9639 }
9640 if (obj5) {
9641 {
9642 arg6 = (long)(SWIG_As_long(obj5));
9643 if (SWIG_arg_fail(6)) SWIG_fail;
9644 }
9645 }
9646 if (obj6) {
9647 {
9648 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9649 if (SWIG_arg_fail(7)) SWIG_fail;
9650 if (arg7 == NULL) {
9651 SWIG_null_ref("wxValidator");
9652 }
9653 if (SWIG_arg_fail(7)) SWIG_fail;
9654 }
9655 }
9656 if (obj7) {
9657 {
9658 arg8 = wxString_in_helper(obj7);
9659 if (arg8 == NULL) SWIG_fail;
9660 temp8 = true;
9661 }
9662 }
9663 {
9664 if (!wxPyCheckForApp()) SWIG_fail;
9665 PyThreadState* __tstate = wxPyBeginAllowThreads();
9666 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9667
9668 wxPyEndAllowThreads(__tstate);
9669 if (PyErr_Occurred()) SWIG_fail;
9670 }
9671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9672 {
9673 if (temp3)
9674 delete arg3;
9675 }
9676 {
9677 if (temp8)
9678 delete arg8;
9679 }
9680 return resultobj;
9681 fail:
9682 {
9683 if (temp3)
9684 delete arg3;
9685 }
9686 {
9687 if (temp8)
9688 delete arg8;
9689 }
9690 return NULL;
9691 }
9692
9693
9694 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj;
9696 wxTextCtrl *result;
9697 char *kwnames[] = {
9698 NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9702 {
9703 if (!wxPyCheckForApp()) SWIG_fail;
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 result = (wxTextCtrl *)new wxTextCtrl();
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
9711 return resultobj;
9712 fail:
9713 return NULL;
9714 }
9715
9716
9717 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj;
9719 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9720 wxWindow *arg2 = (wxWindow *) 0 ;
9721 int arg3 = (int) -1 ;
9722 wxString const &arg4_defvalue = wxPyEmptyString ;
9723 wxString *arg4 = (wxString *) &arg4_defvalue ;
9724 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9725 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9726 wxSize const &arg6_defvalue = wxDefaultSize ;
9727 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9728 long arg7 = (long) 0 ;
9729 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9730 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9731 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9732 wxString *arg9 = (wxString *) &arg9_defvalue ;
9733 bool result;
9734 bool temp4 = false ;
9735 wxPoint temp5 ;
9736 wxSize temp6 ;
9737 bool temp9 = false ;
9738 PyObject * obj0 = 0 ;
9739 PyObject * obj1 = 0 ;
9740 PyObject * obj2 = 0 ;
9741 PyObject * obj3 = 0 ;
9742 PyObject * obj4 = 0 ;
9743 PyObject * obj5 = 0 ;
9744 PyObject * obj6 = 0 ;
9745 PyObject * obj7 = 0 ;
9746 PyObject * obj8 = 0 ;
9747 char *kwnames[] = {
9748 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9749 };
9750
9751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
9752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9753 if (SWIG_arg_fail(1)) SWIG_fail;
9754 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9755 if (SWIG_arg_fail(2)) SWIG_fail;
9756 if (obj2) {
9757 {
9758 arg3 = (int)(SWIG_As_int(obj2));
9759 if (SWIG_arg_fail(3)) SWIG_fail;
9760 }
9761 }
9762 if (obj3) {
9763 {
9764 arg4 = wxString_in_helper(obj3);
9765 if (arg4 == NULL) SWIG_fail;
9766 temp4 = true;
9767 }
9768 }
9769 if (obj4) {
9770 {
9771 arg5 = &temp5;
9772 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9773 }
9774 }
9775 if (obj5) {
9776 {
9777 arg6 = &temp6;
9778 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9779 }
9780 }
9781 if (obj6) {
9782 {
9783 arg7 = (long)(SWIG_As_long(obj6));
9784 if (SWIG_arg_fail(7)) SWIG_fail;
9785 }
9786 }
9787 if (obj7) {
9788 {
9789 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9790 if (SWIG_arg_fail(8)) SWIG_fail;
9791 if (arg8 == NULL) {
9792 SWIG_null_ref("wxValidator");
9793 }
9794 if (SWIG_arg_fail(8)) SWIG_fail;
9795 }
9796 }
9797 if (obj8) {
9798 {
9799 arg9 = wxString_in_helper(obj8);
9800 if (arg9 == NULL) SWIG_fail;
9801 temp9 = true;
9802 }
9803 }
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9807
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
9811 {
9812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9813 }
9814 {
9815 if (temp4)
9816 delete arg4;
9817 }
9818 {
9819 if (temp9)
9820 delete arg9;
9821 }
9822 return resultobj;
9823 fail:
9824 {
9825 if (temp4)
9826 delete arg4;
9827 }
9828 {
9829 if (temp9)
9830 delete arg9;
9831 }
9832 return NULL;
9833 }
9834
9835
9836 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9837 PyObject *resultobj;
9838 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9839 wxString result;
9840 PyObject * obj0 = 0 ;
9841 char *kwnames[] = {
9842 (char *) "self", NULL
9843 };
9844
9845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
9846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9847 if (SWIG_arg_fail(1)) SWIG_fail;
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 result = ((wxTextCtrl const *)arg1)->GetValue();
9851
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 {
9856 #if wxUSE_UNICODE
9857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9858 #else
9859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9860 #endif
9861 }
9862 return resultobj;
9863 fail:
9864 return NULL;
9865 }
9866
9867
9868 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9869 PyObject *resultobj;
9870 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9871 wxString *arg2 = 0 ;
9872 bool temp2 = false ;
9873 PyObject * obj0 = 0 ;
9874 PyObject * obj1 = 0 ;
9875 char *kwnames[] = {
9876 (char *) "self",(char *) "value", NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
9880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9881 if (SWIG_arg_fail(1)) SWIG_fail;
9882 {
9883 arg2 = wxString_in_helper(obj1);
9884 if (arg2 == NULL) SWIG_fail;
9885 temp2 = true;
9886 }
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
9889 (arg1)->SetValue((wxString const &)*arg2);
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
9894 Py_INCREF(Py_None); resultobj = Py_None;
9895 {
9896 if (temp2)
9897 delete arg2;
9898 }
9899 return resultobj;
9900 fail:
9901 {
9902 if (temp2)
9903 delete arg2;
9904 }
9905 return NULL;
9906 }
9907
9908
9909 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9910 PyObject *resultobj;
9911 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9912 long arg2 ;
9913 long arg3 ;
9914 wxString result;
9915 PyObject * obj0 = 0 ;
9916 PyObject * obj1 = 0 ;
9917 PyObject * obj2 = 0 ;
9918 char *kwnames[] = {
9919 (char *) "self",(char *) "from",(char *) "to", NULL
9920 };
9921
9922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9924 if (SWIG_arg_fail(1)) SWIG_fail;
9925 {
9926 arg2 = (long)(SWIG_As_long(obj1));
9927 if (SWIG_arg_fail(2)) SWIG_fail;
9928 }
9929 {
9930 arg3 = (long)(SWIG_As_long(obj2));
9931 if (SWIG_arg_fail(3)) SWIG_fail;
9932 }
9933 {
9934 PyThreadState* __tstate = wxPyBeginAllowThreads();
9935 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9936
9937 wxPyEndAllowThreads(__tstate);
9938 if (PyErr_Occurred()) SWIG_fail;
9939 }
9940 {
9941 #if wxUSE_UNICODE
9942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9943 #else
9944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9945 #endif
9946 }
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9956 long arg2 ;
9957 int result;
9958 PyObject * obj0 = 0 ;
9959 PyObject * obj1 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self",(char *) "lineNo", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
9965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9966 if (SWIG_arg_fail(1)) SWIG_fail;
9967 {
9968 arg2 = (long)(SWIG_As_long(obj1));
9969 if (SWIG_arg_fail(2)) SWIG_fail;
9970 }
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
9974
9975 wxPyEndAllowThreads(__tstate);
9976 if (PyErr_Occurred()) SWIG_fail;
9977 }
9978 {
9979 resultobj = SWIG_From_int((int)(result));
9980 }
9981 return resultobj;
9982 fail:
9983 return NULL;
9984 }
9985
9986
9987 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
9988 PyObject *resultobj;
9989 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9990 long arg2 ;
9991 wxString result;
9992 PyObject * obj0 = 0 ;
9993 PyObject * obj1 = 0 ;
9994 char *kwnames[] = {
9995 (char *) "self",(char *) "lineNo", NULL
9996 };
9997
9998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
9999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10000 if (SWIG_arg_fail(1)) SWIG_fail;
10001 {
10002 arg2 = (long)(SWIG_As_long(obj1));
10003 if (SWIG_arg_fail(2)) SWIG_fail;
10004 }
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 {
10013 #if wxUSE_UNICODE
10014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10015 #else
10016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10017 #endif
10018 }
10019 return resultobj;
10020 fail:
10021 return NULL;
10022 }
10023
10024
10025 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
10026 PyObject *resultobj;
10027 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10028 int result;
10029 PyObject * obj0 = 0 ;
10030 char *kwnames[] = {
10031 (char *) "self", NULL
10032 };
10033
10034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
10035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10036 if (SWIG_arg_fail(1)) SWIG_fail;
10037 {
10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
10039 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
10040
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 {
10045 resultobj = SWIG_From_int((int)(result));
10046 }
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10056 bool result;
10057 PyObject * obj0 = 0 ;
10058 char *kwnames[] = {
10059 (char *) "self", NULL
10060 };
10061
10062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
10063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10064 if (SWIG_arg_fail(1)) SWIG_fail;
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 {
10073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10074 }
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
10082 PyObject *resultobj;
10083 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10084 bool result;
10085 PyObject * obj0 = 0 ;
10086 char *kwnames[] = {
10087 (char *) "self", NULL
10088 };
10089
10090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
10091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10092 if (SWIG_arg_fail(1)) SWIG_fail;
10093 {
10094 PyThreadState* __tstate = wxPyBeginAllowThreads();
10095 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10096
10097 wxPyEndAllowThreads(__tstate);
10098 if (PyErr_Occurred()) SWIG_fail;
10099 }
10100 {
10101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10102 }
10103 return resultobj;
10104 fail:
10105 return NULL;
10106 }
10107
10108
10109 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
10110 PyObject *resultobj;
10111 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10112 bool result;
10113 PyObject * obj0 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "self", NULL
10116 };
10117
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
10119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10120 if (SWIG_arg_fail(1)) SWIG_fail;
10121 {
10122 PyThreadState* __tstate = wxPyBeginAllowThreads();
10123 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10124
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 {
10129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10130 }
10131 return resultobj;
10132 fail:
10133 return NULL;
10134 }
10135
10136
10137 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
10138 PyObject *resultobj;
10139 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10140 bool result;
10141 PyObject * obj0 = 0 ;
10142 char *kwnames[] = {
10143 (char *) "self", NULL
10144 };
10145
10146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
10147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10148 if (SWIG_arg_fail(1)) SWIG_fail;
10149 {
10150 PyThreadState* __tstate = wxPyBeginAllowThreads();
10151 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10152
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 {
10157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10158 }
10159 return resultobj;
10160 fail:
10161 return NULL;
10162 }
10163
10164
10165 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10166 PyObject *resultobj;
10167 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10168 long *arg2 = (long *) 0 ;
10169 long *arg3 = (long *) 0 ;
10170 long temp2 ;
10171 int res2 = 0 ;
10172 long temp3 ;
10173 int res3 = 0 ;
10174 PyObject * obj0 = 0 ;
10175 char *kwnames[] = {
10176 (char *) "self", NULL
10177 };
10178
10179 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10180 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10183 if (SWIG_arg_fail(1)) SWIG_fail;
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10187
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 Py_INCREF(Py_None); resultobj = Py_None;
10192 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10193 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10194 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10195 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10196 return resultobj;
10197 fail:
10198 return NULL;
10199 }
10200
10201
10202 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10203 PyObject *resultobj;
10204 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10205 wxString result;
10206 PyObject * obj0 = 0 ;
10207 char *kwnames[] = {
10208 (char *) "self", NULL
10209 };
10210
10211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
10212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10213 if (SWIG_arg_fail(1)) SWIG_fail;
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 {
10222 #if wxUSE_UNICODE
10223 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10224 #else
10225 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10226 #endif
10227 }
10228 return resultobj;
10229 fail:
10230 return NULL;
10231 }
10232
10233
10234 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj;
10236 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10237 PyObject * obj0 = 0 ;
10238 char *kwnames[] = {
10239 (char *) "self", NULL
10240 };
10241
10242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
10243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10244 if (SWIG_arg_fail(1)) SWIG_fail;
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 (arg1)->Clear();
10248
10249 wxPyEndAllowThreads(__tstate);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 }
10252 Py_INCREF(Py_None); resultobj = Py_None;
10253 return resultobj;
10254 fail:
10255 return NULL;
10256 }
10257
10258
10259 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
10260 PyObject *resultobj;
10261 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10262 long arg2 ;
10263 long arg3 ;
10264 wxString *arg4 = 0 ;
10265 bool temp4 = false ;
10266 PyObject * obj0 = 0 ;
10267 PyObject * obj1 = 0 ;
10268 PyObject * obj2 = 0 ;
10269 PyObject * obj3 = 0 ;
10270 char *kwnames[] = {
10271 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10272 };
10273
10274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10276 if (SWIG_arg_fail(1)) SWIG_fail;
10277 {
10278 arg2 = (long)(SWIG_As_long(obj1));
10279 if (SWIG_arg_fail(2)) SWIG_fail;
10280 }
10281 {
10282 arg3 = (long)(SWIG_As_long(obj2));
10283 if (SWIG_arg_fail(3)) SWIG_fail;
10284 }
10285 {
10286 arg4 = wxString_in_helper(obj3);
10287 if (arg4 == NULL) SWIG_fail;
10288 temp4 = true;
10289 }
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 Py_INCREF(Py_None); resultobj = Py_None;
10298 {
10299 if (temp4)
10300 delete arg4;
10301 }
10302 return resultobj;
10303 fail:
10304 {
10305 if (temp4)
10306 delete arg4;
10307 }
10308 return NULL;
10309 }
10310
10311
10312 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
10313 PyObject *resultobj;
10314 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10315 long arg2 ;
10316 long arg3 ;
10317 PyObject * obj0 = 0 ;
10318 PyObject * obj1 = 0 ;
10319 PyObject * obj2 = 0 ;
10320 char *kwnames[] = {
10321 (char *) "self",(char *) "from",(char *) "to", NULL
10322 };
10323
10324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
10325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10326 if (SWIG_arg_fail(1)) SWIG_fail;
10327 {
10328 arg2 = (long)(SWIG_As_long(obj1));
10329 if (SWIG_arg_fail(2)) SWIG_fail;
10330 }
10331 {
10332 arg3 = (long)(SWIG_As_long(obj2));
10333 if (SWIG_arg_fail(3)) SWIG_fail;
10334 }
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 (arg1)->Remove(arg2,arg3);
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 Py_INCREF(Py_None); resultobj = Py_None;
10343 return resultobj;
10344 fail:
10345 return NULL;
10346 }
10347
10348
10349 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj;
10351 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10352 wxString *arg2 = 0 ;
10353 bool result;
10354 bool temp2 = false ;
10355 PyObject * obj0 = 0 ;
10356 PyObject * obj1 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "self",(char *) "file", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10363 if (SWIG_arg_fail(1)) SWIG_fail;
10364 {
10365 arg2 = wxString_in_helper(obj1);
10366 if (arg2 == NULL) SWIG_fail;
10367 temp2 = true;
10368 }
10369 {
10370 PyThreadState* __tstate = wxPyBeginAllowThreads();
10371 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10372
10373 wxPyEndAllowThreads(__tstate);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 }
10376 {
10377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10378 }
10379 {
10380 if (temp2)
10381 delete arg2;
10382 }
10383 return resultobj;
10384 fail:
10385 {
10386 if (temp2)
10387 delete arg2;
10388 }
10389 return NULL;
10390 }
10391
10392
10393 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10396 wxString const &arg2_defvalue = wxPyEmptyString ;
10397 wxString *arg2 = (wxString *) &arg2_defvalue ;
10398 bool result;
10399 bool temp2 = false ;
10400 PyObject * obj0 = 0 ;
10401 PyObject * obj1 = 0 ;
10402 char *kwnames[] = {
10403 (char *) "self",(char *) "file", NULL
10404 };
10405
10406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10408 if (SWIG_arg_fail(1)) SWIG_fail;
10409 if (obj1) {
10410 {
10411 arg2 = wxString_in_helper(obj1);
10412 if (arg2 == NULL) SWIG_fail;
10413 temp2 = true;
10414 }
10415 }
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 {
10424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10425 }
10426 {
10427 if (temp2)
10428 delete arg2;
10429 }
10430 return resultobj;
10431 fail:
10432 {
10433 if (temp2)
10434 delete arg2;
10435 }
10436 return NULL;
10437 }
10438
10439
10440 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
10441 PyObject *resultobj;
10442 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10443 PyObject * obj0 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
10449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10450 if (SWIG_arg_fail(1)) SWIG_fail;
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 (arg1)->MarkDirty();
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 Py_INCREF(Py_None); resultobj = Py_None;
10459 return resultobj;
10460 fail:
10461 return NULL;
10462 }
10463
10464
10465 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
10466 PyObject *resultobj;
10467 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10468 PyObject * obj0 = 0 ;
10469 char *kwnames[] = {
10470 (char *) "self", NULL
10471 };
10472
10473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
10474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10475 if (SWIG_arg_fail(1)) SWIG_fail;
10476 {
10477 PyThreadState* __tstate = wxPyBeginAllowThreads();
10478 (arg1)->DiscardEdits();
10479
10480 wxPyEndAllowThreads(__tstate);
10481 if (PyErr_Occurred()) SWIG_fail;
10482 }
10483 Py_INCREF(Py_None); resultobj = Py_None;
10484 return resultobj;
10485 fail:
10486 return NULL;
10487 }
10488
10489
10490 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
10491 PyObject *resultobj;
10492 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10493 unsigned long arg2 ;
10494 PyObject * obj0 = 0 ;
10495 PyObject * obj1 = 0 ;
10496 char *kwnames[] = {
10497 (char *) "self",(char *) "len", NULL
10498 };
10499
10500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
10501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10502 if (SWIG_arg_fail(1)) SWIG_fail;
10503 {
10504 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10505 if (SWIG_arg_fail(2)) SWIG_fail;
10506 }
10507 {
10508 PyThreadState* __tstate = wxPyBeginAllowThreads();
10509 (arg1)->SetMaxLength(arg2);
10510
10511 wxPyEndAllowThreads(__tstate);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 }
10514 Py_INCREF(Py_None); resultobj = Py_None;
10515 return resultobj;
10516 fail:
10517 return NULL;
10518 }
10519
10520
10521 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
10522 PyObject *resultobj;
10523 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10524 wxString *arg2 = 0 ;
10525 bool temp2 = false ;
10526 PyObject * obj0 = 0 ;
10527 PyObject * obj1 = 0 ;
10528 char *kwnames[] = {
10529 (char *) "self",(char *) "text", NULL
10530 };
10531
10532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
10533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10534 if (SWIG_arg_fail(1)) SWIG_fail;
10535 {
10536 arg2 = wxString_in_helper(obj1);
10537 if (arg2 == NULL) SWIG_fail;
10538 temp2 = true;
10539 }
10540 {
10541 PyThreadState* __tstate = wxPyBeginAllowThreads();
10542 (arg1)->WriteText((wxString const &)*arg2);
10543
10544 wxPyEndAllowThreads(__tstate);
10545 if (PyErr_Occurred()) SWIG_fail;
10546 }
10547 Py_INCREF(Py_None); resultobj = Py_None;
10548 {
10549 if (temp2)
10550 delete arg2;
10551 }
10552 return resultobj;
10553 fail:
10554 {
10555 if (temp2)
10556 delete arg2;
10557 }
10558 return NULL;
10559 }
10560
10561
10562 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10565 wxString *arg2 = 0 ;
10566 bool temp2 = false ;
10567 PyObject * obj0 = 0 ;
10568 PyObject * obj1 = 0 ;
10569 char *kwnames[] = {
10570 (char *) "self",(char *) "text", NULL
10571 };
10572
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
10574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10575 if (SWIG_arg_fail(1)) SWIG_fail;
10576 {
10577 arg2 = wxString_in_helper(obj1);
10578 if (arg2 == NULL) SWIG_fail;
10579 temp2 = true;
10580 }
10581 {
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 (arg1)->AppendText((wxString const &)*arg2);
10584
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 Py_INCREF(Py_None); resultobj = Py_None;
10589 {
10590 if (temp2)
10591 delete arg2;
10592 }
10593 return resultobj;
10594 fail:
10595 {
10596 if (temp2)
10597 delete arg2;
10598 }
10599 return NULL;
10600 }
10601
10602
10603 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
10604 PyObject *resultobj;
10605 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10606 wxKeyEvent *arg2 = 0 ;
10607 bool result;
10608 PyObject * obj0 = 0 ;
10609 PyObject * obj1 = 0 ;
10610 char *kwnames[] = {
10611 (char *) "self",(char *) "event", NULL
10612 };
10613
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
10615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10616 if (SWIG_arg_fail(1)) SWIG_fail;
10617 {
10618 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10619 if (SWIG_arg_fail(2)) SWIG_fail;
10620 if (arg2 == NULL) {
10621 SWIG_null_ref("wxKeyEvent");
10622 }
10623 if (SWIG_arg_fail(2)) SWIG_fail;
10624 }
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 {
10633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10634 }
10635 return resultobj;
10636 fail:
10637 return NULL;
10638 }
10639
10640
10641 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10642 PyObject *resultobj;
10643 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10644 long arg2 ;
10645 long arg3 ;
10646 wxTextAttr *arg4 = 0 ;
10647 bool result;
10648 PyObject * obj0 = 0 ;
10649 PyObject * obj1 = 0 ;
10650 PyObject * obj2 = 0 ;
10651 PyObject * obj3 = 0 ;
10652 char *kwnames[] = {
10653 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10654 };
10655
10656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10658 if (SWIG_arg_fail(1)) SWIG_fail;
10659 {
10660 arg2 = (long)(SWIG_As_long(obj1));
10661 if (SWIG_arg_fail(2)) SWIG_fail;
10662 }
10663 {
10664 arg3 = (long)(SWIG_As_long(obj2));
10665 if (SWIG_arg_fail(3)) SWIG_fail;
10666 }
10667 {
10668 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10669 if (SWIG_arg_fail(4)) SWIG_fail;
10670 if (arg4 == NULL) {
10671 SWIG_null_ref("wxTextAttr");
10672 }
10673 if (SWIG_arg_fail(4)) SWIG_fail;
10674 }
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10678
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 {
10683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10684 }
10685 return resultobj;
10686 fail:
10687 return NULL;
10688 }
10689
10690
10691 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10692 PyObject *resultobj;
10693 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10694 long arg2 ;
10695 wxTextAttr *arg3 = 0 ;
10696 bool result;
10697 PyObject * obj0 = 0 ;
10698 PyObject * obj1 = 0 ;
10699 PyObject * obj2 = 0 ;
10700 char *kwnames[] = {
10701 (char *) "self",(char *) "position",(char *) "style", NULL
10702 };
10703
10704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
10705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10706 if (SWIG_arg_fail(1)) SWIG_fail;
10707 {
10708 arg2 = (long)(SWIG_As_long(obj1));
10709 if (SWIG_arg_fail(2)) SWIG_fail;
10710 }
10711 {
10712 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10713 if (SWIG_arg_fail(3)) SWIG_fail;
10714 if (arg3 == NULL) {
10715 SWIG_null_ref("wxTextAttr");
10716 }
10717 if (SWIG_arg_fail(3)) SWIG_fail;
10718 }
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10722
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 {
10727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10728 }
10729 return resultobj;
10730 fail:
10731 return NULL;
10732 }
10733
10734
10735 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10736 PyObject *resultobj;
10737 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10738 wxTextAttr *arg2 = 0 ;
10739 bool result;
10740 PyObject * obj0 = 0 ;
10741 PyObject * obj1 = 0 ;
10742 char *kwnames[] = {
10743 (char *) "self",(char *) "style", NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
10747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10748 if (SWIG_arg_fail(1)) SWIG_fail;
10749 {
10750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10751 if (SWIG_arg_fail(2)) SWIG_fail;
10752 if (arg2 == NULL) {
10753 SWIG_null_ref("wxTextAttr");
10754 }
10755 if (SWIG_arg_fail(2)) SWIG_fail;
10756 }
10757 {
10758 PyThreadState* __tstate = wxPyBeginAllowThreads();
10759 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10760
10761 wxPyEndAllowThreads(__tstate);
10762 if (PyErr_Occurred()) SWIG_fail;
10763 }
10764 {
10765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10766 }
10767 return resultobj;
10768 fail:
10769 return NULL;
10770 }
10771
10772
10773 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
10774 PyObject *resultobj;
10775 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10776 wxTextAttr *result;
10777 PyObject * obj0 = 0 ;
10778 char *kwnames[] = {
10779 (char *) "self", NULL
10780 };
10781
10782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
10783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10784 if (SWIG_arg_fail(1)) SWIG_fail;
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 {
10788 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10789 result = (wxTextAttr *) &_result_ref;
10790 }
10791
10792 wxPyEndAllowThreads(__tstate);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10796 return resultobj;
10797 fail:
10798 return NULL;
10799 }
10800
10801
10802 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10803 PyObject *resultobj;
10804 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10805 long arg2 ;
10806 long arg3 ;
10807 long result;
10808 PyObject * obj0 = 0 ;
10809 PyObject * obj1 = 0 ;
10810 PyObject * obj2 = 0 ;
10811 char *kwnames[] = {
10812 (char *) "self",(char *) "x",(char *) "y", NULL
10813 };
10814
10815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
10816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10817 if (SWIG_arg_fail(1)) SWIG_fail;
10818 {
10819 arg2 = (long)(SWIG_As_long(obj1));
10820 if (SWIG_arg_fail(2)) SWIG_fail;
10821 }
10822 {
10823 arg3 = (long)(SWIG_As_long(obj2));
10824 if (SWIG_arg_fail(3)) SWIG_fail;
10825 }
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10829
10830 wxPyEndAllowThreads(__tstate);
10831 if (PyErr_Occurred()) SWIG_fail;
10832 }
10833 {
10834 resultobj = SWIG_From_long((long)(result));
10835 }
10836 return resultobj;
10837 fail:
10838 return NULL;
10839 }
10840
10841
10842 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj;
10844 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10845 long arg2 ;
10846 long *arg3 = (long *) 0 ;
10847 long *arg4 = (long *) 0 ;
10848 long temp3 ;
10849 int res3 = 0 ;
10850 long temp4 ;
10851 int res4 = 0 ;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self",(char *) "pos", NULL
10856 };
10857
10858 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10859 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
10861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10862 if (SWIG_arg_fail(1)) SWIG_fail;
10863 {
10864 arg2 = (long)(SWIG_As_long(obj1));
10865 if (SWIG_arg_fail(2)) SWIG_fail;
10866 }
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10870
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 Py_INCREF(Py_None); resultobj = Py_None;
10875 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10876 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10877 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10878 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10879 return resultobj;
10880 fail:
10881 return NULL;
10882 }
10883
10884
10885 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10886 PyObject *resultobj;
10887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10888 long arg2 ;
10889 PyObject * obj0 = 0 ;
10890 PyObject * obj1 = 0 ;
10891 char *kwnames[] = {
10892 (char *) "self",(char *) "pos", NULL
10893 };
10894
10895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
10896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10897 if (SWIG_arg_fail(1)) SWIG_fail;
10898 {
10899 arg2 = (long)(SWIG_As_long(obj1));
10900 if (SWIG_arg_fail(2)) SWIG_fail;
10901 }
10902 {
10903 PyThreadState* __tstate = wxPyBeginAllowThreads();
10904 (arg1)->ShowPosition(arg2);
10905
10906 wxPyEndAllowThreads(__tstate);
10907 if (PyErr_Occurred()) SWIG_fail;
10908 }
10909 Py_INCREF(Py_None); resultobj = Py_None;
10910 return resultobj;
10911 fail:
10912 return NULL;
10913 }
10914
10915
10916 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
10917 PyObject *resultobj;
10918 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10919 wxPoint *arg2 = 0 ;
10920 long *arg3 = (long *) 0 ;
10921 long *arg4 = (long *) 0 ;
10922 wxTextCtrlHitTestResult result;
10923 wxPoint temp2 ;
10924 long temp3 ;
10925 int res3 = 0 ;
10926 long temp4 ;
10927 int res4 = 0 ;
10928 PyObject * obj0 = 0 ;
10929 PyObject * obj1 = 0 ;
10930 char *kwnames[] = {
10931 (char *) "self",(char *) "pt", NULL
10932 };
10933
10934 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10935 arg4 = &temp4; res4 = SWIG_NEWOBJ;
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
10937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10938 if (SWIG_arg_fail(1)) SWIG_fail;
10939 {
10940 arg2 = &temp2;
10941 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10942 }
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
10946
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 resultobj = SWIG_From_int((result));
10951 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10952 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10953 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10954 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
10955 return resultobj;
10956 fail:
10957 return NULL;
10958 }
10959
10960
10961 static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
10962 PyObject *resultobj;
10963 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10964 wxPoint *arg2 = 0 ;
10965 long *arg3 = (long *) 0 ;
10966 wxTextCtrlHitTestResult result;
10967 wxPoint temp2 ;
10968 long temp3 ;
10969 int res3 = 0 ;
10970 PyObject * obj0 = 0 ;
10971 PyObject * obj1 = 0 ;
10972 char *kwnames[] = {
10973 (char *) "self",(char *) "pt", NULL
10974 };
10975
10976 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
10978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10979 if (SWIG_arg_fail(1)) SWIG_fail;
10980 {
10981 arg2 = &temp2;
10982 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10983 }
10984 {
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
10986 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
10987
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
10991 resultobj = SWIG_From_int((result));
10992 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10993 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10994 return resultobj;
10995 fail:
10996 return NULL;
10997 }
10998
10999
11000 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
11001 PyObject *resultobj;
11002 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11003 PyObject * obj0 = 0 ;
11004 char *kwnames[] = {
11005 (char *) "self", NULL
11006 };
11007
11008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
11009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11010 if (SWIG_arg_fail(1)) SWIG_fail;
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 (arg1)->Copy();
11014
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 Py_INCREF(Py_None); resultobj = Py_None;
11019 return resultobj;
11020 fail:
11021 return NULL;
11022 }
11023
11024
11025 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj;
11027 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11028 PyObject * obj0 = 0 ;
11029 char *kwnames[] = {
11030 (char *) "self", NULL
11031 };
11032
11033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
11034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11035 if (SWIG_arg_fail(1)) SWIG_fail;
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 (arg1)->Cut();
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 Py_INCREF(Py_None); resultobj = Py_None;
11044 return resultobj;
11045 fail:
11046 return NULL;
11047 }
11048
11049
11050 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj;
11052 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11053 PyObject * obj0 = 0 ;
11054 char *kwnames[] = {
11055 (char *) "self", NULL
11056 };
11057
11058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
11059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11060 if (SWIG_arg_fail(1)) SWIG_fail;
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 (arg1)->Paste();
11064
11065 wxPyEndAllowThreads(__tstate);
11066 if (PyErr_Occurred()) SWIG_fail;
11067 }
11068 Py_INCREF(Py_None); resultobj = Py_None;
11069 return resultobj;
11070 fail:
11071 return NULL;
11072 }
11073
11074
11075 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11076 PyObject *resultobj;
11077 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11078 bool result;
11079 PyObject * obj0 = 0 ;
11080 char *kwnames[] = {
11081 (char *) "self", NULL
11082 };
11083
11084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
11085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11086 if (SWIG_arg_fail(1)) SWIG_fail;
11087 {
11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
11089 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11090
11091 wxPyEndAllowThreads(__tstate);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 }
11094 {
11095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11096 }
11097 return resultobj;
11098 fail:
11099 return NULL;
11100 }
11101
11102
11103 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
11104 PyObject *resultobj;
11105 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11106 bool result;
11107 PyObject * obj0 = 0 ;
11108 char *kwnames[] = {
11109 (char *) "self", NULL
11110 };
11111
11112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
11113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11114 if (SWIG_arg_fail(1)) SWIG_fail;
11115 {
11116 PyThreadState* __tstate = wxPyBeginAllowThreads();
11117 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11118
11119 wxPyEndAllowThreads(__tstate);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 {
11123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11124 }
11125 return resultobj;
11126 fail:
11127 return NULL;
11128 }
11129
11130
11131 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj;
11133 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11134 bool result;
11135 PyObject * obj0 = 0 ;
11136 char *kwnames[] = {
11137 (char *) "self", NULL
11138 };
11139
11140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
11141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11142 if (SWIG_arg_fail(1)) SWIG_fail;
11143 {
11144 PyThreadState* __tstate = wxPyBeginAllowThreads();
11145 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11146
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 {
11151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11152 }
11153 return resultobj;
11154 fail:
11155 return NULL;
11156 }
11157
11158
11159 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
11160 PyObject *resultobj;
11161 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11162 PyObject * obj0 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "self", NULL
11165 };
11166
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
11168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11169 if (SWIG_arg_fail(1)) SWIG_fail;
11170 {
11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
11172 (arg1)->Undo();
11173
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 Py_INCREF(Py_None); resultobj = Py_None;
11178 return resultobj;
11179 fail:
11180 return NULL;
11181 }
11182
11183
11184 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
11185 PyObject *resultobj;
11186 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11187 PyObject * obj0 = 0 ;
11188 char *kwnames[] = {
11189 (char *) "self", NULL
11190 };
11191
11192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
11193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11194 if (SWIG_arg_fail(1)) SWIG_fail;
11195 {
11196 PyThreadState* __tstate = wxPyBeginAllowThreads();
11197 (arg1)->Redo();
11198
11199 wxPyEndAllowThreads(__tstate);
11200 if (PyErr_Occurred()) SWIG_fail;
11201 }
11202 Py_INCREF(Py_None); resultobj = Py_None;
11203 return resultobj;
11204 fail:
11205 return NULL;
11206 }
11207
11208
11209 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
11210 PyObject *resultobj;
11211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11212 bool result;
11213 PyObject * obj0 = 0 ;
11214 char *kwnames[] = {
11215 (char *) "self", NULL
11216 };
11217
11218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
11219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11220 if (SWIG_arg_fail(1)) SWIG_fail;
11221 {
11222 PyThreadState* __tstate = wxPyBeginAllowThreads();
11223 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11224
11225 wxPyEndAllowThreads(__tstate);
11226 if (PyErr_Occurred()) SWIG_fail;
11227 }
11228 {
11229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11230 }
11231 return resultobj;
11232 fail:
11233 return NULL;
11234 }
11235
11236
11237 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
11238 PyObject *resultobj;
11239 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11240 bool result;
11241 PyObject * obj0 = 0 ;
11242 char *kwnames[] = {
11243 (char *) "self", NULL
11244 };
11245
11246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
11247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11248 if (SWIG_arg_fail(1)) SWIG_fail;
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 {
11257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11258 }
11259 return resultobj;
11260 fail:
11261 return NULL;
11262 }
11263
11264
11265 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11266 PyObject *resultobj;
11267 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11268 long arg2 ;
11269 PyObject * obj0 = 0 ;
11270 PyObject * obj1 = 0 ;
11271 char *kwnames[] = {
11272 (char *) "self",(char *) "pos", NULL
11273 };
11274
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
11276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11277 if (SWIG_arg_fail(1)) SWIG_fail;
11278 {
11279 arg2 = (long)(SWIG_As_long(obj1));
11280 if (SWIG_arg_fail(2)) SWIG_fail;
11281 }
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 (arg1)->SetInsertionPoint(arg2);
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 Py_INCREF(Py_None); resultobj = Py_None;
11290 return resultobj;
11291 fail:
11292 return NULL;
11293 }
11294
11295
11296 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11297 PyObject *resultobj;
11298 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11299 PyObject * obj0 = 0 ;
11300 char *kwnames[] = {
11301 (char *) "self", NULL
11302 };
11303
11304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
11305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11306 if (SWIG_arg_fail(1)) SWIG_fail;
11307 {
11308 PyThreadState* __tstate = wxPyBeginAllowThreads();
11309 (arg1)->SetInsertionPointEnd();
11310
11311 wxPyEndAllowThreads(__tstate);
11312 if (PyErr_Occurred()) SWIG_fail;
11313 }
11314 Py_INCREF(Py_None); resultobj = Py_None;
11315 return resultobj;
11316 fail:
11317 return NULL;
11318 }
11319
11320
11321 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
11322 PyObject *resultobj;
11323 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11324 long result;
11325 PyObject * obj0 = 0 ;
11326 char *kwnames[] = {
11327 (char *) "self", NULL
11328 };
11329
11330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
11331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11332 if (SWIG_arg_fail(1)) SWIG_fail;
11333 {
11334 PyThreadState* __tstate = wxPyBeginAllowThreads();
11335 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11336
11337 wxPyEndAllowThreads(__tstate);
11338 if (PyErr_Occurred()) SWIG_fail;
11339 }
11340 {
11341 resultobj = SWIG_From_long((long)(result));
11342 }
11343 return resultobj;
11344 fail:
11345 return NULL;
11346 }
11347
11348
11349 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11350 PyObject *resultobj;
11351 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11352 long result;
11353 PyObject * obj0 = 0 ;
11354 char *kwnames[] = {
11355 (char *) "self", NULL
11356 };
11357
11358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
11359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11360 if (SWIG_arg_fail(1)) SWIG_fail;
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11364
11365 wxPyEndAllowThreads(__tstate);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 }
11368 {
11369 resultobj = SWIG_From_long((long)(result));
11370 }
11371 return resultobj;
11372 fail:
11373 return NULL;
11374 }
11375
11376
11377 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11378 PyObject *resultobj;
11379 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11380 long arg2 ;
11381 long arg3 ;
11382 PyObject * obj0 = 0 ;
11383 PyObject * obj1 = 0 ;
11384 PyObject * obj2 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self",(char *) "from",(char *) "to", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11391 if (SWIG_arg_fail(1)) SWIG_fail;
11392 {
11393 arg2 = (long)(SWIG_As_long(obj1));
11394 if (SWIG_arg_fail(2)) SWIG_fail;
11395 }
11396 {
11397 arg3 = (long)(SWIG_As_long(obj2));
11398 if (SWIG_arg_fail(3)) SWIG_fail;
11399 }
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 (arg1)->SetSelection(arg2,arg3);
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
11407 Py_INCREF(Py_None); resultobj = Py_None;
11408 return resultobj;
11409 fail:
11410 return NULL;
11411 }
11412
11413
11414 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
11415 PyObject *resultobj;
11416 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11417 PyObject * obj0 = 0 ;
11418 char *kwnames[] = {
11419 (char *) "self", NULL
11420 };
11421
11422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
11423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11424 if (SWIG_arg_fail(1)) SWIG_fail;
11425 {
11426 PyThreadState* __tstate = wxPyBeginAllowThreads();
11427 (arg1)->SelectAll();
11428
11429 wxPyEndAllowThreads(__tstate);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 }
11432 Py_INCREF(Py_None); resultobj = Py_None;
11433 return resultobj;
11434 fail:
11435 return NULL;
11436 }
11437
11438
11439 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
11440 PyObject *resultobj;
11441 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11442 bool arg2 ;
11443 PyObject * obj0 = 0 ;
11444 PyObject * obj1 = 0 ;
11445 char *kwnames[] = {
11446 (char *) "self",(char *) "editable", NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
11450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11451 if (SWIG_arg_fail(1)) SWIG_fail;
11452 {
11453 arg2 = (bool)(SWIG_As_bool(obj1));
11454 if (SWIG_arg_fail(2)) SWIG_fail;
11455 }
11456 {
11457 PyThreadState* __tstate = wxPyBeginAllowThreads();
11458 (arg1)->SetEditable(arg2);
11459
11460 wxPyEndAllowThreads(__tstate);
11461 if (PyErr_Occurred()) SWIG_fail;
11462 }
11463 Py_INCREF(Py_None); resultobj = Py_None;
11464 return resultobj;
11465 fail:
11466 return NULL;
11467 }
11468
11469
11470 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
11471 PyObject *resultobj;
11472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11473 bool arg2 = (bool) true ;
11474 bool result;
11475 PyObject * obj0 = 0 ;
11476 PyObject * obj1 = 0 ;
11477 char *kwnames[] = {
11478 (char *) "self",(char *) "show", NULL
11479 };
11480
11481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
11482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11483 if (SWIG_arg_fail(1)) SWIG_fail;
11484 if (obj1) {
11485 {
11486 arg2 = (bool)(SWIG_As_bool(obj1));
11487 if (SWIG_arg_fail(2)) SWIG_fail;
11488 }
11489 }
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 result = (bool)(arg1)->ShowNativeCaret(arg2);
11493
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 {
11498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11499 }
11500 return resultobj;
11501 fail:
11502 return NULL;
11503 }
11504
11505
11506 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *, PyObject *args, PyObject *kwargs) {
11507 PyObject *resultobj;
11508 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11509 bool result;
11510 PyObject * obj0 = 0 ;
11511 char *kwnames[] = {
11512 (char *) "self", NULL
11513 };
11514
11515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
11516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11517 if (SWIG_arg_fail(1)) SWIG_fail;
11518 {
11519 PyThreadState* __tstate = wxPyBeginAllowThreads();
11520 result = (bool)(arg1)->HideNativeCaret();
11521
11522 wxPyEndAllowThreads(__tstate);
11523 if (PyErr_Occurred()) SWIG_fail;
11524 }
11525 {
11526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11527 }
11528 return resultobj;
11529 fail:
11530 return NULL;
11531 }
11532
11533
11534 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
11535 PyObject *resultobj;
11536 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11537 wxString *arg2 = 0 ;
11538 bool temp2 = false ;
11539 PyObject * obj0 = 0 ;
11540 PyObject * obj1 = 0 ;
11541 char *kwnames[] = {
11542 (char *) "self",(char *) "text", NULL
11543 };
11544
11545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
11546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11547 if (SWIG_arg_fail(1)) SWIG_fail;
11548 {
11549 arg2 = wxString_in_helper(obj1);
11550 if (arg2 == NULL) SWIG_fail;
11551 temp2 = true;
11552 }
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11556
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 Py_INCREF(Py_None); resultobj = Py_None;
11561 {
11562 if (temp2)
11563 delete arg2;
11564 }
11565 return resultobj;
11566 fail:
11567 {
11568 if (temp2)
11569 delete arg2;
11570 }
11571 return NULL;
11572 }
11573
11574
11575 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11576 PyObject *resultobj;
11577 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11578 long arg2 ;
11579 long arg3 ;
11580 wxString result;
11581 PyObject * obj0 = 0 ;
11582 PyObject * obj1 = 0 ;
11583 PyObject * obj2 = 0 ;
11584 char *kwnames[] = {
11585 (char *) "self",(char *) "from",(char *) "to", NULL
11586 };
11587
11588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11590 if (SWIG_arg_fail(1)) SWIG_fail;
11591 {
11592 arg2 = (long)(SWIG_As_long(obj1));
11593 if (SWIG_arg_fail(2)) SWIG_fail;
11594 }
11595 {
11596 arg3 = (long)(SWIG_As_long(obj2));
11597 if (SWIG_arg_fail(3)) SWIG_fail;
11598 }
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 {
11607 #if wxUSE_UNICODE
11608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11609 #else
11610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11611 #endif
11612 }
11613 return resultobj;
11614 fail:
11615 return NULL;
11616 }
11617
11618
11619 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
11620 PyObject *resultobj;
11621 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
11622 wxVisualAttributes result;
11623 PyObject * obj0 = 0 ;
11624 char *kwnames[] = {
11625 (char *) "variant", NULL
11626 };
11627
11628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11629 if (obj0) {
11630 {
11631 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11632 if (SWIG_arg_fail(1)) SWIG_fail;
11633 }
11634 }
11635 {
11636 if (!wxPyCheckForApp()) SWIG_fail;
11637 PyThreadState* __tstate = wxPyBeginAllowThreads();
11638 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11639
11640 wxPyEndAllowThreads(__tstate);
11641 if (PyErr_Occurred()) SWIG_fail;
11642 }
11643 {
11644 wxVisualAttributes * resultptr;
11645 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
11646 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11647 }
11648 return resultobj;
11649 fail:
11650 return NULL;
11651 }
11652
11653
11654 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
11655 PyObject *obj;
11656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11657 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11658 Py_INCREF(obj);
11659 return Py_BuildValue((char *)"");
11660 }
11661 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11662 PyObject *resultobj;
11663 int arg1 ;
11664 wxMouseEvent *arg2 = 0 ;
11665 long arg3 ;
11666 long arg4 ;
11667 wxTextUrlEvent *result;
11668 PyObject * obj0 = 0 ;
11669 PyObject * obj1 = 0 ;
11670 PyObject * obj2 = 0 ;
11671 PyObject * obj3 = 0 ;
11672 char *kwnames[] = {
11673 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11674 };
11675
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11677 {
11678 arg1 = (int)(SWIG_As_int(obj0));
11679 if (SWIG_arg_fail(1)) SWIG_fail;
11680 }
11681 {
11682 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11683 if (SWIG_arg_fail(2)) SWIG_fail;
11684 if (arg2 == NULL) {
11685 SWIG_null_ref("wxMouseEvent");
11686 }
11687 if (SWIG_arg_fail(2)) SWIG_fail;
11688 }
11689 {
11690 arg3 = (long)(SWIG_As_long(obj2));
11691 if (SWIG_arg_fail(3)) SWIG_fail;
11692 }
11693 {
11694 arg4 = (long)(SWIG_As_long(obj3));
11695 if (SWIG_arg_fail(4)) SWIG_fail;
11696 }
11697 {
11698 PyThreadState* __tstate = wxPyBeginAllowThreads();
11699 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11700
11701 wxPyEndAllowThreads(__tstate);
11702 if (PyErr_Occurred()) SWIG_fail;
11703 }
11704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11705 return resultobj;
11706 fail:
11707 return NULL;
11708 }
11709
11710
11711 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11712 PyObject *resultobj;
11713 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11714 wxMouseEvent *result;
11715 PyObject * obj0 = 0 ;
11716 char *kwnames[] = {
11717 (char *) "self", NULL
11718 };
11719
11720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",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 {
11726 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11727 result = (wxMouseEvent *) &_result_ref;
11728 }
11729
11730 wxPyEndAllowThreads(__tstate);
11731 if (PyErr_Occurred()) SWIG_fail;
11732 }
11733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11734 return resultobj;
11735 fail:
11736 return NULL;
11737 }
11738
11739
11740 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
11741 PyObject *resultobj;
11742 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11743 long result;
11744 PyObject * obj0 = 0 ;
11745 char *kwnames[] = {
11746 (char *) "self", NULL
11747 };
11748
11749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
11750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11751 if (SWIG_arg_fail(1)) SWIG_fail;
11752 {
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11755
11756 wxPyEndAllowThreads(__tstate);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 }
11759 {
11760 resultobj = SWIG_From_long((long)(result));
11761 }
11762 return resultobj;
11763 fail:
11764 return NULL;
11765 }
11766
11767
11768 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11769 PyObject *resultobj;
11770 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11771 long result;
11772 PyObject * obj0 = 0 ;
11773 char *kwnames[] = {
11774 (char *) "self", NULL
11775 };
11776
11777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
11778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11779 if (SWIG_arg_fail(1)) SWIG_fail;
11780 {
11781 PyThreadState* __tstate = wxPyBeginAllowThreads();
11782 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11783
11784 wxPyEndAllowThreads(__tstate);
11785 if (PyErr_Occurred()) SWIG_fail;
11786 }
11787 {
11788 resultobj = SWIG_From_long((long)(result));
11789 }
11790 return resultobj;
11791 fail:
11792 return NULL;
11793 }
11794
11795
11796 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
11797 PyObject *obj;
11798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11799 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11800 Py_INCREF(obj);
11801 return Py_BuildValue((char *)"");
11802 }
11803 static int _wrap_ScrollBarNameStr_set(PyObject *) {
11804 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11805 return 1;
11806 }
11807
11808
11809 static PyObject *_wrap_ScrollBarNameStr_get(void) {
11810 PyObject *pyobj;
11811
11812 {
11813 #if wxUSE_UNICODE
11814 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11815 #else
11816 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11817 #endif
11818 }
11819 return pyobj;
11820 }
11821
11822
11823 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj;
11825 wxWindow *arg1 = (wxWindow *) 0 ;
11826 int arg2 = (int) -1 ;
11827 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11828 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11829 wxSize const &arg4_defvalue = wxDefaultSize ;
11830 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11831 long arg5 = (long) wxSB_HORIZONTAL ;
11832 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11833 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11834 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11835 wxString *arg7 = (wxString *) &arg7_defvalue ;
11836 wxScrollBar *result;
11837 wxPoint temp3 ;
11838 wxSize temp4 ;
11839 bool temp7 = false ;
11840 PyObject * obj0 = 0 ;
11841 PyObject * obj1 = 0 ;
11842 PyObject * obj2 = 0 ;
11843 PyObject * obj3 = 0 ;
11844 PyObject * obj4 = 0 ;
11845 PyObject * obj5 = 0 ;
11846 PyObject * obj6 = 0 ;
11847 char *kwnames[] = {
11848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11849 };
11850
11851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11853 if (SWIG_arg_fail(1)) SWIG_fail;
11854 if (obj1) {
11855 {
11856 arg2 = (int)(SWIG_As_int(obj1));
11857 if (SWIG_arg_fail(2)) SWIG_fail;
11858 }
11859 }
11860 if (obj2) {
11861 {
11862 arg3 = &temp3;
11863 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11864 }
11865 }
11866 if (obj3) {
11867 {
11868 arg4 = &temp4;
11869 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11870 }
11871 }
11872 if (obj4) {
11873 {
11874 arg5 = (long)(SWIG_As_long(obj4));
11875 if (SWIG_arg_fail(5)) SWIG_fail;
11876 }
11877 }
11878 if (obj5) {
11879 {
11880 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11881 if (SWIG_arg_fail(6)) SWIG_fail;
11882 if (arg6 == NULL) {
11883 SWIG_null_ref("wxValidator");
11884 }
11885 if (SWIG_arg_fail(6)) SWIG_fail;
11886 }
11887 }
11888 if (obj6) {
11889 {
11890 arg7 = wxString_in_helper(obj6);
11891 if (arg7 == NULL) SWIG_fail;
11892 temp7 = true;
11893 }
11894 }
11895 {
11896 if (!wxPyCheckForApp()) SWIG_fail;
11897 PyThreadState* __tstate = wxPyBeginAllowThreads();
11898 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11899
11900 wxPyEndAllowThreads(__tstate);
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11904 {
11905 if (temp7)
11906 delete arg7;
11907 }
11908 return resultobj;
11909 fail:
11910 {
11911 if (temp7)
11912 delete arg7;
11913 }
11914 return NULL;
11915 }
11916
11917
11918 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
11919 PyObject *resultobj;
11920 wxScrollBar *result;
11921 char *kwnames[] = {
11922 NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11926 {
11927 if (!wxPyCheckForApp()) SWIG_fail;
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (wxScrollBar *)new wxScrollBar();
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
11934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11935 return resultobj;
11936 fail:
11937 return NULL;
11938 }
11939
11940
11941 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj;
11943 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11944 wxWindow *arg2 = (wxWindow *) 0 ;
11945 int arg3 = (int) -1 ;
11946 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11947 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11948 wxSize const &arg5_defvalue = wxDefaultSize ;
11949 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11950 long arg6 = (long) wxSB_HORIZONTAL ;
11951 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11952 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11953 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11954 wxString *arg8 = (wxString *) &arg8_defvalue ;
11955 bool result;
11956 wxPoint temp4 ;
11957 wxSize temp5 ;
11958 bool temp8 = false ;
11959 PyObject * obj0 = 0 ;
11960 PyObject * obj1 = 0 ;
11961 PyObject * obj2 = 0 ;
11962 PyObject * obj3 = 0 ;
11963 PyObject * obj4 = 0 ;
11964 PyObject * obj5 = 0 ;
11965 PyObject * obj6 = 0 ;
11966 PyObject * obj7 = 0 ;
11967 char *kwnames[] = {
11968 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11969 };
11970
11971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11973 if (SWIG_arg_fail(1)) SWIG_fail;
11974 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11975 if (SWIG_arg_fail(2)) SWIG_fail;
11976 if (obj2) {
11977 {
11978 arg3 = (int)(SWIG_As_int(obj2));
11979 if (SWIG_arg_fail(3)) SWIG_fail;
11980 }
11981 }
11982 if (obj3) {
11983 {
11984 arg4 = &temp4;
11985 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11986 }
11987 }
11988 if (obj4) {
11989 {
11990 arg5 = &temp5;
11991 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11992 }
11993 }
11994 if (obj5) {
11995 {
11996 arg6 = (long)(SWIG_As_long(obj5));
11997 if (SWIG_arg_fail(6)) SWIG_fail;
11998 }
11999 }
12000 if (obj6) {
12001 {
12002 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
12003 if (SWIG_arg_fail(7)) SWIG_fail;
12004 if (arg7 == NULL) {
12005 SWIG_null_ref("wxValidator");
12006 }
12007 if (SWIG_arg_fail(7)) SWIG_fail;
12008 }
12009 }
12010 if (obj7) {
12011 {
12012 arg8 = wxString_in_helper(obj7);
12013 if (arg8 == NULL) SWIG_fail;
12014 temp8 = true;
12015 }
12016 }
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 {
12025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12026 }
12027 {
12028 if (temp8)
12029 delete arg8;
12030 }
12031 return resultobj;
12032 fail:
12033 {
12034 if (temp8)
12035 delete arg8;
12036 }
12037 return NULL;
12038 }
12039
12040
12041 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12042 PyObject *resultobj;
12043 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12044 int result;
12045 PyObject * obj0 = 0 ;
12046 char *kwnames[] = {
12047 (char *) "self", NULL
12048 };
12049
12050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
12051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12052 if (SWIG_arg_fail(1)) SWIG_fail;
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
12056
12057 wxPyEndAllowThreads(__tstate);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 {
12061 resultobj = SWIG_From_int((int)(result));
12062 }
12063 return resultobj;
12064 fail:
12065 return NULL;
12066 }
12067
12068
12069 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
12070 PyObject *resultobj;
12071 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12072 int result;
12073 PyObject * obj0 = 0 ;
12074 char *kwnames[] = {
12075 (char *) "self", NULL
12076 };
12077
12078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
12079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12080 if (SWIG_arg_fail(1)) SWIG_fail;
12081 {
12082 PyThreadState* __tstate = wxPyBeginAllowThreads();
12083 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
12084
12085 wxPyEndAllowThreads(__tstate);
12086 if (PyErr_Occurred()) SWIG_fail;
12087 }
12088 {
12089 resultobj = SWIG_From_int((int)(result));
12090 }
12091 return resultobj;
12092 fail:
12093 return NULL;
12094 }
12095
12096
12097 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12098 PyObject *resultobj;
12099 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12100 int result;
12101 PyObject * obj0 = 0 ;
12102 char *kwnames[] = {
12103 (char *) "self", NULL
12104 };
12105
12106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
12107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12108 if (SWIG_arg_fail(1)) SWIG_fail;
12109 {
12110 PyThreadState* __tstate = wxPyBeginAllowThreads();
12111 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
12112
12113 wxPyEndAllowThreads(__tstate);
12114 if (PyErr_Occurred()) SWIG_fail;
12115 }
12116 {
12117 resultobj = SWIG_From_int((int)(result));
12118 }
12119 return resultobj;
12120 fail:
12121 return NULL;
12122 }
12123
12124
12125 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12126 PyObject *resultobj;
12127 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12128 int result;
12129 PyObject * obj0 = 0 ;
12130 char *kwnames[] = {
12131 (char *) "self", NULL
12132 };
12133
12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
12139 result = (int)((wxScrollBar const *)arg1)->GetRange();
12140
12141 wxPyEndAllowThreads(__tstate);
12142 if (PyErr_Occurred()) SWIG_fail;
12143 }
12144 {
12145 resultobj = SWIG_From_int((int)(result));
12146 }
12147 return resultobj;
12148 fail:
12149 return NULL;
12150 }
12151
12152
12153 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12156 bool result;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
12163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12164 if (SWIG_arg_fail(1)) SWIG_fail;
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12168
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 {
12173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12174 }
12175 return resultobj;
12176 fail:
12177 return NULL;
12178 }
12179
12180
12181 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj;
12183 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12184 int arg2 ;
12185 PyObject * obj0 = 0 ;
12186 PyObject * obj1 = 0 ;
12187 char *kwnames[] = {
12188 (char *) "self",(char *) "viewStart", NULL
12189 };
12190
12191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
12192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12193 if (SWIG_arg_fail(1)) SWIG_fail;
12194 {
12195 arg2 = (int)(SWIG_As_int(obj1));
12196 if (SWIG_arg_fail(2)) SWIG_fail;
12197 }
12198 {
12199 PyThreadState* __tstate = wxPyBeginAllowThreads();
12200 (arg1)->SetThumbPosition(arg2);
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_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
12213 PyObject *resultobj;
12214 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12215 int arg2 ;
12216 int arg3 ;
12217 int arg4 ;
12218 int arg5 ;
12219 bool arg6 = (bool) true ;
12220 PyObject * obj0 = 0 ;
12221 PyObject * obj1 = 0 ;
12222 PyObject * obj2 = 0 ;
12223 PyObject * obj3 = 0 ;
12224 PyObject * obj4 = 0 ;
12225 PyObject * obj5 = 0 ;
12226 char *kwnames[] = {
12227 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12228 };
12229
12230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12232 if (SWIG_arg_fail(1)) SWIG_fail;
12233 {
12234 arg2 = (int)(SWIG_As_int(obj1));
12235 if (SWIG_arg_fail(2)) SWIG_fail;
12236 }
12237 {
12238 arg3 = (int)(SWIG_As_int(obj2));
12239 if (SWIG_arg_fail(3)) SWIG_fail;
12240 }
12241 {
12242 arg4 = (int)(SWIG_As_int(obj3));
12243 if (SWIG_arg_fail(4)) SWIG_fail;
12244 }
12245 {
12246 arg5 = (int)(SWIG_As_int(obj4));
12247 if (SWIG_arg_fail(5)) SWIG_fail;
12248 }
12249 if (obj5) {
12250 {
12251 arg6 = (bool)(SWIG_As_bool(obj5));
12252 if (SWIG_arg_fail(6)) SWIG_fail;
12253 }
12254 }
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12258
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) SWIG_fail;
12261 }
12262 Py_INCREF(Py_None); resultobj = Py_None;
12263 return resultobj;
12264 fail:
12265 return NULL;
12266 }
12267
12268
12269 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12270 PyObject *resultobj;
12271 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12272 wxVisualAttributes result;
12273 PyObject * obj0 = 0 ;
12274 char *kwnames[] = {
12275 (char *) "variant", NULL
12276 };
12277
12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12279 if (obj0) {
12280 {
12281 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12282 if (SWIG_arg_fail(1)) SWIG_fail;
12283 }
12284 }
12285 {
12286 if (!wxPyCheckForApp()) SWIG_fail;
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 {
12294 wxVisualAttributes * resultptr;
12295 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12297 }
12298 return resultobj;
12299 fail:
12300 return NULL;
12301 }
12302
12303
12304 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
12305 PyObject *obj;
12306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12307 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12308 Py_INCREF(obj);
12309 return Py_BuildValue((char *)"");
12310 }
12311 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
12312 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12313 return 1;
12314 }
12315
12316
12317 static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
12318 PyObject *pyobj;
12319
12320 {
12321 #if wxUSE_UNICODE
12322 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12323 #else
12324 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12325 #endif
12326 }
12327 return pyobj;
12328 }
12329
12330
12331 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
12332 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12333 return 1;
12334 }
12335
12336
12337 static PyObject *_wrap_SpinCtrlNameStr_get(void) {
12338 PyObject *pyobj;
12339
12340 {
12341 #if wxUSE_UNICODE
12342 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12343 #else
12344 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12345 #endif
12346 }
12347 return pyobj;
12348 }
12349
12350
12351 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12352 PyObject *resultobj;
12353 wxWindow *arg1 = (wxWindow *) 0 ;
12354 int arg2 = (int) -1 ;
12355 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12356 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12357 wxSize const &arg4_defvalue = wxDefaultSize ;
12358 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12359 long arg5 = (long) wxSP_HORIZONTAL ;
12360 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12361 wxString *arg6 = (wxString *) &arg6_defvalue ;
12362 wxSpinButton *result;
12363 wxPoint temp3 ;
12364 wxSize temp4 ;
12365 bool temp6 = false ;
12366 PyObject * obj0 = 0 ;
12367 PyObject * obj1 = 0 ;
12368 PyObject * obj2 = 0 ;
12369 PyObject * obj3 = 0 ;
12370 PyObject * obj4 = 0 ;
12371 PyObject * obj5 = 0 ;
12372 char *kwnames[] = {
12373 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12374 };
12375
12376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12378 if (SWIG_arg_fail(1)) SWIG_fail;
12379 if (obj1) {
12380 {
12381 arg2 = (int)(SWIG_As_int(obj1));
12382 if (SWIG_arg_fail(2)) SWIG_fail;
12383 }
12384 }
12385 if (obj2) {
12386 {
12387 arg3 = &temp3;
12388 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12389 }
12390 }
12391 if (obj3) {
12392 {
12393 arg4 = &temp4;
12394 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12395 }
12396 }
12397 if (obj4) {
12398 {
12399 arg5 = (long)(SWIG_As_long(obj4));
12400 if (SWIG_arg_fail(5)) SWIG_fail;
12401 }
12402 }
12403 if (obj5) {
12404 {
12405 arg6 = wxString_in_helper(obj5);
12406 if (arg6 == NULL) SWIG_fail;
12407 temp6 = true;
12408 }
12409 }
12410 {
12411 if (!wxPyCheckForApp()) SWIG_fail;
12412 PyThreadState* __tstate = wxPyBeginAllowThreads();
12413 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12414
12415 wxPyEndAllowThreads(__tstate);
12416 if (PyErr_Occurred()) SWIG_fail;
12417 }
12418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12419 {
12420 if (temp6)
12421 delete arg6;
12422 }
12423 return resultobj;
12424 fail:
12425 {
12426 if (temp6)
12427 delete arg6;
12428 }
12429 return NULL;
12430 }
12431
12432
12433 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj;
12435 wxSpinButton *result;
12436 char *kwnames[] = {
12437 NULL
12438 };
12439
12440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12441 {
12442 if (!wxPyCheckForApp()) SWIG_fail;
12443 PyThreadState* __tstate = wxPyBeginAllowThreads();
12444 result = (wxSpinButton *)new wxSpinButton();
12445
12446 wxPyEndAllowThreads(__tstate);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 }
12449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12450 return resultobj;
12451 fail:
12452 return NULL;
12453 }
12454
12455
12456 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12457 PyObject *resultobj;
12458 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12459 wxWindow *arg2 = (wxWindow *) 0 ;
12460 int arg3 = (int) -1 ;
12461 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12462 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12463 wxSize const &arg5_defvalue = wxDefaultSize ;
12464 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12465 long arg6 = (long) wxSP_HORIZONTAL ;
12466 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12467 wxString *arg7 = (wxString *) &arg7_defvalue ;
12468 bool result;
12469 wxPoint temp4 ;
12470 wxSize temp5 ;
12471 bool temp7 = false ;
12472 PyObject * obj0 = 0 ;
12473 PyObject * obj1 = 0 ;
12474 PyObject * obj2 = 0 ;
12475 PyObject * obj3 = 0 ;
12476 PyObject * obj4 = 0 ;
12477 PyObject * obj5 = 0 ;
12478 PyObject * obj6 = 0 ;
12479 char *kwnames[] = {
12480 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12481 };
12482
12483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12485 if (SWIG_arg_fail(1)) SWIG_fail;
12486 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12487 if (SWIG_arg_fail(2)) SWIG_fail;
12488 if (obj2) {
12489 {
12490 arg3 = (int)(SWIG_As_int(obj2));
12491 if (SWIG_arg_fail(3)) SWIG_fail;
12492 }
12493 }
12494 if (obj3) {
12495 {
12496 arg4 = &temp4;
12497 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12498 }
12499 }
12500 if (obj4) {
12501 {
12502 arg5 = &temp5;
12503 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12504 }
12505 }
12506 if (obj5) {
12507 {
12508 arg6 = (long)(SWIG_As_long(obj5));
12509 if (SWIG_arg_fail(6)) SWIG_fail;
12510 }
12511 }
12512 if (obj6) {
12513 {
12514 arg7 = wxString_in_helper(obj6);
12515 if (arg7 == NULL) SWIG_fail;
12516 temp7 = true;
12517 }
12518 }
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12522
12523 wxPyEndAllowThreads(__tstate);
12524 if (PyErr_Occurred()) SWIG_fail;
12525 }
12526 {
12527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12528 }
12529 {
12530 if (temp7)
12531 delete arg7;
12532 }
12533 return resultobj;
12534 fail:
12535 {
12536 if (temp7)
12537 delete arg7;
12538 }
12539 return NULL;
12540 }
12541
12542
12543 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12544 PyObject *resultobj;
12545 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12546 int result;
12547 PyObject * obj0 = 0 ;
12548 char *kwnames[] = {
12549 (char *) "self", NULL
12550 };
12551
12552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
12553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12554 if (SWIG_arg_fail(1)) SWIG_fail;
12555 {
12556 PyThreadState* __tstate = wxPyBeginAllowThreads();
12557 result = (int)((wxSpinButton const *)arg1)->GetValue();
12558
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 {
12563 resultobj = SWIG_From_int((int)(result));
12564 }
12565 return resultobj;
12566 fail:
12567 return NULL;
12568 }
12569
12570
12571 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12572 PyObject *resultobj;
12573 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12574 int result;
12575 PyObject * obj0 = 0 ;
12576 char *kwnames[] = {
12577 (char *) "self", NULL
12578 };
12579
12580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 result = (int)((wxSpinButton const *)arg1)->GetMin();
12586
12587 wxPyEndAllowThreads(__tstate);
12588 if (PyErr_Occurred()) SWIG_fail;
12589 }
12590 {
12591 resultobj = SWIG_From_int((int)(result));
12592 }
12593 return resultobj;
12594 fail:
12595 return NULL;
12596 }
12597
12598
12599 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12600 PyObject *resultobj;
12601 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12602 int result;
12603 PyObject * obj0 = 0 ;
12604 char *kwnames[] = {
12605 (char *) "self", NULL
12606 };
12607
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
12609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12610 if (SWIG_arg_fail(1)) SWIG_fail;
12611 {
12612 PyThreadState* __tstate = wxPyBeginAllowThreads();
12613 result = (int)((wxSpinButton const *)arg1)->GetMax();
12614
12615 wxPyEndAllowThreads(__tstate);
12616 if (PyErr_Occurred()) SWIG_fail;
12617 }
12618 {
12619 resultobj = SWIG_From_int((int)(result));
12620 }
12621 return resultobj;
12622 fail:
12623 return NULL;
12624 }
12625
12626
12627 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12628 PyObject *resultobj;
12629 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12630 int arg2 ;
12631 PyObject * obj0 = 0 ;
12632 PyObject * obj1 = 0 ;
12633 char *kwnames[] = {
12634 (char *) "self",(char *) "val", NULL
12635 };
12636
12637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail;
12640 {
12641 arg2 = (int)(SWIG_As_int(obj1));
12642 if (SWIG_arg_fail(2)) SWIG_fail;
12643 }
12644 {
12645 PyThreadState* __tstate = wxPyBeginAllowThreads();
12646 (arg1)->SetValue(arg2);
12647
12648 wxPyEndAllowThreads(__tstate);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 Py_INCREF(Py_None); resultobj = Py_None;
12652 return resultobj;
12653 fail:
12654 return NULL;
12655 }
12656
12657
12658 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12659 PyObject *resultobj;
12660 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12661 int arg2 ;
12662 PyObject * obj0 = 0 ;
12663 PyObject * obj1 = 0 ;
12664 char *kwnames[] = {
12665 (char *) "self",(char *) "minVal", NULL
12666 };
12667
12668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
12669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12670 if (SWIG_arg_fail(1)) SWIG_fail;
12671 {
12672 arg2 = (int)(SWIG_As_int(obj1));
12673 if (SWIG_arg_fail(2)) SWIG_fail;
12674 }
12675 {
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 (arg1)->SetMin(arg2);
12678
12679 wxPyEndAllowThreads(__tstate);
12680 if (PyErr_Occurred()) SWIG_fail;
12681 }
12682 Py_INCREF(Py_None); resultobj = Py_None;
12683 return resultobj;
12684 fail:
12685 return NULL;
12686 }
12687
12688
12689 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12690 PyObject *resultobj;
12691 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12692 int arg2 ;
12693 PyObject * obj0 = 0 ;
12694 PyObject * obj1 = 0 ;
12695 char *kwnames[] = {
12696 (char *) "self",(char *) "maxVal", NULL
12697 };
12698
12699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
12700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12701 if (SWIG_arg_fail(1)) SWIG_fail;
12702 {
12703 arg2 = (int)(SWIG_As_int(obj1));
12704 if (SWIG_arg_fail(2)) SWIG_fail;
12705 }
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 (arg1)->SetMax(arg2);
12709
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 Py_INCREF(Py_None); resultobj = Py_None;
12714 return resultobj;
12715 fail:
12716 return NULL;
12717 }
12718
12719
12720 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12721 PyObject *resultobj;
12722 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12723 int arg2 ;
12724 int arg3 ;
12725 PyObject * obj0 = 0 ;
12726 PyObject * obj1 = 0 ;
12727 PyObject * obj2 = 0 ;
12728 char *kwnames[] = {
12729 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12730 };
12731
12732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12734 if (SWIG_arg_fail(1)) SWIG_fail;
12735 {
12736 arg2 = (int)(SWIG_As_int(obj1));
12737 if (SWIG_arg_fail(2)) SWIG_fail;
12738 }
12739 {
12740 arg3 = (int)(SWIG_As_int(obj2));
12741 if (SWIG_arg_fail(3)) SWIG_fail;
12742 }
12743 {
12744 PyThreadState* __tstate = wxPyBeginAllowThreads();
12745 (arg1)->SetRange(arg2,arg3);
12746
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 Py_INCREF(Py_None); resultobj = Py_None;
12751 return resultobj;
12752 fail:
12753 return NULL;
12754 }
12755
12756
12757 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
12758 PyObject *resultobj;
12759 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12760 bool result;
12761 PyObject * obj0 = 0 ;
12762 char *kwnames[] = {
12763 (char *) "self", NULL
12764 };
12765
12766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
12767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12768 if (SWIG_arg_fail(1)) SWIG_fail;
12769 {
12770 PyThreadState* __tstate = wxPyBeginAllowThreads();
12771 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12772
12773 wxPyEndAllowThreads(__tstate);
12774 if (PyErr_Occurred()) SWIG_fail;
12775 }
12776 {
12777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12778 }
12779 return resultobj;
12780 fail:
12781 return NULL;
12782 }
12783
12784
12785 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj;
12787 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
12788 wxVisualAttributes result;
12789 PyObject * obj0 = 0 ;
12790 char *kwnames[] = {
12791 (char *) "variant", NULL
12792 };
12793
12794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12795 if (obj0) {
12796 {
12797 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12798 if (SWIG_arg_fail(1)) SWIG_fail;
12799 }
12800 }
12801 {
12802 if (!wxPyCheckForApp()) SWIG_fail;
12803 PyThreadState* __tstate = wxPyBeginAllowThreads();
12804 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12805
12806 wxPyEndAllowThreads(__tstate);
12807 if (PyErr_Occurred()) SWIG_fail;
12808 }
12809 {
12810 wxVisualAttributes * resultptr;
12811 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
12812 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12813 }
12814 return resultobj;
12815 fail:
12816 return NULL;
12817 }
12818
12819
12820 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
12821 PyObject *obj;
12822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12823 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12824 Py_INCREF(obj);
12825 return Py_BuildValue((char *)"");
12826 }
12827 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12828 PyObject *resultobj;
12829 wxWindow *arg1 = (wxWindow *) 0 ;
12830 int arg2 = (int) -1 ;
12831 wxString const &arg3_defvalue = wxPyEmptyString ;
12832 wxString *arg3 = (wxString *) &arg3_defvalue ;
12833 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12834 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12835 wxSize const &arg5_defvalue = wxDefaultSize ;
12836 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12837 long arg6 = (long) wxSP_ARROW_KEYS ;
12838 int arg7 = (int) 0 ;
12839 int arg8 = (int) 100 ;
12840 int arg9 = (int) 0 ;
12841 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12842 wxString *arg10 = (wxString *) &arg10_defvalue ;
12843 wxSpinCtrl *result;
12844 bool temp3 = false ;
12845 wxPoint temp4 ;
12846 wxSize temp5 ;
12847 bool temp10 = false ;
12848 PyObject * obj0 = 0 ;
12849 PyObject * obj1 = 0 ;
12850 PyObject * obj2 = 0 ;
12851 PyObject * obj3 = 0 ;
12852 PyObject * obj4 = 0 ;
12853 PyObject * obj5 = 0 ;
12854 PyObject * obj6 = 0 ;
12855 PyObject * obj7 = 0 ;
12856 PyObject * obj8 = 0 ;
12857 PyObject * obj9 = 0 ;
12858 char *kwnames[] = {
12859 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12860 };
12861
12862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12864 if (SWIG_arg_fail(1)) SWIG_fail;
12865 if (obj1) {
12866 {
12867 arg2 = (int)(SWIG_As_int(obj1));
12868 if (SWIG_arg_fail(2)) SWIG_fail;
12869 }
12870 }
12871 if (obj2) {
12872 {
12873 arg3 = wxString_in_helper(obj2);
12874 if (arg3 == NULL) SWIG_fail;
12875 temp3 = true;
12876 }
12877 }
12878 if (obj3) {
12879 {
12880 arg4 = &temp4;
12881 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12882 }
12883 }
12884 if (obj4) {
12885 {
12886 arg5 = &temp5;
12887 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12888 }
12889 }
12890 if (obj5) {
12891 {
12892 arg6 = (long)(SWIG_As_long(obj5));
12893 if (SWIG_arg_fail(6)) SWIG_fail;
12894 }
12895 }
12896 if (obj6) {
12897 {
12898 arg7 = (int)(SWIG_As_int(obj6));
12899 if (SWIG_arg_fail(7)) SWIG_fail;
12900 }
12901 }
12902 if (obj7) {
12903 {
12904 arg8 = (int)(SWIG_As_int(obj7));
12905 if (SWIG_arg_fail(8)) SWIG_fail;
12906 }
12907 }
12908 if (obj8) {
12909 {
12910 arg9 = (int)(SWIG_As_int(obj8));
12911 if (SWIG_arg_fail(9)) SWIG_fail;
12912 }
12913 }
12914 if (obj9) {
12915 {
12916 arg10 = wxString_in_helper(obj9);
12917 if (arg10 == NULL) SWIG_fail;
12918 temp10 = true;
12919 }
12920 }
12921 {
12922 if (!wxPyCheckForApp()) SWIG_fail;
12923 PyThreadState* __tstate = wxPyBeginAllowThreads();
12924 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12925
12926 wxPyEndAllowThreads(__tstate);
12927 if (PyErr_Occurred()) SWIG_fail;
12928 }
12929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12930 {
12931 if (temp3)
12932 delete arg3;
12933 }
12934 {
12935 if (temp10)
12936 delete arg10;
12937 }
12938 return resultobj;
12939 fail:
12940 {
12941 if (temp3)
12942 delete arg3;
12943 }
12944 {
12945 if (temp10)
12946 delete arg10;
12947 }
12948 return NULL;
12949 }
12950
12951
12952 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
12953 PyObject *resultobj;
12954 wxSpinCtrl *result;
12955 char *kwnames[] = {
12956 NULL
12957 };
12958
12959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12960 {
12961 if (!wxPyCheckForApp()) SWIG_fail;
12962 PyThreadState* __tstate = wxPyBeginAllowThreads();
12963 result = (wxSpinCtrl *)new wxSpinCtrl();
12964
12965 wxPyEndAllowThreads(__tstate);
12966 if (PyErr_Occurred()) SWIG_fail;
12967 }
12968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12969 return resultobj;
12970 fail:
12971 return NULL;
12972 }
12973
12974
12975 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12976 PyObject *resultobj;
12977 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12978 wxWindow *arg2 = (wxWindow *) 0 ;
12979 int arg3 = (int) -1 ;
12980 wxString const &arg4_defvalue = wxPyEmptyString ;
12981 wxString *arg4 = (wxString *) &arg4_defvalue ;
12982 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12983 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12984 wxSize const &arg6_defvalue = wxDefaultSize ;
12985 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12986 long arg7 = (long) wxSP_ARROW_KEYS ;
12987 int arg8 = (int) 0 ;
12988 int arg9 = (int) 100 ;
12989 int arg10 = (int) 0 ;
12990 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
12991 wxString *arg11 = (wxString *) &arg11_defvalue ;
12992 bool result;
12993 bool temp4 = false ;
12994 wxPoint temp5 ;
12995 wxSize temp6 ;
12996 bool temp11 = false ;
12997 PyObject * obj0 = 0 ;
12998 PyObject * obj1 = 0 ;
12999 PyObject * obj2 = 0 ;
13000 PyObject * obj3 = 0 ;
13001 PyObject * obj4 = 0 ;
13002 PyObject * obj5 = 0 ;
13003 PyObject * obj6 = 0 ;
13004 PyObject * obj7 = 0 ;
13005 PyObject * obj8 = 0 ;
13006 PyObject * obj9 = 0 ;
13007 PyObject * obj10 = 0 ;
13008 char *kwnames[] = {
13009 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
13010 };
13011
13012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13014 if (SWIG_arg_fail(1)) SWIG_fail;
13015 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13016 if (SWIG_arg_fail(2)) SWIG_fail;
13017 if (obj2) {
13018 {
13019 arg3 = (int)(SWIG_As_int(obj2));
13020 if (SWIG_arg_fail(3)) SWIG_fail;
13021 }
13022 }
13023 if (obj3) {
13024 {
13025 arg4 = wxString_in_helper(obj3);
13026 if (arg4 == NULL) SWIG_fail;
13027 temp4 = true;
13028 }
13029 }
13030 if (obj4) {
13031 {
13032 arg5 = &temp5;
13033 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13034 }
13035 }
13036 if (obj5) {
13037 {
13038 arg6 = &temp6;
13039 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13040 }
13041 }
13042 if (obj6) {
13043 {
13044 arg7 = (long)(SWIG_As_long(obj6));
13045 if (SWIG_arg_fail(7)) SWIG_fail;
13046 }
13047 }
13048 if (obj7) {
13049 {
13050 arg8 = (int)(SWIG_As_int(obj7));
13051 if (SWIG_arg_fail(8)) SWIG_fail;
13052 }
13053 }
13054 if (obj8) {
13055 {
13056 arg9 = (int)(SWIG_As_int(obj8));
13057 if (SWIG_arg_fail(9)) SWIG_fail;
13058 }
13059 }
13060 if (obj9) {
13061 {
13062 arg10 = (int)(SWIG_As_int(obj9));
13063 if (SWIG_arg_fail(10)) SWIG_fail;
13064 }
13065 }
13066 if (obj10) {
13067 {
13068 arg11 = wxString_in_helper(obj10);
13069 if (arg11 == NULL) SWIG_fail;
13070 temp11 = true;
13071 }
13072 }
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 {
13081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13082 }
13083 {
13084 if (temp4)
13085 delete arg4;
13086 }
13087 {
13088 if (temp11)
13089 delete arg11;
13090 }
13091 return resultobj;
13092 fail:
13093 {
13094 if (temp4)
13095 delete arg4;
13096 }
13097 {
13098 if (temp11)
13099 delete arg11;
13100 }
13101 return NULL;
13102 }
13103
13104
13105 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13106 PyObject *resultobj;
13107 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13108 int result;
13109 PyObject * obj0 = 0 ;
13110 char *kwnames[] = {
13111 (char *) "self", NULL
13112 };
13113
13114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
13115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13116 if (SWIG_arg_fail(1)) SWIG_fail;
13117 {
13118 PyThreadState* __tstate = wxPyBeginAllowThreads();
13119 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13120
13121 wxPyEndAllowThreads(__tstate);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 }
13124 {
13125 resultobj = SWIG_From_int((int)(result));
13126 }
13127 return resultobj;
13128 fail:
13129 return NULL;
13130 }
13131
13132
13133 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
13134 PyObject *resultobj;
13135 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13136 int arg2 ;
13137 PyObject * obj0 = 0 ;
13138 PyObject * obj1 = 0 ;
13139 char *kwnames[] = {
13140 (char *) "self",(char *) "value", NULL
13141 };
13142
13143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
13144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13145 if (SWIG_arg_fail(1)) SWIG_fail;
13146 {
13147 arg2 = (int)(SWIG_As_int(obj1));
13148 if (SWIG_arg_fail(2)) SWIG_fail;
13149 }
13150 {
13151 PyThreadState* __tstate = wxPyBeginAllowThreads();
13152 (arg1)->SetValue(arg2);
13153
13154 wxPyEndAllowThreads(__tstate);
13155 if (PyErr_Occurred()) SWIG_fail;
13156 }
13157 Py_INCREF(Py_None); resultobj = Py_None;
13158 return resultobj;
13159 fail:
13160 return NULL;
13161 }
13162
13163
13164 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
13165 PyObject *resultobj;
13166 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13167 wxString *arg2 = 0 ;
13168 bool temp2 = false ;
13169 PyObject * obj0 = 0 ;
13170 PyObject * obj1 = 0 ;
13171 char *kwnames[] = {
13172 (char *) "self",(char *) "text", NULL
13173 };
13174
13175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
13176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13177 if (SWIG_arg_fail(1)) SWIG_fail;
13178 {
13179 arg2 = wxString_in_helper(obj1);
13180 if (arg2 == NULL) SWIG_fail;
13181 temp2 = true;
13182 }
13183 {
13184 PyThreadState* __tstate = wxPyBeginAllowThreads();
13185 (arg1)->SetValue((wxString const &)*arg2);
13186
13187 wxPyEndAllowThreads(__tstate);
13188 if (PyErr_Occurred()) SWIG_fail;
13189 }
13190 Py_INCREF(Py_None); resultobj = Py_None;
13191 {
13192 if (temp2)
13193 delete arg2;
13194 }
13195 return resultobj;
13196 fail:
13197 {
13198 if (temp2)
13199 delete arg2;
13200 }
13201 return NULL;
13202 }
13203
13204
13205 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
13206 PyObject *resultobj;
13207 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13208 int arg2 ;
13209 int arg3 ;
13210 PyObject * obj0 = 0 ;
13211 PyObject * obj1 = 0 ;
13212 PyObject * obj2 = 0 ;
13213 char *kwnames[] = {
13214 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13215 };
13216
13217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13219 if (SWIG_arg_fail(1)) SWIG_fail;
13220 {
13221 arg2 = (int)(SWIG_As_int(obj1));
13222 if (SWIG_arg_fail(2)) SWIG_fail;
13223 }
13224 {
13225 arg3 = (int)(SWIG_As_int(obj2));
13226 if (SWIG_arg_fail(3)) SWIG_fail;
13227 }
13228 {
13229 PyThreadState* __tstate = wxPyBeginAllowThreads();
13230 (arg1)->SetRange(arg2,arg3);
13231
13232 wxPyEndAllowThreads(__tstate);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 Py_INCREF(Py_None); resultobj = Py_None;
13236 return resultobj;
13237 fail:
13238 return NULL;
13239 }
13240
13241
13242 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj;
13244 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13245 int result;
13246 PyObject * obj0 = 0 ;
13247 char *kwnames[] = {
13248 (char *) "self", NULL
13249 };
13250
13251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
13252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13253 if (SWIG_arg_fail(1)) SWIG_fail;
13254 {
13255 PyThreadState* __tstate = wxPyBeginAllowThreads();
13256 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13257
13258 wxPyEndAllowThreads(__tstate);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 {
13262 resultobj = SWIG_From_int((int)(result));
13263 }
13264 return resultobj;
13265 fail:
13266 return NULL;
13267 }
13268
13269
13270 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
13271 PyObject *resultobj;
13272 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13273 int result;
13274 PyObject * obj0 = 0 ;
13275 char *kwnames[] = {
13276 (char *) "self", NULL
13277 };
13278
13279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
13280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13281 if (SWIG_arg_fail(1)) SWIG_fail;
13282 {
13283 PyThreadState* __tstate = wxPyBeginAllowThreads();
13284 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13285
13286 wxPyEndAllowThreads(__tstate);
13287 if (PyErr_Occurred()) SWIG_fail;
13288 }
13289 {
13290 resultobj = SWIG_From_int((int)(result));
13291 }
13292 return resultobj;
13293 fail:
13294 return NULL;
13295 }
13296
13297
13298 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13299 PyObject *resultobj;
13300 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13301 long arg2 ;
13302 long arg3 ;
13303 PyObject * obj0 = 0 ;
13304 PyObject * obj1 = 0 ;
13305 PyObject * obj2 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "self",(char *) "from",(char *) "to", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13312 if (SWIG_arg_fail(1)) SWIG_fail;
13313 {
13314 arg2 = (long)(SWIG_As_long(obj1));
13315 if (SWIG_arg_fail(2)) SWIG_fail;
13316 }
13317 {
13318 arg3 = (long)(SWIG_As_long(obj2));
13319 if (SWIG_arg_fail(3)) SWIG_fail;
13320 }
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 (arg1)->SetSelection(arg2,arg3);
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 Py_INCREF(Py_None); resultobj = Py_None;
13329 return resultobj;
13330 fail:
13331 return NULL;
13332 }
13333
13334
13335 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj;
13337 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13338 wxVisualAttributes result;
13339 PyObject * obj0 = 0 ;
13340 char *kwnames[] = {
13341 (char *) "variant", NULL
13342 };
13343
13344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13345 if (obj0) {
13346 {
13347 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13348 if (SWIG_arg_fail(1)) SWIG_fail;
13349 }
13350 }
13351 {
13352 if (!wxPyCheckForApp()) SWIG_fail;
13353 PyThreadState* __tstate = wxPyBeginAllowThreads();
13354 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13355
13356 wxPyEndAllowThreads(__tstate);
13357 if (PyErr_Occurred()) SWIG_fail;
13358 }
13359 {
13360 wxVisualAttributes * resultptr;
13361 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
13362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13363 }
13364 return resultobj;
13365 fail:
13366 return NULL;
13367 }
13368
13369
13370 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
13371 PyObject *obj;
13372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13373 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13374 Py_INCREF(obj);
13375 return Py_BuildValue((char *)"");
13376 }
13377 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13378 PyObject *resultobj;
13379 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13380 int arg2 = (int) 0 ;
13381 wxSpinEvent *result;
13382 PyObject * obj0 = 0 ;
13383 PyObject * obj1 = 0 ;
13384 char *kwnames[] = {
13385 (char *) "commandType",(char *) "winid", NULL
13386 };
13387
13388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13389 if (obj0) {
13390 {
13391 arg1 = (wxEventType)(SWIG_As_int(obj0));
13392 if (SWIG_arg_fail(1)) SWIG_fail;
13393 }
13394 }
13395 if (obj1) {
13396 {
13397 arg2 = (int)(SWIG_As_int(obj1));
13398 if (SWIG_arg_fail(2)) SWIG_fail;
13399 }
13400 }
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13404
13405 wxPyEndAllowThreads(__tstate);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13409 return resultobj;
13410 fail:
13411 return NULL;
13412 }
13413
13414
13415 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13416 PyObject *resultobj;
13417 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13418 int result;
13419 PyObject * obj0 = 0 ;
13420 char *kwnames[] = {
13421 (char *) "self", NULL
13422 };
13423
13424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
13425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13426 if (SWIG_arg_fail(1)) SWIG_fail;
13427 {
13428 PyThreadState* __tstate = wxPyBeginAllowThreads();
13429 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13430
13431 wxPyEndAllowThreads(__tstate);
13432 if (PyErr_Occurred()) SWIG_fail;
13433 }
13434 {
13435 resultobj = SWIG_From_int((int)(result));
13436 }
13437 return resultobj;
13438 fail:
13439 return NULL;
13440 }
13441
13442
13443 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13444 PyObject *resultobj;
13445 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13446 int arg2 ;
13447 PyObject * obj0 = 0 ;
13448 PyObject * obj1 = 0 ;
13449 char *kwnames[] = {
13450 (char *) "self",(char *) "pos", NULL
13451 };
13452
13453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13455 if (SWIG_arg_fail(1)) SWIG_fail;
13456 {
13457 arg2 = (int)(SWIG_As_int(obj1));
13458 if (SWIG_arg_fail(2)) SWIG_fail;
13459 }
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 (arg1)->SetPosition(arg2);
13463
13464 wxPyEndAllowThreads(__tstate);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 }
13467 Py_INCREF(Py_None); resultobj = Py_None;
13468 return resultobj;
13469 fail:
13470 return NULL;
13471 }
13472
13473
13474 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
13475 PyObject *obj;
13476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13477 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13478 Py_INCREF(obj);
13479 return Py_BuildValue((char *)"");
13480 }
13481 static int _wrap_RadioBoxNameStr_set(PyObject *) {
13482 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13483 return 1;
13484 }
13485
13486
13487 static PyObject *_wrap_RadioBoxNameStr_get(void) {
13488 PyObject *pyobj;
13489
13490 {
13491 #if wxUSE_UNICODE
13492 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13493 #else
13494 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13495 #endif
13496 }
13497 return pyobj;
13498 }
13499
13500
13501 static int _wrap_RadioButtonNameStr_set(PyObject *) {
13502 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13503 return 1;
13504 }
13505
13506
13507 static PyObject *_wrap_RadioButtonNameStr_get(void) {
13508 PyObject *pyobj;
13509
13510 {
13511 #if wxUSE_UNICODE
13512 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13513 #else
13514 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13515 #endif
13516 }
13517 return pyobj;
13518 }
13519
13520
13521 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj;
13523 wxWindow *arg1 = (wxWindow *) 0 ;
13524 int arg2 = (int) -1 ;
13525 wxString const &arg3_defvalue = wxPyEmptyString ;
13526 wxString *arg3 = (wxString *) &arg3_defvalue ;
13527 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13528 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13529 wxSize const &arg5_defvalue = wxDefaultSize ;
13530 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13531 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13532 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13533 int arg7 = (int) 0 ;
13534 long arg8 = (long) wxRA_HORIZONTAL ;
13535 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13536 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13537 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13538 wxString *arg10 = (wxString *) &arg10_defvalue ;
13539 wxRadioBox *result;
13540 bool temp3 = false ;
13541 wxPoint temp4 ;
13542 wxSize temp5 ;
13543 bool temp6 = false ;
13544 bool temp10 = false ;
13545 PyObject * obj0 = 0 ;
13546 PyObject * obj1 = 0 ;
13547 PyObject * obj2 = 0 ;
13548 PyObject * obj3 = 0 ;
13549 PyObject * obj4 = 0 ;
13550 PyObject * obj5 = 0 ;
13551 PyObject * obj6 = 0 ;
13552 PyObject * obj7 = 0 ;
13553 PyObject * obj8 = 0 ;
13554 PyObject * obj9 = 0 ;
13555 char *kwnames[] = {
13556 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13557 };
13558
13559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
13560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13561 if (SWIG_arg_fail(1)) SWIG_fail;
13562 if (obj1) {
13563 {
13564 arg2 = (int)(SWIG_As_int(obj1));
13565 if (SWIG_arg_fail(2)) SWIG_fail;
13566 }
13567 }
13568 if (obj2) {
13569 {
13570 arg3 = wxString_in_helper(obj2);
13571 if (arg3 == NULL) SWIG_fail;
13572 temp3 = true;
13573 }
13574 }
13575 if (obj3) {
13576 {
13577 arg4 = &temp4;
13578 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13579 }
13580 }
13581 if (obj4) {
13582 {
13583 arg5 = &temp5;
13584 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13585 }
13586 }
13587 if (obj5) {
13588 {
13589 if (! PySequence_Check(obj5)) {
13590 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13591 SWIG_fail;
13592 }
13593 arg6 = new wxArrayString;
13594 temp6 = true;
13595 int i, len=PySequence_Length(obj5);
13596 for (i=0; i<len; i++) {
13597 PyObject* item = PySequence_GetItem(obj5, i);
13598 wxString* s = wxString_in_helper(item);
13599 if (PyErr_Occurred()) SWIG_fail;
13600 arg6->Add(*s);
13601 delete s;
13602 Py_DECREF(item);
13603 }
13604 }
13605 }
13606 if (obj6) {
13607 {
13608 arg7 = (int)(SWIG_As_int(obj6));
13609 if (SWIG_arg_fail(7)) SWIG_fail;
13610 }
13611 }
13612 if (obj7) {
13613 {
13614 arg8 = (long)(SWIG_As_long(obj7));
13615 if (SWIG_arg_fail(8)) SWIG_fail;
13616 }
13617 }
13618 if (obj8) {
13619 {
13620 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13621 if (SWIG_arg_fail(9)) SWIG_fail;
13622 if (arg9 == NULL) {
13623 SWIG_null_ref("wxValidator");
13624 }
13625 if (SWIG_arg_fail(9)) SWIG_fail;
13626 }
13627 }
13628 if (obj9) {
13629 {
13630 arg10 = wxString_in_helper(obj9);
13631 if (arg10 == NULL) SWIG_fail;
13632 temp10 = true;
13633 }
13634 }
13635 {
13636 if (!wxPyCheckForApp()) SWIG_fail;
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 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);
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13644 {
13645 if (temp3)
13646 delete arg3;
13647 }
13648 {
13649 if (temp6) delete arg6;
13650 }
13651 {
13652 if (temp10)
13653 delete arg10;
13654 }
13655 return resultobj;
13656 fail:
13657 {
13658 if (temp3)
13659 delete arg3;
13660 }
13661 {
13662 if (temp6) delete arg6;
13663 }
13664 {
13665 if (temp10)
13666 delete arg10;
13667 }
13668 return NULL;
13669 }
13670
13671
13672 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
13673 PyObject *resultobj;
13674 wxRadioBox *result;
13675 char *kwnames[] = {
13676 NULL
13677 };
13678
13679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13680 {
13681 if (!wxPyCheckForApp()) SWIG_fail;
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 result = (wxRadioBox *)new wxRadioBox();
13684
13685 wxPyEndAllowThreads(__tstate);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13689 return resultobj;
13690 fail:
13691 return NULL;
13692 }
13693
13694
13695 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13696 PyObject *resultobj;
13697 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13698 wxWindow *arg2 = (wxWindow *) 0 ;
13699 int arg3 = (int) -1 ;
13700 wxString const &arg4_defvalue = wxPyEmptyString ;
13701 wxString *arg4 = (wxString *) &arg4_defvalue ;
13702 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13703 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13704 wxSize const &arg6_defvalue = wxDefaultSize ;
13705 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13706 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13707 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13708 int arg8 = (int) 0 ;
13709 long arg9 = (long) wxRA_HORIZONTAL ;
13710 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13711 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13712 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13713 wxString *arg11 = (wxString *) &arg11_defvalue ;
13714 bool result;
13715 bool temp4 = false ;
13716 wxPoint temp5 ;
13717 wxSize temp6 ;
13718 bool temp7 = false ;
13719 bool temp11 = false ;
13720 PyObject * obj0 = 0 ;
13721 PyObject * obj1 = 0 ;
13722 PyObject * obj2 = 0 ;
13723 PyObject * obj3 = 0 ;
13724 PyObject * obj4 = 0 ;
13725 PyObject * obj5 = 0 ;
13726 PyObject * obj6 = 0 ;
13727 PyObject * obj7 = 0 ;
13728 PyObject * obj8 = 0 ;
13729 PyObject * obj9 = 0 ;
13730 PyObject * obj10 = 0 ;
13731 char *kwnames[] = {
13732 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13733 };
13734
13735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13737 if (SWIG_arg_fail(1)) SWIG_fail;
13738 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13739 if (SWIG_arg_fail(2)) SWIG_fail;
13740 if (obj2) {
13741 {
13742 arg3 = (int)(SWIG_As_int(obj2));
13743 if (SWIG_arg_fail(3)) SWIG_fail;
13744 }
13745 }
13746 if (obj3) {
13747 {
13748 arg4 = wxString_in_helper(obj3);
13749 if (arg4 == NULL) SWIG_fail;
13750 temp4 = true;
13751 }
13752 }
13753 if (obj4) {
13754 {
13755 arg5 = &temp5;
13756 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13757 }
13758 }
13759 if (obj5) {
13760 {
13761 arg6 = &temp6;
13762 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13763 }
13764 }
13765 if (obj6) {
13766 {
13767 if (! PySequence_Check(obj6)) {
13768 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13769 SWIG_fail;
13770 }
13771 arg7 = new wxArrayString;
13772 temp7 = true;
13773 int i, len=PySequence_Length(obj6);
13774 for (i=0; i<len; i++) {
13775 PyObject* item = PySequence_GetItem(obj6, i);
13776 wxString* s = wxString_in_helper(item);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 arg7->Add(*s);
13779 delete s;
13780 Py_DECREF(item);
13781 }
13782 }
13783 }
13784 if (obj7) {
13785 {
13786 arg8 = (int)(SWIG_As_int(obj7));
13787 if (SWIG_arg_fail(8)) SWIG_fail;
13788 }
13789 }
13790 if (obj8) {
13791 {
13792 arg9 = (long)(SWIG_As_long(obj8));
13793 if (SWIG_arg_fail(9)) SWIG_fail;
13794 }
13795 }
13796 if (obj9) {
13797 {
13798 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13799 if (SWIG_arg_fail(10)) SWIG_fail;
13800 if (arg10 == NULL) {
13801 SWIG_null_ref("wxValidator");
13802 }
13803 if (SWIG_arg_fail(10)) SWIG_fail;
13804 }
13805 }
13806 if (obj10) {
13807 {
13808 arg11 = wxString_in_helper(obj10);
13809 if (arg11 == NULL) SWIG_fail;
13810 temp11 = true;
13811 }
13812 }
13813 {
13814 PyThreadState* __tstate = wxPyBeginAllowThreads();
13815 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);
13816
13817 wxPyEndAllowThreads(__tstate);
13818 if (PyErr_Occurred()) SWIG_fail;
13819 }
13820 {
13821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13822 }
13823 {
13824 if (temp4)
13825 delete arg4;
13826 }
13827 {
13828 if (temp7) delete arg7;
13829 }
13830 {
13831 if (temp11)
13832 delete arg11;
13833 }
13834 return resultobj;
13835 fail:
13836 {
13837 if (temp4)
13838 delete arg4;
13839 }
13840 {
13841 if (temp7) delete arg7;
13842 }
13843 {
13844 if (temp11)
13845 delete arg11;
13846 }
13847 return NULL;
13848 }
13849
13850
13851 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13852 PyObject *resultobj;
13853 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13854 int arg2 ;
13855 PyObject * obj0 = 0 ;
13856 PyObject * obj1 = 0 ;
13857 char *kwnames[] = {
13858 (char *) "self",(char *) "n", NULL
13859 };
13860
13861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13863 if (SWIG_arg_fail(1)) SWIG_fail;
13864 {
13865 arg2 = (int)(SWIG_As_int(obj1));
13866 if (SWIG_arg_fail(2)) SWIG_fail;
13867 }
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 (arg1)->SetSelection(arg2);
13871
13872 wxPyEndAllowThreads(__tstate);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 Py_INCREF(Py_None); resultobj = Py_None;
13876 return resultobj;
13877 fail:
13878 return NULL;
13879 }
13880
13881
13882 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13883 PyObject *resultobj;
13884 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13885 int result;
13886 PyObject * obj0 = 0 ;
13887 char *kwnames[] = {
13888 (char *) "self", NULL
13889 };
13890
13891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
13892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13893 if (SWIG_arg_fail(1)) SWIG_fail;
13894 {
13895 PyThreadState* __tstate = wxPyBeginAllowThreads();
13896 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13897
13898 wxPyEndAllowThreads(__tstate);
13899 if (PyErr_Occurred()) SWIG_fail;
13900 }
13901 {
13902 resultobj = SWIG_From_int((int)(result));
13903 }
13904 return resultobj;
13905 fail:
13906 return NULL;
13907 }
13908
13909
13910 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13911 PyObject *resultobj;
13912 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13913 wxString result;
13914 PyObject * obj0 = 0 ;
13915 char *kwnames[] = {
13916 (char *) "self", NULL
13917 };
13918
13919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
13920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13921 if (SWIG_arg_fail(1)) SWIG_fail;
13922 {
13923 PyThreadState* __tstate = wxPyBeginAllowThreads();
13924 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13925
13926 wxPyEndAllowThreads(__tstate);
13927 if (PyErr_Occurred()) SWIG_fail;
13928 }
13929 {
13930 #if wxUSE_UNICODE
13931 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13932 #else
13933 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13934 #endif
13935 }
13936 return resultobj;
13937 fail:
13938 return NULL;
13939 }
13940
13941
13942 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13943 PyObject *resultobj;
13944 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13945 wxString *arg2 = 0 ;
13946 bool result;
13947 bool temp2 = false ;
13948 PyObject * obj0 = 0 ;
13949 PyObject * obj1 = 0 ;
13950 char *kwnames[] = {
13951 (char *) "self",(char *) "s", NULL
13952 };
13953
13954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
13955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13956 if (SWIG_arg_fail(1)) SWIG_fail;
13957 {
13958 arg2 = wxString_in_helper(obj1);
13959 if (arg2 == NULL) SWIG_fail;
13960 temp2 = true;
13961 }
13962 {
13963 PyThreadState* __tstate = wxPyBeginAllowThreads();
13964 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13965
13966 wxPyEndAllowThreads(__tstate);
13967 if (PyErr_Occurred()) SWIG_fail;
13968 }
13969 {
13970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13971 }
13972 {
13973 if (temp2)
13974 delete arg2;
13975 }
13976 return resultobj;
13977 fail:
13978 {
13979 if (temp2)
13980 delete arg2;
13981 }
13982 return NULL;
13983 }
13984
13985
13986 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
13987 PyObject *resultobj;
13988 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13989 int result;
13990 PyObject * obj0 = 0 ;
13991 char *kwnames[] = {
13992 (char *) "self", NULL
13993 };
13994
13995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
13996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13997 if (SWIG_arg_fail(1)) SWIG_fail;
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 result = (int)((wxRadioBox const *)arg1)->GetCount();
14001
14002 wxPyEndAllowThreads(__tstate);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 {
14006 resultobj = SWIG_From_int((int)(result));
14007 }
14008 return resultobj;
14009 fail:
14010 return NULL;
14011 }
14012
14013
14014 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
14015 PyObject *resultobj;
14016 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14017 wxString *arg2 = 0 ;
14018 int result;
14019 bool temp2 = false ;
14020 PyObject * obj0 = 0 ;
14021 PyObject * obj1 = 0 ;
14022 char *kwnames[] = {
14023 (char *) "self",(char *) "s", NULL
14024 };
14025
14026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
14027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14028 if (SWIG_arg_fail(1)) SWIG_fail;
14029 {
14030 arg2 = wxString_in_helper(obj1);
14031 if (arg2 == NULL) SWIG_fail;
14032 temp2 = true;
14033 }
14034 {
14035 PyThreadState* __tstate = wxPyBeginAllowThreads();
14036 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
14037
14038 wxPyEndAllowThreads(__tstate);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 }
14041 {
14042 resultobj = SWIG_From_int((int)(result));
14043 }
14044 {
14045 if (temp2)
14046 delete arg2;
14047 }
14048 return resultobj;
14049 fail:
14050 {
14051 if (temp2)
14052 delete arg2;
14053 }
14054 return NULL;
14055 }
14056
14057
14058 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
14059 PyObject *resultobj;
14060 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14061 int arg2 ;
14062 wxString result;
14063 PyObject * obj0 = 0 ;
14064 PyObject * obj1 = 0 ;
14065 char *kwnames[] = {
14066 (char *) "self",(char *) "n", NULL
14067 };
14068
14069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
14070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14071 if (SWIG_arg_fail(1)) SWIG_fail;
14072 {
14073 arg2 = (int)(SWIG_As_int(obj1));
14074 if (SWIG_arg_fail(2)) SWIG_fail;
14075 }
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 result = ((wxRadioBox const *)arg1)->GetString(arg2);
14079
14080 wxPyEndAllowThreads(__tstate);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 }
14083 {
14084 #if wxUSE_UNICODE
14085 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14086 #else
14087 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14088 #endif
14089 }
14090 return resultobj;
14091 fail:
14092 return NULL;
14093 }
14094
14095
14096 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14099 int arg2 ;
14100 wxString *arg3 = 0 ;
14101 bool temp3 = false ;
14102 PyObject * obj0 = 0 ;
14103 PyObject * obj1 = 0 ;
14104 PyObject * obj2 = 0 ;
14105 char *kwnames[] = {
14106 (char *) "self",(char *) "n",(char *) "label", NULL
14107 };
14108
14109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
14110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14111 if (SWIG_arg_fail(1)) SWIG_fail;
14112 {
14113 arg2 = (int)(SWIG_As_int(obj1));
14114 if (SWIG_arg_fail(2)) SWIG_fail;
14115 }
14116 {
14117 arg3 = wxString_in_helper(obj2);
14118 if (arg3 == NULL) SWIG_fail;
14119 temp3 = true;
14120 }
14121 {
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 (arg1)->SetString(arg2,(wxString const &)*arg3);
14124
14125 wxPyEndAllowThreads(__tstate);
14126 if (PyErr_Occurred()) SWIG_fail;
14127 }
14128 Py_INCREF(Py_None); resultobj = Py_None;
14129 {
14130 if (temp3)
14131 delete arg3;
14132 }
14133 return resultobj;
14134 fail:
14135 {
14136 if (temp3)
14137 delete arg3;
14138 }
14139 return NULL;
14140 }
14141
14142
14143 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
14144 PyObject *resultobj;
14145 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14146 int arg2 ;
14147 bool arg3 = (bool) true ;
14148 PyObject * obj0 = 0 ;
14149 PyObject * obj1 = 0 ;
14150 PyObject * obj2 = 0 ;
14151 char *kwnames[] = {
14152 (char *) "self",(char *) "n",(char *) "enable", NULL
14153 };
14154
14155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14157 if (SWIG_arg_fail(1)) SWIG_fail;
14158 {
14159 arg2 = (int)(SWIG_As_int(obj1));
14160 if (SWIG_arg_fail(2)) SWIG_fail;
14161 }
14162 if (obj2) {
14163 {
14164 arg3 = (bool)(SWIG_As_bool(obj2));
14165 if (SWIG_arg_fail(3)) SWIG_fail;
14166 }
14167 }
14168 {
14169 PyThreadState* __tstate = wxPyBeginAllowThreads();
14170 (arg1)->Enable(arg2,arg3);
14171
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 Py_INCREF(Py_None); resultobj = Py_None;
14176 return resultobj;
14177 fail:
14178 return NULL;
14179 }
14180
14181
14182 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
14183 PyObject *resultobj;
14184 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14185 int arg2 ;
14186 bool arg3 = (bool) true ;
14187 PyObject * obj0 = 0 ;
14188 PyObject * obj1 = 0 ;
14189 PyObject * obj2 = 0 ;
14190 char *kwnames[] = {
14191 (char *) "self",(char *) "n",(char *) "show", NULL
14192 };
14193
14194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14196 if (SWIG_arg_fail(1)) SWIG_fail;
14197 {
14198 arg2 = (int)(SWIG_As_int(obj1));
14199 if (SWIG_arg_fail(2)) SWIG_fail;
14200 }
14201 if (obj2) {
14202 {
14203 arg3 = (bool)(SWIG_As_bool(obj2));
14204 if (SWIG_arg_fail(3)) SWIG_fail;
14205 }
14206 }
14207 {
14208 PyThreadState* __tstate = wxPyBeginAllowThreads();
14209 (arg1)->Show(arg2,arg3);
14210
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 Py_INCREF(Py_None); resultobj = Py_None;
14215 return resultobj;
14216 fail:
14217 return NULL;
14218 }
14219
14220
14221 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
14222 PyObject *resultobj;
14223 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14224 int result;
14225 PyObject * obj0 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
14231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14232 if (SWIG_arg_fail(1)) SWIG_fail;
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 {
14241 resultobj = SWIG_From_int((int)(result));
14242 }
14243 return resultobj;
14244 fail:
14245 return NULL;
14246 }
14247
14248
14249 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14250 PyObject *resultobj;
14251 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14252 int result;
14253 PyObject * obj0 = 0 ;
14254 char *kwnames[] = {
14255 (char *) "self", NULL
14256 };
14257
14258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
14259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14260 if (SWIG_arg_fail(1)) SWIG_fail;
14261 {
14262 PyThreadState* __tstate = wxPyBeginAllowThreads();
14263 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14264
14265 wxPyEndAllowThreads(__tstate);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
14268 {
14269 resultobj = SWIG_From_int((int)(result));
14270 }
14271 return resultobj;
14272 fail:
14273 return NULL;
14274 }
14275
14276
14277 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
14278 PyObject *resultobj;
14279 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14280 int arg2 ;
14281 wxDirection arg3 ;
14282 long arg4 ;
14283 int result;
14284 PyObject * obj0 = 0 ;
14285 PyObject * obj1 = 0 ;
14286 PyObject * obj2 = 0 ;
14287 PyObject * obj3 = 0 ;
14288 char *kwnames[] = {
14289 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14290 };
14291
14292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14294 if (SWIG_arg_fail(1)) SWIG_fail;
14295 {
14296 arg2 = (int)(SWIG_As_int(obj1));
14297 if (SWIG_arg_fail(2)) SWIG_fail;
14298 }
14299 {
14300 arg3 = (wxDirection)(SWIG_As_int(obj2));
14301 if (SWIG_arg_fail(3)) SWIG_fail;
14302 }
14303 {
14304 arg4 = (long)(SWIG_As_long(obj3));
14305 if (SWIG_arg_fail(4)) SWIG_fail;
14306 }
14307 {
14308 PyThreadState* __tstate = wxPyBeginAllowThreads();
14309 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14310
14311 wxPyEndAllowThreads(__tstate);
14312 if (PyErr_Occurred()) SWIG_fail;
14313 }
14314 {
14315 resultobj = SWIG_From_int((int)(result));
14316 }
14317 return resultobj;
14318 fail:
14319 return NULL;
14320 }
14321
14322
14323 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14324 PyObject *resultobj;
14325 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14326 wxVisualAttributes result;
14327 PyObject * obj0 = 0 ;
14328 char *kwnames[] = {
14329 (char *) "variant", NULL
14330 };
14331
14332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14333 if (obj0) {
14334 {
14335 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14336 if (SWIG_arg_fail(1)) SWIG_fail;
14337 }
14338 }
14339 {
14340 if (!wxPyCheckForApp()) SWIG_fail;
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14343
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 {
14348 wxVisualAttributes * resultptr;
14349 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14351 }
14352 return resultobj;
14353 fail:
14354 return NULL;
14355 }
14356
14357
14358 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
14359 PyObject *obj;
14360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14361 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14362 Py_INCREF(obj);
14363 return Py_BuildValue((char *)"");
14364 }
14365 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14366 PyObject *resultobj;
14367 wxWindow *arg1 = (wxWindow *) 0 ;
14368 int arg2 = (int) -1 ;
14369 wxString const &arg3_defvalue = wxPyEmptyString ;
14370 wxString *arg3 = (wxString *) &arg3_defvalue ;
14371 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14372 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14373 wxSize const &arg5_defvalue = wxDefaultSize ;
14374 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14375 long arg6 = (long) 0 ;
14376 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14377 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14378 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14379 wxString *arg8 = (wxString *) &arg8_defvalue ;
14380 wxRadioButton *result;
14381 bool temp3 = false ;
14382 wxPoint temp4 ;
14383 wxSize temp5 ;
14384 bool temp8 = false ;
14385 PyObject * obj0 = 0 ;
14386 PyObject * obj1 = 0 ;
14387 PyObject * obj2 = 0 ;
14388 PyObject * obj3 = 0 ;
14389 PyObject * obj4 = 0 ;
14390 PyObject * obj5 = 0 ;
14391 PyObject * obj6 = 0 ;
14392 PyObject * obj7 = 0 ;
14393 char *kwnames[] = {
14394 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14395 };
14396
14397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14399 if (SWIG_arg_fail(1)) SWIG_fail;
14400 if (obj1) {
14401 {
14402 arg2 = (int)(SWIG_As_int(obj1));
14403 if (SWIG_arg_fail(2)) SWIG_fail;
14404 }
14405 }
14406 if (obj2) {
14407 {
14408 arg3 = wxString_in_helper(obj2);
14409 if (arg3 == NULL) SWIG_fail;
14410 temp3 = true;
14411 }
14412 }
14413 if (obj3) {
14414 {
14415 arg4 = &temp4;
14416 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14417 }
14418 }
14419 if (obj4) {
14420 {
14421 arg5 = &temp5;
14422 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14423 }
14424 }
14425 if (obj5) {
14426 {
14427 arg6 = (long)(SWIG_As_long(obj5));
14428 if (SWIG_arg_fail(6)) SWIG_fail;
14429 }
14430 }
14431 if (obj6) {
14432 {
14433 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14434 if (SWIG_arg_fail(7)) SWIG_fail;
14435 if (arg7 == NULL) {
14436 SWIG_null_ref("wxValidator");
14437 }
14438 if (SWIG_arg_fail(7)) SWIG_fail;
14439 }
14440 }
14441 if (obj7) {
14442 {
14443 arg8 = wxString_in_helper(obj7);
14444 if (arg8 == NULL) SWIG_fail;
14445 temp8 = true;
14446 }
14447 }
14448 {
14449 if (!wxPyCheckForApp()) SWIG_fail;
14450 PyThreadState* __tstate = wxPyBeginAllowThreads();
14451 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14452
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14457 {
14458 if (temp3)
14459 delete arg3;
14460 }
14461 {
14462 if (temp8)
14463 delete arg8;
14464 }
14465 return resultobj;
14466 fail:
14467 {
14468 if (temp3)
14469 delete arg3;
14470 }
14471 {
14472 if (temp8)
14473 delete arg8;
14474 }
14475 return NULL;
14476 }
14477
14478
14479 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
14480 PyObject *resultobj;
14481 wxRadioButton *result;
14482 char *kwnames[] = {
14483 NULL
14484 };
14485
14486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14487 {
14488 if (!wxPyCheckForApp()) SWIG_fail;
14489 PyThreadState* __tstate = wxPyBeginAllowThreads();
14490 result = (wxRadioButton *)new wxRadioButton();
14491
14492 wxPyEndAllowThreads(__tstate);
14493 if (PyErr_Occurred()) SWIG_fail;
14494 }
14495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14496 return resultobj;
14497 fail:
14498 return NULL;
14499 }
14500
14501
14502 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14503 PyObject *resultobj;
14504 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14505 wxWindow *arg2 = (wxWindow *) 0 ;
14506 int arg3 = (int) -1 ;
14507 wxString const &arg4_defvalue = wxPyEmptyString ;
14508 wxString *arg4 = (wxString *) &arg4_defvalue ;
14509 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14510 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14511 wxSize const &arg6_defvalue = wxDefaultSize ;
14512 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14513 long arg7 = (long) 0 ;
14514 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14515 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14516 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14517 wxString *arg9 = (wxString *) &arg9_defvalue ;
14518 bool result;
14519 bool temp4 = false ;
14520 wxPoint temp5 ;
14521 wxSize temp6 ;
14522 bool temp9 = false ;
14523 PyObject * obj0 = 0 ;
14524 PyObject * obj1 = 0 ;
14525 PyObject * obj2 = 0 ;
14526 PyObject * obj3 = 0 ;
14527 PyObject * obj4 = 0 ;
14528 PyObject * obj5 = 0 ;
14529 PyObject * obj6 = 0 ;
14530 PyObject * obj7 = 0 ;
14531 PyObject * obj8 = 0 ;
14532 char *kwnames[] = {
14533 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14534 };
14535
14536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
14537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14538 if (SWIG_arg_fail(1)) SWIG_fail;
14539 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14540 if (SWIG_arg_fail(2)) SWIG_fail;
14541 if (obj2) {
14542 {
14543 arg3 = (int)(SWIG_As_int(obj2));
14544 if (SWIG_arg_fail(3)) SWIG_fail;
14545 }
14546 }
14547 if (obj3) {
14548 {
14549 arg4 = wxString_in_helper(obj3);
14550 if (arg4 == NULL) SWIG_fail;
14551 temp4 = true;
14552 }
14553 }
14554 if (obj4) {
14555 {
14556 arg5 = &temp5;
14557 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14558 }
14559 }
14560 if (obj5) {
14561 {
14562 arg6 = &temp6;
14563 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14564 }
14565 }
14566 if (obj6) {
14567 {
14568 arg7 = (long)(SWIG_As_long(obj6));
14569 if (SWIG_arg_fail(7)) SWIG_fail;
14570 }
14571 }
14572 if (obj7) {
14573 {
14574 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14575 if (SWIG_arg_fail(8)) SWIG_fail;
14576 if (arg8 == NULL) {
14577 SWIG_null_ref("wxValidator");
14578 }
14579 if (SWIG_arg_fail(8)) SWIG_fail;
14580 }
14581 }
14582 if (obj8) {
14583 {
14584 arg9 = wxString_in_helper(obj8);
14585 if (arg9 == NULL) SWIG_fail;
14586 temp9 = true;
14587 }
14588 }
14589 {
14590 PyThreadState* __tstate = wxPyBeginAllowThreads();
14591 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14592
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 {
14597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14598 }
14599 {
14600 if (temp4)
14601 delete arg4;
14602 }
14603 {
14604 if (temp9)
14605 delete arg9;
14606 }
14607 return resultobj;
14608 fail:
14609 {
14610 if (temp4)
14611 delete arg4;
14612 }
14613 {
14614 if (temp9)
14615 delete arg9;
14616 }
14617 return NULL;
14618 }
14619
14620
14621 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14622 PyObject *resultobj;
14623 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14624 bool result;
14625 PyObject * obj0 = 0 ;
14626 char *kwnames[] = {
14627 (char *) "self", NULL
14628 };
14629
14630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
14631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14632 if (SWIG_arg_fail(1)) SWIG_fail;
14633 {
14634 PyThreadState* __tstate = wxPyBeginAllowThreads();
14635 result = (bool)(arg1)->GetValue();
14636
14637 wxPyEndAllowThreads(__tstate);
14638 if (PyErr_Occurred()) SWIG_fail;
14639 }
14640 {
14641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14642 }
14643 return resultobj;
14644 fail:
14645 return NULL;
14646 }
14647
14648
14649 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14650 PyObject *resultobj;
14651 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14652 bool arg2 ;
14653 PyObject * obj0 = 0 ;
14654 PyObject * obj1 = 0 ;
14655 char *kwnames[] = {
14656 (char *) "self",(char *) "value", NULL
14657 };
14658
14659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14661 if (SWIG_arg_fail(1)) SWIG_fail;
14662 {
14663 arg2 = (bool)(SWIG_As_bool(obj1));
14664 if (SWIG_arg_fail(2)) SWIG_fail;
14665 }
14666 {
14667 PyThreadState* __tstate = wxPyBeginAllowThreads();
14668 (arg1)->SetValue(arg2);
14669
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 Py_INCREF(Py_None); resultobj = Py_None;
14674 return resultobj;
14675 fail:
14676 return NULL;
14677 }
14678
14679
14680 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
14681 PyObject *resultobj;
14682 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14683 wxVisualAttributes result;
14684 PyObject * obj0 = 0 ;
14685 char *kwnames[] = {
14686 (char *) "variant", NULL
14687 };
14688
14689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14690 if (obj0) {
14691 {
14692 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14693 if (SWIG_arg_fail(1)) SWIG_fail;
14694 }
14695 }
14696 {
14697 if (!wxPyCheckForApp()) SWIG_fail;
14698 PyThreadState* __tstate = wxPyBeginAllowThreads();
14699 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14700
14701 wxPyEndAllowThreads(__tstate);
14702 if (PyErr_Occurred()) SWIG_fail;
14703 }
14704 {
14705 wxVisualAttributes * resultptr;
14706 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
14707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14708 }
14709 return resultobj;
14710 fail:
14711 return NULL;
14712 }
14713
14714
14715 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
14716 PyObject *obj;
14717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14718 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14719 Py_INCREF(obj);
14720 return Py_BuildValue((char *)"");
14721 }
14722 static int _wrap_SliderNameStr_set(PyObject *) {
14723 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14724 return 1;
14725 }
14726
14727
14728 static PyObject *_wrap_SliderNameStr_get(void) {
14729 PyObject *pyobj;
14730
14731 {
14732 #if wxUSE_UNICODE
14733 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14734 #else
14735 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14736 #endif
14737 }
14738 return pyobj;
14739 }
14740
14741
14742 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
14743 PyObject *resultobj;
14744 wxWindow *arg1 = (wxWindow *) 0 ;
14745 int arg2 = (int) -1 ;
14746 int arg3 = (int) 0 ;
14747 int arg4 = (int) 0 ;
14748 int arg5 = (int) 100 ;
14749 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14750 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14751 wxSize const &arg7_defvalue = wxDefaultSize ;
14752 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14753 long arg8 = (long) wxSL_HORIZONTAL ;
14754 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14755 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14756 wxString const &arg10_defvalue = wxPySliderNameStr ;
14757 wxString *arg10 = (wxString *) &arg10_defvalue ;
14758 wxSlider *result;
14759 wxPoint temp6 ;
14760 wxSize temp7 ;
14761 bool temp10 = false ;
14762 PyObject * obj0 = 0 ;
14763 PyObject * obj1 = 0 ;
14764 PyObject * obj2 = 0 ;
14765 PyObject * obj3 = 0 ;
14766 PyObject * obj4 = 0 ;
14767 PyObject * obj5 = 0 ;
14768 PyObject * obj6 = 0 ;
14769 PyObject * obj7 = 0 ;
14770 PyObject * obj8 = 0 ;
14771 PyObject * obj9 = 0 ;
14772 char *kwnames[] = {
14773 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14774 };
14775
14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
14777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14778 if (SWIG_arg_fail(1)) SWIG_fail;
14779 if (obj1) {
14780 {
14781 arg2 = (int)(SWIG_As_int(obj1));
14782 if (SWIG_arg_fail(2)) SWIG_fail;
14783 }
14784 }
14785 if (obj2) {
14786 {
14787 arg3 = (int)(SWIG_As_int(obj2));
14788 if (SWIG_arg_fail(3)) SWIG_fail;
14789 }
14790 }
14791 if (obj3) {
14792 {
14793 arg4 = (int)(SWIG_As_int(obj3));
14794 if (SWIG_arg_fail(4)) SWIG_fail;
14795 }
14796 }
14797 if (obj4) {
14798 {
14799 arg5 = (int)(SWIG_As_int(obj4));
14800 if (SWIG_arg_fail(5)) SWIG_fail;
14801 }
14802 }
14803 if (obj5) {
14804 {
14805 arg6 = &temp6;
14806 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14807 }
14808 }
14809 if (obj6) {
14810 {
14811 arg7 = &temp7;
14812 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14813 }
14814 }
14815 if (obj7) {
14816 {
14817 arg8 = (long)(SWIG_As_long(obj7));
14818 if (SWIG_arg_fail(8)) SWIG_fail;
14819 }
14820 }
14821 if (obj8) {
14822 {
14823 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14824 if (SWIG_arg_fail(9)) SWIG_fail;
14825 if (arg9 == NULL) {
14826 SWIG_null_ref("wxValidator");
14827 }
14828 if (SWIG_arg_fail(9)) SWIG_fail;
14829 }
14830 }
14831 if (obj9) {
14832 {
14833 arg10 = wxString_in_helper(obj9);
14834 if (arg10 == NULL) SWIG_fail;
14835 temp10 = true;
14836 }
14837 }
14838 {
14839 if (!wxPyCheckForApp()) SWIG_fail;
14840 PyThreadState* __tstate = wxPyBeginAllowThreads();
14841 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14842
14843 wxPyEndAllowThreads(__tstate);
14844 if (PyErr_Occurred()) SWIG_fail;
14845 }
14846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14847 {
14848 if (temp10)
14849 delete arg10;
14850 }
14851 return resultobj;
14852 fail:
14853 {
14854 if (temp10)
14855 delete arg10;
14856 }
14857 return NULL;
14858 }
14859
14860
14861 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj;
14863 wxSlider *result;
14864 char *kwnames[] = {
14865 NULL
14866 };
14867
14868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14869 {
14870 if (!wxPyCheckForApp()) SWIG_fail;
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 result = (wxSlider *)new wxSlider();
14873
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
14877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14878 return resultobj;
14879 fail:
14880 return NULL;
14881 }
14882
14883
14884 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxSlider *arg1 = (wxSlider *) 0 ;
14887 wxWindow *arg2 = (wxWindow *) 0 ;
14888 int arg3 = (int) -1 ;
14889 int arg4 = (int) 0 ;
14890 int arg5 = (int) 0 ;
14891 int arg6 = (int) 100 ;
14892 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14893 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14894 wxSize const &arg8_defvalue = wxDefaultSize ;
14895 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14896 long arg9 = (long) wxSL_HORIZONTAL ;
14897 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14898 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14899 wxString const &arg11_defvalue = wxPySliderNameStr ;
14900 wxString *arg11 = (wxString *) &arg11_defvalue ;
14901 bool result;
14902 wxPoint temp7 ;
14903 wxSize temp8 ;
14904 bool temp11 = false ;
14905 PyObject * obj0 = 0 ;
14906 PyObject * obj1 = 0 ;
14907 PyObject * obj2 = 0 ;
14908 PyObject * obj3 = 0 ;
14909 PyObject * obj4 = 0 ;
14910 PyObject * obj5 = 0 ;
14911 PyObject * obj6 = 0 ;
14912 PyObject * obj7 = 0 ;
14913 PyObject * obj8 = 0 ;
14914 PyObject * obj9 = 0 ;
14915 PyObject * obj10 = 0 ;
14916 char *kwnames[] = {
14917 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14918 };
14919
14920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
14921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14922 if (SWIG_arg_fail(1)) SWIG_fail;
14923 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14924 if (SWIG_arg_fail(2)) SWIG_fail;
14925 if (obj2) {
14926 {
14927 arg3 = (int)(SWIG_As_int(obj2));
14928 if (SWIG_arg_fail(3)) SWIG_fail;
14929 }
14930 }
14931 if (obj3) {
14932 {
14933 arg4 = (int)(SWIG_As_int(obj3));
14934 if (SWIG_arg_fail(4)) SWIG_fail;
14935 }
14936 }
14937 if (obj4) {
14938 {
14939 arg5 = (int)(SWIG_As_int(obj4));
14940 if (SWIG_arg_fail(5)) SWIG_fail;
14941 }
14942 }
14943 if (obj5) {
14944 {
14945 arg6 = (int)(SWIG_As_int(obj5));
14946 if (SWIG_arg_fail(6)) SWIG_fail;
14947 }
14948 }
14949 if (obj6) {
14950 {
14951 arg7 = &temp7;
14952 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14953 }
14954 }
14955 if (obj7) {
14956 {
14957 arg8 = &temp8;
14958 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14959 }
14960 }
14961 if (obj8) {
14962 {
14963 arg9 = (long)(SWIG_As_long(obj8));
14964 if (SWIG_arg_fail(9)) SWIG_fail;
14965 }
14966 }
14967 if (obj9) {
14968 {
14969 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14970 if (SWIG_arg_fail(10)) SWIG_fail;
14971 if (arg10 == NULL) {
14972 SWIG_null_ref("wxValidator");
14973 }
14974 if (SWIG_arg_fail(10)) SWIG_fail;
14975 }
14976 }
14977 if (obj10) {
14978 {
14979 arg11 = wxString_in_helper(obj10);
14980 if (arg11 == NULL) SWIG_fail;
14981 temp11 = true;
14982 }
14983 }
14984 {
14985 PyThreadState* __tstate = wxPyBeginAllowThreads();
14986 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14987
14988 wxPyEndAllowThreads(__tstate);
14989 if (PyErr_Occurred()) SWIG_fail;
14990 }
14991 {
14992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14993 }
14994 {
14995 if (temp11)
14996 delete arg11;
14997 }
14998 return resultobj;
14999 fail:
15000 {
15001 if (temp11)
15002 delete arg11;
15003 }
15004 return NULL;
15005 }
15006
15007
15008 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj;
15010 wxSlider *arg1 = (wxSlider *) 0 ;
15011 int result;
15012 PyObject * obj0 = 0 ;
15013 char *kwnames[] = {
15014 (char *) "self", NULL
15015 };
15016
15017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15019 if (SWIG_arg_fail(1)) SWIG_fail;
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 result = (int)((wxSlider const *)arg1)->GetValue();
15023
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
15027 {
15028 resultobj = SWIG_From_int((int)(result));
15029 }
15030 return resultobj;
15031 fail:
15032 return NULL;
15033 }
15034
15035
15036 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15037 PyObject *resultobj;
15038 wxSlider *arg1 = (wxSlider *) 0 ;
15039 int arg2 ;
15040 PyObject * obj0 = 0 ;
15041 PyObject * obj1 = 0 ;
15042 char *kwnames[] = {
15043 (char *) "self",(char *) "value", NULL
15044 };
15045
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15048 if (SWIG_arg_fail(1)) SWIG_fail;
15049 {
15050 arg2 = (int)(SWIG_As_int(obj1));
15051 if (SWIG_arg_fail(2)) SWIG_fail;
15052 }
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 (arg1)->SetValue(arg2);
15056
15057 wxPyEndAllowThreads(__tstate);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15060 Py_INCREF(Py_None); resultobj = Py_None;
15061 return resultobj;
15062 fail:
15063 return NULL;
15064 }
15065
15066
15067 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15068 PyObject *resultobj;
15069 wxSlider *arg1 = (wxSlider *) 0 ;
15070 int arg2 ;
15071 int arg3 ;
15072 PyObject * obj0 = 0 ;
15073 PyObject * obj1 = 0 ;
15074 PyObject * obj2 = 0 ;
15075 char *kwnames[] = {
15076 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15077 };
15078
15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15081 if (SWIG_arg_fail(1)) SWIG_fail;
15082 {
15083 arg2 = (int)(SWIG_As_int(obj1));
15084 if (SWIG_arg_fail(2)) SWIG_fail;
15085 }
15086 {
15087 arg3 = (int)(SWIG_As_int(obj2));
15088 if (SWIG_arg_fail(3)) SWIG_fail;
15089 }
15090 {
15091 PyThreadState* __tstate = wxPyBeginAllowThreads();
15092 (arg1)->SetRange(arg2,arg3);
15093
15094 wxPyEndAllowThreads(__tstate);
15095 if (PyErr_Occurred()) SWIG_fail;
15096 }
15097 Py_INCREF(Py_None); resultobj = Py_None;
15098 return resultobj;
15099 fail:
15100 return NULL;
15101 }
15102
15103
15104 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15105 PyObject *resultobj;
15106 wxSlider *arg1 = (wxSlider *) 0 ;
15107 int result;
15108 PyObject * obj0 = 0 ;
15109 char *kwnames[] = {
15110 (char *) "self", NULL
15111 };
15112
15113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15115 if (SWIG_arg_fail(1)) SWIG_fail;
15116 {
15117 PyThreadState* __tstate = wxPyBeginAllowThreads();
15118 result = (int)((wxSlider const *)arg1)->GetMin();
15119
15120 wxPyEndAllowThreads(__tstate);
15121 if (PyErr_Occurred()) SWIG_fail;
15122 }
15123 {
15124 resultobj = SWIG_From_int((int)(result));
15125 }
15126 return resultobj;
15127 fail:
15128 return NULL;
15129 }
15130
15131
15132 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15133 PyObject *resultobj;
15134 wxSlider *arg1 = (wxSlider *) 0 ;
15135 int result;
15136 PyObject * obj0 = 0 ;
15137 char *kwnames[] = {
15138 (char *) "self", NULL
15139 };
15140
15141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15143 if (SWIG_arg_fail(1)) SWIG_fail;
15144 {
15145 PyThreadState* __tstate = wxPyBeginAllowThreads();
15146 result = (int)((wxSlider const *)arg1)->GetMax();
15147
15148 wxPyEndAllowThreads(__tstate);
15149 if (PyErr_Occurred()) SWIG_fail;
15150 }
15151 {
15152 resultobj = SWIG_From_int((int)(result));
15153 }
15154 return resultobj;
15155 fail:
15156 return NULL;
15157 }
15158
15159
15160 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
15161 PyObject *resultobj;
15162 wxSlider *arg1 = (wxSlider *) 0 ;
15163 int arg2 ;
15164 PyObject * obj0 = 0 ;
15165 PyObject * obj1 = 0 ;
15166 char *kwnames[] = {
15167 (char *) "self",(char *) "minValue", NULL
15168 };
15169
15170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15172 if (SWIG_arg_fail(1)) SWIG_fail;
15173 {
15174 arg2 = (int)(SWIG_As_int(obj1));
15175 if (SWIG_arg_fail(2)) SWIG_fail;
15176 }
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 (arg1)->SetMin(arg2);
15180
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
15184 Py_INCREF(Py_None); resultobj = Py_None;
15185 return resultobj;
15186 fail:
15187 return NULL;
15188 }
15189
15190
15191 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
15192 PyObject *resultobj;
15193 wxSlider *arg1 = (wxSlider *) 0 ;
15194 int arg2 ;
15195 PyObject * obj0 = 0 ;
15196 PyObject * obj1 = 0 ;
15197 char *kwnames[] = {
15198 (char *) "self",(char *) "maxValue", NULL
15199 };
15200
15201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15203 if (SWIG_arg_fail(1)) SWIG_fail;
15204 {
15205 arg2 = (int)(SWIG_As_int(obj1));
15206 if (SWIG_arg_fail(2)) SWIG_fail;
15207 }
15208 {
15209 PyThreadState* __tstate = wxPyBeginAllowThreads();
15210 (arg1)->SetMax(arg2);
15211
15212 wxPyEndAllowThreads(__tstate);
15213 if (PyErr_Occurred()) SWIG_fail;
15214 }
15215 Py_INCREF(Py_None); resultobj = Py_None;
15216 return resultobj;
15217 fail:
15218 return NULL;
15219 }
15220
15221
15222 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15223 PyObject *resultobj;
15224 wxSlider *arg1 = (wxSlider *) 0 ;
15225 int arg2 ;
15226 PyObject * obj0 = 0 ;
15227 PyObject * obj1 = 0 ;
15228 char *kwnames[] = {
15229 (char *) "self",(char *) "lineSize", NULL
15230 };
15231
15232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15234 if (SWIG_arg_fail(1)) SWIG_fail;
15235 {
15236 arg2 = (int)(SWIG_As_int(obj1));
15237 if (SWIG_arg_fail(2)) SWIG_fail;
15238 }
15239 {
15240 PyThreadState* __tstate = wxPyBeginAllowThreads();
15241 (arg1)->SetLineSize(arg2);
15242
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 Py_INCREF(Py_None); resultobj = Py_None;
15247 return resultobj;
15248 fail:
15249 return NULL;
15250 }
15251
15252
15253 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15254 PyObject *resultobj;
15255 wxSlider *arg1 = (wxSlider *) 0 ;
15256 int arg2 ;
15257 PyObject * obj0 = 0 ;
15258 PyObject * obj1 = 0 ;
15259 char *kwnames[] = {
15260 (char *) "self",(char *) "pageSize", NULL
15261 };
15262
15263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15265 if (SWIG_arg_fail(1)) SWIG_fail;
15266 {
15267 arg2 = (int)(SWIG_As_int(obj1));
15268 if (SWIG_arg_fail(2)) SWIG_fail;
15269 }
15270 {
15271 PyThreadState* __tstate = wxPyBeginAllowThreads();
15272 (arg1)->SetPageSize(arg2);
15273
15274 wxPyEndAllowThreads(__tstate);
15275 if (PyErr_Occurred()) SWIG_fail;
15276 }
15277 Py_INCREF(Py_None); resultobj = Py_None;
15278 return resultobj;
15279 fail:
15280 return NULL;
15281 }
15282
15283
15284 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
15285 PyObject *resultobj;
15286 wxSlider *arg1 = (wxSlider *) 0 ;
15287 int result;
15288 PyObject * obj0 = 0 ;
15289 char *kwnames[] = {
15290 (char *) "self", NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15295 if (SWIG_arg_fail(1)) SWIG_fail;
15296 {
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
15298 result = (int)((wxSlider const *)arg1)->GetLineSize();
15299
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 {
15304 resultobj = SWIG_From_int((int)(result));
15305 }
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxSlider *arg1 = (wxSlider *) 0 ;
15315 int result;
15316 PyObject * obj0 = 0 ;
15317 char *kwnames[] = {
15318 (char *) "self", NULL
15319 };
15320
15321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15323 if (SWIG_arg_fail(1)) SWIG_fail;
15324 {
15325 PyThreadState* __tstate = wxPyBeginAllowThreads();
15326 result = (int)((wxSlider const *)arg1)->GetPageSize();
15327
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 {
15332 resultobj = SWIG_From_int((int)(result));
15333 }
15334 return resultobj;
15335 fail:
15336 return NULL;
15337 }
15338
15339
15340 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15341 PyObject *resultobj;
15342 wxSlider *arg1 = (wxSlider *) 0 ;
15343 int arg2 ;
15344 PyObject * obj0 = 0 ;
15345 PyObject * obj1 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "self",(char *) "lenPixels", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15352 if (SWIG_arg_fail(1)) SWIG_fail;
15353 {
15354 arg2 = (int)(SWIG_As_int(obj1));
15355 if (SWIG_arg_fail(2)) SWIG_fail;
15356 }
15357 {
15358 PyThreadState* __tstate = wxPyBeginAllowThreads();
15359 (arg1)->SetThumbLength(arg2);
15360
15361 wxPyEndAllowThreads(__tstate);
15362 if (PyErr_Occurred()) SWIG_fail;
15363 }
15364 Py_INCREF(Py_None); resultobj = Py_None;
15365 return resultobj;
15366 fail:
15367 return NULL;
15368 }
15369
15370
15371 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
15372 PyObject *resultobj;
15373 wxSlider *arg1 = (wxSlider *) 0 ;
15374 int result;
15375 PyObject * obj0 = 0 ;
15376 char *kwnames[] = {
15377 (char *) "self", NULL
15378 };
15379
15380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15382 if (SWIG_arg_fail(1)) SWIG_fail;
15383 {
15384 PyThreadState* __tstate = wxPyBeginAllowThreads();
15385 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15386
15387 wxPyEndAllowThreads(__tstate);
15388 if (PyErr_Occurred()) SWIG_fail;
15389 }
15390 {
15391 resultobj = SWIG_From_int((int)(result));
15392 }
15393 return resultobj;
15394 fail:
15395 return NULL;
15396 }
15397
15398
15399 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj;
15401 wxSlider *arg1 = (wxSlider *) 0 ;
15402 int arg2 ;
15403 int arg3 = (int) 1 ;
15404 PyObject * obj0 = 0 ;
15405 PyObject * obj1 = 0 ;
15406 PyObject * obj2 = 0 ;
15407 char *kwnames[] = {
15408 (char *) "self",(char *) "n",(char *) "pos", NULL
15409 };
15410
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15413 if (SWIG_arg_fail(1)) SWIG_fail;
15414 {
15415 arg2 = (int)(SWIG_As_int(obj1));
15416 if (SWIG_arg_fail(2)) SWIG_fail;
15417 }
15418 if (obj2) {
15419 {
15420 arg3 = (int)(SWIG_As_int(obj2));
15421 if (SWIG_arg_fail(3)) SWIG_fail;
15422 }
15423 }
15424 {
15425 PyThreadState* __tstate = wxPyBeginAllowThreads();
15426 (arg1)->SetTickFreq(arg2,arg3);
15427
15428 wxPyEndAllowThreads(__tstate);
15429 if (PyErr_Occurred()) SWIG_fail;
15430 }
15431 Py_INCREF(Py_None); resultobj = Py_None;
15432 return resultobj;
15433 fail:
15434 return NULL;
15435 }
15436
15437
15438 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
15439 PyObject *resultobj;
15440 wxSlider *arg1 = (wxSlider *) 0 ;
15441 int result;
15442 PyObject * obj0 = 0 ;
15443 char *kwnames[] = {
15444 (char *) "self", NULL
15445 };
15446
15447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15449 if (SWIG_arg_fail(1)) SWIG_fail;
15450 {
15451 PyThreadState* __tstate = wxPyBeginAllowThreads();
15452 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15453
15454 wxPyEndAllowThreads(__tstate);
15455 if (PyErr_Occurred()) SWIG_fail;
15456 }
15457 {
15458 resultobj = SWIG_From_int((int)(result));
15459 }
15460 return resultobj;
15461 fail:
15462 return NULL;
15463 }
15464
15465
15466 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
15467 PyObject *resultobj;
15468 wxSlider *arg1 = (wxSlider *) 0 ;
15469 PyObject * obj0 = 0 ;
15470 char *kwnames[] = {
15471 (char *) "self", NULL
15472 };
15473
15474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15476 if (SWIG_arg_fail(1)) SWIG_fail;
15477 {
15478 PyThreadState* __tstate = wxPyBeginAllowThreads();
15479 (arg1)->ClearTicks();
15480
15481 wxPyEndAllowThreads(__tstate);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 }
15484 Py_INCREF(Py_None); resultobj = Py_None;
15485 return resultobj;
15486 fail:
15487 return NULL;
15488 }
15489
15490
15491 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
15492 PyObject *resultobj;
15493 wxSlider *arg1 = (wxSlider *) 0 ;
15494 int arg2 ;
15495 PyObject * obj0 = 0 ;
15496 PyObject * obj1 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "self",(char *) "tickPos", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15503 if (SWIG_arg_fail(1)) SWIG_fail;
15504 {
15505 arg2 = (int)(SWIG_As_int(obj1));
15506 if (SWIG_arg_fail(2)) SWIG_fail;
15507 }
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 (arg1)->SetTick(arg2);
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 Py_INCREF(Py_None); resultobj = Py_None;
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxSlider *arg1 = (wxSlider *) 0 ;
15525 PyObject * obj0 = 0 ;
15526 char *kwnames[] = {
15527 (char *) "self", NULL
15528 };
15529
15530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15532 if (SWIG_arg_fail(1)) SWIG_fail;
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 (arg1)->ClearSel();
15536
15537 wxPyEndAllowThreads(__tstate);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
15540 Py_INCREF(Py_None); resultobj = Py_None;
15541 return resultobj;
15542 fail:
15543 return NULL;
15544 }
15545
15546
15547 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
15548 PyObject *resultobj;
15549 wxSlider *arg1 = (wxSlider *) 0 ;
15550 int result;
15551 PyObject * obj0 = 0 ;
15552 char *kwnames[] = {
15553 (char *) "self", NULL
15554 };
15555
15556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15558 if (SWIG_arg_fail(1)) SWIG_fail;
15559 {
15560 PyThreadState* __tstate = wxPyBeginAllowThreads();
15561 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15562
15563 wxPyEndAllowThreads(__tstate);
15564 if (PyErr_Occurred()) SWIG_fail;
15565 }
15566 {
15567 resultobj = SWIG_From_int((int)(result));
15568 }
15569 return resultobj;
15570 fail:
15571 return NULL;
15572 }
15573
15574
15575 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
15576 PyObject *resultobj;
15577 wxSlider *arg1 = (wxSlider *) 0 ;
15578 int result;
15579 PyObject * obj0 = 0 ;
15580 char *kwnames[] = {
15581 (char *) "self", NULL
15582 };
15583
15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15586 if (SWIG_arg_fail(1)) SWIG_fail;
15587 {
15588 PyThreadState* __tstate = wxPyBeginAllowThreads();
15589 result = (int)((wxSlider const *)arg1)->GetSelStart();
15590
15591 wxPyEndAllowThreads(__tstate);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15594 {
15595 resultobj = SWIG_From_int((int)(result));
15596 }
15597 return resultobj;
15598 fail:
15599 return NULL;
15600 }
15601
15602
15603 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15604 PyObject *resultobj;
15605 wxSlider *arg1 = (wxSlider *) 0 ;
15606 int arg2 ;
15607 int arg3 ;
15608 PyObject * obj0 = 0 ;
15609 PyObject * obj1 = 0 ;
15610 PyObject * obj2 = 0 ;
15611 char *kwnames[] = {
15612 (char *) "self",(char *) "min",(char *) "max", NULL
15613 };
15614
15615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15617 if (SWIG_arg_fail(1)) SWIG_fail;
15618 {
15619 arg2 = (int)(SWIG_As_int(obj1));
15620 if (SWIG_arg_fail(2)) SWIG_fail;
15621 }
15622 {
15623 arg3 = (int)(SWIG_As_int(obj2));
15624 if (SWIG_arg_fail(3)) SWIG_fail;
15625 }
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 (arg1)->SetSelection(arg2,arg3);
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 Py_INCREF(Py_None); resultobj = Py_None;
15634 return resultobj;
15635 fail:
15636 return NULL;
15637 }
15638
15639
15640 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj;
15642 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15643 wxVisualAttributes result;
15644 PyObject * obj0 = 0 ;
15645 char *kwnames[] = {
15646 (char *) "variant", NULL
15647 };
15648
15649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15650 if (obj0) {
15651 {
15652 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15653 if (SWIG_arg_fail(1)) SWIG_fail;
15654 }
15655 }
15656 {
15657 if (!wxPyCheckForApp()) SWIG_fail;
15658 PyThreadState* __tstate = wxPyBeginAllowThreads();
15659 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15660
15661 wxPyEndAllowThreads(__tstate);
15662 if (PyErr_Occurred()) SWIG_fail;
15663 }
15664 {
15665 wxVisualAttributes * resultptr;
15666 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
15667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15668 }
15669 return resultobj;
15670 fail:
15671 return NULL;
15672 }
15673
15674
15675 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
15676 PyObject *obj;
15677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15678 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15679 Py_INCREF(obj);
15680 return Py_BuildValue((char *)"");
15681 }
15682 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
15683 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15684 return 1;
15685 }
15686
15687
15688 static PyObject *_wrap_ToggleButtonNameStr_get(void) {
15689 PyObject *pyobj;
15690
15691 {
15692 #if wxUSE_UNICODE
15693 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15694 #else
15695 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15696 #endif
15697 }
15698 return pyobj;
15699 }
15700
15701
15702 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15703 PyObject *resultobj;
15704 wxWindow *arg1 = (wxWindow *) 0 ;
15705 int arg2 = (int) -1 ;
15706 wxString const &arg3_defvalue = wxPyEmptyString ;
15707 wxString *arg3 = (wxString *) &arg3_defvalue ;
15708 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15709 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15710 wxSize const &arg5_defvalue = wxDefaultSize ;
15711 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15712 long arg6 = (long) 0 ;
15713 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15714 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15715 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15716 wxString *arg8 = (wxString *) &arg8_defvalue ;
15717 wxToggleButton *result;
15718 bool temp3 = false ;
15719 wxPoint temp4 ;
15720 wxSize temp5 ;
15721 bool temp8 = false ;
15722 PyObject * obj0 = 0 ;
15723 PyObject * obj1 = 0 ;
15724 PyObject * obj2 = 0 ;
15725 PyObject * obj3 = 0 ;
15726 PyObject * obj4 = 0 ;
15727 PyObject * obj5 = 0 ;
15728 PyObject * obj6 = 0 ;
15729 PyObject * obj7 = 0 ;
15730 char *kwnames[] = {
15731 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15732 };
15733
15734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15736 if (SWIG_arg_fail(1)) SWIG_fail;
15737 if (obj1) {
15738 {
15739 arg2 = (int)(SWIG_As_int(obj1));
15740 if (SWIG_arg_fail(2)) SWIG_fail;
15741 }
15742 }
15743 if (obj2) {
15744 {
15745 arg3 = wxString_in_helper(obj2);
15746 if (arg3 == NULL) SWIG_fail;
15747 temp3 = true;
15748 }
15749 }
15750 if (obj3) {
15751 {
15752 arg4 = &temp4;
15753 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15754 }
15755 }
15756 if (obj4) {
15757 {
15758 arg5 = &temp5;
15759 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15760 }
15761 }
15762 if (obj5) {
15763 {
15764 arg6 = (long)(SWIG_As_long(obj5));
15765 if (SWIG_arg_fail(6)) SWIG_fail;
15766 }
15767 }
15768 if (obj6) {
15769 {
15770 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15771 if (SWIG_arg_fail(7)) SWIG_fail;
15772 if (arg7 == NULL) {
15773 SWIG_null_ref("wxValidator");
15774 }
15775 if (SWIG_arg_fail(7)) SWIG_fail;
15776 }
15777 }
15778 if (obj7) {
15779 {
15780 arg8 = wxString_in_helper(obj7);
15781 if (arg8 == NULL) SWIG_fail;
15782 temp8 = true;
15783 }
15784 }
15785 {
15786 if (!wxPyCheckForApp()) SWIG_fail;
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15789
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15794 {
15795 if (temp3)
15796 delete arg3;
15797 }
15798 {
15799 if (temp8)
15800 delete arg8;
15801 }
15802 return resultobj;
15803 fail:
15804 {
15805 if (temp3)
15806 delete arg3;
15807 }
15808 {
15809 if (temp8)
15810 delete arg8;
15811 }
15812 return NULL;
15813 }
15814
15815
15816 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
15817 PyObject *resultobj;
15818 wxToggleButton *result;
15819 char *kwnames[] = {
15820 NULL
15821 };
15822
15823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15824 {
15825 if (!wxPyCheckForApp()) SWIG_fail;
15826 PyThreadState* __tstate = wxPyBeginAllowThreads();
15827 result = (wxToggleButton *)new wxToggleButton();
15828
15829 wxPyEndAllowThreads(__tstate);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 }
15832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15833 return resultobj;
15834 fail:
15835 return NULL;
15836 }
15837
15838
15839 static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15840 PyObject *resultobj;
15841 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15842 wxWindow *arg2 = (wxWindow *) 0 ;
15843 int arg3 = (int) -1 ;
15844 wxString const &arg4_defvalue = wxPyEmptyString ;
15845 wxString *arg4 = (wxString *) &arg4_defvalue ;
15846 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15847 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15848 wxSize const &arg6_defvalue = wxDefaultSize ;
15849 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15850 long arg7 = (long) 0 ;
15851 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15852 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15853 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15854 wxString *arg9 = (wxString *) &arg9_defvalue ;
15855 bool result;
15856 bool temp4 = false ;
15857 wxPoint temp5 ;
15858 wxSize temp6 ;
15859 bool temp9 = false ;
15860 PyObject * obj0 = 0 ;
15861 PyObject * obj1 = 0 ;
15862 PyObject * obj2 = 0 ;
15863 PyObject * obj3 = 0 ;
15864 PyObject * obj4 = 0 ;
15865 PyObject * obj5 = 0 ;
15866 PyObject * obj6 = 0 ;
15867 PyObject * obj7 = 0 ;
15868 PyObject * obj8 = 0 ;
15869 char *kwnames[] = {
15870 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15871 };
15872
15873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15875 if (SWIG_arg_fail(1)) SWIG_fail;
15876 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15877 if (SWIG_arg_fail(2)) SWIG_fail;
15878 if (obj2) {
15879 {
15880 arg3 = (int)(SWIG_As_int(obj2));
15881 if (SWIG_arg_fail(3)) SWIG_fail;
15882 }
15883 }
15884 if (obj3) {
15885 {
15886 arg4 = wxString_in_helper(obj3);
15887 if (arg4 == NULL) SWIG_fail;
15888 temp4 = true;
15889 }
15890 }
15891 if (obj4) {
15892 {
15893 arg5 = &temp5;
15894 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15895 }
15896 }
15897 if (obj5) {
15898 {
15899 arg6 = &temp6;
15900 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15901 }
15902 }
15903 if (obj6) {
15904 {
15905 arg7 = (long)(SWIG_As_long(obj6));
15906 if (SWIG_arg_fail(7)) SWIG_fail;
15907 }
15908 }
15909 if (obj7) {
15910 {
15911 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15912 if (SWIG_arg_fail(8)) SWIG_fail;
15913 if (arg8 == NULL) {
15914 SWIG_null_ref("wxValidator");
15915 }
15916 if (SWIG_arg_fail(8)) SWIG_fail;
15917 }
15918 }
15919 if (obj8) {
15920 {
15921 arg9 = wxString_in_helper(obj8);
15922 if (arg9 == NULL) SWIG_fail;
15923 temp9 = true;
15924 }
15925 }
15926 {
15927 PyThreadState* __tstate = wxPyBeginAllowThreads();
15928 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15929
15930 wxPyEndAllowThreads(__tstate);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 {
15934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15935 }
15936 {
15937 if (temp4)
15938 delete arg4;
15939 }
15940 {
15941 if (temp9)
15942 delete arg9;
15943 }
15944 return resultobj;
15945 fail:
15946 {
15947 if (temp4)
15948 delete arg4;
15949 }
15950 {
15951 if (temp9)
15952 delete arg9;
15953 }
15954 return NULL;
15955 }
15956
15957
15958 static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15959 PyObject *resultobj;
15960 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15961 bool arg2 ;
15962 PyObject * obj0 = 0 ;
15963 PyObject * obj1 = 0 ;
15964 char *kwnames[] = {
15965 (char *) "self",(char *) "value", NULL
15966 };
15967
15968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15970 if (SWIG_arg_fail(1)) SWIG_fail;
15971 {
15972 arg2 = (bool)(SWIG_As_bool(obj1));
15973 if (SWIG_arg_fail(2)) SWIG_fail;
15974 }
15975 {
15976 PyThreadState* __tstate = wxPyBeginAllowThreads();
15977 (arg1)->SetValue(arg2);
15978
15979 wxPyEndAllowThreads(__tstate);
15980 if (PyErr_Occurred()) SWIG_fail;
15981 }
15982 Py_INCREF(Py_None); resultobj = Py_None;
15983 return resultobj;
15984 fail:
15985 return NULL;
15986 }
15987
15988
15989 static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15990 PyObject *resultobj;
15991 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15992 bool result;
15993 PyObject * obj0 = 0 ;
15994 char *kwnames[] = {
15995 (char *) "self", NULL
15996 };
15997
15998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
15999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16000 if (SWIG_arg_fail(1)) SWIG_fail;
16001 {
16002 PyThreadState* __tstate = wxPyBeginAllowThreads();
16003 result = (bool)((wxToggleButton const *)arg1)->GetValue();
16004
16005 wxPyEndAllowThreads(__tstate);
16006 if (PyErr_Occurred()) SWIG_fail;
16007 }
16008 {
16009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16010 }
16011 return resultobj;
16012 fail:
16013 return NULL;
16014 }
16015
16016
16017 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
16018 PyObject *resultobj;
16019 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
16020 wxString *arg2 = 0 ;
16021 bool temp2 = false ;
16022 PyObject * obj0 = 0 ;
16023 PyObject * obj1 = 0 ;
16024 char *kwnames[] = {
16025 (char *) "self",(char *) "label", NULL
16026 };
16027
16028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
16030 if (SWIG_arg_fail(1)) SWIG_fail;
16031 {
16032 arg2 = wxString_in_helper(obj1);
16033 if (arg2 == NULL) SWIG_fail;
16034 temp2 = true;
16035 }
16036 {
16037 PyThreadState* __tstate = wxPyBeginAllowThreads();
16038 (arg1)->SetLabel((wxString const &)*arg2);
16039
16040 wxPyEndAllowThreads(__tstate);
16041 if (PyErr_Occurred()) SWIG_fail;
16042 }
16043 Py_INCREF(Py_None); resultobj = Py_None;
16044 {
16045 if (temp2)
16046 delete arg2;
16047 }
16048 return resultobj;
16049 fail:
16050 {
16051 if (temp2)
16052 delete arg2;
16053 }
16054 return NULL;
16055 }
16056
16057
16058 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16059 PyObject *resultobj;
16060 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16061 wxVisualAttributes result;
16062 PyObject * obj0 = 0 ;
16063 char *kwnames[] = {
16064 (char *) "variant", NULL
16065 };
16066
16067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16068 if (obj0) {
16069 {
16070 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16071 if (SWIG_arg_fail(1)) SWIG_fail;
16072 }
16073 }
16074 {
16075 if (!wxPyCheckForApp()) SWIG_fail;
16076 PyThreadState* __tstate = wxPyBeginAllowThreads();
16077 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
16078
16079 wxPyEndAllowThreads(__tstate);
16080 if (PyErr_Occurred()) SWIG_fail;
16081 }
16082 {
16083 wxVisualAttributes * resultptr;
16084 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16085 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16086 }
16087 return resultobj;
16088 fail:
16089 return NULL;
16090 }
16091
16092
16093 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
16094 PyObject *obj;
16095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16096 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
16097 Py_INCREF(obj);
16098 return Py_BuildValue((char *)"");
16099 }
16100 static int _wrap_NotebookNameStr_set(PyObject *) {
16101 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
16102 return 1;
16103 }
16104
16105
16106 static PyObject *_wrap_NotebookNameStr_get(void) {
16107 PyObject *pyobj;
16108
16109 {
16110 #if wxUSE_UNICODE
16111 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16112 #else
16113 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
16114 #endif
16115 }
16116 return pyobj;
16117 }
16118
16119
16120 static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
16121 PyObject *resultobj;
16122 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16123 size_t result;
16124 PyObject * obj0 = 0 ;
16125 char *kwnames[] = {
16126 (char *) "self", NULL
16127 };
16128
16129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
16130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16131 if (SWIG_arg_fail(1)) SWIG_fail;
16132 {
16133 PyThreadState* __tstate = wxPyBeginAllowThreads();
16134 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
16135
16136 wxPyEndAllowThreads(__tstate);
16137 if (PyErr_Occurred()) SWIG_fail;
16138 }
16139 {
16140 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16141 }
16142 return resultobj;
16143 fail:
16144 return NULL;
16145 }
16146
16147
16148 static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
16149 PyObject *resultobj;
16150 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16151 size_t arg2 ;
16152 wxWindow *result;
16153 PyObject * obj0 = 0 ;
16154 PyObject * obj1 = 0 ;
16155 char *kwnames[] = {
16156 (char *) "self",(char *) "n", NULL
16157 };
16158
16159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
16160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16161 if (SWIG_arg_fail(1)) SWIG_fail;
16162 {
16163 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16164 if (SWIG_arg_fail(2)) SWIG_fail;
16165 }
16166 {
16167 PyThreadState* __tstate = wxPyBeginAllowThreads();
16168 result = (wxWindow *)(arg1)->GetPage(arg2);
16169
16170 wxPyEndAllowThreads(__tstate);
16171 if (PyErr_Occurred()) SWIG_fail;
16172 }
16173 {
16174 resultobj = wxPyMake_wxObject(result, 0);
16175 }
16176 return resultobj;
16177 fail:
16178 return NULL;
16179 }
16180
16181
16182 static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
16183 PyObject *resultobj;
16184 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16185 wxWindow *result;
16186 PyObject * obj0 = 0 ;
16187 char *kwnames[] = {
16188 (char *) "self", NULL
16189 };
16190
16191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
16192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16193 if (SWIG_arg_fail(1)) SWIG_fail;
16194 {
16195 PyThreadState* __tstate = wxPyBeginAllowThreads();
16196 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
16197
16198 wxPyEndAllowThreads(__tstate);
16199 if (PyErr_Occurred()) SWIG_fail;
16200 }
16201 {
16202 resultobj = wxPyMake_wxObject(result, 0);
16203 }
16204 return resultobj;
16205 fail:
16206 return NULL;
16207 }
16208
16209
16210 static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16211 PyObject *resultobj;
16212 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16213 int result;
16214 PyObject * obj0 = 0 ;
16215 char *kwnames[] = {
16216 (char *) "self", NULL
16217 };
16218
16219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
16220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16221 if (SWIG_arg_fail(1)) SWIG_fail;
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 {
16230 resultobj = SWIG_From_int((int)(result));
16231 }
16232 return resultobj;
16233 fail:
16234 return NULL;
16235 }
16236
16237
16238 static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16239 PyObject *resultobj;
16240 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16241 size_t arg2 ;
16242 wxString *arg3 = 0 ;
16243 bool result;
16244 bool temp3 = false ;
16245 PyObject * obj0 = 0 ;
16246 PyObject * obj1 = 0 ;
16247 PyObject * obj2 = 0 ;
16248 char *kwnames[] = {
16249 (char *) "self",(char *) "n",(char *) "strText", NULL
16250 };
16251
16252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
16253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16254 if (SWIG_arg_fail(1)) SWIG_fail;
16255 {
16256 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16257 if (SWIG_arg_fail(2)) SWIG_fail;
16258 }
16259 {
16260 arg3 = wxString_in_helper(obj2);
16261 if (arg3 == NULL) SWIG_fail;
16262 temp3 = true;
16263 }
16264 {
16265 PyThreadState* __tstate = wxPyBeginAllowThreads();
16266 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16267
16268 wxPyEndAllowThreads(__tstate);
16269 if (PyErr_Occurred()) SWIG_fail;
16270 }
16271 {
16272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16273 }
16274 {
16275 if (temp3)
16276 delete arg3;
16277 }
16278 return resultobj;
16279 fail:
16280 {
16281 if (temp3)
16282 delete arg3;
16283 }
16284 return NULL;
16285 }
16286
16287
16288 static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
16289 PyObject *resultobj;
16290 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16291 size_t arg2 ;
16292 wxString result;
16293 PyObject * obj0 = 0 ;
16294 PyObject * obj1 = 0 ;
16295 char *kwnames[] = {
16296 (char *) "self",(char *) "n", NULL
16297 };
16298
16299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
16300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16301 if (SWIG_arg_fail(1)) SWIG_fail;
16302 {
16303 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16304 if (SWIG_arg_fail(2)) SWIG_fail;
16305 }
16306 {
16307 PyThreadState* __tstate = wxPyBeginAllowThreads();
16308 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
16309
16310 wxPyEndAllowThreads(__tstate);
16311 if (PyErr_Occurred()) SWIG_fail;
16312 }
16313 {
16314 #if wxUSE_UNICODE
16315 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16316 #else
16317 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16318 #endif
16319 }
16320 return resultobj;
16321 fail:
16322 return NULL;
16323 }
16324
16325
16326 static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16327 PyObject *resultobj;
16328 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16329 wxImageList *arg2 = (wxImageList *) 0 ;
16330 PyObject * obj0 = 0 ;
16331 PyObject * obj1 = 0 ;
16332 char *kwnames[] = {
16333 (char *) "self",(char *) "imageList", NULL
16334 };
16335
16336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
16337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16338 if (SWIG_arg_fail(1)) SWIG_fail;
16339 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16340 if (SWIG_arg_fail(2)) SWIG_fail;
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 (arg1)->SetImageList(arg2);
16344
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 Py_INCREF(Py_None); resultobj = Py_None;
16349 return resultobj;
16350 fail:
16351 return NULL;
16352 }
16353
16354
16355 static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16356 PyObject *resultobj;
16357 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16358 wxImageList *arg2 = (wxImageList *) 0 ;
16359 PyObject * obj0 = 0 ;
16360 PyObject * obj1 = 0 ;
16361 char *kwnames[] = {
16362 (char *) "self",(char *) "imageList", NULL
16363 };
16364
16365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
16366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16367 if (SWIG_arg_fail(1)) SWIG_fail;
16368 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16369 if (SWIG_arg_fail(2)) SWIG_fail;
16370 {
16371 PyThreadState* __tstate = wxPyBeginAllowThreads();
16372 (arg1)->AssignImageList(arg2);
16373
16374 wxPyEndAllowThreads(__tstate);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 Py_INCREF(Py_None); resultobj = Py_None;
16378 return resultobj;
16379 fail:
16380 return NULL;
16381 }
16382
16383
16384 static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
16385 PyObject *resultobj;
16386 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16387 wxImageList *result;
16388 PyObject * obj0 = 0 ;
16389 char *kwnames[] = {
16390 (char *) "self", NULL
16391 };
16392
16393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
16394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16395 if (SWIG_arg_fail(1)) SWIG_fail;
16396 {
16397 PyThreadState* __tstate = wxPyBeginAllowThreads();
16398 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
16399
16400 wxPyEndAllowThreads(__tstate);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 }
16403 {
16404 resultobj = wxPyMake_wxObject(result, 0);
16405 }
16406 return resultobj;
16407 fail:
16408 return NULL;
16409 }
16410
16411
16412 static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16413 PyObject *resultobj;
16414 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16415 size_t arg2 ;
16416 int result;
16417 PyObject * obj0 = 0 ;
16418 PyObject * obj1 = 0 ;
16419 char *kwnames[] = {
16420 (char *) "self",(char *) "n", NULL
16421 };
16422
16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
16424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16425 if (SWIG_arg_fail(1)) SWIG_fail;
16426 {
16427 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16428 if (SWIG_arg_fail(2)) SWIG_fail;
16429 }
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
16432 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
16433
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 {
16438 resultobj = SWIG_From_int((int)(result));
16439 }
16440 return resultobj;
16441 fail:
16442 return NULL;
16443 }
16444
16445
16446 static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
16447 PyObject *resultobj;
16448 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16449 size_t arg2 ;
16450 int arg3 ;
16451 bool result;
16452 PyObject * obj0 = 0 ;
16453 PyObject * obj1 = 0 ;
16454 PyObject * obj2 = 0 ;
16455 char *kwnames[] = {
16456 (char *) "self",(char *) "n",(char *) "imageId", NULL
16457 };
16458
16459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
16460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16461 if (SWIG_arg_fail(1)) SWIG_fail;
16462 {
16463 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16464 if (SWIG_arg_fail(2)) SWIG_fail;
16465 }
16466 {
16467 arg3 = (int)(SWIG_As_int(obj2));
16468 if (SWIG_arg_fail(3)) SWIG_fail;
16469 }
16470 {
16471 PyThreadState* __tstate = wxPyBeginAllowThreads();
16472 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16473
16474 wxPyEndAllowThreads(__tstate);
16475 if (PyErr_Occurred()) SWIG_fail;
16476 }
16477 {
16478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16479 }
16480 return resultobj;
16481 fail:
16482 return NULL;
16483 }
16484
16485
16486 static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
16487 PyObject *resultobj;
16488 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16489 wxSize *arg2 = 0 ;
16490 wxSize temp2 ;
16491 PyObject * obj0 = 0 ;
16492 PyObject * obj1 = 0 ;
16493 char *kwnames[] = {
16494 (char *) "self",(char *) "size", NULL
16495 };
16496
16497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
16498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16499 if (SWIG_arg_fail(1)) SWIG_fail;
16500 {
16501 arg2 = &temp2;
16502 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16503 }
16504 {
16505 PyThreadState* __tstate = wxPyBeginAllowThreads();
16506 (arg1)->SetPageSize((wxSize const &)*arg2);
16507
16508 wxPyEndAllowThreads(__tstate);
16509 if (PyErr_Occurred()) SWIG_fail;
16510 }
16511 Py_INCREF(Py_None); resultobj = Py_None;
16512 return resultobj;
16513 fail:
16514 return NULL;
16515 }
16516
16517
16518 static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
16519 PyObject *resultobj;
16520 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16521 wxSize *arg2 = 0 ;
16522 wxSize result;
16523 wxSize temp2 ;
16524 PyObject * obj0 = 0 ;
16525 PyObject * obj1 = 0 ;
16526 char *kwnames[] = {
16527 (char *) "self",(char *) "sizePage", NULL
16528 };
16529
16530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
16531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16532 if (SWIG_arg_fail(1)) SWIG_fail;
16533 {
16534 arg2 = &temp2;
16535 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16536 }
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 {
16545 wxSize * resultptr;
16546 resultptr = new wxSize((wxSize &)(result));
16547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16548 }
16549 return resultobj;
16550 fail:
16551 return NULL;
16552 }
16553
16554
16555 static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
16556 PyObject *resultobj;
16557 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16558 size_t arg2 ;
16559 bool result;
16560 PyObject * obj0 = 0 ;
16561 PyObject * obj1 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "self",(char *) "n", NULL
16564 };
16565
16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
16567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16568 if (SWIG_arg_fail(1)) SWIG_fail;
16569 {
16570 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16571 if (SWIG_arg_fail(2)) SWIG_fail;
16572 }
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 result = (bool)(arg1)->DeletePage(arg2);
16576
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 {
16581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16582 }
16583 return resultobj;
16584 fail:
16585 return NULL;
16586 }
16587
16588
16589 static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
16590 PyObject *resultobj;
16591 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16592 size_t arg2 ;
16593 bool result;
16594 PyObject * obj0 = 0 ;
16595 PyObject * obj1 = 0 ;
16596 char *kwnames[] = {
16597 (char *) "self",(char *) "n", NULL
16598 };
16599
16600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
16601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16602 if (SWIG_arg_fail(1)) SWIG_fail;
16603 {
16604 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16605 if (SWIG_arg_fail(2)) SWIG_fail;
16606 }
16607 {
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 result = (bool)(arg1)->RemovePage(arg2);
16610
16611 wxPyEndAllowThreads(__tstate);
16612 if (PyErr_Occurred()) SWIG_fail;
16613 }
16614 {
16615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16616 }
16617 return resultobj;
16618 fail:
16619 return NULL;
16620 }
16621
16622
16623 static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
16624 PyObject *resultobj;
16625 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16626 bool result;
16627 PyObject * obj0 = 0 ;
16628 char *kwnames[] = {
16629 (char *) "self", NULL
16630 };
16631
16632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
16633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16634 if (SWIG_arg_fail(1)) SWIG_fail;
16635 {
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
16637 result = (bool)(arg1)->DeleteAllPages();
16638
16639 wxPyEndAllowThreads(__tstate);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 {
16643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16644 }
16645 return resultobj;
16646 fail:
16647 return NULL;
16648 }
16649
16650
16651 static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
16652 PyObject *resultobj;
16653 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16654 wxWindow *arg2 = (wxWindow *) 0 ;
16655 wxString *arg3 = 0 ;
16656 bool arg4 = (bool) false ;
16657 int arg5 = (int) -1 ;
16658 bool result;
16659 bool temp3 = false ;
16660 PyObject * obj0 = 0 ;
16661 PyObject * obj1 = 0 ;
16662 PyObject * obj2 = 0 ;
16663 PyObject * obj3 = 0 ;
16664 PyObject * obj4 = 0 ;
16665 char *kwnames[] = {
16666 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16667 };
16668
16669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16671 if (SWIG_arg_fail(1)) SWIG_fail;
16672 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16673 if (SWIG_arg_fail(2)) SWIG_fail;
16674 {
16675 arg3 = wxString_in_helper(obj2);
16676 if (arg3 == NULL) SWIG_fail;
16677 temp3 = true;
16678 }
16679 if (obj3) {
16680 {
16681 arg4 = (bool)(SWIG_As_bool(obj3));
16682 if (SWIG_arg_fail(4)) SWIG_fail;
16683 }
16684 }
16685 if (obj4) {
16686 {
16687 arg5 = (int)(SWIG_As_int(obj4));
16688 if (SWIG_arg_fail(5)) SWIG_fail;
16689 }
16690 }
16691 {
16692 PyThreadState* __tstate = wxPyBeginAllowThreads();
16693 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16694
16695 wxPyEndAllowThreads(__tstate);
16696 if (PyErr_Occurred()) SWIG_fail;
16697 }
16698 {
16699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16700 }
16701 {
16702 if (temp3)
16703 delete arg3;
16704 }
16705 return resultobj;
16706 fail:
16707 {
16708 if (temp3)
16709 delete arg3;
16710 }
16711 return NULL;
16712 }
16713
16714
16715 static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj;
16717 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16718 size_t arg2 ;
16719 wxWindow *arg3 = (wxWindow *) 0 ;
16720 wxString *arg4 = 0 ;
16721 bool arg5 = (bool) false ;
16722 int arg6 = (int) -1 ;
16723 bool result;
16724 bool temp4 = false ;
16725 PyObject * obj0 = 0 ;
16726 PyObject * obj1 = 0 ;
16727 PyObject * obj2 = 0 ;
16728 PyObject * obj3 = 0 ;
16729 PyObject * obj4 = 0 ;
16730 PyObject * obj5 = 0 ;
16731 char *kwnames[] = {
16732 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16733 };
16734
16735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16737 if (SWIG_arg_fail(1)) SWIG_fail;
16738 {
16739 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16740 if (SWIG_arg_fail(2)) SWIG_fail;
16741 }
16742 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16743 if (SWIG_arg_fail(3)) SWIG_fail;
16744 {
16745 arg4 = wxString_in_helper(obj3);
16746 if (arg4 == NULL) SWIG_fail;
16747 temp4 = true;
16748 }
16749 if (obj4) {
16750 {
16751 arg5 = (bool)(SWIG_As_bool(obj4));
16752 if (SWIG_arg_fail(5)) SWIG_fail;
16753 }
16754 }
16755 if (obj5) {
16756 {
16757 arg6 = (int)(SWIG_As_int(obj5));
16758 if (SWIG_arg_fail(6)) SWIG_fail;
16759 }
16760 }
16761 {
16762 PyThreadState* __tstate = wxPyBeginAllowThreads();
16763 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16764
16765 wxPyEndAllowThreads(__tstate);
16766 if (PyErr_Occurred()) SWIG_fail;
16767 }
16768 {
16769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16770 }
16771 {
16772 if (temp4)
16773 delete arg4;
16774 }
16775 return resultobj;
16776 fail:
16777 {
16778 if (temp4)
16779 delete arg4;
16780 }
16781 return NULL;
16782 }
16783
16784
16785 static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16786 PyObject *resultobj;
16787 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16788 size_t arg2 ;
16789 int result;
16790 PyObject * obj0 = 0 ;
16791 PyObject * obj1 = 0 ;
16792 char *kwnames[] = {
16793 (char *) "self",(char *) "n", NULL
16794 };
16795
16796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16798 if (SWIG_arg_fail(1)) SWIG_fail;
16799 {
16800 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16801 if (SWIG_arg_fail(2)) SWIG_fail;
16802 }
16803 {
16804 PyThreadState* __tstate = wxPyBeginAllowThreads();
16805 result = (int)(arg1)->SetSelection(arg2);
16806
16807 wxPyEndAllowThreads(__tstate);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 {
16811 resultobj = SWIG_From_int((int)(result));
16812 }
16813 return resultobj;
16814 fail:
16815 return NULL;
16816 }
16817
16818
16819 static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16820 PyObject *resultobj;
16821 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
16822 bool arg2 = (bool) true ;
16823 PyObject * obj0 = 0 ;
16824 PyObject * obj1 = 0 ;
16825 char *kwnames[] = {
16826 (char *) "self",(char *) "forward", NULL
16827 };
16828
16829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
16830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16831 if (SWIG_arg_fail(1)) SWIG_fail;
16832 if (obj1) {
16833 {
16834 arg2 = (bool)(SWIG_As_bool(obj1));
16835 if (SWIG_arg_fail(2)) SWIG_fail;
16836 }
16837 }
16838 {
16839 PyThreadState* __tstate = wxPyBeginAllowThreads();
16840 (arg1)->AdvanceSelection(arg2);
16841
16842 wxPyEndAllowThreads(__tstate);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
16845 Py_INCREF(Py_None); resultobj = Py_None;
16846 return resultobj;
16847 fail:
16848 return NULL;
16849 }
16850
16851
16852 static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
16853 PyObject *resultobj;
16854 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
16855 wxVisualAttributes result;
16856 PyObject * obj0 = 0 ;
16857 char *kwnames[] = {
16858 (char *) "variant", NULL
16859 };
16860
16861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
16862 if (obj0) {
16863 {
16864 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16865 if (SWIG_arg_fail(1)) SWIG_fail;
16866 }
16867 }
16868 {
16869 if (!wxPyCheckForApp()) SWIG_fail;
16870 PyThreadState* __tstate = wxPyBeginAllowThreads();
16871 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
16872
16873 wxPyEndAllowThreads(__tstate);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 {
16877 wxVisualAttributes * resultptr;
16878 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
16879 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16880 }
16881 return resultobj;
16882 fail:
16883 return NULL;
16884 }
16885
16886
16887 static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
16888 PyObject *obj;
16889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16890 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
16891 Py_INCREF(obj);
16892 return Py_BuildValue((char *)"");
16893 }
16894 static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16895 PyObject *resultobj;
16896 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16897 int arg2 = (int) 0 ;
16898 int arg3 = (int) -1 ;
16899 int arg4 = (int) -1 ;
16900 wxBookCtrlBaseEvent *result;
16901 PyObject * obj0 = 0 ;
16902 PyObject * obj1 = 0 ;
16903 PyObject * obj2 = 0 ;
16904 PyObject * obj3 = 0 ;
16905 char *kwnames[] = {
16906 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16907 };
16908
16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16910 if (obj0) {
16911 {
16912 arg1 = (wxEventType)(SWIG_As_int(obj0));
16913 if (SWIG_arg_fail(1)) SWIG_fail;
16914 }
16915 }
16916 if (obj1) {
16917 {
16918 arg2 = (int)(SWIG_As_int(obj1));
16919 if (SWIG_arg_fail(2)) SWIG_fail;
16920 }
16921 }
16922 if (obj2) {
16923 {
16924 arg3 = (int)(SWIG_As_int(obj2));
16925 if (SWIG_arg_fail(3)) SWIG_fail;
16926 }
16927 }
16928 if (obj3) {
16929 {
16930 arg4 = (int)(SWIG_As_int(obj3));
16931 if (SWIG_arg_fail(4)) SWIG_fail;
16932 }
16933 }
16934 {
16935 PyThreadState* __tstate = wxPyBeginAllowThreads();
16936 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
16937
16938 wxPyEndAllowThreads(__tstate);
16939 if (PyErr_Occurred()) SWIG_fail;
16940 }
16941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
16942 return resultobj;
16943 fail:
16944 return NULL;
16945 }
16946
16947
16948 static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16949 PyObject *resultobj;
16950 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16951 int result;
16952 PyObject * obj0 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "self", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
16958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16959 if (SWIG_arg_fail(1)) SWIG_fail;
16960 {
16961 PyThreadState* __tstate = wxPyBeginAllowThreads();
16962 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
16963
16964 wxPyEndAllowThreads(__tstate);
16965 if (PyErr_Occurred()) SWIG_fail;
16966 }
16967 {
16968 resultobj = SWIG_From_int((int)(result));
16969 }
16970 return resultobj;
16971 fail:
16972 return NULL;
16973 }
16974
16975
16976 static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
16977 PyObject *resultobj;
16978 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
16979 int arg2 ;
16980 PyObject * obj0 = 0 ;
16981 PyObject * obj1 = 0 ;
16982 char *kwnames[] = {
16983 (char *) "self",(char *) "nSel", NULL
16984 };
16985
16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
16987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16988 if (SWIG_arg_fail(1)) SWIG_fail;
16989 {
16990 arg2 = (int)(SWIG_As_int(obj1));
16991 if (SWIG_arg_fail(2)) SWIG_fail;
16992 }
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 (arg1)->SetSelection(arg2);
16996
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 Py_INCREF(Py_None); resultobj = Py_None;
17001 return resultobj;
17002 fail:
17003 return NULL;
17004 }
17005
17006
17007 static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17008 PyObject *resultobj;
17009 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17010 int result;
17011 PyObject * obj0 = 0 ;
17012 char *kwnames[] = {
17013 (char *) "self", NULL
17014 };
17015
17016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
17017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17018 if (SWIG_arg_fail(1)) SWIG_fail;
17019 {
17020 PyThreadState* __tstate = wxPyBeginAllowThreads();
17021 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
17022
17023 wxPyEndAllowThreads(__tstate);
17024 if (PyErr_Occurred()) SWIG_fail;
17025 }
17026 {
17027 resultobj = SWIG_From_int((int)(result));
17028 }
17029 return resultobj;
17030 fail:
17031 return NULL;
17032 }
17033
17034
17035 static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj;
17037 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
17038 int arg2 ;
17039 PyObject * obj0 = 0 ;
17040 PyObject * obj1 = 0 ;
17041 char *kwnames[] = {
17042 (char *) "self",(char *) "nOldSel", NULL
17043 };
17044
17045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
17046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
17047 if (SWIG_arg_fail(1)) SWIG_fail;
17048 {
17049 arg2 = (int)(SWIG_As_int(obj1));
17050 if (SWIG_arg_fail(2)) SWIG_fail;
17051 }
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 (arg1)->SetOldSelection(arg2);
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 Py_INCREF(Py_None); resultobj = Py_None;
17060 return resultobj;
17061 fail:
17062 return NULL;
17063 }
17064
17065
17066 static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
17067 PyObject *obj;
17068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17069 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
17070 Py_INCREF(obj);
17071 return Py_BuildValue((char *)"");
17072 }
17073 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
17074 PyObject *resultobj;
17075 wxWindow *arg1 = (wxWindow *) 0 ;
17076 int arg2 = (int) -1 ;
17077 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17078 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17079 wxSize const &arg4_defvalue = wxDefaultSize ;
17080 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17081 long arg5 = (long) 0 ;
17082 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
17083 wxString *arg6 = (wxString *) &arg6_defvalue ;
17084 wxNotebook *result;
17085 wxPoint temp3 ;
17086 wxSize temp4 ;
17087 bool temp6 = false ;
17088 PyObject * obj0 = 0 ;
17089 PyObject * obj1 = 0 ;
17090 PyObject * obj2 = 0 ;
17091 PyObject * obj3 = 0 ;
17092 PyObject * obj4 = 0 ;
17093 PyObject * obj5 = 0 ;
17094 char *kwnames[] = {
17095 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17096 };
17097
17098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17100 if (SWIG_arg_fail(1)) SWIG_fail;
17101 if (obj1) {
17102 {
17103 arg2 = (int)(SWIG_As_int(obj1));
17104 if (SWIG_arg_fail(2)) SWIG_fail;
17105 }
17106 }
17107 if (obj2) {
17108 {
17109 arg3 = &temp3;
17110 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17111 }
17112 }
17113 if (obj3) {
17114 {
17115 arg4 = &temp4;
17116 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17117 }
17118 }
17119 if (obj4) {
17120 {
17121 arg5 = (long)(SWIG_As_long(obj4));
17122 if (SWIG_arg_fail(5)) SWIG_fail;
17123 }
17124 }
17125 if (obj5) {
17126 {
17127 arg6 = wxString_in_helper(obj5);
17128 if (arg6 == NULL) SWIG_fail;
17129 temp6 = true;
17130 }
17131 }
17132 {
17133 if (!wxPyCheckForApp()) SWIG_fail;
17134 PyThreadState* __tstate = wxPyBeginAllowThreads();
17135 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17136
17137 wxPyEndAllowThreads(__tstate);
17138 if (PyErr_Occurred()) SWIG_fail;
17139 }
17140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17141 {
17142 if (temp6)
17143 delete arg6;
17144 }
17145 return resultobj;
17146 fail:
17147 {
17148 if (temp6)
17149 delete arg6;
17150 }
17151 return NULL;
17152 }
17153
17154
17155 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
17156 PyObject *resultobj;
17157 wxNotebook *result;
17158 char *kwnames[] = {
17159 NULL
17160 };
17161
17162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17163 {
17164 if (!wxPyCheckForApp()) SWIG_fail;
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 result = (wxNotebook *)new wxNotebook();
17167
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
17172 return resultobj;
17173 fail:
17174 return NULL;
17175 }
17176
17177
17178 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17179 PyObject *resultobj;
17180 wxNotebook *arg1 = (wxNotebook *) 0 ;
17181 wxWindow *arg2 = (wxWindow *) 0 ;
17182 int arg3 = (int) -1 ;
17183 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17184 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17185 wxSize const &arg5_defvalue = wxDefaultSize ;
17186 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17187 long arg6 = (long) 0 ;
17188 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
17189 wxString *arg7 = (wxString *) &arg7_defvalue ;
17190 bool result;
17191 wxPoint temp4 ;
17192 wxSize temp5 ;
17193 bool temp7 = false ;
17194 PyObject * obj0 = 0 ;
17195 PyObject * obj1 = 0 ;
17196 PyObject * obj2 = 0 ;
17197 PyObject * obj3 = 0 ;
17198 PyObject * obj4 = 0 ;
17199 PyObject * obj5 = 0 ;
17200 PyObject * obj6 = 0 ;
17201 char *kwnames[] = {
17202 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17203 };
17204
17205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17207 if (SWIG_arg_fail(1)) SWIG_fail;
17208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17209 if (SWIG_arg_fail(2)) SWIG_fail;
17210 if (obj2) {
17211 {
17212 arg3 = (int)(SWIG_As_int(obj2));
17213 if (SWIG_arg_fail(3)) SWIG_fail;
17214 }
17215 }
17216 if (obj3) {
17217 {
17218 arg4 = &temp4;
17219 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17220 }
17221 }
17222 if (obj4) {
17223 {
17224 arg5 = &temp5;
17225 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17226 }
17227 }
17228 if (obj5) {
17229 {
17230 arg6 = (long)(SWIG_As_long(obj5));
17231 if (SWIG_arg_fail(6)) SWIG_fail;
17232 }
17233 }
17234 if (obj6) {
17235 {
17236 arg7 = wxString_in_helper(obj6);
17237 if (arg7 == NULL) SWIG_fail;
17238 temp7 = true;
17239 }
17240 }
17241 {
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17244
17245 wxPyEndAllowThreads(__tstate);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 }
17248 {
17249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17250 }
17251 {
17252 if (temp7)
17253 delete arg7;
17254 }
17255 return resultobj;
17256 fail:
17257 {
17258 if (temp7)
17259 delete arg7;
17260 }
17261 return NULL;
17262 }
17263
17264
17265 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
17266 PyObject *resultobj;
17267 wxNotebook *arg1 = (wxNotebook *) 0 ;
17268 int result;
17269 PyObject * obj0 = 0 ;
17270 char *kwnames[] = {
17271 (char *) "self", NULL
17272 };
17273
17274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
17275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17276 if (SWIG_arg_fail(1)) SWIG_fail;
17277 {
17278 PyThreadState* __tstate = wxPyBeginAllowThreads();
17279 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17280
17281 wxPyEndAllowThreads(__tstate);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 }
17284 {
17285 resultobj = SWIG_From_int((int)(result));
17286 }
17287 return resultobj;
17288 fail:
17289 return NULL;
17290 }
17291
17292
17293 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
17294 PyObject *resultobj;
17295 wxNotebook *arg1 = (wxNotebook *) 0 ;
17296 wxSize *arg2 = 0 ;
17297 wxSize temp2 ;
17298 PyObject * obj0 = 0 ;
17299 PyObject * obj1 = 0 ;
17300 char *kwnames[] = {
17301 (char *) "self",(char *) "padding", NULL
17302 };
17303
17304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
17305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17306 if (SWIG_arg_fail(1)) SWIG_fail;
17307 {
17308 arg2 = &temp2;
17309 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17310 }
17311 {
17312 PyThreadState* __tstate = wxPyBeginAllowThreads();
17313 (arg1)->SetPadding((wxSize const &)*arg2);
17314
17315 wxPyEndAllowThreads(__tstate);
17316 if (PyErr_Occurred()) SWIG_fail;
17317 }
17318 Py_INCREF(Py_None); resultobj = Py_None;
17319 return resultobj;
17320 fail:
17321 return NULL;
17322 }
17323
17324
17325 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
17326 PyObject *resultobj;
17327 wxNotebook *arg1 = (wxNotebook *) 0 ;
17328 wxSize *arg2 = 0 ;
17329 wxSize temp2 ;
17330 PyObject * obj0 = 0 ;
17331 PyObject * obj1 = 0 ;
17332 char *kwnames[] = {
17333 (char *) "self",(char *) "sz", NULL
17334 };
17335
17336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
17337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17338 if (SWIG_arg_fail(1)) SWIG_fail;
17339 {
17340 arg2 = &temp2;
17341 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17342 }
17343 {
17344 PyThreadState* __tstate = wxPyBeginAllowThreads();
17345 (arg1)->SetTabSize((wxSize const &)*arg2);
17346
17347 wxPyEndAllowThreads(__tstate);
17348 if (PyErr_Occurred()) SWIG_fail;
17349 }
17350 Py_INCREF(Py_None); resultobj = Py_None;
17351 return resultobj;
17352 fail:
17353 return NULL;
17354 }
17355
17356
17357 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
17358 PyObject *resultobj;
17359 wxNotebook *arg1 = (wxNotebook *) 0 ;
17360 wxPoint *arg2 = 0 ;
17361 long *arg3 = (long *) 0 ;
17362 int result;
17363 wxPoint temp2 ;
17364 long temp3 ;
17365 int res3 = 0 ;
17366 PyObject * obj0 = 0 ;
17367 PyObject * obj1 = 0 ;
17368 char *kwnames[] = {
17369 (char *) "self",(char *) "pt", NULL
17370 };
17371
17372 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
17374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17375 if (SWIG_arg_fail(1)) SWIG_fail;
17376 {
17377 arg2 = &temp2;
17378 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17379 }
17380 {
17381 PyThreadState* __tstate = wxPyBeginAllowThreads();
17382 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17383
17384 wxPyEndAllowThreads(__tstate);
17385 if (PyErr_Occurred()) SWIG_fail;
17386 }
17387 {
17388 resultobj = SWIG_From_int((int)(result));
17389 }
17390 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17391 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
17392 return resultobj;
17393 fail:
17394 return NULL;
17395 }
17396
17397
17398 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
17399 PyObject *resultobj;
17400 wxNotebook *arg1 = (wxNotebook *) 0 ;
17401 wxSize *arg2 = 0 ;
17402 wxSize result;
17403 wxSize temp2 ;
17404 PyObject * obj0 = 0 ;
17405 PyObject * obj1 = 0 ;
17406 char *kwnames[] = {
17407 (char *) "self",(char *) "sizePage", NULL
17408 };
17409
17410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
17411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17412 if (SWIG_arg_fail(1)) SWIG_fail;
17413 {
17414 arg2 = &temp2;
17415 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17416 }
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17420
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 {
17425 wxSize * resultptr;
17426 resultptr = new wxSize((wxSize &)(result));
17427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17428 }
17429 return resultobj;
17430 fail:
17431 return NULL;
17432 }
17433
17434
17435 static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17436 PyObject *resultobj;
17437 wxNotebook *arg1 = (wxNotebook *) 0 ;
17438 wxColour result;
17439 PyObject * obj0 = 0 ;
17440 char *kwnames[] = {
17441 (char *) "self", NULL
17442 };
17443
17444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17446 if (SWIG_arg_fail(1)) SWIG_fail;
17447 {
17448 PyThreadState* __tstate = wxPyBeginAllowThreads();
17449 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17450
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 {
17455 wxColour * resultptr;
17456 resultptr = new wxColour((wxColour &)(result));
17457 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17458 }
17459 return resultobj;
17460 fail:
17461 return NULL;
17462 }
17463
17464
17465 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17466 PyObject *resultobj;
17467 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17468 wxVisualAttributes result;
17469 PyObject * obj0 = 0 ;
17470 char *kwnames[] = {
17471 (char *) "variant", NULL
17472 };
17473
17474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17475 if (obj0) {
17476 {
17477 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17478 if (SWIG_arg_fail(1)) SWIG_fail;
17479 }
17480 }
17481 {
17482 if (!wxPyCheckForApp()) SWIG_fail;
17483 PyThreadState* __tstate = wxPyBeginAllowThreads();
17484 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17485
17486 wxPyEndAllowThreads(__tstate);
17487 if (PyErr_Occurred()) SWIG_fail;
17488 }
17489 {
17490 wxVisualAttributes * resultptr;
17491 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
17492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17493 }
17494 return resultobj;
17495 fail:
17496 return NULL;
17497 }
17498
17499
17500 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
17501 PyObject *obj;
17502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17503 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17504 Py_INCREF(obj);
17505 return Py_BuildValue((char *)"");
17506 }
17507 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17508 PyObject *resultobj;
17509 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17510 int arg2 = (int) 0 ;
17511 int arg3 = (int) -1 ;
17512 int arg4 = (int) -1 ;
17513 wxNotebookEvent *result;
17514 PyObject * obj0 = 0 ;
17515 PyObject * obj1 = 0 ;
17516 PyObject * obj2 = 0 ;
17517 PyObject * obj3 = 0 ;
17518 char *kwnames[] = {
17519 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17520 };
17521
17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17523 if (obj0) {
17524 {
17525 arg1 = (wxEventType)(SWIG_As_int(obj0));
17526 if (SWIG_arg_fail(1)) SWIG_fail;
17527 }
17528 }
17529 if (obj1) {
17530 {
17531 arg2 = (int)(SWIG_As_int(obj1));
17532 if (SWIG_arg_fail(2)) SWIG_fail;
17533 }
17534 }
17535 if (obj2) {
17536 {
17537 arg3 = (int)(SWIG_As_int(obj2));
17538 if (SWIG_arg_fail(3)) SWIG_fail;
17539 }
17540 }
17541 if (obj3) {
17542 {
17543 arg4 = (int)(SWIG_As_int(obj3));
17544 if (SWIG_arg_fail(4)) SWIG_fail;
17545 }
17546 }
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17550
17551 wxPyEndAllowThreads(__tstate);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
17554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17555 return resultobj;
17556 fail:
17557 return NULL;
17558 }
17559
17560
17561 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
17562 PyObject *obj;
17563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17564 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17565 Py_INCREF(obj);
17566 return Py_BuildValue((char *)"");
17567 }
17568 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
17569 PyObject *resultobj;
17570 wxWindow *arg1 = (wxWindow *) 0 ;
17571 int arg2 = (int) -1 ;
17572 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17573 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17574 wxSize const &arg4_defvalue = wxDefaultSize ;
17575 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17576 long arg5 = (long) 0 ;
17577 wxString const &arg6_defvalue = wxPyEmptyString ;
17578 wxString *arg6 = (wxString *) &arg6_defvalue ;
17579 wxListbook *result;
17580 wxPoint temp3 ;
17581 wxSize temp4 ;
17582 bool temp6 = false ;
17583 PyObject * obj0 = 0 ;
17584 PyObject * obj1 = 0 ;
17585 PyObject * obj2 = 0 ;
17586 PyObject * obj3 = 0 ;
17587 PyObject * obj4 = 0 ;
17588 PyObject * obj5 = 0 ;
17589 char *kwnames[] = {
17590 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17591 };
17592
17593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17595 if (SWIG_arg_fail(1)) SWIG_fail;
17596 if (obj1) {
17597 {
17598 arg2 = (int)(SWIG_As_int(obj1));
17599 if (SWIG_arg_fail(2)) SWIG_fail;
17600 }
17601 }
17602 if (obj2) {
17603 {
17604 arg3 = &temp3;
17605 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17606 }
17607 }
17608 if (obj3) {
17609 {
17610 arg4 = &temp4;
17611 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17612 }
17613 }
17614 if (obj4) {
17615 {
17616 arg5 = (long)(SWIG_As_long(obj4));
17617 if (SWIG_arg_fail(5)) SWIG_fail;
17618 }
17619 }
17620 if (obj5) {
17621 {
17622 arg6 = wxString_in_helper(obj5);
17623 if (arg6 == NULL) SWIG_fail;
17624 temp6 = true;
17625 }
17626 }
17627 {
17628 if (!wxPyCheckForApp()) SWIG_fail;
17629 PyThreadState* __tstate = wxPyBeginAllowThreads();
17630 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17631
17632 wxPyEndAllowThreads(__tstate);
17633 if (PyErr_Occurred()) SWIG_fail;
17634 }
17635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17636 {
17637 if (temp6)
17638 delete arg6;
17639 }
17640 return resultobj;
17641 fail:
17642 {
17643 if (temp6)
17644 delete arg6;
17645 }
17646 return NULL;
17647 }
17648
17649
17650 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxListbook *result;
17653 char *kwnames[] = {
17654 NULL
17655 };
17656
17657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17658 {
17659 if (!wxPyCheckForApp()) SWIG_fail;
17660 PyThreadState* __tstate = wxPyBeginAllowThreads();
17661 result = (wxListbook *)new wxListbook();
17662
17663 wxPyEndAllowThreads(__tstate);
17664 if (PyErr_Occurred()) SWIG_fail;
17665 }
17666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17667 return resultobj;
17668 fail:
17669 return NULL;
17670 }
17671
17672
17673 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17674 PyObject *resultobj;
17675 wxListbook *arg1 = (wxListbook *) 0 ;
17676 wxWindow *arg2 = (wxWindow *) 0 ;
17677 int arg3 = (int) -1 ;
17678 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17679 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17680 wxSize const &arg5_defvalue = wxDefaultSize ;
17681 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17682 long arg6 = (long) 0 ;
17683 wxString const &arg7_defvalue = wxPyEmptyString ;
17684 wxString *arg7 = (wxString *) &arg7_defvalue ;
17685 bool result;
17686 wxPoint temp4 ;
17687 wxSize temp5 ;
17688 bool temp7 = false ;
17689 PyObject * obj0 = 0 ;
17690 PyObject * obj1 = 0 ;
17691 PyObject * obj2 = 0 ;
17692 PyObject * obj3 = 0 ;
17693 PyObject * obj4 = 0 ;
17694 PyObject * obj5 = 0 ;
17695 PyObject * obj6 = 0 ;
17696 char *kwnames[] = {
17697 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17698 };
17699
17700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17702 if (SWIG_arg_fail(1)) SWIG_fail;
17703 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17704 if (SWIG_arg_fail(2)) SWIG_fail;
17705 if (obj2) {
17706 {
17707 arg3 = (int)(SWIG_As_int(obj2));
17708 if (SWIG_arg_fail(3)) SWIG_fail;
17709 }
17710 }
17711 if (obj3) {
17712 {
17713 arg4 = &temp4;
17714 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17715 }
17716 }
17717 if (obj4) {
17718 {
17719 arg5 = &temp5;
17720 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17721 }
17722 }
17723 if (obj5) {
17724 {
17725 arg6 = (long)(SWIG_As_long(obj5));
17726 if (SWIG_arg_fail(6)) SWIG_fail;
17727 }
17728 }
17729 if (obj6) {
17730 {
17731 arg7 = wxString_in_helper(obj6);
17732 if (arg7 == NULL) SWIG_fail;
17733 temp7 = true;
17734 }
17735 }
17736 {
17737 PyThreadState* __tstate = wxPyBeginAllowThreads();
17738 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17739
17740 wxPyEndAllowThreads(__tstate);
17741 if (PyErr_Occurred()) SWIG_fail;
17742 }
17743 {
17744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17745 }
17746 {
17747 if (temp7)
17748 delete arg7;
17749 }
17750 return resultobj;
17751 fail:
17752 {
17753 if (temp7)
17754 delete arg7;
17755 }
17756 return NULL;
17757 }
17758
17759
17760 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17761 PyObject *resultobj;
17762 wxListbook *arg1 = (wxListbook *) 0 ;
17763 bool result;
17764 PyObject * obj0 = 0 ;
17765 char *kwnames[] = {
17766 (char *) "self", NULL
17767 };
17768
17769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
17770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17771 if (SWIG_arg_fail(1)) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 result = (bool)((wxListbook const *)arg1)->IsVertical();
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 {
17780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17781 }
17782 return resultobj;
17783 fail:
17784 return NULL;
17785 }
17786
17787
17788 static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17789 PyObject *resultobj;
17790 wxListbook *arg1 = (wxListbook *) 0 ;
17791 wxListView *result;
17792 PyObject * obj0 = 0 ;
17793 char *kwnames[] = {
17794 (char *) "self", NULL
17795 };
17796
17797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
17798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17799 if (SWIG_arg_fail(1)) SWIG_fail;
17800 {
17801 PyThreadState* __tstate = wxPyBeginAllowThreads();
17802 result = (wxListView *)(arg1)->GetListView();
17803
17804 wxPyEndAllowThreads(__tstate);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 }
17807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17808 return resultobj;
17809 fail:
17810 return NULL;
17811 }
17812
17813
17814 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
17815 PyObject *obj;
17816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17817 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17818 Py_INCREF(obj);
17819 return Py_BuildValue((char *)"");
17820 }
17821 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
17822 PyObject *resultobj;
17823 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17824 int arg2 = (int) 0 ;
17825 int arg3 = (int) -1 ;
17826 int arg4 = (int) -1 ;
17827 wxListbookEvent *result;
17828 PyObject * obj0 = 0 ;
17829 PyObject * obj1 = 0 ;
17830 PyObject * obj2 = 0 ;
17831 PyObject * obj3 = 0 ;
17832 char *kwnames[] = {
17833 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17834 };
17835
17836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17837 if (obj0) {
17838 {
17839 arg1 = (wxEventType)(SWIG_As_int(obj0));
17840 if (SWIG_arg_fail(1)) SWIG_fail;
17841 }
17842 }
17843 if (obj1) {
17844 {
17845 arg2 = (int)(SWIG_As_int(obj1));
17846 if (SWIG_arg_fail(2)) SWIG_fail;
17847 }
17848 }
17849 if (obj2) {
17850 {
17851 arg3 = (int)(SWIG_As_int(obj2));
17852 if (SWIG_arg_fail(3)) SWIG_fail;
17853 }
17854 }
17855 if (obj3) {
17856 {
17857 arg4 = (int)(SWIG_As_int(obj3));
17858 if (SWIG_arg_fail(4)) SWIG_fail;
17859 }
17860 }
17861 {
17862 PyThreadState* __tstate = wxPyBeginAllowThreads();
17863 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17864
17865 wxPyEndAllowThreads(__tstate);
17866 if (PyErr_Occurred()) SWIG_fail;
17867 }
17868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17869 return resultobj;
17870 fail:
17871 return NULL;
17872 }
17873
17874
17875 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
17876 PyObject *obj;
17877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17878 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17879 Py_INCREF(obj);
17880 return Py_BuildValue((char *)"");
17881 }
17882 static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17883 PyObject *resultobj;
17884 wxWindow *arg1 = (wxWindow *) 0 ;
17885 int arg2 ;
17886 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17887 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17888 wxSize const &arg4_defvalue = wxDefaultSize ;
17889 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17890 long arg5 = (long) 0 ;
17891 wxString const &arg6_defvalue = wxPyEmptyString ;
17892 wxString *arg6 = (wxString *) &arg6_defvalue ;
17893 wxChoicebook *result;
17894 wxPoint temp3 ;
17895 wxSize temp4 ;
17896 bool temp6 = false ;
17897 PyObject * obj0 = 0 ;
17898 PyObject * obj1 = 0 ;
17899 PyObject * obj2 = 0 ;
17900 PyObject * obj3 = 0 ;
17901 PyObject * obj4 = 0 ;
17902 PyObject * obj5 = 0 ;
17903 char *kwnames[] = {
17904 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17905 };
17906
17907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17909 if (SWIG_arg_fail(1)) SWIG_fail;
17910 {
17911 arg2 = (int)(SWIG_As_int(obj1));
17912 if (SWIG_arg_fail(2)) SWIG_fail;
17913 }
17914 if (obj2) {
17915 {
17916 arg3 = &temp3;
17917 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17918 }
17919 }
17920 if (obj3) {
17921 {
17922 arg4 = &temp4;
17923 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17924 }
17925 }
17926 if (obj4) {
17927 {
17928 arg5 = (long)(SWIG_As_long(obj4));
17929 if (SWIG_arg_fail(5)) SWIG_fail;
17930 }
17931 }
17932 if (obj5) {
17933 {
17934 arg6 = wxString_in_helper(obj5);
17935 if (arg6 == NULL) SWIG_fail;
17936 temp6 = true;
17937 }
17938 }
17939 {
17940 if (!wxPyCheckForApp()) SWIG_fail;
17941 PyThreadState* __tstate = wxPyBeginAllowThreads();
17942 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17943
17944 wxPyEndAllowThreads(__tstate);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 }
17947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17948 {
17949 if (temp6)
17950 delete arg6;
17951 }
17952 return resultobj;
17953 fail:
17954 {
17955 if (temp6)
17956 delete arg6;
17957 }
17958 return NULL;
17959 }
17960
17961
17962 static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17963 PyObject *resultobj;
17964 wxChoicebook *result;
17965 char *kwnames[] = {
17966 NULL
17967 };
17968
17969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17970 {
17971 if (!wxPyCheckForApp()) SWIG_fail;
17972 PyThreadState* __tstate = wxPyBeginAllowThreads();
17973 result = (wxChoicebook *)new wxChoicebook();
17974
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17979 return resultobj;
17980 fail:
17981 return NULL;
17982 }
17983
17984
17985 static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17986 PyObject *resultobj;
17987 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17988 wxWindow *arg2 = (wxWindow *) 0 ;
17989 int arg3 ;
17990 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17991 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17992 wxSize const &arg5_defvalue = wxDefaultSize ;
17993 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17994 long arg6 = (long) 0 ;
17995 wxString const &arg7_defvalue = wxPyEmptyString ;
17996 wxString *arg7 = (wxString *) &arg7_defvalue ;
17997 bool result;
17998 wxPoint temp4 ;
17999 wxSize temp5 ;
18000 bool temp7 = false ;
18001 PyObject * obj0 = 0 ;
18002 PyObject * obj1 = 0 ;
18003 PyObject * obj2 = 0 ;
18004 PyObject * obj3 = 0 ;
18005 PyObject * obj4 = 0 ;
18006 PyObject * obj5 = 0 ;
18007 PyObject * obj6 = 0 ;
18008 char *kwnames[] = {
18009 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18010 };
18011
18012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18014 if (SWIG_arg_fail(1)) SWIG_fail;
18015 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18016 if (SWIG_arg_fail(2)) SWIG_fail;
18017 {
18018 arg3 = (int)(SWIG_As_int(obj2));
18019 if (SWIG_arg_fail(3)) SWIG_fail;
18020 }
18021 if (obj3) {
18022 {
18023 arg4 = &temp4;
18024 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18025 }
18026 }
18027 if (obj4) {
18028 {
18029 arg5 = &temp5;
18030 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18031 }
18032 }
18033 if (obj5) {
18034 {
18035 arg6 = (long)(SWIG_As_long(obj5));
18036 if (SWIG_arg_fail(6)) SWIG_fail;
18037 }
18038 }
18039 if (obj6) {
18040 {
18041 arg7 = wxString_in_helper(obj6);
18042 if (arg7 == NULL) SWIG_fail;
18043 temp7 = true;
18044 }
18045 }
18046 {
18047 PyThreadState* __tstate = wxPyBeginAllowThreads();
18048 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18049
18050 wxPyEndAllowThreads(__tstate);
18051 if (PyErr_Occurred()) SWIG_fail;
18052 }
18053 {
18054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18055 }
18056 {
18057 if (temp7)
18058 delete arg7;
18059 }
18060 return resultobj;
18061 fail:
18062 {
18063 if (temp7)
18064 delete arg7;
18065 }
18066 return NULL;
18067 }
18068
18069
18070 static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
18071 PyObject *resultobj;
18072 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18073 bool result;
18074 PyObject * obj0 = 0 ;
18075 char *kwnames[] = {
18076 (char *) "self", NULL
18077 };
18078
18079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
18080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18081 if (SWIG_arg_fail(1)) SWIG_fail;
18082 {
18083 PyThreadState* __tstate = wxPyBeginAllowThreads();
18084 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 {
18090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18091 }
18092 return resultobj;
18093 fail:
18094 return NULL;
18095 }
18096
18097
18098 static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
18099 PyObject *resultobj;
18100 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18101 wxChoice *result;
18102 PyObject * obj0 = 0 ;
18103 char *kwnames[] = {
18104 (char *) "self", NULL
18105 };
18106
18107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
18108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18109 if (SWIG_arg_fail(1)) SWIG_fail;
18110 {
18111 PyThreadState* __tstate = wxPyBeginAllowThreads();
18112 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
18113
18114 wxPyEndAllowThreads(__tstate);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 }
18117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
18118 return resultobj;
18119 fail:
18120 return NULL;
18121 }
18122
18123
18124 static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18125 PyObject *resultobj;
18126 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18127 bool result;
18128 PyObject * obj0 = 0 ;
18129 char *kwnames[] = {
18130 (char *) "self", NULL
18131 };
18132
18133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
18134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18135 if (SWIG_arg_fail(1)) SWIG_fail;
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 result = (bool)(arg1)->DeleteAllPages();
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 {
18144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18145 }
18146 return resultobj;
18147 fail:
18148 return NULL;
18149 }
18150
18151
18152 static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18153 PyObject *obj;
18154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18155 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18156 Py_INCREF(obj);
18157 return Py_BuildValue((char *)"");
18158 }
18159 static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18160 PyObject *resultobj;
18161 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18162 int arg2 = (int) 0 ;
18163 int arg3 = (int) -1 ;
18164 int arg4 = (int) -1 ;
18165 wxChoicebookEvent *result;
18166 PyObject * obj0 = 0 ;
18167 PyObject * obj1 = 0 ;
18168 PyObject * obj2 = 0 ;
18169 PyObject * obj3 = 0 ;
18170 char *kwnames[] = {
18171 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18172 };
18173
18174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18175 if (obj0) {
18176 {
18177 arg1 = (wxEventType)(SWIG_As_int(obj0));
18178 if (SWIG_arg_fail(1)) SWIG_fail;
18179 }
18180 }
18181 if (obj1) {
18182 {
18183 arg2 = (int)(SWIG_As_int(obj1));
18184 if (SWIG_arg_fail(2)) SWIG_fail;
18185 }
18186 }
18187 if (obj2) {
18188 {
18189 arg3 = (int)(SWIG_As_int(obj2));
18190 if (SWIG_arg_fail(3)) SWIG_fail;
18191 }
18192 }
18193 if (obj3) {
18194 {
18195 arg4 = (int)(SWIG_As_int(obj3));
18196 if (SWIG_arg_fail(4)) SWIG_fail;
18197 }
18198 }
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18214 PyObject *obj;
18215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18216 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18217 Py_INCREF(obj);
18218 return Py_BuildValue((char *)"");
18219 }
18220 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18221 PyObject *resultobj;
18222 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18223 wxBookCtrlSizer *result;
18224 PyObject * obj0 = 0 ;
18225 char *kwnames[] = {
18226 (char *) "nb", NULL
18227 };
18228
18229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
18230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18231 if (SWIG_arg_fail(1)) SWIG_fail;
18232 {
18233 PyThreadState* __tstate = wxPyBeginAllowThreads();
18234 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18235
18236 wxPyEndAllowThreads(__tstate);
18237 if (PyErr_Occurred()) SWIG_fail;
18238 }
18239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18240 return resultobj;
18241 fail:
18242 return NULL;
18243 }
18244
18245
18246 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18247 PyObject *resultobj;
18248 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18249 PyObject * obj0 = 0 ;
18250 char *kwnames[] = {
18251 (char *) "self", NULL
18252 };
18253
18254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18256 if (SWIG_arg_fail(1)) SWIG_fail;
18257 {
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 (arg1)->RecalcSizes();
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
18264 Py_INCREF(Py_None); resultobj = Py_None;
18265 return resultobj;
18266 fail:
18267 return NULL;
18268 }
18269
18270
18271 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18272 PyObject *resultobj;
18273 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18274 wxSize result;
18275 PyObject * obj0 = 0 ;
18276 char *kwnames[] = {
18277 (char *) "self", NULL
18278 };
18279
18280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
18281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18282 if (SWIG_arg_fail(1)) SWIG_fail;
18283 {
18284 PyThreadState* __tstate = wxPyBeginAllowThreads();
18285 result = (arg1)->CalcMin();
18286
18287 wxPyEndAllowThreads(__tstate);
18288 if (PyErr_Occurred()) SWIG_fail;
18289 }
18290 {
18291 wxSize * resultptr;
18292 resultptr = new wxSize((wxSize &)(result));
18293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18294 }
18295 return resultobj;
18296 fail:
18297 return NULL;
18298 }
18299
18300
18301 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18302 PyObject *resultobj;
18303 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18304 wxBookCtrlBase *result;
18305 PyObject * obj0 = 0 ;
18306 char *kwnames[] = {
18307 (char *) "self", NULL
18308 };
18309
18310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
18311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18312 if (SWIG_arg_fail(1)) SWIG_fail;
18313 {
18314 PyThreadState* __tstate = wxPyBeginAllowThreads();
18315 result = (wxBookCtrlBase *)(arg1)->GetControl();
18316
18317 wxPyEndAllowThreads(__tstate);
18318 if (PyErr_Occurred()) SWIG_fail;
18319 }
18320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
18321 return resultobj;
18322 fail:
18323 return NULL;
18324 }
18325
18326
18327 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
18328 PyObject *obj;
18329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18330 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18331 Py_INCREF(obj);
18332 return Py_BuildValue((char *)"");
18333 }
18334 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
18335 PyObject *resultobj;
18336 wxNotebook *arg1 = (wxNotebook *) 0 ;
18337 wxNotebookSizer *result;
18338 PyObject * obj0 = 0 ;
18339 char *kwnames[] = {
18340 (char *) "nb", NULL
18341 };
18342
18343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
18344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18345 if (SWIG_arg_fail(1)) SWIG_fail;
18346 {
18347 PyThreadState* __tstate = wxPyBeginAllowThreads();
18348 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18349
18350 wxPyEndAllowThreads(__tstate);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 }
18353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18354 return resultobj;
18355 fail:
18356 return NULL;
18357 }
18358
18359
18360 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
18361 PyObject *resultobj;
18362 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18363 PyObject * obj0 = 0 ;
18364 char *kwnames[] = {
18365 (char *) "self", NULL
18366 };
18367
18368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
18369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18370 if (SWIG_arg_fail(1)) SWIG_fail;
18371 {
18372 PyThreadState* __tstate = wxPyBeginAllowThreads();
18373 (arg1)->RecalcSizes();
18374
18375 wxPyEndAllowThreads(__tstate);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 }
18378 Py_INCREF(Py_None); resultobj = Py_None;
18379 return resultobj;
18380 fail:
18381 return NULL;
18382 }
18383
18384
18385 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
18386 PyObject *resultobj;
18387 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18388 wxSize result;
18389 PyObject * obj0 = 0 ;
18390 char *kwnames[] = {
18391 (char *) "self", NULL
18392 };
18393
18394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
18395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18396 if (SWIG_arg_fail(1)) SWIG_fail;
18397 {
18398 PyThreadState* __tstate = wxPyBeginAllowThreads();
18399 result = (arg1)->CalcMin();
18400
18401 wxPyEndAllowThreads(__tstate);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 {
18405 wxSize * resultptr;
18406 resultptr = new wxSize((wxSize &)(result));
18407 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18408 }
18409 return resultobj;
18410 fail:
18411 return NULL;
18412 }
18413
18414
18415 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
18416 PyObject *resultobj;
18417 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18418 wxNotebook *result;
18419 PyObject * obj0 = 0 ;
18420 char *kwnames[] = {
18421 (char *) "self", NULL
18422 };
18423
18424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
18425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18426 if (SWIG_arg_fail(1)) SWIG_fail;
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 result = (wxNotebook *)(arg1)->GetNotebook();
18430
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
18434 {
18435 resultobj = wxPyMake_wxObject(result, 0);
18436 }
18437 return resultobj;
18438 fail:
18439 return NULL;
18440 }
18441
18442
18443 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
18444 PyObject *obj;
18445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18446 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18447 Py_INCREF(obj);
18448 return Py_BuildValue((char *)"");
18449 }
18450 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj;
18452 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18453 int result;
18454 PyObject * obj0 = 0 ;
18455 char *kwnames[] = {
18456 (char *) "self", NULL
18457 };
18458
18459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
18460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18461 if (SWIG_arg_fail(1)) SWIG_fail;
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 result = (int)(arg1)->GetId();
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 {
18470 resultobj = SWIG_From_int((int)(result));
18471 }
18472 return resultobj;
18473 fail:
18474 return NULL;
18475 }
18476
18477
18478 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
18479 PyObject *resultobj;
18480 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18481 wxControl *result;
18482 PyObject * obj0 = 0 ;
18483 char *kwnames[] = {
18484 (char *) "self", NULL
18485 };
18486
18487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
18488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18489 if (SWIG_arg_fail(1)) SWIG_fail;
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 result = (wxControl *)(arg1)->GetControl();
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 {
18498 resultobj = wxPyMake_wxObject(result, 0);
18499 }
18500 return resultobj;
18501 fail:
18502 return NULL;
18503 }
18504
18505
18506 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
18507 PyObject *resultobj;
18508 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18509 wxToolBarBase *result;
18510 PyObject * obj0 = 0 ;
18511 char *kwnames[] = {
18512 (char *) "self", NULL
18513 };
18514
18515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
18516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18517 if (SWIG_arg_fail(1)) SWIG_fail;
18518 {
18519 PyThreadState* __tstate = wxPyBeginAllowThreads();
18520 result = (wxToolBarBase *)(arg1)->GetToolBar();
18521
18522 wxPyEndAllowThreads(__tstate);
18523 if (PyErr_Occurred()) SWIG_fail;
18524 }
18525 {
18526 resultobj = wxPyMake_wxObject(result, 0);
18527 }
18528 return resultobj;
18529 fail:
18530 return NULL;
18531 }
18532
18533
18534 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
18535 PyObject *resultobj;
18536 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18537 int result;
18538 PyObject * obj0 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "self", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
18544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18545 if (SWIG_arg_fail(1)) SWIG_fail;
18546 {
18547 PyThreadState* __tstate = wxPyBeginAllowThreads();
18548 result = (int)(arg1)->IsButton();
18549
18550 wxPyEndAllowThreads(__tstate);
18551 if (PyErr_Occurred()) SWIG_fail;
18552 }
18553 {
18554 resultobj = SWIG_From_int((int)(result));
18555 }
18556 return resultobj;
18557 fail:
18558 return NULL;
18559 }
18560
18561
18562 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
18563 PyObject *resultobj;
18564 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18565 int result;
18566 PyObject * obj0 = 0 ;
18567 char *kwnames[] = {
18568 (char *) "self", NULL
18569 };
18570
18571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
18572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18573 if (SWIG_arg_fail(1)) SWIG_fail;
18574 {
18575 PyThreadState* __tstate = wxPyBeginAllowThreads();
18576 result = (int)(arg1)->IsControl();
18577
18578 wxPyEndAllowThreads(__tstate);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 }
18581 {
18582 resultobj = SWIG_From_int((int)(result));
18583 }
18584 return resultobj;
18585 fail:
18586 return NULL;
18587 }
18588
18589
18590 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
18591 PyObject *resultobj;
18592 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18593 int result;
18594 PyObject * obj0 = 0 ;
18595 char *kwnames[] = {
18596 (char *) "self", NULL
18597 };
18598
18599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
18600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18601 if (SWIG_arg_fail(1)) SWIG_fail;
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 result = (int)(arg1)->IsSeparator();
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 {
18610 resultobj = SWIG_From_int((int)(result));
18611 }
18612 return resultobj;
18613 fail:
18614 return NULL;
18615 }
18616
18617
18618 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18619 PyObject *resultobj;
18620 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18621 int result;
18622 PyObject * obj0 = 0 ;
18623 char *kwnames[] = {
18624 (char *) "self", NULL
18625 };
18626
18627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
18628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18629 if (SWIG_arg_fail(1)) SWIG_fail;
18630 {
18631 PyThreadState* __tstate = wxPyBeginAllowThreads();
18632 result = (int)(arg1)->GetStyle();
18633
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
18637 {
18638 resultobj = SWIG_From_int((int)(result));
18639 }
18640 return resultobj;
18641 fail:
18642 return NULL;
18643 }
18644
18645
18646 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
18647 PyObject *resultobj;
18648 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18649 wxItemKind result;
18650 PyObject * obj0 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
18656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18657 if (SWIG_arg_fail(1)) SWIG_fail;
18658 {
18659 PyThreadState* __tstate = wxPyBeginAllowThreads();
18660 result = (wxItemKind)(arg1)->GetKind();
18661
18662 wxPyEndAllowThreads(__tstate);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
18665 resultobj = SWIG_From_int((result));
18666 return resultobj;
18667 fail:
18668 return NULL;
18669 }
18670
18671
18672 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
18673 PyObject *resultobj;
18674 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18675 bool result;
18676 PyObject * obj0 = 0 ;
18677 char *kwnames[] = {
18678 (char *) "self", NULL
18679 };
18680
18681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
18682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18683 if (SWIG_arg_fail(1)) SWIG_fail;
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 result = (bool)(arg1)->IsEnabled();
18687
18688 wxPyEndAllowThreads(__tstate);
18689 if (PyErr_Occurred()) SWIG_fail;
18690 }
18691 {
18692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18693 }
18694 return resultobj;
18695 fail:
18696 return NULL;
18697 }
18698
18699
18700 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18701 PyObject *resultobj;
18702 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18703 bool result;
18704 PyObject * obj0 = 0 ;
18705 char *kwnames[] = {
18706 (char *) "self", NULL
18707 };
18708
18709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
18710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18711 if (SWIG_arg_fail(1)) SWIG_fail;
18712 {
18713 PyThreadState* __tstate = wxPyBeginAllowThreads();
18714 result = (bool)(arg1)->IsToggled();
18715
18716 wxPyEndAllowThreads(__tstate);
18717 if (PyErr_Occurred()) SWIG_fail;
18718 }
18719 {
18720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18721 }
18722 return resultobj;
18723 fail:
18724 return NULL;
18725 }
18726
18727
18728 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj;
18730 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18731 bool result;
18732 PyObject * obj0 = 0 ;
18733 char *kwnames[] = {
18734 (char *) "self", NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
18738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18739 if (SWIG_arg_fail(1)) SWIG_fail;
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 result = (bool)(arg1)->CanBeToggled();
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 {
18748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18749 }
18750 return resultobj;
18751 fail:
18752 return NULL;
18753 }
18754
18755
18756 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18757 PyObject *resultobj;
18758 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18759 wxBitmap *result;
18760 PyObject * obj0 = 0 ;
18761 char *kwnames[] = {
18762 (char *) "self", NULL
18763 };
18764
18765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
18766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18767 if (SWIG_arg_fail(1)) SWIG_fail;
18768 {
18769 PyThreadState* __tstate = wxPyBeginAllowThreads();
18770 {
18771 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18772 result = (wxBitmap *) &_result_ref;
18773 }
18774
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
18778 {
18779 wxBitmap* resultptr = new wxBitmap(*result);
18780 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18781 }
18782 return resultobj;
18783 fail:
18784 return NULL;
18785 }
18786
18787
18788 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18789 PyObject *resultobj;
18790 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18791 wxBitmap *result;
18792 PyObject * obj0 = 0 ;
18793 char *kwnames[] = {
18794 (char *) "self", NULL
18795 };
18796
18797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
18798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18799 if (SWIG_arg_fail(1)) SWIG_fail;
18800 {
18801 PyThreadState* __tstate = wxPyBeginAllowThreads();
18802 {
18803 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18804 result = (wxBitmap *) &_result_ref;
18805 }
18806
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 {
18811 wxBitmap* resultptr = new wxBitmap(*result);
18812 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18813 }
18814 return resultobj;
18815 fail:
18816 return NULL;
18817 }
18818
18819
18820 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
18821 PyObject *resultobj;
18822 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18823 wxBitmap result;
18824 PyObject * obj0 = 0 ;
18825 char *kwnames[] = {
18826 (char *) "self", NULL
18827 };
18828
18829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
18830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18831 if (SWIG_arg_fail(1)) SWIG_fail;
18832 {
18833 PyThreadState* __tstate = wxPyBeginAllowThreads();
18834 result = (arg1)->GetBitmap();
18835
18836 wxPyEndAllowThreads(__tstate);
18837 if (PyErr_Occurred()) SWIG_fail;
18838 }
18839 {
18840 wxBitmap * resultptr;
18841 resultptr = new wxBitmap((wxBitmap &)(result));
18842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18843 }
18844 return resultobj;
18845 fail:
18846 return NULL;
18847 }
18848
18849
18850 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
18851 PyObject *resultobj;
18852 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18853 wxString result;
18854 PyObject * obj0 = 0 ;
18855 char *kwnames[] = {
18856 (char *) "self", NULL
18857 };
18858
18859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
18860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18861 if (SWIG_arg_fail(1)) SWIG_fail;
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 result = (arg1)->GetLabel();
18865
18866 wxPyEndAllowThreads(__tstate);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 {
18870 #if wxUSE_UNICODE
18871 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18872 #else
18873 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18874 #endif
18875 }
18876 return resultobj;
18877 fail:
18878 return NULL;
18879 }
18880
18881
18882 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18883 PyObject *resultobj;
18884 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18885 wxString result;
18886 PyObject * obj0 = 0 ;
18887 char *kwnames[] = {
18888 (char *) "self", NULL
18889 };
18890
18891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
18892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18893 if (SWIG_arg_fail(1)) SWIG_fail;
18894 {
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 result = (arg1)->GetShortHelp();
18897
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 {
18902 #if wxUSE_UNICODE
18903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18904 #else
18905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18906 #endif
18907 }
18908 return resultobj;
18909 fail:
18910 return NULL;
18911 }
18912
18913
18914 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18915 PyObject *resultobj;
18916 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18917 wxString result;
18918 PyObject * obj0 = 0 ;
18919 char *kwnames[] = {
18920 (char *) "self", NULL
18921 };
18922
18923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
18924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18925 if (SWIG_arg_fail(1)) SWIG_fail;
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 result = (arg1)->GetLongHelp();
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 {
18934 #if wxUSE_UNICODE
18935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18936 #else
18937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18938 #endif
18939 }
18940 return resultobj;
18941 fail:
18942 return NULL;
18943 }
18944
18945
18946 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
18947 PyObject *resultobj;
18948 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18949 bool arg2 ;
18950 bool result;
18951 PyObject * obj0 = 0 ;
18952 PyObject * obj1 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self",(char *) "enable", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
18958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18959 if (SWIG_arg_fail(1)) SWIG_fail;
18960 {
18961 arg2 = (bool)(SWIG_As_bool(obj1));
18962 if (SWIG_arg_fail(2)) SWIG_fail;
18963 }
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 result = (bool)(arg1)->Enable(arg2);
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 {
18972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18973 }
18974 return resultobj;
18975 fail:
18976 return NULL;
18977 }
18978
18979
18980 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
18981 PyObject *resultobj;
18982 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18983 PyObject * obj0 = 0 ;
18984 char *kwnames[] = {
18985 (char *) "self", NULL
18986 };
18987
18988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
18989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18990 if (SWIG_arg_fail(1)) SWIG_fail;
18991 {
18992 PyThreadState* __tstate = wxPyBeginAllowThreads();
18993 (arg1)->Toggle();
18994
18995 wxPyEndAllowThreads(__tstate);
18996 if (PyErr_Occurred()) SWIG_fail;
18997 }
18998 Py_INCREF(Py_None); resultobj = Py_None;
18999 return resultobj;
19000 fail:
19001 return NULL;
19002 }
19003
19004
19005 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
19006 PyObject *resultobj;
19007 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19008 bool arg2 ;
19009 bool result;
19010 PyObject * obj0 = 0 ;
19011 PyObject * obj1 = 0 ;
19012 char *kwnames[] = {
19013 (char *) "self",(char *) "toggle", NULL
19014 };
19015
19016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
19017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19018 if (SWIG_arg_fail(1)) SWIG_fail;
19019 {
19020 arg2 = (bool)(SWIG_As_bool(obj1));
19021 if (SWIG_arg_fail(2)) SWIG_fail;
19022 }
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 result = (bool)(arg1)->SetToggle(arg2);
19026
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
19030 {
19031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19032 }
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19042 wxString *arg2 = 0 ;
19043 bool result;
19044 bool temp2 = false ;
19045 PyObject * obj0 = 0 ;
19046 PyObject * obj1 = 0 ;
19047 char *kwnames[] = {
19048 (char *) "self",(char *) "help", NULL
19049 };
19050
19051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
19052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19053 if (SWIG_arg_fail(1)) SWIG_fail;
19054 {
19055 arg2 = wxString_in_helper(obj1);
19056 if (arg2 == NULL) SWIG_fail;
19057 temp2 = true;
19058 }
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
19062
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
19066 {
19067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19068 }
19069 {
19070 if (temp2)
19071 delete arg2;
19072 }
19073 return resultobj;
19074 fail:
19075 {
19076 if (temp2)
19077 delete arg2;
19078 }
19079 return NULL;
19080 }
19081
19082
19083 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
19084 PyObject *resultobj;
19085 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19086 wxString *arg2 = 0 ;
19087 bool result;
19088 bool temp2 = false ;
19089 PyObject * obj0 = 0 ;
19090 PyObject * obj1 = 0 ;
19091 char *kwnames[] = {
19092 (char *) "self",(char *) "help", NULL
19093 };
19094
19095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
19096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19097 if (SWIG_arg_fail(1)) SWIG_fail;
19098 {
19099 arg2 = wxString_in_helper(obj1);
19100 if (arg2 == NULL) SWIG_fail;
19101 temp2 = true;
19102 }
19103 {
19104 PyThreadState* __tstate = wxPyBeginAllowThreads();
19105 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
19106
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 {
19111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19112 }
19113 {
19114 if (temp2)
19115 delete arg2;
19116 }
19117 return resultobj;
19118 fail:
19119 {
19120 if (temp2)
19121 delete arg2;
19122 }
19123 return NULL;
19124 }
19125
19126
19127 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19128 PyObject *resultobj;
19129 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19130 wxBitmap *arg2 = 0 ;
19131 PyObject * obj0 = 0 ;
19132 PyObject * obj1 = 0 ;
19133 char *kwnames[] = {
19134 (char *) "self",(char *) "bmp", NULL
19135 };
19136
19137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
19138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19139 if (SWIG_arg_fail(1)) SWIG_fail;
19140 {
19141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19142 if (SWIG_arg_fail(2)) SWIG_fail;
19143 if (arg2 == NULL) {
19144 SWIG_null_ref("wxBitmap");
19145 }
19146 if (SWIG_arg_fail(2)) SWIG_fail;
19147 }
19148 {
19149 PyThreadState* __tstate = wxPyBeginAllowThreads();
19150 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19151
19152 wxPyEndAllowThreads(__tstate);
19153 if (PyErr_Occurred()) SWIG_fail;
19154 }
19155 Py_INCREF(Py_None); resultobj = Py_None;
19156 return resultobj;
19157 fail:
19158 return NULL;
19159 }
19160
19161
19162 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
19163 PyObject *resultobj;
19164 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19165 wxBitmap *arg2 = 0 ;
19166 PyObject * obj0 = 0 ;
19167 PyObject * obj1 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "self",(char *) "bmp", NULL
19170 };
19171
19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
19173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19174 if (SWIG_arg_fail(1)) SWIG_fail;
19175 {
19176 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19177 if (SWIG_arg_fail(2)) SWIG_fail;
19178 if (arg2 == NULL) {
19179 SWIG_null_ref("wxBitmap");
19180 }
19181 if (SWIG_arg_fail(2)) SWIG_fail;
19182 }
19183 {
19184 PyThreadState* __tstate = wxPyBeginAllowThreads();
19185 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19186
19187 wxPyEndAllowThreads(__tstate);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 }
19190 Py_INCREF(Py_None); resultobj = Py_None;
19191 return resultobj;
19192 fail:
19193 return NULL;
19194 }
19195
19196
19197 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19198 PyObject *resultobj;
19199 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19200 wxString *arg2 = 0 ;
19201 bool temp2 = false ;
19202 PyObject * obj0 = 0 ;
19203 PyObject * obj1 = 0 ;
19204 char *kwnames[] = {
19205 (char *) "self",(char *) "label", NULL
19206 };
19207
19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
19209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19210 if (SWIG_arg_fail(1)) SWIG_fail;
19211 {
19212 arg2 = wxString_in_helper(obj1);
19213 if (arg2 == NULL) SWIG_fail;
19214 temp2 = true;
19215 }
19216 {
19217 PyThreadState* __tstate = wxPyBeginAllowThreads();
19218 (arg1)->SetLabel((wxString const &)*arg2);
19219
19220 wxPyEndAllowThreads(__tstate);
19221 if (PyErr_Occurred()) SWIG_fail;
19222 }
19223 Py_INCREF(Py_None); resultobj = Py_None;
19224 {
19225 if (temp2)
19226 delete arg2;
19227 }
19228 return resultobj;
19229 fail:
19230 {
19231 if (temp2)
19232 delete arg2;
19233 }
19234 return NULL;
19235 }
19236
19237
19238 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
19239 PyObject *resultobj;
19240 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19241 PyObject * obj0 = 0 ;
19242 char *kwnames[] = {
19243 (char *) "self", NULL
19244 };
19245
19246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
19247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19248 if (SWIG_arg_fail(1)) SWIG_fail;
19249 {
19250 PyThreadState* __tstate = wxPyBeginAllowThreads();
19251 (arg1)->Detach();
19252
19253 wxPyEndAllowThreads(__tstate);
19254 if (PyErr_Occurred()) SWIG_fail;
19255 }
19256 Py_INCREF(Py_None); resultobj = Py_None;
19257 return resultobj;
19258 fail:
19259 return NULL;
19260 }
19261
19262
19263 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
19264 PyObject *resultobj;
19265 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19266 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19267 PyObject * obj0 = 0 ;
19268 PyObject * obj1 = 0 ;
19269 char *kwnames[] = {
19270 (char *) "self",(char *) "tbar", NULL
19271 };
19272
19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
19274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19275 if (SWIG_arg_fail(1)) SWIG_fail;
19276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19277 if (SWIG_arg_fail(2)) SWIG_fail;
19278 {
19279 PyThreadState* __tstate = wxPyBeginAllowThreads();
19280 (arg1)->Attach(arg2);
19281
19282 wxPyEndAllowThreads(__tstate);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 }
19285 Py_INCREF(Py_None); resultobj = Py_None;
19286 return resultobj;
19287 fail:
19288 return NULL;
19289 }
19290
19291
19292 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj;
19294 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19295 PyObject *result;
19296 PyObject * obj0 = 0 ;
19297 char *kwnames[] = {
19298 (char *) "self", NULL
19299 };
19300
19301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
19302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19303 if (SWIG_arg_fail(1)) SWIG_fail;
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19307
19308 wxPyEndAllowThreads(__tstate);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 resultobj = result;
19312 return resultobj;
19313 fail:
19314 return NULL;
19315 }
19316
19317
19318 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
19319 PyObject *resultobj;
19320 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19321 PyObject *arg2 = (PyObject *) 0 ;
19322 PyObject * obj0 = 0 ;
19323 PyObject * obj1 = 0 ;
19324 char *kwnames[] = {
19325 (char *) "self",(char *) "clientData", NULL
19326 };
19327
19328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
19329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19330 if (SWIG_arg_fail(1)) SWIG_fail;
19331 arg2 = obj1;
19332 {
19333 PyThreadState* __tstate = wxPyBeginAllowThreads();
19334 wxToolBarToolBase_SetClientData(arg1,arg2);
19335
19336 wxPyEndAllowThreads(__tstate);
19337 if (PyErr_Occurred()) SWIG_fail;
19338 }
19339 Py_INCREF(Py_None); resultobj = Py_None;
19340 return resultobj;
19341 fail:
19342 return NULL;
19343 }
19344
19345
19346 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
19347 PyObject *obj;
19348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19349 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19350 Py_INCREF(obj);
19351 return Py_BuildValue((char *)"");
19352 }
19353 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
19354 PyObject *resultobj;
19355 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19356 int arg2 ;
19357 wxString *arg3 = 0 ;
19358 wxBitmap *arg4 = 0 ;
19359 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19360 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
19361 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
19362 wxString const &arg7_defvalue = wxPyEmptyString ;
19363 wxString *arg7 = (wxString *) &arg7_defvalue ;
19364 wxString const &arg8_defvalue = wxPyEmptyString ;
19365 wxString *arg8 = (wxString *) &arg8_defvalue ;
19366 PyObject *arg9 = (PyObject *) NULL ;
19367 wxToolBarToolBase *result;
19368 bool temp3 = false ;
19369 bool temp7 = false ;
19370 bool temp8 = false ;
19371 PyObject * obj0 = 0 ;
19372 PyObject * obj1 = 0 ;
19373 PyObject * obj2 = 0 ;
19374 PyObject * obj3 = 0 ;
19375 PyObject * obj4 = 0 ;
19376 PyObject * obj5 = 0 ;
19377 PyObject * obj6 = 0 ;
19378 PyObject * obj7 = 0 ;
19379 PyObject * obj8 = 0 ;
19380 char *kwnames[] = {
19381 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19382 };
19383
19384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
19385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19386 if (SWIG_arg_fail(1)) SWIG_fail;
19387 {
19388 arg2 = (int)(SWIG_As_int(obj1));
19389 if (SWIG_arg_fail(2)) SWIG_fail;
19390 }
19391 {
19392 arg3 = wxString_in_helper(obj2);
19393 if (arg3 == NULL) SWIG_fail;
19394 temp3 = true;
19395 }
19396 {
19397 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19398 if (SWIG_arg_fail(4)) SWIG_fail;
19399 if (arg4 == NULL) {
19400 SWIG_null_ref("wxBitmap");
19401 }
19402 if (SWIG_arg_fail(4)) SWIG_fail;
19403 }
19404 if (obj4) {
19405 {
19406 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19407 if (SWIG_arg_fail(5)) SWIG_fail;
19408 if (arg5 == NULL) {
19409 SWIG_null_ref("wxBitmap");
19410 }
19411 if (SWIG_arg_fail(5)) SWIG_fail;
19412 }
19413 }
19414 if (obj5) {
19415 {
19416 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19417 if (SWIG_arg_fail(6)) SWIG_fail;
19418 }
19419 }
19420 if (obj6) {
19421 {
19422 arg7 = wxString_in_helper(obj6);
19423 if (arg7 == NULL) SWIG_fail;
19424 temp7 = true;
19425 }
19426 }
19427 if (obj7) {
19428 {
19429 arg8 = wxString_in_helper(obj7);
19430 if (arg8 == NULL) SWIG_fail;
19431 temp8 = true;
19432 }
19433 }
19434 if (obj8) {
19435 arg9 = obj8;
19436 }
19437 {
19438 PyThreadState* __tstate = wxPyBeginAllowThreads();
19439 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19440
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 {
19445 resultobj = wxPyMake_wxObject(result, 0);
19446 }
19447 {
19448 if (temp3)
19449 delete arg3;
19450 }
19451 {
19452 if (temp7)
19453 delete arg7;
19454 }
19455 {
19456 if (temp8)
19457 delete arg8;
19458 }
19459 return resultobj;
19460 fail:
19461 {
19462 if (temp3)
19463 delete arg3;
19464 }
19465 {
19466 if (temp7)
19467 delete arg7;
19468 }
19469 {
19470 if (temp8)
19471 delete arg8;
19472 }
19473 return NULL;
19474 }
19475
19476
19477 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
19478 PyObject *resultobj;
19479 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19480 size_t arg2 ;
19481 int arg3 ;
19482 wxString *arg4 = 0 ;
19483 wxBitmap *arg5 = 0 ;
19484 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19485 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
19486 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
19487 wxString const &arg8_defvalue = wxPyEmptyString ;
19488 wxString *arg8 = (wxString *) &arg8_defvalue ;
19489 wxString const &arg9_defvalue = wxPyEmptyString ;
19490 wxString *arg9 = (wxString *) &arg9_defvalue ;
19491 PyObject *arg10 = (PyObject *) NULL ;
19492 wxToolBarToolBase *result;
19493 bool temp4 = false ;
19494 bool temp8 = false ;
19495 bool temp9 = false ;
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj1 = 0 ;
19498 PyObject * obj2 = 0 ;
19499 PyObject * obj3 = 0 ;
19500 PyObject * obj4 = 0 ;
19501 PyObject * obj5 = 0 ;
19502 PyObject * obj6 = 0 ;
19503 PyObject * obj7 = 0 ;
19504 PyObject * obj8 = 0 ;
19505 PyObject * obj9 = 0 ;
19506 char *kwnames[] = {
19507 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19508 };
19509
19510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
19511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19512 if (SWIG_arg_fail(1)) SWIG_fail;
19513 {
19514 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19515 if (SWIG_arg_fail(2)) SWIG_fail;
19516 }
19517 {
19518 arg3 = (int)(SWIG_As_int(obj2));
19519 if (SWIG_arg_fail(3)) SWIG_fail;
19520 }
19521 {
19522 arg4 = wxString_in_helper(obj3);
19523 if (arg4 == NULL) SWIG_fail;
19524 temp4 = true;
19525 }
19526 {
19527 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19528 if (SWIG_arg_fail(5)) SWIG_fail;
19529 if (arg5 == NULL) {
19530 SWIG_null_ref("wxBitmap");
19531 }
19532 if (SWIG_arg_fail(5)) SWIG_fail;
19533 }
19534 if (obj5) {
19535 {
19536 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19537 if (SWIG_arg_fail(6)) SWIG_fail;
19538 if (arg6 == NULL) {
19539 SWIG_null_ref("wxBitmap");
19540 }
19541 if (SWIG_arg_fail(6)) SWIG_fail;
19542 }
19543 }
19544 if (obj6) {
19545 {
19546 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19547 if (SWIG_arg_fail(7)) SWIG_fail;
19548 }
19549 }
19550 if (obj7) {
19551 {
19552 arg8 = wxString_in_helper(obj7);
19553 if (arg8 == NULL) SWIG_fail;
19554 temp8 = true;
19555 }
19556 }
19557 if (obj8) {
19558 {
19559 arg9 = wxString_in_helper(obj8);
19560 if (arg9 == NULL) SWIG_fail;
19561 temp9 = true;
19562 }
19563 }
19564 if (obj9) {
19565 arg10 = obj9;
19566 }
19567 {
19568 PyThreadState* __tstate = wxPyBeginAllowThreads();
19569 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);
19570
19571 wxPyEndAllowThreads(__tstate);
19572 if (PyErr_Occurred()) SWIG_fail;
19573 }
19574 {
19575 resultobj = wxPyMake_wxObject(result, 0);
19576 }
19577 {
19578 if (temp4)
19579 delete arg4;
19580 }
19581 {
19582 if (temp8)
19583 delete arg8;
19584 }
19585 {
19586 if (temp9)
19587 delete arg9;
19588 }
19589 return resultobj;
19590 fail:
19591 {
19592 if (temp4)
19593 delete arg4;
19594 }
19595 {
19596 if (temp8)
19597 delete arg8;
19598 }
19599 {
19600 if (temp9)
19601 delete arg9;
19602 }
19603 return NULL;
19604 }
19605
19606
19607 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19608 PyObject *resultobj;
19609 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19610 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19611 wxToolBarToolBase *result;
19612 PyObject * obj0 = 0 ;
19613 PyObject * obj1 = 0 ;
19614 char *kwnames[] = {
19615 (char *) "self",(char *) "tool", NULL
19616 };
19617
19618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
19619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19620 if (SWIG_arg_fail(1)) SWIG_fail;
19621 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19622 if (SWIG_arg_fail(2)) SWIG_fail;
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 {
19631 resultobj = wxPyMake_wxObject(result, 0);
19632 }
19633 return resultobj;
19634 fail:
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19642 size_t arg2 ;
19643 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19644 wxToolBarToolBase *result;
19645 PyObject * obj0 = 0 ;
19646 PyObject * obj1 = 0 ;
19647 PyObject * obj2 = 0 ;
19648 char *kwnames[] = {
19649 (char *) "self",(char *) "pos",(char *) "tool", NULL
19650 };
19651
19652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19654 if (SWIG_arg_fail(1)) SWIG_fail;
19655 {
19656 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19657 if (SWIG_arg_fail(2)) SWIG_fail;
19658 }
19659 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19660 if (SWIG_arg_fail(3)) SWIG_fail;
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19664
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
19668 {
19669 resultobj = wxPyMake_wxObject(result, 0);
19670 }
19671 return resultobj;
19672 fail:
19673 return NULL;
19674 }
19675
19676
19677 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj;
19679 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19680 wxControl *arg2 = (wxControl *) 0 ;
19681 wxToolBarToolBase *result;
19682 PyObject * obj0 = 0 ;
19683 PyObject * obj1 = 0 ;
19684 char *kwnames[] = {
19685 (char *) "self",(char *) "control", NULL
19686 };
19687
19688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
19689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19690 if (SWIG_arg_fail(1)) SWIG_fail;
19691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19692 if (SWIG_arg_fail(2)) SWIG_fail;
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 {
19701 resultobj = wxPyMake_wxObject(result, 0);
19702 }
19703 return resultobj;
19704 fail:
19705 return NULL;
19706 }
19707
19708
19709 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19712 size_t arg2 ;
19713 wxControl *arg3 = (wxControl *) 0 ;
19714 wxToolBarToolBase *result;
19715 PyObject * obj0 = 0 ;
19716 PyObject * obj1 = 0 ;
19717 PyObject * obj2 = 0 ;
19718 char *kwnames[] = {
19719 (char *) "self",(char *) "pos",(char *) "control", NULL
19720 };
19721
19722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
19723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19724 if (SWIG_arg_fail(1)) SWIG_fail;
19725 {
19726 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19727 if (SWIG_arg_fail(2)) SWIG_fail;
19728 }
19729 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19730 if (SWIG_arg_fail(3)) SWIG_fail;
19731 {
19732 PyThreadState* __tstate = wxPyBeginAllowThreads();
19733 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19734
19735 wxPyEndAllowThreads(__tstate);
19736 if (PyErr_Occurred()) SWIG_fail;
19737 }
19738 {
19739 resultobj = wxPyMake_wxObject(result, 0);
19740 }
19741 return resultobj;
19742 fail:
19743 return NULL;
19744 }
19745
19746
19747 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
19748 PyObject *resultobj;
19749 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19750 int arg2 ;
19751 wxControl *result;
19752 PyObject * obj0 = 0 ;
19753 PyObject * obj1 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "self",(char *) "id", NULL
19756 };
19757
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
19759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19760 if (SWIG_arg_fail(1)) SWIG_fail;
19761 {
19762 arg2 = (int)(SWIG_As_int(obj1));
19763 if (SWIG_arg_fail(2)) SWIG_fail;
19764 }
19765 {
19766 PyThreadState* __tstate = wxPyBeginAllowThreads();
19767 result = (wxControl *)(arg1)->FindControl(arg2);
19768
19769 wxPyEndAllowThreads(__tstate);
19770 if (PyErr_Occurred()) SWIG_fail;
19771 }
19772 {
19773 resultobj = wxPyMake_wxObject(result, 0);
19774 }
19775 return resultobj;
19776 fail:
19777 return NULL;
19778 }
19779
19780
19781 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19782 PyObject *resultobj;
19783 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19784 wxToolBarToolBase *result;
19785 PyObject * obj0 = 0 ;
19786 char *kwnames[] = {
19787 (char *) "self", NULL
19788 };
19789
19790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
19791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19792 if (SWIG_arg_fail(1)) SWIG_fail;
19793 {
19794 PyThreadState* __tstate = wxPyBeginAllowThreads();
19795 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19796
19797 wxPyEndAllowThreads(__tstate);
19798 if (PyErr_Occurred()) SWIG_fail;
19799 }
19800 {
19801 resultobj = wxPyMake_wxObject(result, 0);
19802 }
19803 return resultobj;
19804 fail:
19805 return NULL;
19806 }
19807
19808
19809 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
19810 PyObject *resultobj;
19811 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19812 size_t arg2 ;
19813 wxToolBarToolBase *result;
19814 PyObject * obj0 = 0 ;
19815 PyObject * obj1 = 0 ;
19816 char *kwnames[] = {
19817 (char *) "self",(char *) "pos", NULL
19818 };
19819
19820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
19821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19822 if (SWIG_arg_fail(1)) SWIG_fail;
19823 {
19824 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19825 if (SWIG_arg_fail(2)) SWIG_fail;
19826 }
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19830
19831 wxPyEndAllowThreads(__tstate);
19832 if (PyErr_Occurred()) SWIG_fail;
19833 }
19834 {
19835 resultobj = wxPyMake_wxObject(result, 0);
19836 }
19837 return resultobj;
19838 fail:
19839 return NULL;
19840 }
19841
19842
19843 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
19844 PyObject *resultobj;
19845 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19846 int arg2 ;
19847 wxToolBarToolBase *result;
19848 PyObject * obj0 = 0 ;
19849 PyObject * obj1 = 0 ;
19850 char *kwnames[] = {
19851 (char *) "self",(char *) "id", NULL
19852 };
19853
19854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
19855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19856 if (SWIG_arg_fail(1)) SWIG_fail;
19857 {
19858 arg2 = (int)(SWIG_As_int(obj1));
19859 if (SWIG_arg_fail(2)) SWIG_fail;
19860 }
19861 {
19862 PyThreadState* __tstate = wxPyBeginAllowThreads();
19863 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19864
19865 wxPyEndAllowThreads(__tstate);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 {
19869 resultobj = wxPyMake_wxObject(result, 0);
19870 }
19871 return resultobj;
19872 fail:
19873 return NULL;
19874 }
19875
19876
19877 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
19878 PyObject *resultobj;
19879 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19880 size_t arg2 ;
19881 bool result;
19882 PyObject * obj0 = 0 ;
19883 PyObject * obj1 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self",(char *) "pos", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
19889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19890 if (SWIG_arg_fail(1)) SWIG_fail;
19891 {
19892 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19893 if (SWIG_arg_fail(2)) SWIG_fail;
19894 }
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 result = (bool)(arg1)->DeleteToolByPos(arg2);
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 {
19903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19904 }
19905 return resultobj;
19906 fail:
19907 return NULL;
19908 }
19909
19910
19911 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
19912 PyObject *resultobj;
19913 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19914 int arg2 ;
19915 bool result;
19916 PyObject * obj0 = 0 ;
19917 PyObject * obj1 = 0 ;
19918 char *kwnames[] = {
19919 (char *) "self",(char *) "id", NULL
19920 };
19921
19922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
19923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19924 if (SWIG_arg_fail(1)) SWIG_fail;
19925 {
19926 arg2 = (int)(SWIG_As_int(obj1));
19927 if (SWIG_arg_fail(2)) SWIG_fail;
19928 }
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 result = (bool)(arg1)->DeleteTool(arg2);
19932
19933 wxPyEndAllowThreads(__tstate);
19934 if (PyErr_Occurred()) SWIG_fail;
19935 }
19936 {
19937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19938 }
19939 return resultobj;
19940 fail:
19941 return NULL;
19942 }
19943
19944
19945 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
19946 PyObject *resultobj;
19947 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19948 PyObject * obj0 = 0 ;
19949 char *kwnames[] = {
19950 (char *) "self", NULL
19951 };
19952
19953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
19954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19955 if (SWIG_arg_fail(1)) SWIG_fail;
19956 {
19957 PyThreadState* __tstate = wxPyBeginAllowThreads();
19958 (arg1)->ClearTools();
19959
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 Py_INCREF(Py_None); resultobj = Py_None;
19964 return resultobj;
19965 fail:
19966 return NULL;
19967 }
19968
19969
19970 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
19971 PyObject *resultobj;
19972 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19973 bool result;
19974 PyObject * obj0 = 0 ;
19975 char *kwnames[] = {
19976 (char *) "self", NULL
19977 };
19978
19979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
19980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19981 if (SWIG_arg_fail(1)) SWIG_fail;
19982 {
19983 PyThreadState* __tstate = wxPyBeginAllowThreads();
19984 result = (bool)(arg1)->Realize();
19985
19986 wxPyEndAllowThreads(__tstate);
19987 if (PyErr_Occurred()) SWIG_fail;
19988 }
19989 {
19990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19991 }
19992 return resultobj;
19993 fail:
19994 return NULL;
19995 }
19996
19997
19998 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
19999 PyObject *resultobj;
20000 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20001 int arg2 ;
20002 bool arg3 ;
20003 PyObject * obj0 = 0 ;
20004 PyObject * obj1 = 0 ;
20005 PyObject * obj2 = 0 ;
20006 char *kwnames[] = {
20007 (char *) "self",(char *) "id",(char *) "enable", NULL
20008 };
20009
20010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20012 if (SWIG_arg_fail(1)) SWIG_fail;
20013 {
20014 arg2 = (int)(SWIG_As_int(obj1));
20015 if (SWIG_arg_fail(2)) SWIG_fail;
20016 }
20017 {
20018 arg3 = (bool)(SWIG_As_bool(obj2));
20019 if (SWIG_arg_fail(3)) SWIG_fail;
20020 }
20021 {
20022 PyThreadState* __tstate = wxPyBeginAllowThreads();
20023 (arg1)->EnableTool(arg2,arg3);
20024
20025 wxPyEndAllowThreads(__tstate);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 Py_INCREF(Py_None); resultobj = Py_None;
20029 return resultobj;
20030 fail:
20031 return NULL;
20032 }
20033
20034
20035 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
20036 PyObject *resultobj;
20037 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20038 int arg2 ;
20039 bool arg3 ;
20040 PyObject * obj0 = 0 ;
20041 PyObject * obj1 = 0 ;
20042 PyObject * obj2 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self",(char *) "id",(char *) "toggle", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
20048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20049 if (SWIG_arg_fail(1)) SWIG_fail;
20050 {
20051 arg2 = (int)(SWIG_As_int(obj1));
20052 if (SWIG_arg_fail(2)) SWIG_fail;
20053 }
20054 {
20055 arg3 = (bool)(SWIG_As_bool(obj2));
20056 if (SWIG_arg_fail(3)) SWIG_fail;
20057 }
20058 {
20059 PyThreadState* __tstate = wxPyBeginAllowThreads();
20060 (arg1)->ToggleTool(arg2,arg3);
20061
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 Py_INCREF(Py_None); resultobj = Py_None;
20066 return resultobj;
20067 fail:
20068 return NULL;
20069 }
20070
20071
20072 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
20073 PyObject *resultobj;
20074 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20075 int arg2 ;
20076 bool arg3 ;
20077 PyObject * obj0 = 0 ;
20078 PyObject * obj1 = 0 ;
20079 PyObject * obj2 = 0 ;
20080 char *kwnames[] = {
20081 (char *) "self",(char *) "id",(char *) "toggle", NULL
20082 };
20083
20084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20086 if (SWIG_arg_fail(1)) SWIG_fail;
20087 {
20088 arg2 = (int)(SWIG_As_int(obj1));
20089 if (SWIG_arg_fail(2)) SWIG_fail;
20090 }
20091 {
20092 arg3 = (bool)(SWIG_As_bool(obj2));
20093 if (SWIG_arg_fail(3)) SWIG_fail;
20094 }
20095 {
20096 PyThreadState* __tstate = wxPyBeginAllowThreads();
20097 (arg1)->SetToggle(arg2,arg3);
20098
20099 wxPyEndAllowThreads(__tstate);
20100 if (PyErr_Occurred()) SWIG_fail;
20101 }
20102 Py_INCREF(Py_None); resultobj = Py_None;
20103 return resultobj;
20104 fail:
20105 return NULL;
20106 }
20107
20108
20109 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20110 PyObject *resultobj;
20111 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20112 int arg2 ;
20113 PyObject *result;
20114 PyObject * obj0 = 0 ;
20115 PyObject * obj1 = 0 ;
20116 char *kwnames[] = {
20117 (char *) "self",(char *) "id", NULL
20118 };
20119
20120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
20121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20122 if (SWIG_arg_fail(1)) SWIG_fail;
20123 {
20124 arg2 = (int)(SWIG_As_int(obj1));
20125 if (SWIG_arg_fail(2)) SWIG_fail;
20126 }
20127 {
20128 PyThreadState* __tstate = wxPyBeginAllowThreads();
20129 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20130
20131 wxPyEndAllowThreads(__tstate);
20132 if (PyErr_Occurred()) SWIG_fail;
20133 }
20134 resultobj = result;
20135 return resultobj;
20136 fail:
20137 return NULL;
20138 }
20139
20140
20141 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
20142 PyObject *resultobj;
20143 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20144 int arg2 ;
20145 PyObject *arg3 = (PyObject *) 0 ;
20146 PyObject * obj0 = 0 ;
20147 PyObject * obj1 = 0 ;
20148 PyObject * obj2 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self",(char *) "id",(char *) "clientData", NULL
20151 };
20152
20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20155 if (SWIG_arg_fail(1)) SWIG_fail;
20156 {
20157 arg2 = (int)(SWIG_As_int(obj1));
20158 if (SWIG_arg_fail(2)) SWIG_fail;
20159 }
20160 arg3 = obj2;
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20164
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
20168 Py_INCREF(Py_None); resultobj = Py_None;
20169 return resultobj;
20170 fail:
20171 return NULL;
20172 }
20173
20174
20175 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
20176 PyObject *resultobj;
20177 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20178 int arg2 ;
20179 int result;
20180 PyObject * obj0 = 0 ;
20181 PyObject * obj1 = 0 ;
20182 char *kwnames[] = {
20183 (char *) "self",(char *) "id", NULL
20184 };
20185
20186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
20187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20188 if (SWIG_arg_fail(1)) SWIG_fail;
20189 {
20190 arg2 = (int)(SWIG_As_int(obj1));
20191 if (SWIG_arg_fail(2)) SWIG_fail;
20192 }
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20196
20197 wxPyEndAllowThreads(__tstate);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
20200 {
20201 resultobj = SWIG_From_int((int)(result));
20202 }
20203 return resultobj;
20204 fail:
20205 return NULL;
20206 }
20207
20208
20209 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
20210 PyObject *resultobj;
20211 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20212 int arg2 ;
20213 bool result;
20214 PyObject * obj0 = 0 ;
20215 PyObject * obj1 = 0 ;
20216 char *kwnames[] = {
20217 (char *) "self",(char *) "id", NULL
20218 };
20219
20220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
20221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20222 if (SWIG_arg_fail(1)) SWIG_fail;
20223 {
20224 arg2 = (int)(SWIG_As_int(obj1));
20225 if (SWIG_arg_fail(2)) SWIG_fail;
20226 }
20227 {
20228 PyThreadState* __tstate = wxPyBeginAllowThreads();
20229 result = (bool)(arg1)->GetToolState(arg2);
20230
20231 wxPyEndAllowThreads(__tstate);
20232 if (PyErr_Occurred()) SWIG_fail;
20233 }
20234 {
20235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20236 }
20237 return resultobj;
20238 fail:
20239 return NULL;
20240 }
20241
20242
20243 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
20244 PyObject *resultobj;
20245 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20246 int arg2 ;
20247 bool result;
20248 PyObject * obj0 = 0 ;
20249 PyObject * obj1 = 0 ;
20250 char *kwnames[] = {
20251 (char *) "self",(char *) "id", NULL
20252 };
20253
20254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
20255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20256 if (SWIG_arg_fail(1)) SWIG_fail;
20257 {
20258 arg2 = (int)(SWIG_As_int(obj1));
20259 if (SWIG_arg_fail(2)) SWIG_fail;
20260 }
20261 {
20262 PyThreadState* __tstate = wxPyBeginAllowThreads();
20263 result = (bool)(arg1)->GetToolEnabled(arg2);
20264
20265 wxPyEndAllowThreads(__tstate);
20266 if (PyErr_Occurred()) SWIG_fail;
20267 }
20268 {
20269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20270 }
20271 return resultobj;
20272 fail:
20273 return NULL;
20274 }
20275
20276
20277 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20278 PyObject *resultobj;
20279 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20280 int arg2 ;
20281 wxString *arg3 = 0 ;
20282 bool temp3 = false ;
20283 PyObject * obj0 = 0 ;
20284 PyObject * obj1 = 0 ;
20285 PyObject * obj2 = 0 ;
20286 char *kwnames[] = {
20287 (char *) "self",(char *) "id",(char *) "helpString", NULL
20288 };
20289
20290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20292 if (SWIG_arg_fail(1)) SWIG_fail;
20293 {
20294 arg2 = (int)(SWIG_As_int(obj1));
20295 if (SWIG_arg_fail(2)) SWIG_fail;
20296 }
20297 {
20298 arg3 = wxString_in_helper(obj2);
20299 if (arg3 == NULL) SWIG_fail;
20300 temp3 = true;
20301 }
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20305
20306 wxPyEndAllowThreads(__tstate);
20307 if (PyErr_Occurred()) SWIG_fail;
20308 }
20309 Py_INCREF(Py_None); resultobj = Py_None;
20310 {
20311 if (temp3)
20312 delete arg3;
20313 }
20314 return resultobj;
20315 fail:
20316 {
20317 if (temp3)
20318 delete arg3;
20319 }
20320 return NULL;
20321 }
20322
20323
20324 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20327 int arg2 ;
20328 wxString result;
20329 PyObject * obj0 = 0 ;
20330 PyObject * obj1 = 0 ;
20331 char *kwnames[] = {
20332 (char *) "self",(char *) "id", NULL
20333 };
20334
20335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
20336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20337 if (SWIG_arg_fail(1)) SWIG_fail;
20338 {
20339 arg2 = (int)(SWIG_As_int(obj1));
20340 if (SWIG_arg_fail(2)) SWIG_fail;
20341 }
20342 {
20343 PyThreadState* __tstate = wxPyBeginAllowThreads();
20344 result = (arg1)->GetToolShortHelp(arg2);
20345
20346 wxPyEndAllowThreads(__tstate);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 }
20349 {
20350 #if wxUSE_UNICODE
20351 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20352 #else
20353 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20354 #endif
20355 }
20356 return resultobj;
20357 fail:
20358 return NULL;
20359 }
20360
20361
20362 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20363 PyObject *resultobj;
20364 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20365 int arg2 ;
20366 wxString *arg3 = 0 ;
20367 bool temp3 = false ;
20368 PyObject * obj0 = 0 ;
20369 PyObject * obj1 = 0 ;
20370 PyObject * obj2 = 0 ;
20371 char *kwnames[] = {
20372 (char *) "self",(char *) "id",(char *) "helpString", NULL
20373 };
20374
20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
20376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20377 if (SWIG_arg_fail(1)) SWIG_fail;
20378 {
20379 arg2 = (int)(SWIG_As_int(obj1));
20380 if (SWIG_arg_fail(2)) SWIG_fail;
20381 }
20382 {
20383 arg3 = wxString_in_helper(obj2);
20384 if (arg3 == NULL) SWIG_fail;
20385 temp3 = true;
20386 }
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20390
20391 wxPyEndAllowThreads(__tstate);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 Py_INCREF(Py_None); resultobj = Py_None;
20395 {
20396 if (temp3)
20397 delete arg3;
20398 }
20399 return resultobj;
20400 fail:
20401 {
20402 if (temp3)
20403 delete arg3;
20404 }
20405 return NULL;
20406 }
20407
20408
20409 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20410 PyObject *resultobj;
20411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20412 int arg2 ;
20413 wxString result;
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self",(char *) "id", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",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 = (int)(SWIG_As_int(obj1));
20425 if (SWIG_arg_fail(2)) SWIG_fail;
20426 }
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 result = (arg1)->GetToolLongHelp(arg2);
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 {
20435 #if wxUSE_UNICODE
20436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20437 #else
20438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20439 #endif
20440 }
20441 return resultobj;
20442 fail:
20443 return NULL;
20444 }
20445
20446
20447 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
20448 PyObject *resultobj;
20449 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20450 int arg2 ;
20451 int arg3 ;
20452 PyObject * obj0 = 0 ;
20453 PyObject * obj1 = 0 ;
20454 PyObject * obj2 = 0 ;
20455 char *kwnames[] = {
20456 (char *) "self",(char *) "x",(char *) "y", NULL
20457 };
20458
20459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
20460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20461 if (SWIG_arg_fail(1)) SWIG_fail;
20462 {
20463 arg2 = (int)(SWIG_As_int(obj1));
20464 if (SWIG_arg_fail(2)) SWIG_fail;
20465 }
20466 {
20467 arg3 = (int)(SWIG_As_int(obj2));
20468 if (SWIG_arg_fail(3)) SWIG_fail;
20469 }
20470 {
20471 PyThreadState* __tstate = wxPyBeginAllowThreads();
20472 (arg1)->SetMargins(arg2,arg3);
20473
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 Py_INCREF(Py_None); resultobj = Py_None;
20478 return resultobj;
20479 fail:
20480 return NULL;
20481 }
20482
20483
20484 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20485 PyObject *resultobj;
20486 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20487 wxSize *arg2 = 0 ;
20488 wxSize temp2 ;
20489 PyObject * obj0 = 0 ;
20490 PyObject * obj1 = 0 ;
20491 char *kwnames[] = {
20492 (char *) "self",(char *) "size", NULL
20493 };
20494
20495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
20496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20497 if (SWIG_arg_fail(1)) SWIG_fail;
20498 {
20499 arg2 = &temp2;
20500 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20501 }
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 (arg1)->SetMargins((wxSize const &)*arg2);
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 Py_INCREF(Py_None); resultobj = Py_None;
20510 return resultobj;
20511 fail:
20512 return NULL;
20513 }
20514
20515
20516 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20517 PyObject *resultobj;
20518 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20519 int arg2 ;
20520 PyObject * obj0 = 0 ;
20521 PyObject * obj1 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "self",(char *) "packing", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
20527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail;
20529 {
20530 arg2 = (int)(SWIG_As_int(obj1));
20531 if (SWIG_arg_fail(2)) SWIG_fail;
20532 }
20533 {
20534 PyThreadState* __tstate = wxPyBeginAllowThreads();
20535 (arg1)->SetToolPacking(arg2);
20536
20537 wxPyEndAllowThreads(__tstate);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 }
20540 Py_INCREF(Py_None); resultobj = Py_None;
20541 return resultobj;
20542 fail:
20543 return NULL;
20544 }
20545
20546
20547 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20548 PyObject *resultobj;
20549 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20550 int arg2 ;
20551 PyObject * obj0 = 0 ;
20552 PyObject * obj1 = 0 ;
20553 char *kwnames[] = {
20554 (char *) "self",(char *) "separation", NULL
20555 };
20556
20557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
20558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20559 if (SWIG_arg_fail(1)) SWIG_fail;
20560 {
20561 arg2 = (int)(SWIG_As_int(obj1));
20562 if (SWIG_arg_fail(2)) SWIG_fail;
20563 }
20564 {
20565 PyThreadState* __tstate = wxPyBeginAllowThreads();
20566 (arg1)->SetToolSeparation(arg2);
20567
20568 wxPyEndAllowThreads(__tstate);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 }
20571 Py_INCREF(Py_None); resultobj = Py_None;
20572 return resultobj;
20573 fail:
20574 return NULL;
20575 }
20576
20577
20578 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20579 PyObject *resultobj;
20580 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20581 wxSize result;
20582 PyObject * obj0 = 0 ;
20583 char *kwnames[] = {
20584 (char *) "self", NULL
20585 };
20586
20587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
20588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20589 if (SWIG_arg_fail(1)) SWIG_fail;
20590 {
20591 PyThreadState* __tstate = wxPyBeginAllowThreads();
20592 result = (arg1)->GetToolMargins();
20593
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 {
20598 wxSize * resultptr;
20599 resultptr = new wxSize((wxSize &)(result));
20600 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20601 }
20602 return resultobj;
20603 fail:
20604 return NULL;
20605 }
20606
20607
20608 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
20609 PyObject *resultobj;
20610 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20611 wxSize result;
20612 PyObject * obj0 = 0 ;
20613 char *kwnames[] = {
20614 (char *) "self", NULL
20615 };
20616
20617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
20618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20619 if (SWIG_arg_fail(1)) SWIG_fail;
20620 {
20621 PyThreadState* __tstate = wxPyBeginAllowThreads();
20622 result = (arg1)->GetMargins();
20623
20624 wxPyEndAllowThreads(__tstate);
20625 if (PyErr_Occurred()) SWIG_fail;
20626 }
20627 {
20628 wxSize * resultptr;
20629 resultptr = new wxSize((wxSize &)(result));
20630 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20631 }
20632 return resultobj;
20633 fail:
20634 return NULL;
20635 }
20636
20637
20638 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
20639 PyObject *resultobj;
20640 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20641 int result;
20642 PyObject * obj0 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
20648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20649 if (SWIG_arg_fail(1)) SWIG_fail;
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 result = (int)(arg1)->GetToolPacking();
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
20657 {
20658 resultobj = SWIG_From_int((int)(result));
20659 }
20660 return resultobj;
20661 fail:
20662 return NULL;
20663 }
20664
20665
20666 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
20667 PyObject *resultobj;
20668 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20669 int result;
20670 PyObject * obj0 = 0 ;
20671 char *kwnames[] = {
20672 (char *) "self", NULL
20673 };
20674
20675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
20676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20677 if (SWIG_arg_fail(1)) SWIG_fail;
20678 {
20679 PyThreadState* __tstate = wxPyBeginAllowThreads();
20680 result = (int)(arg1)->GetToolSeparation();
20681
20682 wxPyEndAllowThreads(__tstate);
20683 if (PyErr_Occurred()) SWIG_fail;
20684 }
20685 {
20686 resultobj = SWIG_From_int((int)(result));
20687 }
20688 return resultobj;
20689 fail:
20690 return NULL;
20691 }
20692
20693
20694 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
20695 PyObject *resultobj;
20696 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20697 int arg2 ;
20698 PyObject * obj0 = 0 ;
20699 PyObject * obj1 = 0 ;
20700 char *kwnames[] = {
20701 (char *) "self",(char *) "nRows", NULL
20702 };
20703
20704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
20705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20706 if (SWIG_arg_fail(1)) SWIG_fail;
20707 {
20708 arg2 = (int)(SWIG_As_int(obj1));
20709 if (SWIG_arg_fail(2)) SWIG_fail;
20710 }
20711 {
20712 PyThreadState* __tstate = wxPyBeginAllowThreads();
20713 (arg1)->SetRows(arg2);
20714
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 Py_INCREF(Py_None); resultobj = Py_None;
20719 return resultobj;
20720 fail:
20721 return NULL;
20722 }
20723
20724
20725 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
20726 PyObject *resultobj;
20727 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20728 int arg2 ;
20729 int arg3 ;
20730 PyObject * obj0 = 0 ;
20731 PyObject * obj1 = 0 ;
20732 PyObject * obj2 = 0 ;
20733 char *kwnames[] = {
20734 (char *) "self",(char *) "rows",(char *) "cols", NULL
20735 };
20736
20737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
20738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20739 if (SWIG_arg_fail(1)) SWIG_fail;
20740 {
20741 arg2 = (int)(SWIG_As_int(obj1));
20742 if (SWIG_arg_fail(2)) SWIG_fail;
20743 }
20744 {
20745 arg3 = (int)(SWIG_As_int(obj2));
20746 if (SWIG_arg_fail(3)) SWIG_fail;
20747 }
20748 {
20749 PyThreadState* __tstate = wxPyBeginAllowThreads();
20750 (arg1)->SetMaxRowsCols(arg2,arg3);
20751
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 Py_INCREF(Py_None); resultobj = Py_None;
20756 return resultobj;
20757 fail:
20758 return NULL;
20759 }
20760
20761
20762 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
20763 PyObject *resultobj;
20764 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20765 int result;
20766 PyObject * obj0 = 0 ;
20767 char *kwnames[] = {
20768 (char *) "self", NULL
20769 };
20770
20771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
20772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20773 if (SWIG_arg_fail(1)) SWIG_fail;
20774 {
20775 PyThreadState* __tstate = wxPyBeginAllowThreads();
20776 result = (int)(arg1)->GetMaxRows();
20777
20778 wxPyEndAllowThreads(__tstate);
20779 if (PyErr_Occurred()) SWIG_fail;
20780 }
20781 {
20782 resultobj = SWIG_From_int((int)(result));
20783 }
20784 return resultobj;
20785 fail:
20786 return NULL;
20787 }
20788
20789
20790 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
20791 PyObject *resultobj;
20792 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20793 int result;
20794 PyObject * obj0 = 0 ;
20795 char *kwnames[] = {
20796 (char *) "self", NULL
20797 };
20798
20799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
20800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20801 if (SWIG_arg_fail(1)) SWIG_fail;
20802 {
20803 PyThreadState* __tstate = wxPyBeginAllowThreads();
20804 result = (int)(arg1)->GetMaxCols();
20805
20806 wxPyEndAllowThreads(__tstate);
20807 if (PyErr_Occurred()) SWIG_fail;
20808 }
20809 {
20810 resultobj = SWIG_From_int((int)(result));
20811 }
20812 return resultobj;
20813 fail:
20814 return NULL;
20815 }
20816
20817
20818 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20819 PyObject *resultobj;
20820 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20821 wxSize *arg2 = 0 ;
20822 wxSize temp2 ;
20823 PyObject * obj0 = 0 ;
20824 PyObject * obj1 = 0 ;
20825 char *kwnames[] = {
20826 (char *) "self",(char *) "size", NULL
20827 };
20828
20829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
20830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20831 if (SWIG_arg_fail(1)) SWIG_fail;
20832 {
20833 arg2 = &temp2;
20834 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20835 }
20836 {
20837 PyThreadState* __tstate = wxPyBeginAllowThreads();
20838 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20839
20840 wxPyEndAllowThreads(__tstate);
20841 if (PyErr_Occurred()) SWIG_fail;
20842 }
20843 Py_INCREF(Py_None); resultobj = Py_None;
20844 return resultobj;
20845 fail:
20846 return NULL;
20847 }
20848
20849
20850 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
20851 PyObject *resultobj;
20852 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20853 wxSize result;
20854 PyObject * obj0 = 0 ;
20855 char *kwnames[] = {
20856 (char *) "self", NULL
20857 };
20858
20859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
20860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20861 if (SWIG_arg_fail(1)) SWIG_fail;
20862 {
20863 PyThreadState* __tstate = wxPyBeginAllowThreads();
20864 result = (arg1)->GetToolBitmapSize();
20865
20866 wxPyEndAllowThreads(__tstate);
20867 if (PyErr_Occurred()) SWIG_fail;
20868 }
20869 {
20870 wxSize * resultptr;
20871 resultptr = new wxSize((wxSize &)(result));
20872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20873 }
20874 return resultobj;
20875 fail:
20876 return NULL;
20877 }
20878
20879
20880 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
20881 PyObject *resultobj;
20882 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20883 wxSize result;
20884 PyObject * obj0 = 0 ;
20885 char *kwnames[] = {
20886 (char *) "self", NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
20890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20891 if (SWIG_arg_fail(1)) SWIG_fail;
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 result = (arg1)->GetToolSize();
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 {
20900 wxSize * resultptr;
20901 resultptr = new wxSize((wxSize &)(result));
20902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20903 }
20904 return resultobj;
20905 fail:
20906 return NULL;
20907 }
20908
20909
20910 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20911 PyObject *resultobj;
20912 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20913 int arg2 ;
20914 int arg3 ;
20915 wxToolBarToolBase *result;
20916 PyObject * obj0 = 0 ;
20917 PyObject * obj1 = 0 ;
20918 PyObject * obj2 = 0 ;
20919 char *kwnames[] = {
20920 (char *) "self",(char *) "x",(char *) "y", NULL
20921 };
20922
20923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20925 if (SWIG_arg_fail(1)) SWIG_fail;
20926 {
20927 arg2 = (int)(SWIG_As_int(obj1));
20928 if (SWIG_arg_fail(2)) SWIG_fail;
20929 }
20930 {
20931 arg3 = (int)(SWIG_As_int(obj2));
20932 if (SWIG_arg_fail(3)) SWIG_fail;
20933 }
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20937
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 {
20942 resultobj = wxPyMake_wxObject(result, 0);
20943 }
20944 return resultobj;
20945 fail:
20946 return NULL;
20947 }
20948
20949
20950 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
20951 PyObject *resultobj;
20952 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20953 int arg2 ;
20954 wxToolBarToolBase *result;
20955 PyObject * obj0 = 0 ;
20956 PyObject * obj1 = 0 ;
20957 char *kwnames[] = {
20958 (char *) "self",(char *) "toolid", NULL
20959 };
20960
20961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
20962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20963 if (SWIG_arg_fail(1)) SWIG_fail;
20964 {
20965 arg2 = (int)(SWIG_As_int(obj1));
20966 if (SWIG_arg_fail(2)) SWIG_fail;
20967 }
20968 {
20969 PyThreadState* __tstate = wxPyBeginAllowThreads();
20970 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 {
20976 resultobj = wxPyMake_wxObject(result, 0);
20977 }
20978 return resultobj;
20979 fail:
20980 return NULL;
20981 }
20982
20983
20984 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
20985 PyObject *resultobj;
20986 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20987 bool result;
20988 PyObject * obj0 = 0 ;
20989 char *kwnames[] = {
20990 (char *) "self", NULL
20991 };
20992
20993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
20994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail;
20996 {
20997 PyThreadState* __tstate = wxPyBeginAllowThreads();
20998 result = (bool)(arg1)->IsVertical();
20999
21000 wxPyEndAllowThreads(__tstate);
21001 if (PyErr_Occurred()) SWIG_fail;
21002 }
21003 {
21004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21005 }
21006 return resultobj;
21007 fail:
21008 return NULL;
21009 }
21010
21011
21012 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
21013 PyObject *obj;
21014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21015 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
21016 Py_INCREF(obj);
21017 return Py_BuildValue((char *)"");
21018 }
21019 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21020 PyObject *resultobj;
21021 wxWindow *arg1 = (wxWindow *) 0 ;
21022 int arg2 = (int) -1 ;
21023 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21024 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21025 wxSize const &arg4_defvalue = wxDefaultSize ;
21026 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21027 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21028 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
21029 wxString *arg6 = (wxString *) &arg6_defvalue ;
21030 wxToolBar *result;
21031 wxPoint temp3 ;
21032 wxSize temp4 ;
21033 bool temp6 = false ;
21034 PyObject * obj0 = 0 ;
21035 PyObject * obj1 = 0 ;
21036 PyObject * obj2 = 0 ;
21037 PyObject * obj3 = 0 ;
21038 PyObject * obj4 = 0 ;
21039 PyObject * obj5 = 0 ;
21040 char *kwnames[] = {
21041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21042 };
21043
21044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21046 if (SWIG_arg_fail(1)) SWIG_fail;
21047 if (obj1) {
21048 {
21049 arg2 = (int)(SWIG_As_int(obj1));
21050 if (SWIG_arg_fail(2)) SWIG_fail;
21051 }
21052 }
21053 if (obj2) {
21054 {
21055 arg3 = &temp3;
21056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21057 }
21058 }
21059 if (obj3) {
21060 {
21061 arg4 = &temp4;
21062 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21063 }
21064 }
21065 if (obj4) {
21066 {
21067 arg5 = (long)(SWIG_As_long(obj4));
21068 if (SWIG_arg_fail(5)) SWIG_fail;
21069 }
21070 }
21071 if (obj5) {
21072 {
21073 arg6 = wxString_in_helper(obj5);
21074 if (arg6 == NULL) SWIG_fail;
21075 temp6 = true;
21076 }
21077 }
21078 {
21079 if (!wxPyCheckForApp()) SWIG_fail;
21080 PyThreadState* __tstate = wxPyBeginAllowThreads();
21081 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21082
21083 wxPyEndAllowThreads(__tstate);
21084 if (PyErr_Occurred()) SWIG_fail;
21085 }
21086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21087 {
21088 if (temp6)
21089 delete arg6;
21090 }
21091 return resultobj;
21092 fail:
21093 {
21094 if (temp6)
21095 delete arg6;
21096 }
21097 return NULL;
21098 }
21099
21100
21101 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
21102 PyObject *resultobj;
21103 wxToolBar *result;
21104 char *kwnames[] = {
21105 NULL
21106 };
21107
21108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
21109 {
21110 if (!wxPyCheckForApp()) SWIG_fail;
21111 PyThreadState* __tstate = wxPyBeginAllowThreads();
21112 result = (wxToolBar *)new wxToolBar();
21113
21114 wxPyEndAllowThreads(__tstate);
21115 if (PyErr_Occurred()) SWIG_fail;
21116 }
21117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
21118 return resultobj;
21119 fail:
21120 return NULL;
21121 }
21122
21123
21124 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
21125 PyObject *resultobj;
21126 wxToolBar *arg1 = (wxToolBar *) 0 ;
21127 wxWindow *arg2 = (wxWindow *) 0 ;
21128 int arg3 = (int) -1 ;
21129 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21130 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21131 wxSize const &arg5_defvalue = wxDefaultSize ;
21132 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21133 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21134 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21135 wxString *arg7 = (wxString *) &arg7_defvalue ;
21136 bool result;
21137 wxPoint temp4 ;
21138 wxSize temp5 ;
21139 bool temp7 = false ;
21140 PyObject * obj0 = 0 ;
21141 PyObject * obj1 = 0 ;
21142 PyObject * obj2 = 0 ;
21143 PyObject * obj3 = 0 ;
21144 PyObject * obj4 = 0 ;
21145 PyObject * obj5 = 0 ;
21146 PyObject * obj6 = 0 ;
21147 char *kwnames[] = {
21148 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21149 };
21150
21151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21153 if (SWIG_arg_fail(1)) SWIG_fail;
21154 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21155 if (SWIG_arg_fail(2)) SWIG_fail;
21156 if (obj2) {
21157 {
21158 arg3 = (int)(SWIG_As_int(obj2));
21159 if (SWIG_arg_fail(3)) SWIG_fail;
21160 }
21161 }
21162 if (obj3) {
21163 {
21164 arg4 = &temp4;
21165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21166 }
21167 }
21168 if (obj4) {
21169 {
21170 arg5 = &temp5;
21171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21172 }
21173 }
21174 if (obj5) {
21175 {
21176 arg6 = (long)(SWIG_As_long(obj5));
21177 if (SWIG_arg_fail(6)) SWIG_fail;
21178 }
21179 }
21180 if (obj6) {
21181 {
21182 arg7 = wxString_in_helper(obj6);
21183 if (arg7 == NULL) SWIG_fail;
21184 temp7 = true;
21185 }
21186 }
21187 {
21188 PyThreadState* __tstate = wxPyBeginAllowThreads();
21189 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21190
21191 wxPyEndAllowThreads(__tstate);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 }
21194 {
21195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21196 }
21197 {
21198 if (temp7)
21199 delete arg7;
21200 }
21201 return resultobj;
21202 fail:
21203 {
21204 if (temp7)
21205 delete arg7;
21206 }
21207 return NULL;
21208 }
21209
21210
21211 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
21212 PyObject *resultobj;
21213 wxToolBar *arg1 = (wxToolBar *) 0 ;
21214 int arg2 ;
21215 int arg3 ;
21216 wxToolBarToolBase *result;
21217 PyObject * obj0 = 0 ;
21218 PyObject * obj1 = 0 ;
21219 PyObject * obj2 = 0 ;
21220 char *kwnames[] = {
21221 (char *) "self",(char *) "x",(char *) "y", NULL
21222 };
21223
21224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21226 if (SWIG_arg_fail(1)) SWIG_fail;
21227 {
21228 arg2 = (int)(SWIG_As_int(obj1));
21229 if (SWIG_arg_fail(2)) SWIG_fail;
21230 }
21231 {
21232 arg3 = (int)(SWIG_As_int(obj2));
21233 if (SWIG_arg_fail(3)) SWIG_fail;
21234 }
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21238
21239 wxPyEndAllowThreads(__tstate);
21240 if (PyErr_Occurred()) SWIG_fail;
21241 }
21242 {
21243 resultobj = wxPyMake_wxObject(result, 0);
21244 }
21245 return resultobj;
21246 fail:
21247 return NULL;
21248 }
21249
21250
21251 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21252 PyObject *resultobj;
21253 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21254 wxVisualAttributes result;
21255 PyObject * obj0 = 0 ;
21256 char *kwnames[] = {
21257 (char *) "variant", NULL
21258 };
21259
21260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21261 if (obj0) {
21262 {
21263 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21264 if (SWIG_arg_fail(1)) SWIG_fail;
21265 }
21266 }
21267 {
21268 if (!wxPyCheckForApp()) SWIG_fail;
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21271
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 {
21276 wxVisualAttributes * resultptr;
21277 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
21278 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21279 }
21280 return resultobj;
21281 fail:
21282 return NULL;
21283 }
21284
21285
21286 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
21287 PyObject *obj;
21288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21289 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21290 Py_INCREF(obj);
21291 return Py_BuildValue((char *)"");
21292 }
21293 static int _wrap_ListCtrlNameStr_set(PyObject *) {
21294 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21295 return 1;
21296 }
21297
21298
21299 static PyObject *_wrap_ListCtrlNameStr_get(void) {
21300 PyObject *pyobj;
21301
21302 {
21303 #if wxUSE_UNICODE
21304 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21305 #else
21306 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21307 #endif
21308 }
21309 return pyobj;
21310 }
21311
21312
21313 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
21314 PyObject *resultobj;
21315 wxColour const &arg1_defvalue = wxNullColour ;
21316 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21317 wxColour const &arg2_defvalue = wxNullColour ;
21318 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21319 wxFont const &arg3_defvalue = wxNullFont ;
21320 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21321 wxListItemAttr *result;
21322 wxColour temp1 ;
21323 wxColour temp2 ;
21324 PyObject * obj0 = 0 ;
21325 PyObject * obj1 = 0 ;
21326 PyObject * obj2 = 0 ;
21327 char *kwnames[] = {
21328 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21329 };
21330
21331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21332 if (obj0) {
21333 {
21334 arg1 = &temp1;
21335 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21336 }
21337 }
21338 if (obj1) {
21339 {
21340 arg2 = &temp2;
21341 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21342 }
21343 }
21344 if (obj2) {
21345 {
21346 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21347 if (SWIG_arg_fail(3)) SWIG_fail;
21348 if (arg3 == NULL) {
21349 SWIG_null_ref("wxFont");
21350 }
21351 if (SWIG_arg_fail(3)) SWIG_fail;
21352 }
21353 }
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21362 return resultobj;
21363 fail:
21364 return NULL;
21365 }
21366
21367
21368 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21369 PyObject *resultobj;
21370 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21371 wxColour *arg2 = 0 ;
21372 wxColour temp2 ;
21373 PyObject * obj0 = 0 ;
21374 PyObject * obj1 = 0 ;
21375 char *kwnames[] = {
21376 (char *) "self",(char *) "colText", NULL
21377 };
21378
21379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21381 if (SWIG_arg_fail(1)) SWIG_fail;
21382 {
21383 arg2 = &temp2;
21384 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21385 }
21386 {
21387 PyThreadState* __tstate = wxPyBeginAllowThreads();
21388 (arg1)->SetTextColour((wxColour const &)*arg2);
21389
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 Py_INCREF(Py_None); resultobj = Py_None;
21394 return resultobj;
21395 fail:
21396 return NULL;
21397 }
21398
21399
21400 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21401 PyObject *resultobj;
21402 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21403 wxColour *arg2 = 0 ;
21404 wxColour temp2 ;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "colBack", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21413 if (SWIG_arg_fail(1)) SWIG_fail;
21414 {
21415 arg2 = &temp2;
21416 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21417 }
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21421
21422 wxPyEndAllowThreads(__tstate);
21423 if (PyErr_Occurred()) SWIG_fail;
21424 }
21425 Py_INCREF(Py_None); resultobj = Py_None;
21426 return resultobj;
21427 fail:
21428 return NULL;
21429 }
21430
21431
21432 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21433 PyObject *resultobj;
21434 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21435 wxFont *arg2 = 0 ;
21436 PyObject * obj0 = 0 ;
21437 PyObject * obj1 = 0 ;
21438 char *kwnames[] = {
21439 (char *) "self",(char *) "font", NULL
21440 };
21441
21442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
21443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21444 if (SWIG_arg_fail(1)) SWIG_fail;
21445 {
21446 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21447 if (SWIG_arg_fail(2)) SWIG_fail;
21448 if (arg2 == NULL) {
21449 SWIG_null_ref("wxFont");
21450 }
21451 if (SWIG_arg_fail(2)) SWIG_fail;
21452 }
21453 {
21454 PyThreadState* __tstate = wxPyBeginAllowThreads();
21455 (arg1)->SetFont((wxFont const &)*arg2);
21456
21457 wxPyEndAllowThreads(__tstate);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
21460 Py_INCREF(Py_None); resultobj = Py_None;
21461 return resultobj;
21462 fail:
21463 return NULL;
21464 }
21465
21466
21467 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21468 PyObject *resultobj;
21469 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21470 bool result;
21471 PyObject * obj0 = 0 ;
21472 char *kwnames[] = {
21473 (char *) "self", NULL
21474 };
21475
21476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
21477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21478 if (SWIG_arg_fail(1)) SWIG_fail;
21479 {
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 result = (bool)(arg1)->HasTextColour();
21482
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
21486 {
21487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21488 }
21489 return resultobj;
21490 fail:
21491 return NULL;
21492 }
21493
21494
21495 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21496 PyObject *resultobj;
21497 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21498 bool result;
21499 PyObject * obj0 = 0 ;
21500 char *kwnames[] = {
21501 (char *) "self", NULL
21502 };
21503
21504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
21505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21506 if (SWIG_arg_fail(1)) SWIG_fail;
21507 {
21508 PyThreadState* __tstate = wxPyBeginAllowThreads();
21509 result = (bool)(arg1)->HasBackgroundColour();
21510
21511 wxPyEndAllowThreads(__tstate);
21512 if (PyErr_Occurred()) SWIG_fail;
21513 }
21514 {
21515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21516 }
21517 return resultobj;
21518 fail:
21519 return NULL;
21520 }
21521
21522
21523 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
21524 PyObject *resultobj;
21525 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21526 bool result;
21527 PyObject * obj0 = 0 ;
21528 char *kwnames[] = {
21529 (char *) "self", NULL
21530 };
21531
21532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
21533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21534 if (SWIG_arg_fail(1)) SWIG_fail;
21535 {
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 result = (bool)(arg1)->HasFont();
21538
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 {
21543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21544 }
21545 return resultobj;
21546 fail:
21547 return NULL;
21548 }
21549
21550
21551 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21552 PyObject *resultobj;
21553 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21554 wxColour result;
21555 PyObject * obj0 = 0 ;
21556 char *kwnames[] = {
21557 (char *) "self", NULL
21558 };
21559
21560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
21561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21562 if (SWIG_arg_fail(1)) SWIG_fail;
21563 {
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 result = (arg1)->GetTextColour();
21566
21567 wxPyEndAllowThreads(__tstate);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 {
21571 wxColour * resultptr;
21572 resultptr = new wxColour((wxColour &)(result));
21573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21574 }
21575 return resultobj;
21576 fail:
21577 return NULL;
21578 }
21579
21580
21581 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21582 PyObject *resultobj;
21583 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21584 wxColour result;
21585 PyObject * obj0 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self", NULL
21588 };
21589
21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
21591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21592 if (SWIG_arg_fail(1)) SWIG_fail;
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 result = (arg1)->GetBackgroundColour();
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 {
21601 wxColour * resultptr;
21602 resultptr = new wxColour((wxColour &)(result));
21603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21604 }
21605 return resultobj;
21606 fail:
21607 return NULL;
21608 }
21609
21610
21611 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21614 wxFont result;
21615 PyObject * obj0 = 0 ;
21616 char *kwnames[] = {
21617 (char *) "self", NULL
21618 };
21619
21620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
21621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21622 if (SWIG_arg_fail(1)) SWIG_fail;
21623 {
21624 PyThreadState* __tstate = wxPyBeginAllowThreads();
21625 result = (arg1)->GetFont();
21626
21627 wxPyEndAllowThreads(__tstate);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 }
21630 {
21631 wxFont * resultptr;
21632 resultptr = new wxFont((wxFont &)(result));
21633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21634 }
21635 return resultobj;
21636 fail:
21637 return NULL;
21638 }
21639
21640
21641 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
21642 PyObject *resultobj;
21643 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21644 PyObject * obj0 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
21650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail;
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 wxListItemAttr_Destroy(arg1);
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 Py_INCREF(Py_None); resultobj = Py_None;
21660 return resultobj;
21661 fail:
21662 return NULL;
21663 }
21664
21665
21666 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
21667 PyObject *obj;
21668 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21669 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21670 Py_INCREF(obj);
21671 return Py_BuildValue((char *)"");
21672 }
21673 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21674 PyObject *resultobj;
21675 wxListItem *result;
21676 char *kwnames[] = {
21677 NULL
21678 };
21679
21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 result = (wxListItem *)new wxListItem();
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 {
21689 resultobj = wxPyMake_wxObject(result, 1);
21690 }
21691 return resultobj;
21692 fail:
21693 return NULL;
21694 }
21695
21696
21697 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
21698 PyObject *resultobj;
21699 wxListItem *arg1 = (wxListItem *) 0 ;
21700 PyObject * obj0 = 0 ;
21701 char *kwnames[] = {
21702 (char *) "self", NULL
21703 };
21704
21705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
21706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21707 if (SWIG_arg_fail(1)) SWIG_fail;
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 delete arg1;
21711
21712 wxPyEndAllowThreads(__tstate);
21713 if (PyErr_Occurred()) SWIG_fail;
21714 }
21715 Py_INCREF(Py_None); resultobj = Py_None;
21716 return resultobj;
21717 fail:
21718 return NULL;
21719 }
21720
21721
21722 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
21723 PyObject *resultobj;
21724 wxListItem *arg1 = (wxListItem *) 0 ;
21725 PyObject * obj0 = 0 ;
21726 char *kwnames[] = {
21727 (char *) "self", NULL
21728 };
21729
21730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
21731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21732 if (SWIG_arg_fail(1)) SWIG_fail;
21733 {
21734 PyThreadState* __tstate = wxPyBeginAllowThreads();
21735 (arg1)->Clear();
21736
21737 wxPyEndAllowThreads(__tstate);
21738 if (PyErr_Occurred()) SWIG_fail;
21739 }
21740 Py_INCREF(Py_None); resultobj = Py_None;
21741 return resultobj;
21742 fail:
21743 return NULL;
21744 }
21745
21746
21747 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21748 PyObject *resultobj;
21749 wxListItem *arg1 = (wxListItem *) 0 ;
21750 PyObject * obj0 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "self", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
21756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21757 if (SWIG_arg_fail(1)) SWIG_fail;
21758 {
21759 PyThreadState* __tstate = wxPyBeginAllowThreads();
21760 (arg1)->ClearAttributes();
21761
21762 wxPyEndAllowThreads(__tstate);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 Py_INCREF(Py_None); resultobj = Py_None;
21766 return resultobj;
21767 fail:
21768 return NULL;
21769 }
21770
21771
21772 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
21773 PyObject *resultobj;
21774 wxListItem *arg1 = (wxListItem *) 0 ;
21775 long arg2 ;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 char *kwnames[] = {
21779 (char *) "self",(char *) "mask", NULL
21780 };
21781
21782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
21783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21784 if (SWIG_arg_fail(1)) SWIG_fail;
21785 {
21786 arg2 = (long)(SWIG_As_long(obj1));
21787 if (SWIG_arg_fail(2)) SWIG_fail;
21788 }
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 (arg1)->SetMask(arg2);
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 Py_INCREF(Py_None); resultobj = Py_None;
21797 return resultobj;
21798 fail:
21799 return NULL;
21800 }
21801
21802
21803 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 wxListItem *arg1 = (wxListItem *) 0 ;
21806 long arg2 ;
21807 PyObject * obj0 = 0 ;
21808 PyObject * obj1 = 0 ;
21809 char *kwnames[] = {
21810 (char *) "self",(char *) "id", NULL
21811 };
21812
21813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
21814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21815 if (SWIG_arg_fail(1)) SWIG_fail;
21816 {
21817 arg2 = (long)(SWIG_As_long(obj1));
21818 if (SWIG_arg_fail(2)) SWIG_fail;
21819 }
21820 {
21821 PyThreadState* __tstate = wxPyBeginAllowThreads();
21822 (arg1)->SetId(arg2);
21823
21824 wxPyEndAllowThreads(__tstate);
21825 if (PyErr_Occurred()) SWIG_fail;
21826 }
21827 Py_INCREF(Py_None); resultobj = Py_None;
21828 return resultobj;
21829 fail:
21830 return NULL;
21831 }
21832
21833
21834 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21835 PyObject *resultobj;
21836 wxListItem *arg1 = (wxListItem *) 0 ;
21837 int arg2 ;
21838 PyObject * obj0 = 0 ;
21839 PyObject * obj1 = 0 ;
21840 char *kwnames[] = {
21841 (char *) "self",(char *) "col", NULL
21842 };
21843
21844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
21845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21846 if (SWIG_arg_fail(1)) SWIG_fail;
21847 {
21848 arg2 = (int)(SWIG_As_int(obj1));
21849 if (SWIG_arg_fail(2)) SWIG_fail;
21850 }
21851 {
21852 PyThreadState* __tstate = wxPyBeginAllowThreads();
21853 (arg1)->SetColumn(arg2);
21854
21855 wxPyEndAllowThreads(__tstate);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 }
21858 Py_INCREF(Py_None); resultobj = Py_None;
21859 return resultobj;
21860 fail:
21861 return NULL;
21862 }
21863
21864
21865 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
21866 PyObject *resultobj;
21867 wxListItem *arg1 = (wxListItem *) 0 ;
21868 long arg2 ;
21869 PyObject * obj0 = 0 ;
21870 PyObject * obj1 = 0 ;
21871 char *kwnames[] = {
21872 (char *) "self",(char *) "state", NULL
21873 };
21874
21875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
21876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21877 if (SWIG_arg_fail(1)) SWIG_fail;
21878 {
21879 arg2 = (long)(SWIG_As_long(obj1));
21880 if (SWIG_arg_fail(2)) SWIG_fail;
21881 }
21882 {
21883 PyThreadState* __tstate = wxPyBeginAllowThreads();
21884 (arg1)->SetState(arg2);
21885
21886 wxPyEndAllowThreads(__tstate);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 Py_INCREF(Py_None); resultobj = Py_None;
21890 return resultobj;
21891 fail:
21892 return NULL;
21893 }
21894
21895
21896 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
21897 PyObject *resultobj;
21898 wxListItem *arg1 = (wxListItem *) 0 ;
21899 long arg2 ;
21900 PyObject * obj0 = 0 ;
21901 PyObject * obj1 = 0 ;
21902 char *kwnames[] = {
21903 (char *) "self",(char *) "stateMask", NULL
21904 };
21905
21906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
21907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21908 if (SWIG_arg_fail(1)) SWIG_fail;
21909 {
21910 arg2 = (long)(SWIG_As_long(obj1));
21911 if (SWIG_arg_fail(2)) SWIG_fail;
21912 }
21913 {
21914 PyThreadState* __tstate = wxPyBeginAllowThreads();
21915 (arg1)->SetStateMask(arg2);
21916
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
21920 Py_INCREF(Py_None); resultobj = Py_None;
21921 return resultobj;
21922 fail:
21923 return NULL;
21924 }
21925
21926
21927 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
21928 PyObject *resultobj;
21929 wxListItem *arg1 = (wxListItem *) 0 ;
21930 wxString *arg2 = 0 ;
21931 bool temp2 = false ;
21932 PyObject * obj0 = 0 ;
21933 PyObject * obj1 = 0 ;
21934 char *kwnames[] = {
21935 (char *) "self",(char *) "text", NULL
21936 };
21937
21938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
21939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21940 if (SWIG_arg_fail(1)) SWIG_fail;
21941 {
21942 arg2 = wxString_in_helper(obj1);
21943 if (arg2 == NULL) SWIG_fail;
21944 temp2 = true;
21945 }
21946 {
21947 PyThreadState* __tstate = wxPyBeginAllowThreads();
21948 (arg1)->SetText((wxString const &)*arg2);
21949
21950 wxPyEndAllowThreads(__tstate);
21951 if (PyErr_Occurred()) SWIG_fail;
21952 }
21953 Py_INCREF(Py_None); resultobj = Py_None;
21954 {
21955 if (temp2)
21956 delete arg2;
21957 }
21958 return resultobj;
21959 fail:
21960 {
21961 if (temp2)
21962 delete arg2;
21963 }
21964 return NULL;
21965 }
21966
21967
21968 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
21969 PyObject *resultobj;
21970 wxListItem *arg1 = (wxListItem *) 0 ;
21971 int arg2 ;
21972 PyObject * obj0 = 0 ;
21973 PyObject * obj1 = 0 ;
21974 char *kwnames[] = {
21975 (char *) "self",(char *) "image", NULL
21976 };
21977
21978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
21979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21980 if (SWIG_arg_fail(1)) SWIG_fail;
21981 {
21982 arg2 = (int)(SWIG_As_int(obj1));
21983 if (SWIG_arg_fail(2)) SWIG_fail;
21984 }
21985 {
21986 PyThreadState* __tstate = wxPyBeginAllowThreads();
21987 (arg1)->SetImage(arg2);
21988
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 Py_INCREF(Py_None); resultobj = Py_None;
21993 return resultobj;
21994 fail:
21995 return NULL;
21996 }
21997
21998
21999 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
22000 PyObject *resultobj;
22001 wxListItem *arg1 = (wxListItem *) 0 ;
22002 long arg2 ;
22003 PyObject * obj0 = 0 ;
22004 PyObject * obj1 = 0 ;
22005 char *kwnames[] = {
22006 (char *) "self",(char *) "data", NULL
22007 };
22008
22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
22010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22011 if (SWIG_arg_fail(1)) SWIG_fail;
22012 {
22013 arg2 = (long)(SWIG_As_long(obj1));
22014 if (SWIG_arg_fail(2)) SWIG_fail;
22015 }
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 (arg1)->SetData(arg2);
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 Py_INCREF(Py_None); resultobj = Py_None;
22024 return resultobj;
22025 fail:
22026 return NULL;
22027 }
22028
22029
22030 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22031 PyObject *resultobj;
22032 wxListItem *arg1 = (wxListItem *) 0 ;
22033 int arg2 ;
22034 PyObject * obj0 = 0 ;
22035 PyObject * obj1 = 0 ;
22036 char *kwnames[] = {
22037 (char *) "self",(char *) "width", NULL
22038 };
22039
22040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
22041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22042 if (SWIG_arg_fail(1)) SWIG_fail;
22043 {
22044 arg2 = (int)(SWIG_As_int(obj1));
22045 if (SWIG_arg_fail(2)) SWIG_fail;
22046 }
22047 {
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 (arg1)->SetWidth(arg2);
22050
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 Py_INCREF(Py_None); resultobj = Py_None;
22055 return resultobj;
22056 fail:
22057 return NULL;
22058 }
22059
22060
22061 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22062 PyObject *resultobj;
22063 wxListItem *arg1 = (wxListItem *) 0 ;
22064 wxListColumnFormat arg2 ;
22065 PyObject * obj0 = 0 ;
22066 PyObject * obj1 = 0 ;
22067 char *kwnames[] = {
22068 (char *) "self",(char *) "align", NULL
22069 };
22070
22071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
22072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22073 if (SWIG_arg_fail(1)) SWIG_fail;
22074 {
22075 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
22076 if (SWIG_arg_fail(2)) SWIG_fail;
22077 }
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 (arg1)->SetAlign((wxListColumnFormat )arg2);
22081
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 Py_INCREF(Py_None); resultobj = Py_None;
22086 return resultobj;
22087 fail:
22088 return NULL;
22089 }
22090
22091
22092 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22093 PyObject *resultobj;
22094 wxListItem *arg1 = (wxListItem *) 0 ;
22095 wxColour *arg2 = 0 ;
22096 wxColour temp2 ;
22097 PyObject * obj0 = 0 ;
22098 PyObject * obj1 = 0 ;
22099 char *kwnames[] = {
22100 (char *) "self",(char *) "colText", NULL
22101 };
22102
22103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22105 if (SWIG_arg_fail(1)) SWIG_fail;
22106 {
22107 arg2 = &temp2;
22108 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22109 }
22110 {
22111 PyThreadState* __tstate = wxPyBeginAllowThreads();
22112 (arg1)->SetTextColour((wxColour const &)*arg2);
22113
22114 wxPyEndAllowThreads(__tstate);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
22117 Py_INCREF(Py_None); resultobj = Py_None;
22118 return resultobj;
22119 fail:
22120 return NULL;
22121 }
22122
22123
22124 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22125 PyObject *resultobj;
22126 wxListItem *arg1 = (wxListItem *) 0 ;
22127 wxColour *arg2 = 0 ;
22128 wxColour temp2 ;
22129 PyObject * obj0 = 0 ;
22130 PyObject * obj1 = 0 ;
22131 char *kwnames[] = {
22132 (char *) "self",(char *) "colBack", NULL
22133 };
22134
22135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22137 if (SWIG_arg_fail(1)) SWIG_fail;
22138 {
22139 arg2 = &temp2;
22140 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22141 }
22142 {
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22145
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 Py_INCREF(Py_None); resultobj = Py_None;
22150 return resultobj;
22151 fail:
22152 return NULL;
22153 }
22154
22155
22156 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj;
22158 wxListItem *arg1 = (wxListItem *) 0 ;
22159 wxFont *arg2 = 0 ;
22160 PyObject * obj0 = 0 ;
22161 PyObject * obj1 = 0 ;
22162 char *kwnames[] = {
22163 (char *) "self",(char *) "font", NULL
22164 };
22165
22166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
22167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22168 if (SWIG_arg_fail(1)) SWIG_fail;
22169 {
22170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22171 if (SWIG_arg_fail(2)) SWIG_fail;
22172 if (arg2 == NULL) {
22173 SWIG_null_ref("wxFont");
22174 }
22175 if (SWIG_arg_fail(2)) SWIG_fail;
22176 }
22177 {
22178 PyThreadState* __tstate = wxPyBeginAllowThreads();
22179 (arg1)->SetFont((wxFont const &)*arg2);
22180
22181 wxPyEndAllowThreads(__tstate);
22182 if (PyErr_Occurred()) SWIG_fail;
22183 }
22184 Py_INCREF(Py_None); resultobj = Py_None;
22185 return resultobj;
22186 fail:
22187 return NULL;
22188 }
22189
22190
22191 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
22192 PyObject *resultobj;
22193 wxListItem *arg1 = (wxListItem *) 0 ;
22194 long result;
22195 PyObject * obj0 = 0 ;
22196 char *kwnames[] = {
22197 (char *) "self", NULL
22198 };
22199
22200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
22201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22202 if (SWIG_arg_fail(1)) SWIG_fail;
22203 {
22204 PyThreadState* __tstate = wxPyBeginAllowThreads();
22205 result = (long)(arg1)->GetMask();
22206
22207 wxPyEndAllowThreads(__tstate);
22208 if (PyErr_Occurred()) SWIG_fail;
22209 }
22210 {
22211 resultobj = SWIG_From_long((long)(result));
22212 }
22213 return resultobj;
22214 fail:
22215 return NULL;
22216 }
22217
22218
22219 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22220 PyObject *resultobj;
22221 wxListItem *arg1 = (wxListItem *) 0 ;
22222 long result;
22223 PyObject * obj0 = 0 ;
22224 char *kwnames[] = {
22225 (char *) "self", NULL
22226 };
22227
22228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
22229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22230 if (SWIG_arg_fail(1)) SWIG_fail;
22231 {
22232 PyThreadState* __tstate = wxPyBeginAllowThreads();
22233 result = (long)(arg1)->GetId();
22234
22235 wxPyEndAllowThreads(__tstate);
22236 if (PyErr_Occurred()) SWIG_fail;
22237 }
22238 {
22239 resultobj = SWIG_From_long((long)(result));
22240 }
22241 return resultobj;
22242 fail:
22243 return NULL;
22244 }
22245
22246
22247 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22248 PyObject *resultobj;
22249 wxListItem *arg1 = (wxListItem *) 0 ;
22250 int result;
22251 PyObject * obj0 = 0 ;
22252 char *kwnames[] = {
22253 (char *) "self", NULL
22254 };
22255
22256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
22257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22258 if (SWIG_arg_fail(1)) SWIG_fail;
22259 {
22260 PyThreadState* __tstate = wxPyBeginAllowThreads();
22261 result = (int)(arg1)->GetColumn();
22262
22263 wxPyEndAllowThreads(__tstate);
22264 if (PyErr_Occurred()) SWIG_fail;
22265 }
22266 {
22267 resultobj = SWIG_From_int((int)(result));
22268 }
22269 return resultobj;
22270 fail:
22271 return NULL;
22272 }
22273
22274
22275 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
22276 PyObject *resultobj;
22277 wxListItem *arg1 = (wxListItem *) 0 ;
22278 long result;
22279 PyObject * obj0 = 0 ;
22280 char *kwnames[] = {
22281 (char *) "self", NULL
22282 };
22283
22284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
22285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22286 if (SWIG_arg_fail(1)) SWIG_fail;
22287 {
22288 PyThreadState* __tstate = wxPyBeginAllowThreads();
22289 result = (long)(arg1)->GetState();
22290
22291 wxPyEndAllowThreads(__tstate);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 }
22294 {
22295 resultobj = SWIG_From_long((long)(result));
22296 }
22297 return resultobj;
22298 fail:
22299 return NULL;
22300 }
22301
22302
22303 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
22304 PyObject *resultobj;
22305 wxListItem *arg1 = (wxListItem *) 0 ;
22306 wxString *result;
22307 PyObject * obj0 = 0 ;
22308 char *kwnames[] = {
22309 (char *) "self", NULL
22310 };
22311
22312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
22313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22314 if (SWIG_arg_fail(1)) SWIG_fail;
22315 {
22316 PyThreadState* __tstate = wxPyBeginAllowThreads();
22317 {
22318 wxString const &_result_ref = (arg1)->GetText();
22319 result = (wxString *) &_result_ref;
22320 }
22321
22322 wxPyEndAllowThreads(__tstate);
22323 if (PyErr_Occurred()) SWIG_fail;
22324 }
22325 {
22326 #if wxUSE_UNICODE
22327 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22328 #else
22329 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22330 #endif
22331 }
22332 return resultobj;
22333 fail:
22334 return NULL;
22335 }
22336
22337
22338 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
22339 PyObject *resultobj;
22340 wxListItem *arg1 = (wxListItem *) 0 ;
22341 int result;
22342 PyObject * obj0 = 0 ;
22343 char *kwnames[] = {
22344 (char *) "self", NULL
22345 };
22346
22347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
22348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22349 if (SWIG_arg_fail(1)) SWIG_fail;
22350 {
22351 PyThreadState* __tstate = wxPyBeginAllowThreads();
22352 result = (int)(arg1)->GetImage();
22353
22354 wxPyEndAllowThreads(__tstate);
22355 if (PyErr_Occurred()) SWIG_fail;
22356 }
22357 {
22358 resultobj = SWIG_From_int((int)(result));
22359 }
22360 return resultobj;
22361 fail:
22362 return NULL;
22363 }
22364
22365
22366 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22367 PyObject *resultobj;
22368 wxListItem *arg1 = (wxListItem *) 0 ;
22369 long result;
22370 PyObject * obj0 = 0 ;
22371 char *kwnames[] = {
22372 (char *) "self", NULL
22373 };
22374
22375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
22376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22377 if (SWIG_arg_fail(1)) SWIG_fail;
22378 {
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 result = (long)(arg1)->GetData();
22381
22382 wxPyEndAllowThreads(__tstate);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 }
22385 {
22386 resultobj = SWIG_From_long((long)(result));
22387 }
22388 return resultobj;
22389 fail:
22390 return NULL;
22391 }
22392
22393
22394 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
22395 PyObject *resultobj;
22396 wxListItem *arg1 = (wxListItem *) 0 ;
22397 int result;
22398 PyObject * obj0 = 0 ;
22399 char *kwnames[] = {
22400 (char *) "self", NULL
22401 };
22402
22403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
22404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22405 if (SWIG_arg_fail(1)) SWIG_fail;
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 result = (int)(arg1)->GetWidth();
22409
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 {
22414 resultobj = SWIG_From_int((int)(result));
22415 }
22416 return resultobj;
22417 fail:
22418 return NULL;
22419 }
22420
22421
22422 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
22423 PyObject *resultobj;
22424 wxListItem *arg1 = (wxListItem *) 0 ;
22425 wxListColumnFormat result;
22426 PyObject * obj0 = 0 ;
22427 char *kwnames[] = {
22428 (char *) "self", NULL
22429 };
22430
22431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
22432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22433 if (SWIG_arg_fail(1)) SWIG_fail;
22434 {
22435 PyThreadState* __tstate = wxPyBeginAllowThreads();
22436 result = (wxListColumnFormat)(arg1)->GetAlign();
22437
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
22441 resultobj = SWIG_From_int((result));
22442 return resultobj;
22443 fail:
22444 return NULL;
22445 }
22446
22447
22448 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22449 PyObject *resultobj;
22450 wxListItem *arg1 = (wxListItem *) 0 ;
22451 wxListItemAttr *result;
22452 PyObject * obj0 = 0 ;
22453 char *kwnames[] = {
22454 (char *) "self", NULL
22455 };
22456
22457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
22458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22459 if (SWIG_arg_fail(1)) SWIG_fail;
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 result = (wxListItemAttr *)(arg1)->GetAttributes();
22463
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22468 return resultobj;
22469 fail:
22470 return NULL;
22471 }
22472
22473
22474 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22475 PyObject *resultobj;
22476 wxListItem *arg1 = (wxListItem *) 0 ;
22477 bool result;
22478 PyObject * obj0 = 0 ;
22479 char *kwnames[] = {
22480 (char *) "self", NULL
22481 };
22482
22483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
22484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22485 if (SWIG_arg_fail(1)) SWIG_fail;
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 result = (bool)(arg1)->HasAttributes();
22489
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
22493 {
22494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22495 }
22496 return resultobj;
22497 fail:
22498 return NULL;
22499 }
22500
22501
22502 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22503 PyObject *resultobj;
22504 wxListItem *arg1 = (wxListItem *) 0 ;
22505 wxColour result;
22506 PyObject * obj0 = 0 ;
22507 char *kwnames[] = {
22508 (char *) "self", NULL
22509 };
22510
22511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
22512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22513 if (SWIG_arg_fail(1)) SWIG_fail;
22514 {
22515 PyThreadState* __tstate = wxPyBeginAllowThreads();
22516 result = ((wxListItem const *)arg1)->GetTextColour();
22517
22518 wxPyEndAllowThreads(__tstate);
22519 if (PyErr_Occurred()) SWIG_fail;
22520 }
22521 {
22522 wxColour * resultptr;
22523 resultptr = new wxColour((wxColour &)(result));
22524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22525 }
22526 return resultobj;
22527 fail:
22528 return NULL;
22529 }
22530
22531
22532 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22533 PyObject *resultobj;
22534 wxListItem *arg1 = (wxListItem *) 0 ;
22535 wxColour result;
22536 PyObject * obj0 = 0 ;
22537 char *kwnames[] = {
22538 (char *) "self", NULL
22539 };
22540
22541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
22542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22543 if (SWIG_arg_fail(1)) SWIG_fail;
22544 {
22545 PyThreadState* __tstate = wxPyBeginAllowThreads();
22546 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22547
22548 wxPyEndAllowThreads(__tstate);
22549 if (PyErr_Occurred()) SWIG_fail;
22550 }
22551 {
22552 wxColour * resultptr;
22553 resultptr = new wxColour((wxColour &)(result));
22554 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22555 }
22556 return resultobj;
22557 fail:
22558 return NULL;
22559 }
22560
22561
22562 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
22563 PyObject *resultobj;
22564 wxListItem *arg1 = (wxListItem *) 0 ;
22565 wxFont result;
22566 PyObject * obj0 = 0 ;
22567 char *kwnames[] = {
22568 (char *) "self", NULL
22569 };
22570
22571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
22572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22573 if (SWIG_arg_fail(1)) SWIG_fail;
22574 {
22575 PyThreadState* __tstate = wxPyBeginAllowThreads();
22576 result = ((wxListItem const *)arg1)->GetFont();
22577
22578 wxPyEndAllowThreads(__tstate);
22579 if (PyErr_Occurred()) SWIG_fail;
22580 }
22581 {
22582 wxFont * resultptr;
22583 resultptr = new wxFont((wxFont &)(result));
22584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22585 }
22586 return resultobj;
22587 fail:
22588 return NULL;
22589 }
22590
22591
22592 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22593 PyObject *resultobj;
22594 wxListItem *arg1 = (wxListItem *) 0 ;
22595 long arg2 ;
22596 PyObject * obj0 = 0 ;
22597 PyObject * obj1 = 0 ;
22598 char *kwnames[] = {
22599 (char *) "self",(char *) "m_mask", NULL
22600 };
22601
22602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
22603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22604 if (SWIG_arg_fail(1)) SWIG_fail;
22605 {
22606 arg2 = (long)(SWIG_As_long(obj1));
22607 if (SWIG_arg_fail(2)) SWIG_fail;
22608 }
22609 if (arg1) (arg1)->m_mask = arg2;
22610
22611 Py_INCREF(Py_None); resultobj = Py_None;
22612 return resultobj;
22613 fail:
22614 return NULL;
22615 }
22616
22617
22618 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22619 PyObject *resultobj;
22620 wxListItem *arg1 = (wxListItem *) 0 ;
22621 long result;
22622 PyObject * obj0 = 0 ;
22623 char *kwnames[] = {
22624 (char *) "self", NULL
22625 };
22626
22627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
22628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22629 if (SWIG_arg_fail(1)) SWIG_fail;
22630 result = (long) ((arg1)->m_mask);
22631
22632 {
22633 resultobj = SWIG_From_long((long)(result));
22634 }
22635 return resultobj;
22636 fail:
22637 return NULL;
22638 }
22639
22640
22641 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
22642 PyObject *resultobj;
22643 wxListItem *arg1 = (wxListItem *) 0 ;
22644 long arg2 ;
22645 PyObject * obj0 = 0 ;
22646 PyObject * obj1 = 0 ;
22647 char *kwnames[] = {
22648 (char *) "self",(char *) "m_itemId", NULL
22649 };
22650
22651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
22652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22653 if (SWIG_arg_fail(1)) SWIG_fail;
22654 {
22655 arg2 = (long)(SWIG_As_long(obj1));
22656 if (SWIG_arg_fail(2)) SWIG_fail;
22657 }
22658 if (arg1) (arg1)->m_itemId = arg2;
22659
22660 Py_INCREF(Py_None); resultobj = Py_None;
22661 return resultobj;
22662 fail:
22663 return NULL;
22664 }
22665
22666
22667 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
22668 PyObject *resultobj;
22669 wxListItem *arg1 = (wxListItem *) 0 ;
22670 long result;
22671 PyObject * obj0 = 0 ;
22672 char *kwnames[] = {
22673 (char *) "self", NULL
22674 };
22675
22676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
22677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22678 if (SWIG_arg_fail(1)) SWIG_fail;
22679 result = (long) ((arg1)->m_itemId);
22680
22681 {
22682 resultobj = SWIG_From_long((long)(result));
22683 }
22684 return resultobj;
22685 fail:
22686 return NULL;
22687 }
22688
22689
22690 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
22691 PyObject *resultobj;
22692 wxListItem *arg1 = (wxListItem *) 0 ;
22693 int arg2 ;
22694 PyObject * obj0 = 0 ;
22695 PyObject * obj1 = 0 ;
22696 char *kwnames[] = {
22697 (char *) "self",(char *) "m_col", NULL
22698 };
22699
22700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
22701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22702 if (SWIG_arg_fail(1)) SWIG_fail;
22703 {
22704 arg2 = (int)(SWIG_As_int(obj1));
22705 if (SWIG_arg_fail(2)) SWIG_fail;
22706 }
22707 if (arg1) (arg1)->m_col = arg2;
22708
22709 Py_INCREF(Py_None); resultobj = Py_None;
22710 return resultobj;
22711 fail:
22712 return NULL;
22713 }
22714
22715
22716 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
22717 PyObject *resultobj;
22718 wxListItem *arg1 = (wxListItem *) 0 ;
22719 int result;
22720 PyObject * obj0 = 0 ;
22721 char *kwnames[] = {
22722 (char *) "self", NULL
22723 };
22724
22725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
22726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22727 if (SWIG_arg_fail(1)) SWIG_fail;
22728 result = (int) ((arg1)->m_col);
22729
22730 {
22731 resultobj = SWIG_From_int((int)(result));
22732 }
22733 return resultobj;
22734 fail:
22735 return NULL;
22736 }
22737
22738
22739 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
22740 PyObject *resultobj;
22741 wxListItem *arg1 = (wxListItem *) 0 ;
22742 long arg2 ;
22743 PyObject * obj0 = 0 ;
22744 PyObject * obj1 = 0 ;
22745 char *kwnames[] = {
22746 (char *) "self",(char *) "m_state", NULL
22747 };
22748
22749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
22750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22751 if (SWIG_arg_fail(1)) SWIG_fail;
22752 {
22753 arg2 = (long)(SWIG_As_long(obj1));
22754 if (SWIG_arg_fail(2)) SWIG_fail;
22755 }
22756 if (arg1) (arg1)->m_state = arg2;
22757
22758 Py_INCREF(Py_None); resultobj = Py_None;
22759 return resultobj;
22760 fail:
22761 return NULL;
22762 }
22763
22764
22765 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
22766 PyObject *resultobj;
22767 wxListItem *arg1 = (wxListItem *) 0 ;
22768 long result;
22769 PyObject * obj0 = 0 ;
22770 char *kwnames[] = {
22771 (char *) "self", NULL
22772 };
22773
22774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
22775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22776 if (SWIG_arg_fail(1)) SWIG_fail;
22777 result = (long) ((arg1)->m_state);
22778
22779 {
22780 resultobj = SWIG_From_long((long)(result));
22781 }
22782 return resultobj;
22783 fail:
22784 return NULL;
22785 }
22786
22787
22788 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
22789 PyObject *resultobj;
22790 wxListItem *arg1 = (wxListItem *) 0 ;
22791 long arg2 ;
22792 PyObject * obj0 = 0 ;
22793 PyObject * obj1 = 0 ;
22794 char *kwnames[] = {
22795 (char *) "self",(char *) "m_stateMask", NULL
22796 };
22797
22798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
22799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22800 if (SWIG_arg_fail(1)) SWIG_fail;
22801 {
22802 arg2 = (long)(SWIG_As_long(obj1));
22803 if (SWIG_arg_fail(2)) SWIG_fail;
22804 }
22805 if (arg1) (arg1)->m_stateMask = arg2;
22806
22807 Py_INCREF(Py_None); resultobj = Py_None;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxListItem *arg1 = (wxListItem *) 0 ;
22817 long result;
22818 PyObject * obj0 = 0 ;
22819 char *kwnames[] = {
22820 (char *) "self", NULL
22821 };
22822
22823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
22824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22825 if (SWIG_arg_fail(1)) SWIG_fail;
22826 result = (long) ((arg1)->m_stateMask);
22827
22828 {
22829 resultobj = SWIG_From_long((long)(result));
22830 }
22831 return resultobj;
22832 fail:
22833 return NULL;
22834 }
22835
22836
22837 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
22838 PyObject *resultobj;
22839 wxListItem *arg1 = (wxListItem *) 0 ;
22840 wxString *arg2 = (wxString *) 0 ;
22841 bool temp2 = false ;
22842 PyObject * obj0 = 0 ;
22843 PyObject * obj1 = 0 ;
22844 char *kwnames[] = {
22845 (char *) "self",(char *) "m_text", NULL
22846 };
22847
22848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
22849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22850 if (SWIG_arg_fail(1)) SWIG_fail;
22851 {
22852 arg2 = wxString_in_helper(obj1);
22853 if (arg2 == NULL) SWIG_fail;
22854 temp2 = true;
22855 }
22856 if (arg1) (arg1)->m_text = *arg2;
22857
22858 Py_INCREF(Py_None); resultobj = Py_None;
22859 {
22860 if (temp2)
22861 delete arg2;
22862 }
22863 return resultobj;
22864 fail:
22865 {
22866 if (temp2)
22867 delete arg2;
22868 }
22869 return NULL;
22870 }
22871
22872
22873 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
22874 PyObject *resultobj;
22875 wxListItem *arg1 = (wxListItem *) 0 ;
22876 wxString *result;
22877 PyObject * obj0 = 0 ;
22878 char *kwnames[] = {
22879 (char *) "self", NULL
22880 };
22881
22882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
22883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22884 if (SWIG_arg_fail(1)) SWIG_fail;
22885 result = (wxString *)& ((arg1)->m_text);
22886
22887 {
22888 #if wxUSE_UNICODE
22889 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22890 #else
22891 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22892 #endif
22893 }
22894 return resultobj;
22895 fail:
22896 return NULL;
22897 }
22898
22899
22900 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
22901 PyObject *resultobj;
22902 wxListItem *arg1 = (wxListItem *) 0 ;
22903 int arg2 ;
22904 PyObject * obj0 = 0 ;
22905 PyObject * obj1 = 0 ;
22906 char *kwnames[] = {
22907 (char *) "self",(char *) "m_image", NULL
22908 };
22909
22910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
22911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22912 if (SWIG_arg_fail(1)) SWIG_fail;
22913 {
22914 arg2 = (int)(SWIG_As_int(obj1));
22915 if (SWIG_arg_fail(2)) SWIG_fail;
22916 }
22917 if (arg1) (arg1)->m_image = arg2;
22918
22919 Py_INCREF(Py_None); resultobj = Py_None;
22920 return resultobj;
22921 fail:
22922 return NULL;
22923 }
22924
22925
22926 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
22927 PyObject *resultobj;
22928 wxListItem *arg1 = (wxListItem *) 0 ;
22929 int result;
22930 PyObject * obj0 = 0 ;
22931 char *kwnames[] = {
22932 (char *) "self", NULL
22933 };
22934
22935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
22936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22937 if (SWIG_arg_fail(1)) SWIG_fail;
22938 result = (int) ((arg1)->m_image);
22939
22940 {
22941 resultobj = SWIG_From_int((int)(result));
22942 }
22943 return resultobj;
22944 fail:
22945 return NULL;
22946 }
22947
22948
22949 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
22950 PyObject *resultobj;
22951 wxListItem *arg1 = (wxListItem *) 0 ;
22952 long arg2 ;
22953 PyObject * obj0 = 0 ;
22954 PyObject * obj1 = 0 ;
22955 char *kwnames[] = {
22956 (char *) "self",(char *) "m_data", NULL
22957 };
22958
22959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
22960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22961 if (SWIG_arg_fail(1)) SWIG_fail;
22962 {
22963 arg2 = (long)(SWIG_As_long(obj1));
22964 if (SWIG_arg_fail(2)) SWIG_fail;
22965 }
22966 if (arg1) (arg1)->m_data = arg2;
22967
22968 Py_INCREF(Py_None); resultobj = Py_None;
22969 return resultobj;
22970 fail:
22971 return NULL;
22972 }
22973
22974
22975 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
22976 PyObject *resultobj;
22977 wxListItem *arg1 = (wxListItem *) 0 ;
22978 long result;
22979 PyObject * obj0 = 0 ;
22980 char *kwnames[] = {
22981 (char *) "self", NULL
22982 };
22983
22984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
22985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22986 if (SWIG_arg_fail(1)) SWIG_fail;
22987 result = (long) ((arg1)->m_data);
22988
22989 {
22990 resultobj = SWIG_From_long((long)(result));
22991 }
22992 return resultobj;
22993 fail:
22994 return NULL;
22995 }
22996
22997
22998 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
22999 PyObject *resultobj;
23000 wxListItem *arg1 = (wxListItem *) 0 ;
23001 int arg2 ;
23002 PyObject * obj0 = 0 ;
23003 PyObject * obj1 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self",(char *) "m_format", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
23009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23010 if (SWIG_arg_fail(1)) SWIG_fail;
23011 {
23012 arg2 = (int)(SWIG_As_int(obj1));
23013 if (SWIG_arg_fail(2)) SWIG_fail;
23014 }
23015 if (arg1) (arg1)->m_format = arg2;
23016
23017 Py_INCREF(Py_None); resultobj = Py_None;
23018 return resultobj;
23019 fail:
23020 return NULL;
23021 }
23022
23023
23024 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
23025 PyObject *resultobj;
23026 wxListItem *arg1 = (wxListItem *) 0 ;
23027 int result;
23028 PyObject * obj0 = 0 ;
23029 char *kwnames[] = {
23030 (char *) "self", NULL
23031 };
23032
23033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
23034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23035 if (SWIG_arg_fail(1)) SWIG_fail;
23036 result = (int) ((arg1)->m_format);
23037
23038 {
23039 resultobj = SWIG_From_int((int)(result));
23040 }
23041 return resultobj;
23042 fail:
23043 return NULL;
23044 }
23045
23046
23047 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
23048 PyObject *resultobj;
23049 wxListItem *arg1 = (wxListItem *) 0 ;
23050 int arg2 ;
23051 PyObject * obj0 = 0 ;
23052 PyObject * obj1 = 0 ;
23053 char *kwnames[] = {
23054 (char *) "self",(char *) "m_width", NULL
23055 };
23056
23057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
23058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23059 if (SWIG_arg_fail(1)) SWIG_fail;
23060 {
23061 arg2 = (int)(SWIG_As_int(obj1));
23062 if (SWIG_arg_fail(2)) SWIG_fail;
23063 }
23064 if (arg1) (arg1)->m_width = arg2;
23065
23066 Py_INCREF(Py_None); resultobj = Py_None;
23067 return resultobj;
23068 fail:
23069 return NULL;
23070 }
23071
23072
23073 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
23074 PyObject *resultobj;
23075 wxListItem *arg1 = (wxListItem *) 0 ;
23076 int result;
23077 PyObject * obj0 = 0 ;
23078 char *kwnames[] = {
23079 (char *) "self", NULL
23080 };
23081
23082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
23083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
23084 if (SWIG_arg_fail(1)) SWIG_fail;
23085 result = (int) ((arg1)->m_width);
23086
23087 {
23088 resultobj = SWIG_From_int((int)(result));
23089 }
23090 return resultobj;
23091 fail:
23092 return NULL;
23093 }
23094
23095
23096 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
23097 PyObject *obj;
23098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23099 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
23100 Py_INCREF(obj);
23101 return Py_BuildValue((char *)"");
23102 }
23103 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23104 PyObject *resultobj;
23105 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23106 int arg2 = (int) 0 ;
23107 wxListEvent *result;
23108 PyObject * obj0 = 0 ;
23109 PyObject * obj1 = 0 ;
23110 char *kwnames[] = {
23111 (char *) "commandType",(char *) "id", NULL
23112 };
23113
23114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
23115 if (obj0) {
23116 {
23117 arg1 = (wxEventType)(SWIG_As_int(obj0));
23118 if (SWIG_arg_fail(1)) SWIG_fail;
23119 }
23120 }
23121 if (obj1) {
23122 {
23123 arg2 = (int)(SWIG_As_int(obj1));
23124 if (SWIG_arg_fail(2)) SWIG_fail;
23125 }
23126 }
23127 {
23128 PyThreadState* __tstate = wxPyBeginAllowThreads();
23129 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23130
23131 wxPyEndAllowThreads(__tstate);
23132 if (PyErr_Occurred()) SWIG_fail;
23133 }
23134 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23135 return resultobj;
23136 fail:
23137 return NULL;
23138 }
23139
23140
23141 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
23142 PyObject *resultobj;
23143 wxListEvent *arg1 = (wxListEvent *) 0 ;
23144 int arg2 ;
23145 PyObject * obj0 = 0 ;
23146 PyObject * obj1 = 0 ;
23147 char *kwnames[] = {
23148 (char *) "self",(char *) "m_code", NULL
23149 };
23150
23151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
23152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23153 if (SWIG_arg_fail(1)) SWIG_fail;
23154 {
23155 arg2 = (int)(SWIG_As_int(obj1));
23156 if (SWIG_arg_fail(2)) SWIG_fail;
23157 }
23158 if (arg1) (arg1)->m_code = arg2;
23159
23160 Py_INCREF(Py_None); resultobj = Py_None;
23161 return resultobj;
23162 fail:
23163 return NULL;
23164 }
23165
23166
23167 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
23168 PyObject *resultobj;
23169 wxListEvent *arg1 = (wxListEvent *) 0 ;
23170 int result;
23171 PyObject * obj0 = 0 ;
23172 char *kwnames[] = {
23173 (char *) "self", NULL
23174 };
23175
23176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
23177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23178 if (SWIG_arg_fail(1)) SWIG_fail;
23179 result = (int) ((arg1)->m_code);
23180
23181 {
23182 resultobj = SWIG_From_int((int)(result));
23183 }
23184 return resultobj;
23185 fail:
23186 return NULL;
23187 }
23188
23189
23190 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23191 PyObject *resultobj;
23192 wxListEvent *arg1 = (wxListEvent *) 0 ;
23193 long arg2 ;
23194 PyObject * obj0 = 0 ;
23195 PyObject * obj1 = 0 ;
23196 char *kwnames[] = {
23197 (char *) "self",(char *) "m_oldItemIndex", NULL
23198 };
23199
23200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23202 if (SWIG_arg_fail(1)) SWIG_fail;
23203 {
23204 arg2 = (long)(SWIG_As_long(obj1));
23205 if (SWIG_arg_fail(2)) SWIG_fail;
23206 }
23207 if (arg1) (arg1)->m_oldItemIndex = arg2;
23208
23209 Py_INCREF(Py_None); resultobj = Py_None;
23210 return resultobj;
23211 fail:
23212 return NULL;
23213 }
23214
23215
23216 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23217 PyObject *resultobj;
23218 wxListEvent *arg1 = (wxListEvent *) 0 ;
23219 long result;
23220 PyObject * obj0 = 0 ;
23221 char *kwnames[] = {
23222 (char *) "self", NULL
23223 };
23224
23225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
23226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23227 if (SWIG_arg_fail(1)) SWIG_fail;
23228 result = (long) ((arg1)->m_oldItemIndex);
23229
23230 {
23231 resultobj = SWIG_From_long((long)(result));
23232 }
23233 return resultobj;
23234 fail:
23235 return NULL;
23236 }
23237
23238
23239 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
23240 PyObject *resultobj;
23241 wxListEvent *arg1 = (wxListEvent *) 0 ;
23242 long arg2 ;
23243 PyObject * obj0 = 0 ;
23244 PyObject * obj1 = 0 ;
23245 char *kwnames[] = {
23246 (char *) "self",(char *) "m_itemIndex", NULL
23247 };
23248
23249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
23250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23251 if (SWIG_arg_fail(1)) SWIG_fail;
23252 {
23253 arg2 = (long)(SWIG_As_long(obj1));
23254 if (SWIG_arg_fail(2)) SWIG_fail;
23255 }
23256 if (arg1) (arg1)->m_itemIndex = arg2;
23257
23258 Py_INCREF(Py_None); resultobj = Py_None;
23259 return resultobj;
23260 fail:
23261 return NULL;
23262 }
23263
23264
23265 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
23266 PyObject *resultobj;
23267 wxListEvent *arg1 = (wxListEvent *) 0 ;
23268 long result;
23269 PyObject * obj0 = 0 ;
23270 char *kwnames[] = {
23271 (char *) "self", NULL
23272 };
23273
23274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
23275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23276 if (SWIG_arg_fail(1)) SWIG_fail;
23277 result = (long) ((arg1)->m_itemIndex);
23278
23279 {
23280 resultobj = SWIG_From_long((long)(result));
23281 }
23282 return resultobj;
23283 fail:
23284 return NULL;
23285 }
23286
23287
23288 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
23289 PyObject *resultobj;
23290 wxListEvent *arg1 = (wxListEvent *) 0 ;
23291 int arg2 ;
23292 PyObject * obj0 = 0 ;
23293 PyObject * obj1 = 0 ;
23294 char *kwnames[] = {
23295 (char *) "self",(char *) "m_col", NULL
23296 };
23297
23298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
23299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23300 if (SWIG_arg_fail(1)) SWIG_fail;
23301 {
23302 arg2 = (int)(SWIG_As_int(obj1));
23303 if (SWIG_arg_fail(2)) SWIG_fail;
23304 }
23305 if (arg1) (arg1)->m_col = arg2;
23306
23307 Py_INCREF(Py_None); resultobj = Py_None;
23308 return resultobj;
23309 fail:
23310 return NULL;
23311 }
23312
23313
23314 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
23315 PyObject *resultobj;
23316 wxListEvent *arg1 = (wxListEvent *) 0 ;
23317 int result;
23318 PyObject * obj0 = 0 ;
23319 char *kwnames[] = {
23320 (char *) "self", NULL
23321 };
23322
23323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
23324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23325 if (SWIG_arg_fail(1)) SWIG_fail;
23326 result = (int) ((arg1)->m_col);
23327
23328 {
23329 resultobj = SWIG_From_int((int)(result));
23330 }
23331 return resultobj;
23332 fail:
23333 return NULL;
23334 }
23335
23336
23337 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
23338 PyObject *resultobj;
23339 wxListEvent *arg1 = (wxListEvent *) 0 ;
23340 wxPoint *arg2 = (wxPoint *) 0 ;
23341 PyObject * obj0 = 0 ;
23342 PyObject * obj1 = 0 ;
23343 char *kwnames[] = {
23344 (char *) "self",(char *) "m_pointDrag", NULL
23345 };
23346
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
23348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23349 if (SWIG_arg_fail(1)) SWIG_fail;
23350 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23351 if (SWIG_arg_fail(2)) SWIG_fail;
23352 if (arg1) (arg1)->m_pointDrag = *arg2;
23353
23354 Py_INCREF(Py_None); resultobj = Py_None;
23355 return resultobj;
23356 fail:
23357 return NULL;
23358 }
23359
23360
23361 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
23362 PyObject *resultobj;
23363 wxListEvent *arg1 = (wxListEvent *) 0 ;
23364 wxPoint *result;
23365 PyObject * obj0 = 0 ;
23366 char *kwnames[] = {
23367 (char *) "self", NULL
23368 };
23369
23370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
23371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail;
23373 result = (wxPoint *)& ((arg1)->m_pointDrag);
23374
23375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23376 return resultobj;
23377 fail:
23378 return NULL;
23379 }
23380
23381
23382 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
23383 PyObject *resultobj;
23384 wxListEvent *arg1 = (wxListEvent *) 0 ;
23385 wxListItem *result;
23386 PyObject * obj0 = 0 ;
23387 char *kwnames[] = {
23388 (char *) "self", NULL
23389 };
23390
23391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
23392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23393 if (SWIG_arg_fail(1)) SWIG_fail;
23394 result = (wxListItem *)& ((arg1)->m_item);
23395
23396 {
23397 resultobj = wxPyMake_wxObject(result, 0);
23398 }
23399 return resultobj;
23400 fail:
23401 return NULL;
23402 }
23403
23404
23405 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23406 PyObject *resultobj;
23407 wxListEvent *arg1 = (wxListEvent *) 0 ;
23408 int result;
23409 PyObject * obj0 = 0 ;
23410 char *kwnames[] = {
23411 (char *) "self", NULL
23412 };
23413
23414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23416 if (SWIG_arg_fail(1)) SWIG_fail;
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 result = (int)(arg1)->GetKeyCode();
23420
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
23424 {
23425 resultobj = SWIG_From_int((int)(result));
23426 }
23427 return resultobj;
23428 fail:
23429 return NULL;
23430 }
23431
23432
23433 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
23434 PyObject *resultobj;
23435 wxListEvent *arg1 = (wxListEvent *) 0 ;
23436 long result;
23437 PyObject * obj0 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self", NULL
23440 };
23441
23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
23443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23444 if (SWIG_arg_fail(1)) SWIG_fail;
23445 {
23446 PyThreadState* __tstate = wxPyBeginAllowThreads();
23447 result = (long)(arg1)->GetIndex();
23448
23449 wxPyEndAllowThreads(__tstate);
23450 if (PyErr_Occurred()) SWIG_fail;
23451 }
23452 {
23453 resultobj = SWIG_From_long((long)(result));
23454 }
23455 return resultobj;
23456 fail:
23457 return NULL;
23458 }
23459
23460
23461 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
23462 PyObject *resultobj;
23463 wxListEvent *arg1 = (wxListEvent *) 0 ;
23464 int result;
23465 PyObject * obj0 = 0 ;
23466 char *kwnames[] = {
23467 (char *) "self", NULL
23468 };
23469
23470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
23471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23472 if (SWIG_arg_fail(1)) SWIG_fail;
23473 {
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 result = (int)(arg1)->GetColumn();
23476
23477 wxPyEndAllowThreads(__tstate);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
23480 {
23481 resultobj = SWIG_From_int((int)(result));
23482 }
23483 return resultobj;
23484 fail:
23485 return NULL;
23486 }
23487
23488
23489 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23490 PyObject *resultobj;
23491 wxListEvent *arg1 = (wxListEvent *) 0 ;
23492 wxPoint result;
23493 PyObject * obj0 = 0 ;
23494 char *kwnames[] = {
23495 (char *) "self", NULL
23496 };
23497
23498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
23499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23500 if (SWIG_arg_fail(1)) SWIG_fail;
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 result = (arg1)->GetPoint();
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 {
23509 wxPoint * resultptr;
23510 resultptr = new wxPoint((wxPoint &)(result));
23511 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23512 }
23513 return resultobj;
23514 fail:
23515 return NULL;
23516 }
23517
23518
23519 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23520 PyObject *resultobj;
23521 wxListEvent *arg1 = (wxListEvent *) 0 ;
23522 wxString *result;
23523 PyObject * obj0 = 0 ;
23524 char *kwnames[] = {
23525 (char *) "self", NULL
23526 };
23527
23528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
23529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23530 if (SWIG_arg_fail(1)) SWIG_fail;
23531 {
23532 PyThreadState* __tstate = wxPyBeginAllowThreads();
23533 {
23534 wxString const &_result_ref = (arg1)->GetLabel();
23535 result = (wxString *) &_result_ref;
23536 }
23537
23538 wxPyEndAllowThreads(__tstate);
23539 if (PyErr_Occurred()) SWIG_fail;
23540 }
23541 {
23542 #if wxUSE_UNICODE
23543 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23544 #else
23545 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23546 #endif
23547 }
23548 return resultobj;
23549 fail:
23550 return NULL;
23551 }
23552
23553
23554 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
23555 PyObject *resultobj;
23556 wxListEvent *arg1 = (wxListEvent *) 0 ;
23557 wxString *result;
23558 PyObject * obj0 = 0 ;
23559 char *kwnames[] = {
23560 (char *) "self", NULL
23561 };
23562
23563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
23564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23565 if (SWIG_arg_fail(1)) SWIG_fail;
23566 {
23567 PyThreadState* __tstate = wxPyBeginAllowThreads();
23568 {
23569 wxString const &_result_ref = (arg1)->GetText();
23570 result = (wxString *) &_result_ref;
23571 }
23572
23573 wxPyEndAllowThreads(__tstate);
23574 if (PyErr_Occurred()) SWIG_fail;
23575 }
23576 {
23577 #if wxUSE_UNICODE
23578 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23579 #else
23580 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23581 #endif
23582 }
23583 return resultobj;
23584 fail:
23585 return NULL;
23586 }
23587
23588
23589 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
23590 PyObject *resultobj;
23591 wxListEvent *arg1 = (wxListEvent *) 0 ;
23592 int result;
23593 PyObject * obj0 = 0 ;
23594 char *kwnames[] = {
23595 (char *) "self", NULL
23596 };
23597
23598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
23599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23600 if (SWIG_arg_fail(1)) SWIG_fail;
23601 {
23602 PyThreadState* __tstate = wxPyBeginAllowThreads();
23603 result = (int)(arg1)->GetImage();
23604
23605 wxPyEndAllowThreads(__tstate);
23606 if (PyErr_Occurred()) SWIG_fail;
23607 }
23608 {
23609 resultobj = SWIG_From_int((int)(result));
23610 }
23611 return resultobj;
23612 fail:
23613 return NULL;
23614 }
23615
23616
23617 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23618 PyObject *resultobj;
23619 wxListEvent *arg1 = (wxListEvent *) 0 ;
23620 long result;
23621 PyObject * obj0 = 0 ;
23622 char *kwnames[] = {
23623 (char *) "self", NULL
23624 };
23625
23626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
23627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23628 if (SWIG_arg_fail(1)) SWIG_fail;
23629 {
23630 PyThreadState* __tstate = wxPyBeginAllowThreads();
23631 result = (long)(arg1)->GetData();
23632
23633 wxPyEndAllowThreads(__tstate);
23634 if (PyErr_Occurred()) SWIG_fail;
23635 }
23636 {
23637 resultobj = SWIG_From_long((long)(result));
23638 }
23639 return resultobj;
23640 fail:
23641 return NULL;
23642 }
23643
23644
23645 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
23646 PyObject *resultobj;
23647 wxListEvent *arg1 = (wxListEvent *) 0 ;
23648 long result;
23649 PyObject * obj0 = 0 ;
23650 char *kwnames[] = {
23651 (char *) "self", NULL
23652 };
23653
23654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
23655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23656 if (SWIG_arg_fail(1)) SWIG_fail;
23657 {
23658 PyThreadState* __tstate = wxPyBeginAllowThreads();
23659 result = (long)(arg1)->GetMask();
23660
23661 wxPyEndAllowThreads(__tstate);
23662 if (PyErr_Occurred()) SWIG_fail;
23663 }
23664 {
23665 resultobj = SWIG_From_long((long)(result));
23666 }
23667 return resultobj;
23668 fail:
23669 return NULL;
23670 }
23671
23672
23673 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23674 PyObject *resultobj;
23675 wxListEvent *arg1 = (wxListEvent *) 0 ;
23676 wxListItem *result;
23677 PyObject * obj0 = 0 ;
23678 char *kwnames[] = {
23679 (char *) "self", NULL
23680 };
23681
23682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
23683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23684 if (SWIG_arg_fail(1)) SWIG_fail;
23685 {
23686 PyThreadState* __tstate = wxPyBeginAllowThreads();
23687 {
23688 wxListItem const &_result_ref = (arg1)->GetItem();
23689 result = (wxListItem *) &_result_ref;
23690 }
23691
23692 wxPyEndAllowThreads(__tstate);
23693 if (PyErr_Occurred()) SWIG_fail;
23694 }
23695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23696 return resultobj;
23697 fail:
23698 return NULL;
23699 }
23700
23701
23702 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
23703 PyObject *resultobj;
23704 wxListEvent *arg1 = (wxListEvent *) 0 ;
23705 long result;
23706 PyObject * obj0 = 0 ;
23707 char *kwnames[] = {
23708 (char *) "self", NULL
23709 };
23710
23711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
23712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23713 if (SWIG_arg_fail(1)) SWIG_fail;
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 result = (long)(arg1)->GetCacheFrom();
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 {
23722 resultobj = SWIG_From_long((long)(result));
23723 }
23724 return resultobj;
23725 fail:
23726 return NULL;
23727 }
23728
23729
23730 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
23731 PyObject *resultobj;
23732 wxListEvent *arg1 = (wxListEvent *) 0 ;
23733 long result;
23734 PyObject * obj0 = 0 ;
23735 char *kwnames[] = {
23736 (char *) "self", NULL
23737 };
23738
23739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
23740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23741 if (SWIG_arg_fail(1)) SWIG_fail;
23742 {
23743 PyThreadState* __tstate = wxPyBeginAllowThreads();
23744 result = (long)(arg1)->GetCacheTo();
23745
23746 wxPyEndAllowThreads(__tstate);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
23749 {
23750 resultobj = SWIG_From_long((long)(result));
23751 }
23752 return resultobj;
23753 fail:
23754 return NULL;
23755 }
23756
23757
23758 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23759 PyObject *resultobj;
23760 wxListEvent *arg1 = (wxListEvent *) 0 ;
23761 bool result;
23762 PyObject * obj0 = 0 ;
23763 char *kwnames[] = {
23764 (char *) "self", NULL
23765 };
23766
23767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23769 if (SWIG_arg_fail(1)) SWIG_fail;
23770 {
23771 PyThreadState* __tstate = wxPyBeginAllowThreads();
23772 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23773
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
23777 {
23778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23779 }
23780 return resultobj;
23781 fail:
23782 return NULL;
23783 }
23784
23785
23786 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23787 PyObject *resultobj;
23788 wxListEvent *arg1 = (wxListEvent *) 0 ;
23789 bool arg2 ;
23790 PyObject * obj0 = 0 ;
23791 PyObject * obj1 = 0 ;
23792 char *kwnames[] = {
23793 (char *) "self",(char *) "editCancelled", NULL
23794 };
23795
23796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23798 if (SWIG_arg_fail(1)) SWIG_fail;
23799 {
23800 arg2 = (bool)(SWIG_As_bool(obj1));
23801 if (SWIG_arg_fail(2)) SWIG_fail;
23802 }
23803 {
23804 PyThreadState* __tstate = wxPyBeginAllowThreads();
23805 (arg1)->SetEditCanceled(arg2);
23806
23807 wxPyEndAllowThreads(__tstate);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
23810 Py_INCREF(Py_None); resultobj = Py_None;
23811 return resultobj;
23812 fail:
23813 return NULL;
23814 }
23815
23816
23817 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
23818 PyObject *obj;
23819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23820 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23821 Py_INCREF(obj);
23822 return Py_BuildValue((char *)"");
23823 }
23824 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23825 PyObject *resultobj;
23826 wxWindow *arg1 = (wxWindow *) 0 ;
23827 int arg2 = (int) -1 ;
23828 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23829 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23830 wxSize const &arg4_defvalue = wxDefaultSize ;
23831 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23832 long arg5 = (long) wxLC_ICON ;
23833 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23834 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23835 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23836 wxString *arg7 = (wxString *) &arg7_defvalue ;
23837 wxPyListCtrl *result;
23838 wxPoint temp3 ;
23839 wxSize temp4 ;
23840 bool temp7 = false ;
23841 PyObject * obj0 = 0 ;
23842 PyObject * obj1 = 0 ;
23843 PyObject * obj2 = 0 ;
23844 PyObject * obj3 = 0 ;
23845 PyObject * obj4 = 0 ;
23846 PyObject * obj5 = 0 ;
23847 PyObject * obj6 = 0 ;
23848 char *kwnames[] = {
23849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23850 };
23851
23852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23854 if (SWIG_arg_fail(1)) SWIG_fail;
23855 if (obj1) {
23856 {
23857 arg2 = (int)(SWIG_As_int(obj1));
23858 if (SWIG_arg_fail(2)) SWIG_fail;
23859 }
23860 }
23861 if (obj2) {
23862 {
23863 arg3 = &temp3;
23864 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23865 }
23866 }
23867 if (obj3) {
23868 {
23869 arg4 = &temp4;
23870 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23871 }
23872 }
23873 if (obj4) {
23874 {
23875 arg5 = (long)(SWIG_As_long(obj4));
23876 if (SWIG_arg_fail(5)) SWIG_fail;
23877 }
23878 }
23879 if (obj5) {
23880 {
23881 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23882 if (SWIG_arg_fail(6)) SWIG_fail;
23883 if (arg6 == NULL) {
23884 SWIG_null_ref("wxValidator");
23885 }
23886 if (SWIG_arg_fail(6)) SWIG_fail;
23887 }
23888 }
23889 if (obj6) {
23890 {
23891 arg7 = wxString_in_helper(obj6);
23892 if (arg7 == NULL) SWIG_fail;
23893 temp7 = true;
23894 }
23895 }
23896 {
23897 if (!wxPyCheckForApp()) SWIG_fail;
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23905 {
23906 if (temp7)
23907 delete arg7;
23908 }
23909 return resultobj;
23910 fail:
23911 {
23912 if (temp7)
23913 delete arg7;
23914 }
23915 return NULL;
23916 }
23917
23918
23919 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23920 PyObject *resultobj;
23921 wxPyListCtrl *result;
23922 char *kwnames[] = {
23923 NULL
23924 };
23925
23926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23927 {
23928 if (!wxPyCheckForApp()) SWIG_fail;
23929 PyThreadState* __tstate = wxPyBeginAllowThreads();
23930 result = (wxPyListCtrl *)new wxPyListCtrl();
23931
23932 wxPyEndAllowThreads(__tstate);
23933 if (PyErr_Occurred()) SWIG_fail;
23934 }
23935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23936 return resultobj;
23937 fail:
23938 return NULL;
23939 }
23940
23941
23942 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23943 PyObject *resultobj;
23944 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23945 wxWindow *arg2 = (wxWindow *) 0 ;
23946 int arg3 = (int) -1 ;
23947 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23948 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23949 wxSize const &arg5_defvalue = wxDefaultSize ;
23950 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23951 long arg6 = (long) wxLC_ICON ;
23952 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23953 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23954 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23955 wxString *arg8 = (wxString *) &arg8_defvalue ;
23956 bool result;
23957 wxPoint temp4 ;
23958 wxSize temp5 ;
23959 bool temp8 = false ;
23960 PyObject * obj0 = 0 ;
23961 PyObject * obj1 = 0 ;
23962 PyObject * obj2 = 0 ;
23963 PyObject * obj3 = 0 ;
23964 PyObject * obj4 = 0 ;
23965 PyObject * obj5 = 0 ;
23966 PyObject * obj6 = 0 ;
23967 PyObject * obj7 = 0 ;
23968 char *kwnames[] = {
23969 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23970 };
23971
23972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23974 if (SWIG_arg_fail(1)) SWIG_fail;
23975 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23976 if (SWIG_arg_fail(2)) SWIG_fail;
23977 if (obj2) {
23978 {
23979 arg3 = (int)(SWIG_As_int(obj2));
23980 if (SWIG_arg_fail(3)) SWIG_fail;
23981 }
23982 }
23983 if (obj3) {
23984 {
23985 arg4 = &temp4;
23986 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23987 }
23988 }
23989 if (obj4) {
23990 {
23991 arg5 = &temp5;
23992 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23993 }
23994 }
23995 if (obj5) {
23996 {
23997 arg6 = (long)(SWIG_As_long(obj5));
23998 if (SWIG_arg_fail(6)) SWIG_fail;
23999 }
24000 }
24001 if (obj6) {
24002 {
24003 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
24004 if (SWIG_arg_fail(7)) SWIG_fail;
24005 if (arg7 == NULL) {
24006 SWIG_null_ref("wxValidator");
24007 }
24008 if (SWIG_arg_fail(7)) SWIG_fail;
24009 }
24010 }
24011 if (obj7) {
24012 {
24013 arg8 = wxString_in_helper(obj7);
24014 if (arg8 == NULL) SWIG_fail;
24015 temp8 = true;
24016 }
24017 }
24018 {
24019 PyThreadState* __tstate = wxPyBeginAllowThreads();
24020 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24021
24022 wxPyEndAllowThreads(__tstate);
24023 if (PyErr_Occurred()) SWIG_fail;
24024 }
24025 {
24026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24027 }
24028 {
24029 if (temp8)
24030 delete arg8;
24031 }
24032 return resultobj;
24033 fail:
24034 {
24035 if (temp8)
24036 delete arg8;
24037 }
24038 return NULL;
24039 }
24040
24041
24042 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24043 PyObject *resultobj;
24044 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24045 PyObject *arg2 = (PyObject *) 0 ;
24046 PyObject *arg3 = (PyObject *) 0 ;
24047 PyObject * obj0 = 0 ;
24048 PyObject * obj1 = 0 ;
24049 PyObject * obj2 = 0 ;
24050 char *kwnames[] = {
24051 (char *) "self",(char *) "self",(char *) "_class", NULL
24052 };
24053
24054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24056 if (SWIG_arg_fail(1)) SWIG_fail;
24057 arg2 = obj1;
24058 arg3 = obj2;
24059 {
24060 PyThreadState* __tstate = wxPyBeginAllowThreads();
24061 (arg1)->_setCallbackInfo(arg2,arg3);
24062
24063 wxPyEndAllowThreads(__tstate);
24064 if (PyErr_Occurred()) SWIG_fail;
24065 }
24066 Py_INCREF(Py_None); resultobj = Py_None;
24067 return resultobj;
24068 fail:
24069 return NULL;
24070 }
24071
24072
24073 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24074 PyObject *resultobj;
24075 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24076 wxColour *arg2 = 0 ;
24077 bool result;
24078 wxColour temp2 ;
24079 PyObject * obj0 = 0 ;
24080 PyObject * obj1 = 0 ;
24081 char *kwnames[] = {
24082 (char *) "self",(char *) "col", NULL
24083 };
24084
24085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
24086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24087 if (SWIG_arg_fail(1)) SWIG_fail;
24088 {
24089 arg2 = &temp2;
24090 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24091 }
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24095
24096 wxPyEndAllowThreads(__tstate);
24097 if (PyErr_Occurred()) SWIG_fail;
24098 }
24099 {
24100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24101 }
24102 return resultobj;
24103 fail:
24104 return NULL;
24105 }
24106
24107
24108 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24109 PyObject *resultobj;
24110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24111 wxColour *arg2 = 0 ;
24112 bool result;
24113 wxColour temp2 ;
24114 PyObject * obj0 = 0 ;
24115 PyObject * obj1 = 0 ;
24116 char *kwnames[] = {
24117 (char *) "self",(char *) "col", NULL
24118 };
24119
24120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24122 if (SWIG_arg_fail(1)) SWIG_fail;
24123 {
24124 arg2 = &temp2;
24125 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24126 }
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24130
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 {
24135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24136 }
24137 return resultobj;
24138 fail:
24139 return NULL;
24140 }
24141
24142
24143 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24144 PyObject *resultobj;
24145 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24146 int arg2 ;
24147 wxListItem *result;
24148 PyObject * obj0 = 0 ;
24149 PyObject * obj1 = 0 ;
24150 char *kwnames[] = {
24151 (char *) "self",(char *) "col", NULL
24152 };
24153
24154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
24155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24156 if (SWIG_arg_fail(1)) SWIG_fail;
24157 {
24158 arg2 = (int)(SWIG_As_int(obj1));
24159 if (SWIG_arg_fail(2)) SWIG_fail;
24160 }
24161 {
24162 PyThreadState* __tstate = wxPyBeginAllowThreads();
24163 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24164
24165 wxPyEndAllowThreads(__tstate);
24166 if (PyErr_Occurred()) SWIG_fail;
24167 }
24168 {
24169 resultobj = wxPyMake_wxObject(result, 0);
24170 }
24171 return resultobj;
24172 fail:
24173 return NULL;
24174 }
24175
24176
24177 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
24178 PyObject *resultobj;
24179 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24180 int arg2 ;
24181 wxListItem *arg3 = 0 ;
24182 bool result;
24183 PyObject * obj0 = 0 ;
24184 PyObject * obj1 = 0 ;
24185 PyObject * obj2 = 0 ;
24186 char *kwnames[] = {
24187 (char *) "self",(char *) "col",(char *) "item", NULL
24188 };
24189
24190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
24191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24192 if (SWIG_arg_fail(1)) SWIG_fail;
24193 {
24194 arg2 = (int)(SWIG_As_int(obj1));
24195 if (SWIG_arg_fail(2)) SWIG_fail;
24196 }
24197 {
24198 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24199 if (SWIG_arg_fail(3)) SWIG_fail;
24200 if (arg3 == NULL) {
24201 SWIG_null_ref("wxListItem");
24202 }
24203 if (SWIG_arg_fail(3)) SWIG_fail;
24204 }
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24208
24209 wxPyEndAllowThreads(__tstate);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
24212 {
24213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24214 }
24215 return resultobj;
24216 fail:
24217 return NULL;
24218 }
24219
24220
24221 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24222 PyObject *resultobj;
24223 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24224 int arg2 ;
24225 int result;
24226 PyObject * obj0 = 0 ;
24227 PyObject * obj1 = 0 ;
24228 char *kwnames[] = {
24229 (char *) "self",(char *) "col", NULL
24230 };
24231
24232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
24233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24234 if (SWIG_arg_fail(1)) SWIG_fail;
24235 {
24236 arg2 = (int)(SWIG_As_int(obj1));
24237 if (SWIG_arg_fail(2)) SWIG_fail;
24238 }
24239 {
24240 PyThreadState* __tstate = wxPyBeginAllowThreads();
24241 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24242
24243 wxPyEndAllowThreads(__tstate);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 }
24246 {
24247 resultobj = SWIG_From_int((int)(result));
24248 }
24249 return resultobj;
24250 fail:
24251 return NULL;
24252 }
24253
24254
24255 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
24256 PyObject *resultobj;
24257 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24258 int arg2 ;
24259 int arg3 ;
24260 bool result;
24261 PyObject * obj0 = 0 ;
24262 PyObject * obj1 = 0 ;
24263 PyObject * obj2 = 0 ;
24264 char *kwnames[] = {
24265 (char *) "self",(char *) "col",(char *) "width", NULL
24266 };
24267
24268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
24269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24270 if (SWIG_arg_fail(1)) SWIG_fail;
24271 {
24272 arg2 = (int)(SWIG_As_int(obj1));
24273 if (SWIG_arg_fail(2)) SWIG_fail;
24274 }
24275 {
24276 arg3 = (int)(SWIG_As_int(obj2));
24277 if (SWIG_arg_fail(3)) SWIG_fail;
24278 }
24279 {
24280 PyThreadState* __tstate = wxPyBeginAllowThreads();
24281 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24282
24283 wxPyEndAllowThreads(__tstate);
24284 if (PyErr_Occurred()) SWIG_fail;
24285 }
24286 {
24287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24288 }
24289 return resultobj;
24290 fail:
24291 return NULL;
24292 }
24293
24294
24295 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
24296 PyObject *resultobj;
24297 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24298 int result;
24299 PyObject * obj0 = 0 ;
24300 char *kwnames[] = {
24301 (char *) "self", NULL
24302 };
24303
24304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
24305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24306 if (SWIG_arg_fail(1)) SWIG_fail;
24307 {
24308 PyThreadState* __tstate = wxPyBeginAllowThreads();
24309 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24310
24311 wxPyEndAllowThreads(__tstate);
24312 if (PyErr_Occurred()) SWIG_fail;
24313 }
24314 {
24315 resultobj = SWIG_From_int((int)(result));
24316 }
24317 return resultobj;
24318 fail:
24319 return NULL;
24320 }
24321
24322
24323 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
24324 PyObject *resultobj;
24325 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24326 wxRect result;
24327 PyObject * obj0 = 0 ;
24328 char *kwnames[] = {
24329 (char *) "self", NULL
24330 };
24331
24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
24333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24334 if (SWIG_arg_fail(1)) SWIG_fail;
24335 {
24336 PyThreadState* __tstate = wxPyBeginAllowThreads();
24337 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24338
24339 wxPyEndAllowThreads(__tstate);
24340 if (PyErr_Occurred()) SWIG_fail;
24341 }
24342 {
24343 wxRect * resultptr;
24344 resultptr = new wxRect((wxRect &)(result));
24345 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24346 }
24347 return resultobj;
24348 fail:
24349 return NULL;
24350 }
24351
24352
24353 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
24354 PyObject *resultobj;
24355 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24356 wxTextCtrl *result;
24357 PyObject * obj0 = 0 ;
24358 char *kwnames[] = {
24359 (char *) "self", NULL
24360 };
24361
24362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
24363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24364 if (SWIG_arg_fail(1)) SWIG_fail;
24365 {
24366 PyThreadState* __tstate = wxPyBeginAllowThreads();
24367 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
24368
24369 wxPyEndAllowThreads(__tstate);
24370 if (PyErr_Occurred()) SWIG_fail;
24371 }
24372 {
24373 resultobj = wxPyMake_wxObject(result, 0);
24374 }
24375 return resultobj;
24376 fail:
24377 return NULL;
24378 }
24379
24380
24381 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24382 PyObject *resultobj;
24383 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24384 long arg2 ;
24385 int arg3 = (int) 0 ;
24386 wxListItem *result;
24387 PyObject * obj0 = 0 ;
24388 PyObject * obj1 = 0 ;
24389 PyObject * obj2 = 0 ;
24390 char *kwnames[] = {
24391 (char *) "self",(char *) "itemId",(char *) "col", NULL
24392 };
24393
24394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
24395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24396 if (SWIG_arg_fail(1)) SWIG_fail;
24397 {
24398 arg2 = (long)(SWIG_As_long(obj1));
24399 if (SWIG_arg_fail(2)) SWIG_fail;
24400 }
24401 if (obj2) {
24402 {
24403 arg3 = (int)(SWIG_As_int(obj2));
24404 if (SWIG_arg_fail(3)) SWIG_fail;
24405 }
24406 }
24407 {
24408 PyThreadState* __tstate = wxPyBeginAllowThreads();
24409 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24410
24411 wxPyEndAllowThreads(__tstate);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
24414 {
24415 resultobj = wxPyMake_wxObject(result, 0);
24416 }
24417 return resultobj;
24418 fail:
24419 return NULL;
24420 }
24421
24422
24423 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
24424 PyObject *resultobj;
24425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24426 wxListItem *arg2 = 0 ;
24427 bool result;
24428 PyObject * obj0 = 0 ;
24429 PyObject * obj1 = 0 ;
24430 char *kwnames[] = {
24431 (char *) "self",(char *) "info", NULL
24432 };
24433
24434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
24435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24436 if (SWIG_arg_fail(1)) SWIG_fail;
24437 {
24438 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24439 if (SWIG_arg_fail(2)) SWIG_fail;
24440 if (arg2 == NULL) {
24441 SWIG_null_ref("wxListItem");
24442 }
24443 if (SWIG_arg_fail(2)) SWIG_fail;
24444 }
24445 {
24446 PyThreadState* __tstate = wxPyBeginAllowThreads();
24447 result = (bool)(arg1)->SetItem(*arg2);
24448
24449 wxPyEndAllowThreads(__tstate);
24450 if (PyErr_Occurred()) SWIG_fail;
24451 }
24452 {
24453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24454 }
24455 return resultobj;
24456 fail:
24457 return NULL;
24458 }
24459
24460
24461 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24464 long arg2 ;
24465 int arg3 ;
24466 wxString *arg4 = 0 ;
24467 int arg5 = (int) -1 ;
24468 long result;
24469 bool temp4 = false ;
24470 PyObject * obj0 = 0 ;
24471 PyObject * obj1 = 0 ;
24472 PyObject * obj2 = 0 ;
24473 PyObject * obj3 = 0 ;
24474 PyObject * obj4 = 0 ;
24475 char *kwnames[] = {
24476 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24477 };
24478
24479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24481 if (SWIG_arg_fail(1)) SWIG_fail;
24482 {
24483 arg2 = (long)(SWIG_As_long(obj1));
24484 if (SWIG_arg_fail(2)) SWIG_fail;
24485 }
24486 {
24487 arg3 = (int)(SWIG_As_int(obj2));
24488 if (SWIG_arg_fail(3)) SWIG_fail;
24489 }
24490 {
24491 arg4 = wxString_in_helper(obj3);
24492 if (arg4 == NULL) SWIG_fail;
24493 temp4 = true;
24494 }
24495 if (obj4) {
24496 {
24497 arg5 = (int)(SWIG_As_int(obj4));
24498 if (SWIG_arg_fail(5)) SWIG_fail;
24499 }
24500 }
24501 {
24502 PyThreadState* __tstate = wxPyBeginAllowThreads();
24503 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24504
24505 wxPyEndAllowThreads(__tstate);
24506 if (PyErr_Occurred()) SWIG_fail;
24507 }
24508 {
24509 resultobj = SWIG_From_long((long)(result));
24510 }
24511 {
24512 if (temp4)
24513 delete arg4;
24514 }
24515 return resultobj;
24516 fail:
24517 {
24518 if (temp4)
24519 delete arg4;
24520 }
24521 return NULL;
24522 }
24523
24524
24525 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24526 PyObject *resultobj;
24527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24528 long arg2 ;
24529 long arg3 ;
24530 int result;
24531 PyObject * obj0 = 0 ;
24532 PyObject * obj1 = 0 ;
24533 PyObject * obj2 = 0 ;
24534 char *kwnames[] = {
24535 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24536 };
24537
24538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
24539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24540 if (SWIG_arg_fail(1)) SWIG_fail;
24541 {
24542 arg2 = (long)(SWIG_As_long(obj1));
24543 if (SWIG_arg_fail(2)) SWIG_fail;
24544 }
24545 {
24546 arg3 = (long)(SWIG_As_long(obj2));
24547 if (SWIG_arg_fail(3)) SWIG_fail;
24548 }
24549 {
24550 PyThreadState* __tstate = wxPyBeginAllowThreads();
24551 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24552
24553 wxPyEndAllowThreads(__tstate);
24554 if (PyErr_Occurred()) SWIG_fail;
24555 }
24556 {
24557 resultobj = SWIG_From_int((int)(result));
24558 }
24559 return resultobj;
24560 fail:
24561 return NULL;
24562 }
24563
24564
24565 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
24566 PyObject *resultobj;
24567 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24568 long arg2 ;
24569 long arg3 ;
24570 long arg4 ;
24571 bool result;
24572 PyObject * obj0 = 0 ;
24573 PyObject * obj1 = 0 ;
24574 PyObject * obj2 = 0 ;
24575 PyObject * obj3 = 0 ;
24576 char *kwnames[] = {
24577 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24578 };
24579
24580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24582 if (SWIG_arg_fail(1)) SWIG_fail;
24583 {
24584 arg2 = (long)(SWIG_As_long(obj1));
24585 if (SWIG_arg_fail(2)) SWIG_fail;
24586 }
24587 {
24588 arg3 = (long)(SWIG_As_long(obj2));
24589 if (SWIG_arg_fail(3)) SWIG_fail;
24590 }
24591 {
24592 arg4 = (long)(SWIG_As_long(obj3));
24593 if (SWIG_arg_fail(4)) SWIG_fail;
24594 }
24595 {
24596 PyThreadState* __tstate = wxPyBeginAllowThreads();
24597 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24598
24599 wxPyEndAllowThreads(__tstate);
24600 if (PyErr_Occurred()) SWIG_fail;
24601 }
24602 {
24603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24604 }
24605 return resultobj;
24606 fail:
24607 return NULL;
24608 }
24609
24610
24611 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24612 PyObject *resultobj;
24613 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24614 long arg2 ;
24615 int arg3 ;
24616 int arg4 = (int) -1 ;
24617 bool result;
24618 PyObject * obj0 = 0 ;
24619 PyObject * obj1 = 0 ;
24620 PyObject * obj2 = 0 ;
24621 PyObject * obj3 = 0 ;
24622 char *kwnames[] = {
24623 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24624 };
24625
24626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24628 if (SWIG_arg_fail(1)) SWIG_fail;
24629 {
24630 arg2 = (long)(SWIG_As_long(obj1));
24631 if (SWIG_arg_fail(2)) SWIG_fail;
24632 }
24633 {
24634 arg3 = (int)(SWIG_As_int(obj2));
24635 if (SWIG_arg_fail(3)) SWIG_fail;
24636 }
24637 if (obj3) {
24638 {
24639 arg4 = (int)(SWIG_As_int(obj3));
24640 if (SWIG_arg_fail(4)) SWIG_fail;
24641 }
24642 }
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24646
24647 wxPyEndAllowThreads(__tstate);
24648 if (PyErr_Occurred()) SWIG_fail;
24649 }
24650 {
24651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24652 }
24653 return resultobj;
24654 fail:
24655 return NULL;
24656 }
24657
24658
24659 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24660 PyObject *resultobj;
24661 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24662 long arg2 ;
24663 wxString result;
24664 PyObject * obj0 = 0 ;
24665 PyObject * obj1 = 0 ;
24666 char *kwnames[] = {
24667 (char *) "self",(char *) "item", NULL
24668 };
24669
24670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24672 if (SWIG_arg_fail(1)) SWIG_fail;
24673 {
24674 arg2 = (long)(SWIG_As_long(obj1));
24675 if (SWIG_arg_fail(2)) SWIG_fail;
24676 }
24677 {
24678 PyThreadState* __tstate = wxPyBeginAllowThreads();
24679 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24680
24681 wxPyEndAllowThreads(__tstate);
24682 if (PyErr_Occurred()) SWIG_fail;
24683 }
24684 {
24685 #if wxUSE_UNICODE
24686 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24687 #else
24688 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24689 #endif
24690 }
24691 return resultobj;
24692 fail:
24693 return NULL;
24694 }
24695
24696
24697 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24698 PyObject *resultobj;
24699 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24700 long arg2 ;
24701 wxString *arg3 = 0 ;
24702 bool temp3 = false ;
24703 PyObject * obj0 = 0 ;
24704 PyObject * obj1 = 0 ;
24705 PyObject * obj2 = 0 ;
24706 char *kwnames[] = {
24707 (char *) "self",(char *) "item",(char *) "str", NULL
24708 };
24709
24710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24712 if (SWIG_arg_fail(1)) SWIG_fail;
24713 {
24714 arg2 = (long)(SWIG_As_long(obj1));
24715 if (SWIG_arg_fail(2)) SWIG_fail;
24716 }
24717 {
24718 arg3 = wxString_in_helper(obj2);
24719 if (arg3 == NULL) SWIG_fail;
24720 temp3 = true;
24721 }
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24725
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 Py_INCREF(Py_None); resultobj = Py_None;
24730 {
24731 if (temp3)
24732 delete arg3;
24733 }
24734 return resultobj;
24735 fail:
24736 {
24737 if (temp3)
24738 delete arg3;
24739 }
24740 return NULL;
24741 }
24742
24743
24744 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24745 PyObject *resultobj;
24746 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24747 long arg2 ;
24748 long result;
24749 PyObject * obj0 = 0 ;
24750 PyObject * obj1 = 0 ;
24751 char *kwnames[] = {
24752 (char *) "self",(char *) "item", NULL
24753 };
24754
24755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24757 if (SWIG_arg_fail(1)) SWIG_fail;
24758 {
24759 arg2 = (long)(SWIG_As_long(obj1));
24760 if (SWIG_arg_fail(2)) SWIG_fail;
24761 }
24762 {
24763 PyThreadState* __tstate = wxPyBeginAllowThreads();
24764 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24765
24766 wxPyEndAllowThreads(__tstate);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 {
24770 resultobj = SWIG_From_long((long)(result));
24771 }
24772 return resultobj;
24773 fail:
24774 return NULL;
24775 }
24776
24777
24778 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24779 PyObject *resultobj;
24780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24781 long arg2 ;
24782 long arg3 ;
24783 bool result;
24784 PyObject * obj0 = 0 ;
24785 PyObject * obj1 = 0 ;
24786 PyObject * obj2 = 0 ;
24787 char *kwnames[] = {
24788 (char *) "self",(char *) "item",(char *) "data", NULL
24789 };
24790
24791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24793 if (SWIG_arg_fail(1)) SWIG_fail;
24794 {
24795 arg2 = (long)(SWIG_As_long(obj1));
24796 if (SWIG_arg_fail(2)) SWIG_fail;
24797 }
24798 {
24799 arg3 = (long)(SWIG_As_long(obj2));
24800 if (SWIG_arg_fail(3)) SWIG_fail;
24801 }
24802 {
24803 PyThreadState* __tstate = wxPyBeginAllowThreads();
24804 result = (bool)(arg1)->SetItemData(arg2,arg3);
24805
24806 wxPyEndAllowThreads(__tstate);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 }
24809 {
24810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24811 }
24812 return resultobj;
24813 fail:
24814 return NULL;
24815 }
24816
24817
24818 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24819 PyObject *resultobj;
24820 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24821 long arg2 ;
24822 wxPoint result;
24823 PyObject * obj0 = 0 ;
24824 PyObject * obj1 = 0 ;
24825 char *kwnames[] = {
24826 (char *) "self",(char *) "item", NULL
24827 };
24828
24829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
24830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24831 if (SWIG_arg_fail(1)) SWIG_fail;
24832 {
24833 arg2 = (long)(SWIG_As_long(obj1));
24834 if (SWIG_arg_fail(2)) SWIG_fail;
24835 }
24836 {
24837 PyThreadState* __tstate = wxPyBeginAllowThreads();
24838 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24839
24840 wxPyEndAllowThreads(__tstate);
24841 if (PyErr_Occurred()) SWIG_fail;
24842 }
24843 {
24844 wxPoint * resultptr;
24845 resultptr = new wxPoint((wxPoint &)(result));
24846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24847 }
24848 return resultobj;
24849 fail:
24850 return NULL;
24851 }
24852
24853
24854 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
24855 PyObject *resultobj;
24856 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24857 long arg2 ;
24858 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24859 wxRect result;
24860 PyObject * obj0 = 0 ;
24861 PyObject * obj1 = 0 ;
24862 PyObject * obj2 = 0 ;
24863 char *kwnames[] = {
24864 (char *) "self",(char *) "item",(char *) "code", NULL
24865 };
24866
24867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
24868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24869 if (SWIG_arg_fail(1)) SWIG_fail;
24870 {
24871 arg2 = (long)(SWIG_As_long(obj1));
24872 if (SWIG_arg_fail(2)) SWIG_fail;
24873 }
24874 if (obj2) {
24875 {
24876 arg3 = (int)(SWIG_As_int(obj2));
24877 if (SWIG_arg_fail(3)) SWIG_fail;
24878 }
24879 }
24880 {
24881 PyThreadState* __tstate = wxPyBeginAllowThreads();
24882 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24883
24884 wxPyEndAllowThreads(__tstate);
24885 if (PyErr_Occurred()) SWIG_fail;
24886 }
24887 {
24888 wxRect * resultptr;
24889 resultptr = new wxRect((wxRect &)(result));
24890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24891 }
24892 return resultobj;
24893 fail:
24894 return NULL;
24895 }
24896
24897
24898 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
24899 PyObject *resultobj;
24900 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24901 long arg2 ;
24902 wxPoint *arg3 = 0 ;
24903 bool result;
24904 wxPoint temp3 ;
24905 PyObject * obj0 = 0 ;
24906 PyObject * obj1 = 0 ;
24907 PyObject * obj2 = 0 ;
24908 char *kwnames[] = {
24909 (char *) "self",(char *) "item",(char *) "pos", NULL
24910 };
24911
24912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
24913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24914 if (SWIG_arg_fail(1)) SWIG_fail;
24915 {
24916 arg2 = (long)(SWIG_As_long(obj1));
24917 if (SWIG_arg_fail(2)) SWIG_fail;
24918 }
24919 {
24920 arg3 = &temp3;
24921 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24922 }
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24926
24927 wxPyEndAllowThreads(__tstate);
24928 if (PyErr_Occurred()) SWIG_fail;
24929 }
24930 {
24931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24932 }
24933 return resultobj;
24934 fail:
24935 return NULL;
24936 }
24937
24938
24939 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
24940 PyObject *resultobj;
24941 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24942 int result;
24943 PyObject * obj0 = 0 ;
24944 char *kwnames[] = {
24945 (char *) "self", NULL
24946 };
24947
24948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
24949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24950 if (SWIG_arg_fail(1)) SWIG_fail;
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24954
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 {
24959 resultobj = SWIG_From_int((int)(result));
24960 }
24961 return resultobj;
24962 fail:
24963 return NULL;
24964 }
24965
24966
24967 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
24968 PyObject *resultobj;
24969 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24970 int result;
24971 PyObject * obj0 = 0 ;
24972 char *kwnames[] = {
24973 (char *) "self", NULL
24974 };
24975
24976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
24977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24978 if (SWIG_arg_fail(1)) SWIG_fail;
24979 {
24980 PyThreadState* __tstate = wxPyBeginAllowThreads();
24981 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24982
24983 wxPyEndAllowThreads(__tstate);
24984 if (PyErr_Occurred()) SWIG_fail;
24985 }
24986 {
24987 resultobj = SWIG_From_int((int)(result));
24988 }
24989 return resultobj;
24990 fail:
24991 return NULL;
24992 }
24993
24994
24995 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24996 PyObject *resultobj;
24997 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24998 wxSize result;
24999 PyObject * obj0 = 0 ;
25000 char *kwnames[] = {
25001 (char *) "self", NULL
25002 };
25003
25004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
25005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25006 if (SWIG_arg_fail(1)) SWIG_fail;
25007 {
25008 PyThreadState* __tstate = wxPyBeginAllowThreads();
25009 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
25010
25011 wxPyEndAllowThreads(__tstate);
25012 if (PyErr_Occurred()) SWIG_fail;
25013 }
25014 {
25015 wxSize * resultptr;
25016 resultptr = new wxSize((wxSize &)(result));
25017 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25018 }
25019 return resultobj;
25020 fail:
25021 return NULL;
25022 }
25023
25024
25025 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
25026 PyObject *resultobj;
25027 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25028 int result;
25029 PyObject * obj0 = 0 ;
25030 char *kwnames[] = {
25031 (char *) "self", NULL
25032 };
25033
25034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
25035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25036 if (SWIG_arg_fail(1)) SWIG_fail;
25037 {
25038 PyThreadState* __tstate = wxPyBeginAllowThreads();
25039 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
25040
25041 wxPyEndAllowThreads(__tstate);
25042 if (PyErr_Occurred()) SWIG_fail;
25043 }
25044 {
25045 resultobj = SWIG_From_int((int)(result));
25046 }
25047 return resultobj;
25048 fail:
25049 return NULL;
25050 }
25051
25052
25053 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25054 PyObject *resultobj;
25055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25056 wxColour result;
25057 PyObject * obj0 = 0 ;
25058 char *kwnames[] = {
25059 (char *) "self", NULL
25060 };
25061
25062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
25063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25064 if (SWIG_arg_fail(1)) SWIG_fail;
25065 {
25066 PyThreadState* __tstate = wxPyBeginAllowThreads();
25067 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
25068
25069 wxPyEndAllowThreads(__tstate);
25070 if (PyErr_Occurred()) SWIG_fail;
25071 }
25072 {
25073 wxColour * resultptr;
25074 resultptr = new wxColour((wxColour &)(result));
25075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25076 }
25077 return resultobj;
25078 fail:
25079 return NULL;
25080 }
25081
25082
25083 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
25084 PyObject *resultobj;
25085 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25086 wxColour *arg2 = 0 ;
25087 wxColour temp2 ;
25088 PyObject * obj0 = 0 ;
25089 PyObject * obj1 = 0 ;
25090 char *kwnames[] = {
25091 (char *) "self",(char *) "col", NULL
25092 };
25093
25094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
25095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25096 if (SWIG_arg_fail(1)) SWIG_fail;
25097 {
25098 arg2 = &temp2;
25099 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25100 }
25101 {
25102 PyThreadState* __tstate = wxPyBeginAllowThreads();
25103 (arg1)->SetTextColour((wxColour const &)*arg2);
25104
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 Py_INCREF(Py_None); resultobj = Py_None;
25109 return resultobj;
25110 fail:
25111 return NULL;
25112 }
25113
25114
25115 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
25116 PyObject *resultobj;
25117 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25118 long result;
25119 PyObject * obj0 = 0 ;
25120 char *kwnames[] = {
25121 (char *) "self", NULL
25122 };
25123
25124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
25125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25126 if (SWIG_arg_fail(1)) SWIG_fail;
25127 {
25128 PyThreadState* __tstate = wxPyBeginAllowThreads();
25129 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25130
25131 wxPyEndAllowThreads(__tstate);
25132 if (PyErr_Occurred()) SWIG_fail;
25133 }
25134 {
25135 resultobj = SWIG_From_long((long)(result));
25136 }
25137 return resultobj;
25138 fail:
25139 return NULL;
25140 }
25141
25142
25143 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
25144 PyObject *resultobj;
25145 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25146 long arg2 ;
25147 bool arg3 = (bool) true ;
25148 PyObject * obj0 = 0 ;
25149 PyObject * obj1 = 0 ;
25150 PyObject * obj2 = 0 ;
25151 char *kwnames[] = {
25152 (char *) "self",(char *) "style",(char *) "add", NULL
25153 };
25154
25155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
25156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25157 if (SWIG_arg_fail(1)) SWIG_fail;
25158 {
25159 arg2 = (long)(SWIG_As_long(obj1));
25160 if (SWIG_arg_fail(2)) SWIG_fail;
25161 }
25162 if (obj2) {
25163 {
25164 arg3 = (bool)(SWIG_As_bool(obj2));
25165 if (SWIG_arg_fail(3)) SWIG_fail;
25166 }
25167 }
25168 {
25169 PyThreadState* __tstate = wxPyBeginAllowThreads();
25170 (arg1)->SetSingleStyle(arg2,arg3);
25171
25172 wxPyEndAllowThreads(__tstate);
25173 if (PyErr_Occurred()) SWIG_fail;
25174 }
25175 Py_INCREF(Py_None); resultobj = Py_None;
25176 return resultobj;
25177 fail:
25178 return NULL;
25179 }
25180
25181
25182 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
25183 PyObject *resultobj;
25184 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25185 long arg2 ;
25186 PyObject * obj0 = 0 ;
25187 PyObject * obj1 = 0 ;
25188 char *kwnames[] = {
25189 (char *) "self",(char *) "style", NULL
25190 };
25191
25192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
25193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25194 if (SWIG_arg_fail(1)) SWIG_fail;
25195 {
25196 arg2 = (long)(SWIG_As_long(obj1));
25197 if (SWIG_arg_fail(2)) SWIG_fail;
25198 }
25199 {
25200 PyThreadState* __tstate = wxPyBeginAllowThreads();
25201 (arg1)->SetWindowStyleFlag(arg2);
25202
25203 wxPyEndAllowThreads(__tstate);
25204 if (PyErr_Occurred()) SWIG_fail;
25205 }
25206 Py_INCREF(Py_None); resultobj = Py_None;
25207 return resultobj;
25208 fail:
25209 return NULL;
25210 }
25211
25212
25213 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
25214 PyObject *resultobj;
25215 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25216 long arg2 ;
25217 int arg3 = (int) wxLIST_NEXT_ALL ;
25218 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25219 long result;
25220 PyObject * obj0 = 0 ;
25221 PyObject * obj1 = 0 ;
25222 PyObject * obj2 = 0 ;
25223 PyObject * obj3 = 0 ;
25224 char *kwnames[] = {
25225 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25226 };
25227
25228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25230 if (SWIG_arg_fail(1)) SWIG_fail;
25231 {
25232 arg2 = (long)(SWIG_As_long(obj1));
25233 if (SWIG_arg_fail(2)) SWIG_fail;
25234 }
25235 if (obj2) {
25236 {
25237 arg3 = (int)(SWIG_As_int(obj2));
25238 if (SWIG_arg_fail(3)) SWIG_fail;
25239 }
25240 }
25241 if (obj3) {
25242 {
25243 arg4 = (int)(SWIG_As_int(obj3));
25244 if (SWIG_arg_fail(4)) SWIG_fail;
25245 }
25246 }
25247 {
25248 PyThreadState* __tstate = wxPyBeginAllowThreads();
25249 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25250
25251 wxPyEndAllowThreads(__tstate);
25252 if (PyErr_Occurred()) SWIG_fail;
25253 }
25254 {
25255 resultobj = SWIG_From_long((long)(result));
25256 }
25257 return resultobj;
25258 fail:
25259 return NULL;
25260 }
25261
25262
25263 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25264 PyObject *resultobj;
25265 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25266 int arg2 ;
25267 wxImageList *result;
25268 PyObject * obj0 = 0 ;
25269 PyObject * obj1 = 0 ;
25270 char *kwnames[] = {
25271 (char *) "self",(char *) "which", NULL
25272 };
25273
25274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
25275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25276 if (SWIG_arg_fail(1)) SWIG_fail;
25277 {
25278 arg2 = (int)(SWIG_As_int(obj1));
25279 if (SWIG_arg_fail(2)) SWIG_fail;
25280 }
25281 {
25282 PyThreadState* __tstate = wxPyBeginAllowThreads();
25283 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25284
25285 wxPyEndAllowThreads(__tstate);
25286 if (PyErr_Occurred()) SWIG_fail;
25287 }
25288 {
25289 resultobj = wxPyMake_wxObject(result, 0);
25290 }
25291 return resultobj;
25292 fail:
25293 return NULL;
25294 }
25295
25296
25297 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25298 PyObject *resultobj;
25299 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25300 wxImageList *arg2 = (wxImageList *) 0 ;
25301 int arg3 ;
25302 PyObject * obj0 = 0 ;
25303 PyObject * obj1 = 0 ;
25304 PyObject * obj2 = 0 ;
25305 char *kwnames[] = {
25306 (char *) "self",(char *) "imageList",(char *) "which", NULL
25307 };
25308
25309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25311 if (SWIG_arg_fail(1)) SWIG_fail;
25312 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25313 if (SWIG_arg_fail(2)) SWIG_fail;
25314 {
25315 arg3 = (int)(SWIG_As_int(obj2));
25316 if (SWIG_arg_fail(3)) SWIG_fail;
25317 }
25318 {
25319 PyThreadState* __tstate = wxPyBeginAllowThreads();
25320 (arg1)->SetImageList(arg2,arg3);
25321
25322 wxPyEndAllowThreads(__tstate);
25323 if (PyErr_Occurred()) SWIG_fail;
25324 }
25325 Py_INCREF(Py_None); resultobj = Py_None;
25326 return resultobj;
25327 fail:
25328 return NULL;
25329 }
25330
25331
25332 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
25333 PyObject *resultobj;
25334 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25335 wxImageList *arg2 = (wxImageList *) 0 ;
25336 int arg3 ;
25337 PyObject * obj0 = 0 ;
25338 PyObject * obj1 = 0 ;
25339 PyObject * obj2 = 0 ;
25340 char *kwnames[] = {
25341 (char *) "self",(char *) "imageList",(char *) "which", NULL
25342 };
25343
25344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
25345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25346 if (SWIG_arg_fail(1)) SWIG_fail;
25347 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25348 if (SWIG_arg_fail(2)) SWIG_fail;
25349 {
25350 arg3 = (int)(SWIG_As_int(obj2));
25351 if (SWIG_arg_fail(3)) SWIG_fail;
25352 }
25353 {
25354 PyThreadState* __tstate = wxPyBeginAllowThreads();
25355 (arg1)->AssignImageList(arg2,arg3);
25356
25357 wxPyEndAllowThreads(__tstate);
25358 if (PyErr_Occurred()) SWIG_fail;
25359 }
25360 Py_INCREF(Py_None); resultobj = Py_None;
25361 return resultobj;
25362 fail:
25363 return NULL;
25364 }
25365
25366
25367 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
25368 PyObject *resultobj;
25369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25370 bool result;
25371 PyObject * obj0 = 0 ;
25372 char *kwnames[] = {
25373 (char *) "self", NULL
25374 };
25375
25376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
25377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25378 if (SWIG_arg_fail(1)) SWIG_fail;
25379 {
25380 PyThreadState* __tstate = wxPyBeginAllowThreads();
25381 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25382
25383 wxPyEndAllowThreads(__tstate);
25384 if (PyErr_Occurred()) SWIG_fail;
25385 }
25386 {
25387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25388 }
25389 return resultobj;
25390 fail:
25391 return NULL;
25392 }
25393
25394
25395 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
25396 PyObject *resultobj;
25397 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25398 bool result;
25399 PyObject * obj0 = 0 ;
25400 char *kwnames[] = {
25401 (char *) "self", NULL
25402 };
25403
25404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
25405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25406 if (SWIG_arg_fail(1)) SWIG_fail;
25407 {
25408 PyThreadState* __tstate = wxPyBeginAllowThreads();
25409 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25410
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
25414 {
25415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25416 }
25417 return resultobj;
25418 fail:
25419 return NULL;
25420 }
25421
25422
25423 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
25424 PyObject *resultobj;
25425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25426 long arg2 ;
25427 PyObject * obj0 = 0 ;
25428 PyObject * obj1 = 0 ;
25429 char *kwnames[] = {
25430 (char *) "self",(char *) "item", NULL
25431 };
25432
25433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
25434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25435 if (SWIG_arg_fail(1)) SWIG_fail;
25436 {
25437 arg2 = (long)(SWIG_As_long(obj1));
25438 if (SWIG_arg_fail(2)) SWIG_fail;
25439 }
25440 {
25441 PyThreadState* __tstate = wxPyBeginAllowThreads();
25442 (arg1)->RefreshItem(arg2);
25443
25444 wxPyEndAllowThreads(__tstate);
25445 if (PyErr_Occurred()) SWIG_fail;
25446 }
25447 Py_INCREF(Py_None); resultobj = Py_None;
25448 return resultobj;
25449 fail:
25450 return NULL;
25451 }
25452
25453
25454 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
25455 PyObject *resultobj;
25456 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25457 long arg2 ;
25458 long arg3 ;
25459 PyObject * obj0 = 0 ;
25460 PyObject * obj1 = 0 ;
25461 PyObject * obj2 = 0 ;
25462 char *kwnames[] = {
25463 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25464 };
25465
25466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
25467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25468 if (SWIG_arg_fail(1)) SWIG_fail;
25469 {
25470 arg2 = (long)(SWIG_As_long(obj1));
25471 if (SWIG_arg_fail(2)) SWIG_fail;
25472 }
25473 {
25474 arg3 = (long)(SWIG_As_long(obj2));
25475 if (SWIG_arg_fail(3)) SWIG_fail;
25476 }
25477 {
25478 PyThreadState* __tstate = wxPyBeginAllowThreads();
25479 (arg1)->RefreshItems(arg2,arg3);
25480
25481 wxPyEndAllowThreads(__tstate);
25482 if (PyErr_Occurred()) SWIG_fail;
25483 }
25484 Py_INCREF(Py_None); resultobj = Py_None;
25485 return resultobj;
25486 fail:
25487 return NULL;
25488 }
25489
25490
25491 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
25492 PyObject *resultobj;
25493 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25494 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25495 bool result;
25496 PyObject * obj0 = 0 ;
25497 PyObject * obj1 = 0 ;
25498 char *kwnames[] = {
25499 (char *) "self",(char *) "flag", NULL
25500 };
25501
25502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
25503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25504 if (SWIG_arg_fail(1)) SWIG_fail;
25505 if (obj1) {
25506 {
25507 arg2 = (int)(SWIG_As_int(obj1));
25508 if (SWIG_arg_fail(2)) SWIG_fail;
25509 }
25510 }
25511 {
25512 PyThreadState* __tstate = wxPyBeginAllowThreads();
25513 result = (bool)(arg1)->Arrange(arg2);
25514
25515 wxPyEndAllowThreads(__tstate);
25516 if (PyErr_Occurred()) SWIG_fail;
25517 }
25518 {
25519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25520 }
25521 return resultobj;
25522 fail:
25523 return NULL;
25524 }
25525
25526
25527 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
25528 PyObject *resultobj;
25529 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25530 long arg2 ;
25531 bool result;
25532 PyObject * obj0 = 0 ;
25533 PyObject * obj1 = 0 ;
25534 char *kwnames[] = {
25535 (char *) "self",(char *) "item", NULL
25536 };
25537
25538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
25539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25540 if (SWIG_arg_fail(1)) SWIG_fail;
25541 {
25542 arg2 = (long)(SWIG_As_long(obj1));
25543 if (SWIG_arg_fail(2)) SWIG_fail;
25544 }
25545 {
25546 PyThreadState* __tstate = wxPyBeginAllowThreads();
25547 result = (bool)(arg1)->DeleteItem(arg2);
25548
25549 wxPyEndAllowThreads(__tstate);
25550 if (PyErr_Occurred()) SWIG_fail;
25551 }
25552 {
25553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25554 }
25555 return resultobj;
25556 fail:
25557 return NULL;
25558 }
25559
25560
25561 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25562 PyObject *resultobj;
25563 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25564 bool result;
25565 PyObject * obj0 = 0 ;
25566 char *kwnames[] = {
25567 (char *) "self", NULL
25568 };
25569
25570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25572 if (SWIG_arg_fail(1)) SWIG_fail;
25573 {
25574 PyThreadState* __tstate = wxPyBeginAllowThreads();
25575 result = (bool)(arg1)->DeleteAllItems();
25576
25577 wxPyEndAllowThreads(__tstate);
25578 if (PyErr_Occurred()) SWIG_fail;
25579 }
25580 {
25581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25582 }
25583 return resultobj;
25584 fail:
25585 return NULL;
25586 }
25587
25588
25589 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
25590 PyObject *resultobj;
25591 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25592 int arg2 ;
25593 bool result;
25594 PyObject * obj0 = 0 ;
25595 PyObject * obj1 = 0 ;
25596 char *kwnames[] = {
25597 (char *) "self",(char *) "col", NULL
25598 };
25599
25600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
25601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25602 if (SWIG_arg_fail(1)) SWIG_fail;
25603 {
25604 arg2 = (int)(SWIG_As_int(obj1));
25605 if (SWIG_arg_fail(2)) SWIG_fail;
25606 }
25607 {
25608 PyThreadState* __tstate = wxPyBeginAllowThreads();
25609 result = (bool)(arg1)->DeleteColumn(arg2);
25610
25611 wxPyEndAllowThreads(__tstate);
25612 if (PyErr_Occurred()) SWIG_fail;
25613 }
25614 {
25615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25616 }
25617 return resultobj;
25618 fail:
25619 return NULL;
25620 }
25621
25622
25623 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
25624 PyObject *resultobj;
25625 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25626 bool result;
25627 PyObject * obj0 = 0 ;
25628 char *kwnames[] = {
25629 (char *) "self", NULL
25630 };
25631
25632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
25633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25634 if (SWIG_arg_fail(1)) SWIG_fail;
25635 {
25636 PyThreadState* __tstate = wxPyBeginAllowThreads();
25637 result = (bool)(arg1)->DeleteAllColumns();
25638
25639 wxPyEndAllowThreads(__tstate);
25640 if (PyErr_Occurred()) SWIG_fail;
25641 }
25642 {
25643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25644 }
25645 return resultobj;
25646 fail:
25647 return NULL;
25648 }
25649
25650
25651 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
25652 PyObject *resultobj;
25653 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25654 PyObject * obj0 = 0 ;
25655 char *kwnames[] = {
25656 (char *) "self", NULL
25657 };
25658
25659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
25660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25661 if (SWIG_arg_fail(1)) SWIG_fail;
25662 {
25663 PyThreadState* __tstate = wxPyBeginAllowThreads();
25664 (arg1)->ClearAll();
25665
25666 wxPyEndAllowThreads(__tstate);
25667 if (PyErr_Occurred()) SWIG_fail;
25668 }
25669 Py_INCREF(Py_None); resultobj = Py_None;
25670 return resultobj;
25671 fail:
25672 return NULL;
25673 }
25674
25675
25676 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25677 PyObject *resultobj;
25678 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25679 long arg2 ;
25680 wxTextCtrl *result;
25681 PyObject * obj0 = 0 ;
25682 PyObject * obj1 = 0 ;
25683 char *kwnames[] = {
25684 (char *) "self",(char *) "item", NULL
25685 };
25686
25687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25689 if (SWIG_arg_fail(1)) SWIG_fail;
25690 {
25691 arg2 = (long)(SWIG_As_long(obj1));
25692 if (SWIG_arg_fail(2)) SWIG_fail;
25693 }
25694 {
25695 PyThreadState* __tstate = wxPyBeginAllowThreads();
25696 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
25697
25698 wxPyEndAllowThreads(__tstate);
25699 if (PyErr_Occurred()) SWIG_fail;
25700 }
25701 {
25702 resultobj = wxPyMake_wxObject(result, 0);
25703 }
25704 return resultobj;
25705 fail:
25706 return NULL;
25707 }
25708
25709
25710 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
25711 PyObject *resultobj;
25712 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25713 bool arg2 ;
25714 bool result;
25715 PyObject * obj0 = 0 ;
25716 PyObject * obj1 = 0 ;
25717 char *kwnames[] = {
25718 (char *) "self",(char *) "cancel", NULL
25719 };
25720
25721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
25722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25723 if (SWIG_arg_fail(1)) SWIG_fail;
25724 {
25725 arg2 = (bool)(SWIG_As_bool(obj1));
25726 if (SWIG_arg_fail(2)) SWIG_fail;
25727 }
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 result = (bool)(arg1)->EndEditLabel(arg2);
25731
25732 wxPyEndAllowThreads(__tstate);
25733 if (PyErr_Occurred()) SWIG_fail;
25734 }
25735 {
25736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25737 }
25738 return resultobj;
25739 fail:
25740 return NULL;
25741 }
25742
25743
25744 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25745 PyObject *resultobj;
25746 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25747 long arg2 ;
25748 bool result;
25749 PyObject * obj0 = 0 ;
25750 PyObject * obj1 = 0 ;
25751 char *kwnames[] = {
25752 (char *) "self",(char *) "item", NULL
25753 };
25754
25755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25757 if (SWIG_arg_fail(1)) SWIG_fail;
25758 {
25759 arg2 = (long)(SWIG_As_long(obj1));
25760 if (SWIG_arg_fail(2)) SWIG_fail;
25761 }
25762 {
25763 PyThreadState* __tstate = wxPyBeginAllowThreads();
25764 result = (bool)(arg1)->EnsureVisible(arg2);
25765
25766 wxPyEndAllowThreads(__tstate);
25767 if (PyErr_Occurred()) SWIG_fail;
25768 }
25769 {
25770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25771 }
25772 return resultobj;
25773 fail:
25774 return NULL;
25775 }
25776
25777
25778 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
25779 PyObject *resultobj;
25780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25781 long arg2 ;
25782 wxString *arg3 = 0 ;
25783 bool arg4 = (bool) false ;
25784 long result;
25785 bool temp3 = false ;
25786 PyObject * obj0 = 0 ;
25787 PyObject * obj1 = 0 ;
25788 PyObject * obj2 = 0 ;
25789 PyObject * obj3 = 0 ;
25790 char *kwnames[] = {
25791 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25792 };
25793
25794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25796 if (SWIG_arg_fail(1)) SWIG_fail;
25797 {
25798 arg2 = (long)(SWIG_As_long(obj1));
25799 if (SWIG_arg_fail(2)) SWIG_fail;
25800 }
25801 {
25802 arg3 = wxString_in_helper(obj2);
25803 if (arg3 == NULL) SWIG_fail;
25804 temp3 = true;
25805 }
25806 if (obj3) {
25807 {
25808 arg4 = (bool)(SWIG_As_bool(obj3));
25809 if (SWIG_arg_fail(4)) SWIG_fail;
25810 }
25811 }
25812 {
25813 PyThreadState* __tstate = wxPyBeginAllowThreads();
25814 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25815
25816 wxPyEndAllowThreads(__tstate);
25817 if (PyErr_Occurred()) SWIG_fail;
25818 }
25819 {
25820 resultobj = SWIG_From_long((long)(result));
25821 }
25822 {
25823 if (temp3)
25824 delete arg3;
25825 }
25826 return resultobj;
25827 fail:
25828 {
25829 if (temp3)
25830 delete arg3;
25831 }
25832 return NULL;
25833 }
25834
25835
25836 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
25837 PyObject *resultobj;
25838 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25839 long arg2 ;
25840 long arg3 ;
25841 long result;
25842 PyObject * obj0 = 0 ;
25843 PyObject * obj1 = 0 ;
25844 PyObject * obj2 = 0 ;
25845 char *kwnames[] = {
25846 (char *) "self",(char *) "start",(char *) "data", NULL
25847 };
25848
25849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25851 if (SWIG_arg_fail(1)) SWIG_fail;
25852 {
25853 arg2 = (long)(SWIG_As_long(obj1));
25854 if (SWIG_arg_fail(2)) SWIG_fail;
25855 }
25856 {
25857 arg3 = (long)(SWIG_As_long(obj2));
25858 if (SWIG_arg_fail(3)) SWIG_fail;
25859 }
25860 {
25861 PyThreadState* __tstate = wxPyBeginAllowThreads();
25862 result = (long)(arg1)->FindItem(arg2,arg3);
25863
25864 wxPyEndAllowThreads(__tstate);
25865 if (PyErr_Occurred()) SWIG_fail;
25866 }
25867 {
25868 resultobj = SWIG_From_long((long)(result));
25869 }
25870 return resultobj;
25871 fail:
25872 return NULL;
25873 }
25874
25875
25876 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
25877 PyObject *resultobj;
25878 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25879 long arg2 ;
25880 wxPoint *arg3 = 0 ;
25881 int arg4 ;
25882 long result;
25883 wxPoint temp3 ;
25884 PyObject * obj0 = 0 ;
25885 PyObject * obj1 = 0 ;
25886 PyObject * obj2 = 0 ;
25887 PyObject * obj3 = 0 ;
25888 char *kwnames[] = {
25889 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25890 };
25891
25892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25894 if (SWIG_arg_fail(1)) SWIG_fail;
25895 {
25896 arg2 = (long)(SWIG_As_long(obj1));
25897 if (SWIG_arg_fail(2)) SWIG_fail;
25898 }
25899 {
25900 arg3 = &temp3;
25901 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25902 }
25903 {
25904 arg4 = (int)(SWIG_As_int(obj3));
25905 if (SWIG_arg_fail(4)) SWIG_fail;
25906 }
25907 {
25908 PyThreadState* __tstate = wxPyBeginAllowThreads();
25909 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25910
25911 wxPyEndAllowThreads(__tstate);
25912 if (PyErr_Occurred()) SWIG_fail;
25913 }
25914 {
25915 resultobj = SWIG_From_long((long)(result));
25916 }
25917 return resultobj;
25918 fail:
25919 return NULL;
25920 }
25921
25922
25923 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
25924 PyObject *resultobj;
25925 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25926 wxPoint *arg2 = 0 ;
25927 int *arg3 = 0 ;
25928 long result;
25929 wxPoint temp2 ;
25930 int temp3 ;
25931 int res3 = 0 ;
25932 PyObject * obj0 = 0 ;
25933 PyObject * obj1 = 0 ;
25934 char *kwnames[] = {
25935 (char *) "self",(char *) "point", NULL
25936 };
25937
25938 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25941 if (SWIG_arg_fail(1)) SWIG_fail;
25942 {
25943 arg2 = &temp2;
25944 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25945 }
25946 {
25947 PyThreadState* __tstate = wxPyBeginAllowThreads();
25948 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25949
25950 wxPyEndAllowThreads(__tstate);
25951 if (PyErr_Occurred()) SWIG_fail;
25952 }
25953 {
25954 resultobj = SWIG_From_long((long)(result));
25955 }
25956 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25957 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25958 return resultobj;
25959 fail:
25960 return NULL;
25961 }
25962
25963
25964 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25965 PyObject *resultobj;
25966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25967 wxListItem *arg2 = 0 ;
25968 long result;
25969 PyObject * obj0 = 0 ;
25970 PyObject * obj1 = 0 ;
25971 char *kwnames[] = {
25972 (char *) "self",(char *) "info", NULL
25973 };
25974
25975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
25976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25977 if (SWIG_arg_fail(1)) SWIG_fail;
25978 {
25979 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25980 if (SWIG_arg_fail(2)) SWIG_fail;
25981 if (arg2 == NULL) {
25982 SWIG_null_ref("wxListItem");
25983 }
25984 if (SWIG_arg_fail(2)) SWIG_fail;
25985 }
25986 {
25987 PyThreadState* __tstate = wxPyBeginAllowThreads();
25988 result = (long)(arg1)->InsertItem(*arg2);
25989
25990 wxPyEndAllowThreads(__tstate);
25991 if (PyErr_Occurred()) SWIG_fail;
25992 }
25993 {
25994 resultobj = SWIG_From_long((long)(result));
25995 }
25996 return resultobj;
25997 fail:
25998 return NULL;
25999 }
26000
26001
26002 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26003 PyObject *resultobj;
26004 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26005 long arg2 ;
26006 wxString *arg3 = 0 ;
26007 long result;
26008 bool temp3 = false ;
26009 PyObject * obj0 = 0 ;
26010 PyObject * obj1 = 0 ;
26011 PyObject * obj2 = 0 ;
26012 char *kwnames[] = {
26013 (char *) "self",(char *) "index",(char *) "label", NULL
26014 };
26015
26016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26018 if (SWIG_arg_fail(1)) SWIG_fail;
26019 {
26020 arg2 = (long)(SWIG_As_long(obj1));
26021 if (SWIG_arg_fail(2)) SWIG_fail;
26022 }
26023 {
26024 arg3 = wxString_in_helper(obj2);
26025 if (arg3 == NULL) SWIG_fail;
26026 temp3 = true;
26027 }
26028 {
26029 PyThreadState* __tstate = wxPyBeginAllowThreads();
26030 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
26031
26032 wxPyEndAllowThreads(__tstate);
26033 if (PyErr_Occurred()) SWIG_fail;
26034 }
26035 {
26036 resultobj = SWIG_From_long((long)(result));
26037 }
26038 {
26039 if (temp3)
26040 delete arg3;
26041 }
26042 return resultobj;
26043 fail:
26044 {
26045 if (temp3)
26046 delete arg3;
26047 }
26048 return NULL;
26049 }
26050
26051
26052 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
26053 PyObject *resultobj;
26054 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26055 long arg2 ;
26056 int arg3 ;
26057 long result;
26058 PyObject * obj0 = 0 ;
26059 PyObject * obj1 = 0 ;
26060 PyObject * obj2 = 0 ;
26061 char *kwnames[] = {
26062 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26063 };
26064
26065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26067 if (SWIG_arg_fail(1)) SWIG_fail;
26068 {
26069 arg2 = (long)(SWIG_As_long(obj1));
26070 if (SWIG_arg_fail(2)) SWIG_fail;
26071 }
26072 {
26073 arg3 = (int)(SWIG_As_int(obj2));
26074 if (SWIG_arg_fail(3)) SWIG_fail;
26075 }
26076 {
26077 PyThreadState* __tstate = wxPyBeginAllowThreads();
26078 result = (long)(arg1)->InsertItem(arg2,arg3);
26079
26080 wxPyEndAllowThreads(__tstate);
26081 if (PyErr_Occurred()) SWIG_fail;
26082 }
26083 {
26084 resultobj = SWIG_From_long((long)(result));
26085 }
26086 return resultobj;
26087 fail:
26088 return NULL;
26089 }
26090
26091
26092 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
26093 PyObject *resultobj;
26094 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26095 long arg2 ;
26096 wxString *arg3 = 0 ;
26097 int arg4 ;
26098 long result;
26099 bool temp3 = false ;
26100 PyObject * obj0 = 0 ;
26101 PyObject * obj1 = 0 ;
26102 PyObject * obj2 = 0 ;
26103 PyObject * obj3 = 0 ;
26104 char *kwnames[] = {
26105 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26106 };
26107
26108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26110 if (SWIG_arg_fail(1)) SWIG_fail;
26111 {
26112 arg2 = (long)(SWIG_As_long(obj1));
26113 if (SWIG_arg_fail(2)) SWIG_fail;
26114 }
26115 {
26116 arg3 = wxString_in_helper(obj2);
26117 if (arg3 == NULL) SWIG_fail;
26118 temp3 = true;
26119 }
26120 {
26121 arg4 = (int)(SWIG_As_int(obj3));
26122 if (SWIG_arg_fail(4)) SWIG_fail;
26123 }
26124 {
26125 PyThreadState* __tstate = wxPyBeginAllowThreads();
26126 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
26127
26128 wxPyEndAllowThreads(__tstate);
26129 if (PyErr_Occurred()) SWIG_fail;
26130 }
26131 {
26132 resultobj = SWIG_From_long((long)(result));
26133 }
26134 {
26135 if (temp3)
26136 delete arg3;
26137 }
26138 return resultobj;
26139 fail:
26140 {
26141 if (temp3)
26142 delete arg3;
26143 }
26144 return NULL;
26145 }
26146
26147
26148 static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
26149 PyObject *resultobj;
26150 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26151 long arg2 ;
26152 wxListItem *arg3 = 0 ;
26153 long result;
26154 PyObject * obj0 = 0 ;
26155 PyObject * obj1 = 0 ;
26156 PyObject * obj2 = 0 ;
26157 char *kwnames[] = {
26158 (char *) "self",(char *) "col",(char *) "info", NULL
26159 };
26160
26161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26163 if (SWIG_arg_fail(1)) SWIG_fail;
26164 {
26165 arg2 = (long)(SWIG_As_long(obj1));
26166 if (SWIG_arg_fail(2)) SWIG_fail;
26167 }
26168 {
26169 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26170 if (SWIG_arg_fail(3)) SWIG_fail;
26171 if (arg3 == NULL) {
26172 SWIG_null_ref("wxListItem");
26173 }
26174 if (SWIG_arg_fail(3)) SWIG_fail;
26175 }
26176 {
26177 PyThreadState* __tstate = wxPyBeginAllowThreads();
26178 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26179
26180 wxPyEndAllowThreads(__tstate);
26181 if (PyErr_Occurred()) SWIG_fail;
26182 }
26183 {
26184 resultobj = SWIG_From_long((long)(result));
26185 }
26186 return resultobj;
26187 fail:
26188 return NULL;
26189 }
26190
26191
26192 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
26193 PyObject *resultobj;
26194 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26195 long arg2 ;
26196 wxString *arg3 = 0 ;
26197 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26198 int arg5 = (int) -1 ;
26199 long result;
26200 bool temp3 = false ;
26201 PyObject * obj0 = 0 ;
26202 PyObject * obj1 = 0 ;
26203 PyObject * obj2 = 0 ;
26204 PyObject * obj3 = 0 ;
26205 PyObject * obj4 = 0 ;
26206 char *kwnames[] = {
26207 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26208 };
26209
26210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail;
26213 {
26214 arg2 = (long)(SWIG_As_long(obj1));
26215 if (SWIG_arg_fail(2)) SWIG_fail;
26216 }
26217 {
26218 arg3 = wxString_in_helper(obj2);
26219 if (arg3 == NULL) SWIG_fail;
26220 temp3 = true;
26221 }
26222 if (obj3) {
26223 {
26224 arg4 = (int)(SWIG_As_int(obj3));
26225 if (SWIG_arg_fail(4)) SWIG_fail;
26226 }
26227 }
26228 if (obj4) {
26229 {
26230 arg5 = (int)(SWIG_As_int(obj4));
26231 if (SWIG_arg_fail(5)) SWIG_fail;
26232 }
26233 }
26234 {
26235 PyThreadState* __tstate = wxPyBeginAllowThreads();
26236 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26237
26238 wxPyEndAllowThreads(__tstate);
26239 if (PyErr_Occurred()) SWIG_fail;
26240 }
26241 {
26242 resultobj = SWIG_From_long((long)(result));
26243 }
26244 {
26245 if (temp3)
26246 delete arg3;
26247 }
26248 return resultobj;
26249 fail:
26250 {
26251 if (temp3)
26252 delete arg3;
26253 }
26254 return NULL;
26255 }
26256
26257
26258 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
26259 PyObject *resultobj;
26260 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26261 long arg2 ;
26262 PyObject * obj0 = 0 ;
26263 PyObject * obj1 = 0 ;
26264 char *kwnames[] = {
26265 (char *) "self",(char *) "count", NULL
26266 };
26267
26268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
26269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26270 if (SWIG_arg_fail(1)) SWIG_fail;
26271 {
26272 arg2 = (long)(SWIG_As_long(obj1));
26273 if (SWIG_arg_fail(2)) SWIG_fail;
26274 }
26275 {
26276 PyThreadState* __tstate = wxPyBeginAllowThreads();
26277 (arg1)->SetItemCount(arg2);
26278
26279 wxPyEndAllowThreads(__tstate);
26280 if (PyErr_Occurred()) SWIG_fail;
26281 }
26282 Py_INCREF(Py_None); resultobj = Py_None;
26283 return resultobj;
26284 fail:
26285 return NULL;
26286 }
26287
26288
26289 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
26290 PyObject *resultobj;
26291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26292 int arg2 ;
26293 int arg3 ;
26294 bool result;
26295 PyObject * obj0 = 0 ;
26296 PyObject * obj1 = 0 ;
26297 PyObject * obj2 = 0 ;
26298 char *kwnames[] = {
26299 (char *) "self",(char *) "dx",(char *) "dy", NULL
26300 };
26301
26302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26304 if (SWIG_arg_fail(1)) SWIG_fail;
26305 {
26306 arg2 = (int)(SWIG_As_int(obj1));
26307 if (SWIG_arg_fail(2)) SWIG_fail;
26308 }
26309 {
26310 arg3 = (int)(SWIG_As_int(obj2));
26311 if (SWIG_arg_fail(3)) SWIG_fail;
26312 }
26313 {
26314 PyThreadState* __tstate = wxPyBeginAllowThreads();
26315 result = (bool)(arg1)->ScrollList(arg2,arg3);
26316
26317 wxPyEndAllowThreads(__tstate);
26318 if (PyErr_Occurred()) SWIG_fail;
26319 }
26320 {
26321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26322 }
26323 return resultobj;
26324 fail:
26325 return NULL;
26326 }
26327
26328
26329 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26330 PyObject *resultobj;
26331 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26332 long arg2 ;
26333 wxColour *arg3 = 0 ;
26334 wxColour temp3 ;
26335 PyObject * obj0 = 0 ;
26336 PyObject * obj1 = 0 ;
26337 PyObject * obj2 = 0 ;
26338 char *kwnames[] = {
26339 (char *) "self",(char *) "item",(char *) "col", NULL
26340 };
26341
26342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26344 if (SWIG_arg_fail(1)) SWIG_fail;
26345 {
26346 arg2 = (long)(SWIG_As_long(obj1));
26347 if (SWIG_arg_fail(2)) SWIG_fail;
26348 }
26349 {
26350 arg3 = &temp3;
26351 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26352 }
26353 {
26354 PyThreadState* __tstate = wxPyBeginAllowThreads();
26355 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26356
26357 wxPyEndAllowThreads(__tstate);
26358 if (PyErr_Occurred()) SWIG_fail;
26359 }
26360 Py_INCREF(Py_None); resultobj = Py_None;
26361 return resultobj;
26362 fail:
26363 return NULL;
26364 }
26365
26366
26367 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
26368 PyObject *resultobj;
26369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26370 long arg2 ;
26371 wxColour result;
26372 PyObject * obj0 = 0 ;
26373 PyObject * obj1 = 0 ;
26374 char *kwnames[] = {
26375 (char *) "self",(char *) "item", NULL
26376 };
26377
26378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
26379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26380 if (SWIG_arg_fail(1)) SWIG_fail;
26381 {
26382 arg2 = (long)(SWIG_As_long(obj1));
26383 if (SWIG_arg_fail(2)) SWIG_fail;
26384 }
26385 {
26386 PyThreadState* __tstate = wxPyBeginAllowThreads();
26387 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26388
26389 wxPyEndAllowThreads(__tstate);
26390 if (PyErr_Occurred()) SWIG_fail;
26391 }
26392 {
26393 wxColour * resultptr;
26394 resultptr = new wxColour((wxColour &)(result));
26395 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26396 }
26397 return resultobj;
26398 fail:
26399 return NULL;
26400 }
26401
26402
26403 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26404 PyObject *resultobj;
26405 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26406 long arg2 ;
26407 wxColour *arg3 = 0 ;
26408 wxColour temp3 ;
26409 PyObject * obj0 = 0 ;
26410 PyObject * obj1 = 0 ;
26411 PyObject * obj2 = 0 ;
26412 char *kwnames[] = {
26413 (char *) "self",(char *) "item",(char *) "col", NULL
26414 };
26415
26416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = (long)(SWIG_As_long(obj1));
26421 if (SWIG_arg_fail(2)) SWIG_fail;
26422 }
26423 {
26424 arg3 = &temp3;
26425 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26426 }
26427 {
26428 PyThreadState* __tstate = wxPyBeginAllowThreads();
26429 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26430
26431 wxPyEndAllowThreads(__tstate);
26432 if (PyErr_Occurred()) SWIG_fail;
26433 }
26434 Py_INCREF(Py_None); resultobj = Py_None;
26435 return resultobj;
26436 fail:
26437 return NULL;
26438 }
26439
26440
26441 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26442 PyObject *resultobj;
26443 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26444 long arg2 ;
26445 wxColour result;
26446 PyObject * obj0 = 0 ;
26447 PyObject * obj1 = 0 ;
26448 char *kwnames[] = {
26449 (char *) "self",(char *) "item", NULL
26450 };
26451
26452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26454 if (SWIG_arg_fail(1)) SWIG_fail;
26455 {
26456 arg2 = (long)(SWIG_As_long(obj1));
26457 if (SWIG_arg_fail(2)) SWIG_fail;
26458 }
26459 {
26460 PyThreadState* __tstate = wxPyBeginAllowThreads();
26461 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26462
26463 wxPyEndAllowThreads(__tstate);
26464 if (PyErr_Occurred()) SWIG_fail;
26465 }
26466 {
26467 wxColour * resultptr;
26468 resultptr = new wxColour((wxColour &)(result));
26469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26470 }
26471 return resultobj;
26472 fail:
26473 return NULL;
26474 }
26475
26476
26477 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
26478 PyObject *resultobj;
26479 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26480 PyObject *arg2 = (PyObject *) 0 ;
26481 bool result;
26482 PyObject * obj0 = 0 ;
26483 PyObject * obj1 = 0 ;
26484 char *kwnames[] = {
26485 (char *) "self",(char *) "func", NULL
26486 };
26487
26488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
26489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26490 if (SWIG_arg_fail(1)) SWIG_fail;
26491 arg2 = obj1;
26492 {
26493 PyThreadState* __tstate = wxPyBeginAllowThreads();
26494 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26495
26496 wxPyEndAllowThreads(__tstate);
26497 if (PyErr_Occurred()) SWIG_fail;
26498 }
26499 {
26500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26501 }
26502 return resultobj;
26503 fail:
26504 return NULL;
26505 }
26506
26507
26508 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
26509 PyObject *resultobj;
26510 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26511 wxWindow *result;
26512 PyObject * obj0 = 0 ;
26513 char *kwnames[] = {
26514 (char *) "self", NULL
26515 };
26516
26517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
26518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26519 if (SWIG_arg_fail(1)) SWIG_fail;
26520 {
26521 PyThreadState* __tstate = wxPyBeginAllowThreads();
26522 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26523
26524 wxPyEndAllowThreads(__tstate);
26525 if (PyErr_Occurred()) SWIG_fail;
26526 }
26527 {
26528 resultobj = wxPyMake_wxObject(result, 0);
26529 }
26530 return resultobj;
26531 fail:
26532 return NULL;
26533 }
26534
26535
26536 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
26537 PyObject *resultobj;
26538 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26539 wxVisualAttributes result;
26540 PyObject * obj0 = 0 ;
26541 char *kwnames[] = {
26542 (char *) "variant", NULL
26543 };
26544
26545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26546 if (obj0) {
26547 {
26548 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26549 if (SWIG_arg_fail(1)) SWIG_fail;
26550 }
26551 }
26552 {
26553 if (!wxPyCheckForApp()) SWIG_fail;
26554 PyThreadState* __tstate = wxPyBeginAllowThreads();
26555 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26556
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
26560 {
26561 wxVisualAttributes * resultptr;
26562 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
26563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26564 }
26565 return resultobj;
26566 fail:
26567 return NULL;
26568 }
26569
26570
26571 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
26572 PyObject *obj;
26573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26574 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26575 Py_INCREF(obj);
26576 return Py_BuildValue((char *)"");
26577 }
26578 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
26579 PyObject *resultobj;
26580 wxWindow *arg1 = (wxWindow *) 0 ;
26581 int arg2 = (int) -1 ;
26582 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26583 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26584 wxSize const &arg4_defvalue = wxDefaultSize ;
26585 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26586 long arg5 = (long) wxLC_REPORT ;
26587 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26588 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26589 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26590 wxString *arg7 = (wxString *) &arg7_defvalue ;
26591 wxListView *result;
26592 wxPoint temp3 ;
26593 wxSize temp4 ;
26594 bool temp7 = false ;
26595 PyObject * obj0 = 0 ;
26596 PyObject * obj1 = 0 ;
26597 PyObject * obj2 = 0 ;
26598 PyObject * obj3 = 0 ;
26599 PyObject * obj4 = 0 ;
26600 PyObject * obj5 = 0 ;
26601 PyObject * obj6 = 0 ;
26602 char *kwnames[] = {
26603 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26604 };
26605
26606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26608 if (SWIG_arg_fail(1)) SWIG_fail;
26609 if (obj1) {
26610 {
26611 arg2 = (int)(SWIG_As_int(obj1));
26612 if (SWIG_arg_fail(2)) SWIG_fail;
26613 }
26614 }
26615 if (obj2) {
26616 {
26617 arg3 = &temp3;
26618 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26619 }
26620 }
26621 if (obj3) {
26622 {
26623 arg4 = &temp4;
26624 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26625 }
26626 }
26627 if (obj4) {
26628 {
26629 arg5 = (long)(SWIG_As_long(obj4));
26630 if (SWIG_arg_fail(5)) SWIG_fail;
26631 }
26632 }
26633 if (obj5) {
26634 {
26635 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26636 if (SWIG_arg_fail(6)) SWIG_fail;
26637 if (arg6 == NULL) {
26638 SWIG_null_ref("wxValidator");
26639 }
26640 if (SWIG_arg_fail(6)) SWIG_fail;
26641 }
26642 }
26643 if (obj6) {
26644 {
26645 arg7 = wxString_in_helper(obj6);
26646 if (arg7 == NULL) SWIG_fail;
26647 temp7 = true;
26648 }
26649 }
26650 {
26651 if (!wxPyCheckForApp()) SWIG_fail;
26652 PyThreadState* __tstate = wxPyBeginAllowThreads();
26653 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26654
26655 wxPyEndAllowThreads(__tstate);
26656 if (PyErr_Occurred()) SWIG_fail;
26657 }
26658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26659 {
26660 if (temp7)
26661 delete arg7;
26662 }
26663 return resultobj;
26664 fail:
26665 {
26666 if (temp7)
26667 delete arg7;
26668 }
26669 return NULL;
26670 }
26671
26672
26673 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
26674 PyObject *resultobj;
26675 wxListView *result;
26676 char *kwnames[] = {
26677 NULL
26678 };
26679
26680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26681 {
26682 if (!wxPyCheckForApp()) SWIG_fail;
26683 PyThreadState* __tstate = wxPyBeginAllowThreads();
26684 result = (wxListView *)new wxListView();
26685
26686 wxPyEndAllowThreads(__tstate);
26687 if (PyErr_Occurred()) SWIG_fail;
26688 }
26689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26690 return resultobj;
26691 fail:
26692 return NULL;
26693 }
26694
26695
26696 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26697 PyObject *resultobj;
26698 wxListView *arg1 = (wxListView *) 0 ;
26699 wxWindow *arg2 = (wxWindow *) 0 ;
26700 int arg3 = (int) -1 ;
26701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26703 wxSize const &arg5_defvalue = wxDefaultSize ;
26704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26705 long arg6 = (long) wxLC_REPORT ;
26706 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26707 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26708 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26709 wxString *arg8 = (wxString *) &arg8_defvalue ;
26710 bool result;
26711 wxPoint temp4 ;
26712 wxSize temp5 ;
26713 bool temp8 = false ;
26714 PyObject * obj0 = 0 ;
26715 PyObject * obj1 = 0 ;
26716 PyObject * obj2 = 0 ;
26717 PyObject * obj3 = 0 ;
26718 PyObject * obj4 = 0 ;
26719 PyObject * obj5 = 0 ;
26720 PyObject * obj6 = 0 ;
26721 PyObject * obj7 = 0 ;
26722 char *kwnames[] = {
26723 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26724 };
26725
26726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
26727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26728 if (SWIG_arg_fail(1)) SWIG_fail;
26729 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26730 if (SWIG_arg_fail(2)) SWIG_fail;
26731 if (obj2) {
26732 {
26733 arg3 = (int)(SWIG_As_int(obj2));
26734 if (SWIG_arg_fail(3)) SWIG_fail;
26735 }
26736 }
26737 if (obj3) {
26738 {
26739 arg4 = &temp4;
26740 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26741 }
26742 }
26743 if (obj4) {
26744 {
26745 arg5 = &temp5;
26746 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26747 }
26748 }
26749 if (obj5) {
26750 {
26751 arg6 = (long)(SWIG_As_long(obj5));
26752 if (SWIG_arg_fail(6)) SWIG_fail;
26753 }
26754 }
26755 if (obj6) {
26756 {
26757 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26758 if (SWIG_arg_fail(7)) SWIG_fail;
26759 if (arg7 == NULL) {
26760 SWIG_null_ref("wxValidator");
26761 }
26762 if (SWIG_arg_fail(7)) SWIG_fail;
26763 }
26764 }
26765 if (obj7) {
26766 {
26767 arg8 = wxString_in_helper(obj7);
26768 if (arg8 == NULL) SWIG_fail;
26769 temp8 = true;
26770 }
26771 }
26772 {
26773 PyThreadState* __tstate = wxPyBeginAllowThreads();
26774 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26775
26776 wxPyEndAllowThreads(__tstate);
26777 if (PyErr_Occurred()) SWIG_fail;
26778 }
26779 {
26780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26781 }
26782 {
26783 if (temp8)
26784 delete arg8;
26785 }
26786 return resultobj;
26787 fail:
26788 {
26789 if (temp8)
26790 delete arg8;
26791 }
26792 return NULL;
26793 }
26794
26795
26796 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
26797 PyObject *resultobj;
26798 wxListView *arg1 = (wxListView *) 0 ;
26799 long arg2 ;
26800 bool arg3 = (bool) true ;
26801 PyObject * obj0 = 0 ;
26802 PyObject * obj1 = 0 ;
26803 PyObject * obj2 = 0 ;
26804 char *kwnames[] = {
26805 (char *) "self",(char *) "n",(char *) "on", NULL
26806 };
26807
26808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
26809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26810 if (SWIG_arg_fail(1)) SWIG_fail;
26811 {
26812 arg2 = (long)(SWIG_As_long(obj1));
26813 if (SWIG_arg_fail(2)) SWIG_fail;
26814 }
26815 if (obj2) {
26816 {
26817 arg3 = (bool)(SWIG_As_bool(obj2));
26818 if (SWIG_arg_fail(3)) SWIG_fail;
26819 }
26820 }
26821 {
26822 PyThreadState* __tstate = wxPyBeginAllowThreads();
26823 (arg1)->Select(arg2,arg3);
26824
26825 wxPyEndAllowThreads(__tstate);
26826 if (PyErr_Occurred()) SWIG_fail;
26827 }
26828 Py_INCREF(Py_None); resultobj = Py_None;
26829 return resultobj;
26830 fail:
26831 return NULL;
26832 }
26833
26834
26835 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
26836 PyObject *resultobj;
26837 wxListView *arg1 = (wxListView *) 0 ;
26838 long arg2 ;
26839 PyObject * obj0 = 0 ;
26840 PyObject * obj1 = 0 ;
26841 char *kwnames[] = {
26842 (char *) "self",(char *) "index", NULL
26843 };
26844
26845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
26846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26847 if (SWIG_arg_fail(1)) SWIG_fail;
26848 {
26849 arg2 = (long)(SWIG_As_long(obj1));
26850 if (SWIG_arg_fail(2)) SWIG_fail;
26851 }
26852 {
26853 PyThreadState* __tstate = wxPyBeginAllowThreads();
26854 (arg1)->Focus(arg2);
26855
26856 wxPyEndAllowThreads(__tstate);
26857 if (PyErr_Occurred()) SWIG_fail;
26858 }
26859 Py_INCREF(Py_None); resultobj = Py_None;
26860 return resultobj;
26861 fail:
26862 return NULL;
26863 }
26864
26865
26866 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
26867 PyObject *resultobj;
26868 wxListView *arg1 = (wxListView *) 0 ;
26869 long result;
26870 PyObject * obj0 = 0 ;
26871 char *kwnames[] = {
26872 (char *) "self", NULL
26873 };
26874
26875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
26876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26877 if (SWIG_arg_fail(1)) SWIG_fail;
26878 {
26879 PyThreadState* __tstate = wxPyBeginAllowThreads();
26880 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26881
26882 wxPyEndAllowThreads(__tstate);
26883 if (PyErr_Occurred()) SWIG_fail;
26884 }
26885 {
26886 resultobj = SWIG_From_long((long)(result));
26887 }
26888 return resultobj;
26889 fail:
26890 return NULL;
26891 }
26892
26893
26894 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26895 PyObject *resultobj;
26896 wxListView *arg1 = (wxListView *) 0 ;
26897 long arg2 ;
26898 long result;
26899 PyObject * obj0 = 0 ;
26900 PyObject * obj1 = 0 ;
26901 char *kwnames[] = {
26902 (char *) "self",(char *) "item", NULL
26903 };
26904
26905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
26906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26907 if (SWIG_arg_fail(1)) SWIG_fail;
26908 {
26909 arg2 = (long)(SWIG_As_long(obj1));
26910 if (SWIG_arg_fail(2)) SWIG_fail;
26911 }
26912 {
26913 PyThreadState* __tstate = wxPyBeginAllowThreads();
26914 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26915
26916 wxPyEndAllowThreads(__tstate);
26917 if (PyErr_Occurred()) SWIG_fail;
26918 }
26919 {
26920 resultobj = SWIG_From_long((long)(result));
26921 }
26922 return resultobj;
26923 fail:
26924 return NULL;
26925 }
26926
26927
26928 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26929 PyObject *resultobj;
26930 wxListView *arg1 = (wxListView *) 0 ;
26931 long result;
26932 PyObject * obj0 = 0 ;
26933 char *kwnames[] = {
26934 (char *) "self", NULL
26935 };
26936
26937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
26938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26939 if (SWIG_arg_fail(1)) SWIG_fail;
26940 {
26941 PyThreadState* __tstate = wxPyBeginAllowThreads();
26942 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26943
26944 wxPyEndAllowThreads(__tstate);
26945 if (PyErr_Occurred()) SWIG_fail;
26946 }
26947 {
26948 resultobj = SWIG_From_long((long)(result));
26949 }
26950 return resultobj;
26951 fail:
26952 return NULL;
26953 }
26954
26955
26956 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
26957 PyObject *resultobj;
26958 wxListView *arg1 = (wxListView *) 0 ;
26959 long arg2 ;
26960 bool result;
26961 PyObject * obj0 = 0 ;
26962 PyObject * obj1 = 0 ;
26963 char *kwnames[] = {
26964 (char *) "self",(char *) "index", NULL
26965 };
26966
26967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26969 if (SWIG_arg_fail(1)) SWIG_fail;
26970 {
26971 arg2 = (long)(SWIG_As_long(obj1));
26972 if (SWIG_arg_fail(2)) SWIG_fail;
26973 }
26974 {
26975 PyThreadState* __tstate = wxPyBeginAllowThreads();
26976 result = (bool)(arg1)->IsSelected(arg2);
26977
26978 wxPyEndAllowThreads(__tstate);
26979 if (PyErr_Occurred()) SWIG_fail;
26980 }
26981 {
26982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26983 }
26984 return resultobj;
26985 fail:
26986 return NULL;
26987 }
26988
26989
26990 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
26991 PyObject *resultobj;
26992 wxListView *arg1 = (wxListView *) 0 ;
26993 int arg2 ;
26994 int arg3 ;
26995 PyObject * obj0 = 0 ;
26996 PyObject * obj1 = 0 ;
26997 PyObject * obj2 = 0 ;
26998 char *kwnames[] = {
26999 (char *) "self",(char *) "col",(char *) "image", NULL
27000 };
27001
27002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
27003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27004 if (SWIG_arg_fail(1)) SWIG_fail;
27005 {
27006 arg2 = (int)(SWIG_As_int(obj1));
27007 if (SWIG_arg_fail(2)) SWIG_fail;
27008 }
27009 {
27010 arg3 = (int)(SWIG_As_int(obj2));
27011 if (SWIG_arg_fail(3)) SWIG_fail;
27012 }
27013 {
27014 PyThreadState* __tstate = wxPyBeginAllowThreads();
27015 (arg1)->SetColumnImage(arg2,arg3);
27016
27017 wxPyEndAllowThreads(__tstate);
27018 if (PyErr_Occurred()) SWIG_fail;
27019 }
27020 Py_INCREF(Py_None); resultobj = Py_None;
27021 return resultobj;
27022 fail:
27023 return NULL;
27024 }
27025
27026
27027 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
27028 PyObject *resultobj;
27029 wxListView *arg1 = (wxListView *) 0 ;
27030 int arg2 ;
27031 PyObject * obj0 = 0 ;
27032 PyObject * obj1 = 0 ;
27033 char *kwnames[] = {
27034 (char *) "self",(char *) "col", NULL
27035 };
27036
27037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
27038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
27039 if (SWIG_arg_fail(1)) SWIG_fail;
27040 {
27041 arg2 = (int)(SWIG_As_int(obj1));
27042 if (SWIG_arg_fail(2)) SWIG_fail;
27043 }
27044 {
27045 PyThreadState* __tstate = wxPyBeginAllowThreads();
27046 (arg1)->ClearColumnImage(arg2);
27047
27048 wxPyEndAllowThreads(__tstate);
27049 if (PyErr_Occurred()) SWIG_fail;
27050 }
27051 Py_INCREF(Py_None); resultobj = Py_None;
27052 return resultobj;
27053 fail:
27054 return NULL;
27055 }
27056
27057
27058 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
27059 PyObject *obj;
27060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27061 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
27062 Py_INCREF(obj);
27063 return Py_BuildValue((char *)"");
27064 }
27065 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
27066 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
27067 return 1;
27068 }
27069
27070
27071 static PyObject *_wrap_TreeCtrlNameStr_get(void) {
27072 PyObject *pyobj;
27073
27074 {
27075 #if wxUSE_UNICODE
27076 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27077 #else
27078 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
27079 #endif
27080 }
27081 return pyobj;
27082 }
27083
27084
27085 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27086 PyObject *resultobj;
27087 wxTreeItemId *result;
27088 char *kwnames[] = {
27089 NULL
27090 };
27091
27092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
27093 {
27094 PyThreadState* __tstate = wxPyBeginAllowThreads();
27095 result = (wxTreeItemId *)new wxTreeItemId();
27096
27097 wxPyEndAllowThreads(__tstate);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
27101 return resultobj;
27102 fail:
27103 return NULL;
27104 }
27105
27106
27107 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
27108 PyObject *resultobj;
27109 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27110 PyObject * obj0 = 0 ;
27111 char *kwnames[] = {
27112 (char *) "self", NULL
27113 };
27114
27115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
27116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27117 if (SWIG_arg_fail(1)) SWIG_fail;
27118 {
27119 PyThreadState* __tstate = wxPyBeginAllowThreads();
27120 delete arg1;
27121
27122 wxPyEndAllowThreads(__tstate);
27123 if (PyErr_Occurred()) SWIG_fail;
27124 }
27125 Py_INCREF(Py_None); resultobj = Py_None;
27126 return resultobj;
27127 fail:
27128 return NULL;
27129 }
27130
27131
27132 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27133 PyObject *resultobj;
27134 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27135 bool result;
27136 PyObject * obj0 = 0 ;
27137 char *kwnames[] = {
27138 (char *) "self", NULL
27139 };
27140
27141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
27142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27143 if (SWIG_arg_fail(1)) SWIG_fail;
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 {
27152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27153 }
27154 return resultobj;
27155 fail:
27156 return NULL;
27157 }
27158
27159
27160 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27161 PyObject *resultobj;
27162 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27163 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27164 bool result;
27165 PyObject * obj0 = 0 ;
27166 PyObject * obj1 = 0 ;
27167 char *kwnames[] = {
27168 (char *) "self",(char *) "other", NULL
27169 };
27170
27171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
27172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27173 if (SWIG_arg_fail(1)) SWIG_fail;
27174 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27175 if (SWIG_arg_fail(2)) SWIG_fail;
27176 {
27177 PyThreadState* __tstate = wxPyBeginAllowThreads();
27178 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27179
27180 wxPyEndAllowThreads(__tstate);
27181 if (PyErr_Occurred()) SWIG_fail;
27182 }
27183 {
27184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27185 }
27186 return resultobj;
27187 fail:
27188 return NULL;
27189 }
27190
27191
27192 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27193 PyObject *resultobj;
27194 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27195 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27196 bool result;
27197 PyObject * obj0 = 0 ;
27198 PyObject * obj1 = 0 ;
27199 char *kwnames[] = {
27200 (char *) "self",(char *) "other", NULL
27201 };
27202
27203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
27204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27205 if (SWIG_arg_fail(1)) SWIG_fail;
27206 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27207 if (SWIG_arg_fail(2)) SWIG_fail;
27208 {
27209 PyThreadState* __tstate = wxPyBeginAllowThreads();
27210 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27211
27212 wxPyEndAllowThreads(__tstate);
27213 if (PyErr_Occurred()) SWIG_fail;
27214 }
27215 {
27216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27217 }
27218 return resultobj;
27219 fail:
27220 return NULL;
27221 }
27222
27223
27224 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
27225 PyObject *resultobj;
27226 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27227 void *arg2 = (void *) 0 ;
27228 PyObject * obj0 = 0 ;
27229 PyObject * obj1 = 0 ;
27230 char *kwnames[] = {
27231 (char *) "self",(char *) "m_pItem", NULL
27232 };
27233
27234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
27235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27236 if (SWIG_arg_fail(1)) SWIG_fail;
27237 {
27238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27239 SWIG_arg_fail(2);SWIG_fail;
27240 }
27241 }
27242 if (arg1) (arg1)->m_pItem = arg2;
27243
27244 Py_INCREF(Py_None); resultobj = Py_None;
27245 return resultobj;
27246 fail:
27247 return NULL;
27248 }
27249
27250
27251 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
27252 PyObject *resultobj;
27253 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27254 void *result;
27255 PyObject * obj0 = 0 ;
27256 char *kwnames[] = {
27257 (char *) "self", NULL
27258 };
27259
27260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
27261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27262 if (SWIG_arg_fail(1)) SWIG_fail;
27263 result = (void *) ((arg1)->m_pItem);
27264
27265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27266 return resultobj;
27267 fail:
27268 return NULL;
27269 }
27270
27271
27272 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
27273 PyObject *obj;
27274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27275 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27276 Py_INCREF(obj);
27277 return Py_BuildValue((char *)"");
27278 }
27279 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
27280 PyObject *resultobj;
27281 PyObject *arg1 = (PyObject *) NULL ;
27282 wxPyTreeItemData *result;
27283 PyObject * obj0 = 0 ;
27284 char *kwnames[] = {
27285 (char *) "obj", NULL
27286 };
27287
27288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27289 if (obj0) {
27290 arg1 = obj0;
27291 }
27292 {
27293 PyThreadState* __tstate = wxPyBeginAllowThreads();
27294 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27295
27296 wxPyEndAllowThreads(__tstate);
27297 if (PyErr_Occurred()) SWIG_fail;
27298 }
27299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27300 return resultobj;
27301 fail:
27302 return NULL;
27303 }
27304
27305
27306 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27307 PyObject *resultobj;
27308 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27309 PyObject *result;
27310 PyObject * obj0 = 0 ;
27311 char *kwnames[] = {
27312 (char *) "self", NULL
27313 };
27314
27315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
27316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27317 if (SWIG_arg_fail(1)) SWIG_fail;
27318 {
27319 PyThreadState* __tstate = wxPyBeginAllowThreads();
27320 result = (PyObject *)(arg1)->GetData();
27321
27322 wxPyEndAllowThreads(__tstate);
27323 if (PyErr_Occurred()) SWIG_fail;
27324 }
27325 resultobj = result;
27326 return resultobj;
27327 fail:
27328 return NULL;
27329 }
27330
27331
27332 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27333 PyObject *resultobj;
27334 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27335 PyObject *arg2 = (PyObject *) 0 ;
27336 PyObject * obj0 = 0 ;
27337 PyObject * obj1 = 0 ;
27338 char *kwnames[] = {
27339 (char *) "self",(char *) "obj", NULL
27340 };
27341
27342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
27343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27344 if (SWIG_arg_fail(1)) SWIG_fail;
27345 arg2 = obj1;
27346 {
27347 PyThreadState* __tstate = wxPyBeginAllowThreads();
27348 (arg1)->SetData(arg2);
27349
27350 wxPyEndAllowThreads(__tstate);
27351 if (PyErr_Occurred()) SWIG_fail;
27352 }
27353 Py_INCREF(Py_None); resultobj = Py_None;
27354 return resultobj;
27355 fail:
27356 return NULL;
27357 }
27358
27359
27360 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
27361 PyObject *resultobj;
27362 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27363 wxTreeItemId *result;
27364 PyObject * obj0 = 0 ;
27365 char *kwnames[] = {
27366 (char *) "self", NULL
27367 };
27368
27369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
27370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27371 if (SWIG_arg_fail(1)) SWIG_fail;
27372 {
27373 PyThreadState* __tstate = wxPyBeginAllowThreads();
27374 {
27375 wxTreeItemId const &_result_ref = (arg1)->GetId();
27376 result = (wxTreeItemId *) &_result_ref;
27377 }
27378
27379 wxPyEndAllowThreads(__tstate);
27380 if (PyErr_Occurred()) SWIG_fail;
27381 }
27382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27383 return resultobj;
27384 fail:
27385 return NULL;
27386 }
27387
27388
27389 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
27390 PyObject *resultobj;
27391 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27392 wxTreeItemId *arg2 = 0 ;
27393 PyObject * obj0 = 0 ;
27394 PyObject * obj1 = 0 ;
27395 char *kwnames[] = {
27396 (char *) "self",(char *) "id", NULL
27397 };
27398
27399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
27400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27401 if (SWIG_arg_fail(1)) SWIG_fail;
27402 {
27403 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27404 if (SWIG_arg_fail(2)) SWIG_fail;
27405 if (arg2 == NULL) {
27406 SWIG_null_ref("wxTreeItemId");
27407 }
27408 if (SWIG_arg_fail(2)) SWIG_fail;
27409 }
27410 {
27411 PyThreadState* __tstate = wxPyBeginAllowThreads();
27412 (arg1)->SetId((wxTreeItemId const &)*arg2);
27413
27414 wxPyEndAllowThreads(__tstate);
27415 if (PyErr_Occurred()) SWIG_fail;
27416 }
27417 Py_INCREF(Py_None); resultobj = Py_None;
27418 return resultobj;
27419 fail:
27420 return NULL;
27421 }
27422
27423
27424 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
27425 PyObject *resultobj;
27426 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27427 PyObject * obj0 = 0 ;
27428 char *kwnames[] = {
27429 (char *) "self", NULL
27430 };
27431
27432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
27433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27434 if (SWIG_arg_fail(1)) SWIG_fail;
27435 {
27436 PyThreadState* __tstate = wxPyBeginAllowThreads();
27437 wxPyTreeItemData_Destroy(arg1);
27438
27439 wxPyEndAllowThreads(__tstate);
27440 if (PyErr_Occurred()) SWIG_fail;
27441 }
27442 Py_INCREF(Py_None); resultobj = Py_None;
27443 return resultobj;
27444 fail:
27445 return NULL;
27446 }
27447
27448
27449 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
27450 PyObject *obj;
27451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27452 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27453 Py_INCREF(obj);
27454 return Py_BuildValue((char *)"");
27455 }
27456 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27457 PyObject *resultobj;
27458 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27459 int arg2 = (int) 0 ;
27460 wxTreeEvent *result;
27461 PyObject * obj0 = 0 ;
27462 PyObject * obj1 = 0 ;
27463 char *kwnames[] = {
27464 (char *) "commandType",(char *) "id", NULL
27465 };
27466
27467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27468 if (obj0) {
27469 {
27470 arg1 = (wxEventType)(SWIG_As_int(obj0));
27471 if (SWIG_arg_fail(1)) SWIG_fail;
27472 }
27473 }
27474 if (obj1) {
27475 {
27476 arg2 = (int)(SWIG_As_int(obj1));
27477 if (SWIG_arg_fail(2)) SWIG_fail;
27478 }
27479 }
27480 {
27481 PyThreadState* __tstate = wxPyBeginAllowThreads();
27482 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27483
27484 wxPyEndAllowThreads(__tstate);
27485 if (PyErr_Occurred()) SWIG_fail;
27486 }
27487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27488 return resultobj;
27489 fail:
27490 return NULL;
27491 }
27492
27493
27494 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27495 PyObject *resultobj;
27496 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27497 wxTreeItemId result;
27498 PyObject * obj0 = 0 ;
27499 char *kwnames[] = {
27500 (char *) "self", NULL
27501 };
27502
27503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
27504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27505 if (SWIG_arg_fail(1)) SWIG_fail;
27506 {
27507 PyThreadState* __tstate = wxPyBeginAllowThreads();
27508 result = ((wxTreeEvent const *)arg1)->GetItem();
27509
27510 wxPyEndAllowThreads(__tstate);
27511 if (PyErr_Occurred()) SWIG_fail;
27512 }
27513 {
27514 wxTreeItemId * resultptr;
27515 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27517 }
27518 return resultobj;
27519 fail:
27520 return NULL;
27521 }
27522
27523
27524 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
27525 PyObject *resultobj;
27526 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27527 wxTreeItemId *arg2 = 0 ;
27528 PyObject * obj0 = 0 ;
27529 PyObject * obj1 = 0 ;
27530 char *kwnames[] = {
27531 (char *) "self",(char *) "item", NULL
27532 };
27533
27534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
27535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27536 if (SWIG_arg_fail(1)) SWIG_fail;
27537 {
27538 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27539 if (SWIG_arg_fail(2)) SWIG_fail;
27540 if (arg2 == NULL) {
27541 SWIG_null_ref("wxTreeItemId");
27542 }
27543 if (SWIG_arg_fail(2)) SWIG_fail;
27544 }
27545 {
27546 PyThreadState* __tstate = wxPyBeginAllowThreads();
27547 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27548
27549 wxPyEndAllowThreads(__tstate);
27550 if (PyErr_Occurred()) SWIG_fail;
27551 }
27552 Py_INCREF(Py_None); resultobj = Py_None;
27553 return resultobj;
27554 fail:
27555 return NULL;
27556 }
27557
27558
27559 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27560 PyObject *resultobj;
27561 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27562 wxTreeItemId result;
27563 PyObject * obj0 = 0 ;
27564 char *kwnames[] = {
27565 (char *) "self", NULL
27566 };
27567
27568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
27569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27570 if (SWIG_arg_fail(1)) SWIG_fail;
27571 {
27572 PyThreadState* __tstate = wxPyBeginAllowThreads();
27573 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27574
27575 wxPyEndAllowThreads(__tstate);
27576 if (PyErr_Occurred()) SWIG_fail;
27577 }
27578 {
27579 wxTreeItemId * resultptr;
27580 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
27581 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27582 }
27583 return resultobj;
27584 fail:
27585 return NULL;
27586 }
27587
27588
27589 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
27590 PyObject *resultobj;
27591 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27592 wxTreeItemId *arg2 = 0 ;
27593 PyObject * obj0 = 0 ;
27594 PyObject * obj1 = 0 ;
27595 char *kwnames[] = {
27596 (char *) "self",(char *) "item", NULL
27597 };
27598
27599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
27600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27601 if (SWIG_arg_fail(1)) SWIG_fail;
27602 {
27603 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27604 if (SWIG_arg_fail(2)) SWIG_fail;
27605 if (arg2 == NULL) {
27606 SWIG_null_ref("wxTreeItemId");
27607 }
27608 if (SWIG_arg_fail(2)) SWIG_fail;
27609 }
27610 {
27611 PyThreadState* __tstate = wxPyBeginAllowThreads();
27612 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27613
27614 wxPyEndAllowThreads(__tstate);
27615 if (PyErr_Occurred()) SWIG_fail;
27616 }
27617 Py_INCREF(Py_None); resultobj = Py_None;
27618 return resultobj;
27619 fail:
27620 return NULL;
27621 }
27622
27623
27624 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27625 PyObject *resultobj;
27626 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27627 wxPoint result;
27628 PyObject * obj0 = 0 ;
27629 char *kwnames[] = {
27630 (char *) "self", NULL
27631 };
27632
27633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
27634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27635 if (SWIG_arg_fail(1)) SWIG_fail;
27636 {
27637 PyThreadState* __tstate = wxPyBeginAllowThreads();
27638 result = ((wxTreeEvent const *)arg1)->GetPoint();
27639
27640 wxPyEndAllowThreads(__tstate);
27641 if (PyErr_Occurred()) SWIG_fail;
27642 }
27643 {
27644 wxPoint * resultptr;
27645 resultptr = new wxPoint((wxPoint &)(result));
27646 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27647 }
27648 return resultobj;
27649 fail:
27650 return NULL;
27651 }
27652
27653
27654 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27655 PyObject *resultobj;
27656 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27657 wxPoint *arg2 = 0 ;
27658 wxPoint temp2 ;
27659 PyObject * obj0 = 0 ;
27660 PyObject * obj1 = 0 ;
27661 char *kwnames[] = {
27662 (char *) "self",(char *) "pt", NULL
27663 };
27664
27665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
27666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27667 if (SWIG_arg_fail(1)) SWIG_fail;
27668 {
27669 arg2 = &temp2;
27670 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27671 }
27672 {
27673 PyThreadState* __tstate = wxPyBeginAllowThreads();
27674 (arg1)->SetPoint((wxPoint const &)*arg2);
27675
27676 wxPyEndAllowThreads(__tstate);
27677 if (PyErr_Occurred()) SWIG_fail;
27678 }
27679 Py_INCREF(Py_None); resultobj = Py_None;
27680 return resultobj;
27681 fail:
27682 return NULL;
27683 }
27684
27685
27686 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27687 PyObject *resultobj;
27688 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27689 wxKeyEvent *result;
27690 PyObject * obj0 = 0 ;
27691 char *kwnames[] = {
27692 (char *) "self", NULL
27693 };
27694
27695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
27696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27697 if (SWIG_arg_fail(1)) SWIG_fail;
27698 {
27699 PyThreadState* __tstate = wxPyBeginAllowThreads();
27700 {
27701 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27702 result = (wxKeyEvent *) &_result_ref;
27703 }
27704
27705 wxPyEndAllowThreads(__tstate);
27706 if (PyErr_Occurred()) SWIG_fail;
27707 }
27708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27709 return resultobj;
27710 fail:
27711 return NULL;
27712 }
27713
27714
27715 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
27716 PyObject *resultobj;
27717 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27718 int result;
27719 PyObject * obj0 = 0 ;
27720 char *kwnames[] = {
27721 (char *) "self", NULL
27722 };
27723
27724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
27725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27726 if (SWIG_arg_fail(1)) SWIG_fail;
27727 {
27728 PyThreadState* __tstate = wxPyBeginAllowThreads();
27729 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27730
27731 wxPyEndAllowThreads(__tstate);
27732 if (PyErr_Occurred()) SWIG_fail;
27733 }
27734 {
27735 resultobj = SWIG_From_int((int)(result));
27736 }
27737 return resultobj;
27738 fail:
27739 return NULL;
27740 }
27741
27742
27743 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
27744 PyObject *resultobj;
27745 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27746 wxKeyEvent *arg2 = 0 ;
27747 PyObject * obj0 = 0 ;
27748 PyObject * obj1 = 0 ;
27749 char *kwnames[] = {
27750 (char *) "self",(char *) "evt", NULL
27751 };
27752
27753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
27754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27755 if (SWIG_arg_fail(1)) SWIG_fail;
27756 {
27757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27758 if (SWIG_arg_fail(2)) SWIG_fail;
27759 if (arg2 == NULL) {
27760 SWIG_null_ref("wxKeyEvent");
27761 }
27762 if (SWIG_arg_fail(2)) SWIG_fail;
27763 }
27764 {
27765 PyThreadState* __tstate = wxPyBeginAllowThreads();
27766 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27767
27768 wxPyEndAllowThreads(__tstate);
27769 if (PyErr_Occurred()) SWIG_fail;
27770 }
27771 Py_INCREF(Py_None); resultobj = Py_None;
27772 return resultobj;
27773 fail:
27774 return NULL;
27775 }
27776
27777
27778 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27779 PyObject *resultobj;
27780 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27781 wxString *result;
27782 PyObject * obj0 = 0 ;
27783 char *kwnames[] = {
27784 (char *) "self", NULL
27785 };
27786
27787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
27788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27789 if (SWIG_arg_fail(1)) SWIG_fail;
27790 {
27791 PyThreadState* __tstate = wxPyBeginAllowThreads();
27792 {
27793 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27794 result = (wxString *) &_result_ref;
27795 }
27796
27797 wxPyEndAllowThreads(__tstate);
27798 if (PyErr_Occurred()) SWIG_fail;
27799 }
27800 {
27801 #if wxUSE_UNICODE
27802 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27803 #else
27804 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27805 #endif
27806 }
27807 return resultobj;
27808 fail:
27809 return NULL;
27810 }
27811
27812
27813 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
27814 PyObject *resultobj;
27815 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27816 wxString *arg2 = 0 ;
27817 bool temp2 = false ;
27818 PyObject * obj0 = 0 ;
27819 PyObject * obj1 = 0 ;
27820 char *kwnames[] = {
27821 (char *) "self",(char *) "label", NULL
27822 };
27823
27824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
27825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27826 if (SWIG_arg_fail(1)) SWIG_fail;
27827 {
27828 arg2 = wxString_in_helper(obj1);
27829 if (arg2 == NULL) SWIG_fail;
27830 temp2 = true;
27831 }
27832 {
27833 PyThreadState* __tstate = wxPyBeginAllowThreads();
27834 (arg1)->SetLabel((wxString const &)*arg2);
27835
27836 wxPyEndAllowThreads(__tstate);
27837 if (PyErr_Occurred()) SWIG_fail;
27838 }
27839 Py_INCREF(Py_None); resultobj = Py_None;
27840 {
27841 if (temp2)
27842 delete arg2;
27843 }
27844 return resultobj;
27845 fail:
27846 {
27847 if (temp2)
27848 delete arg2;
27849 }
27850 return NULL;
27851 }
27852
27853
27854 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
27855 PyObject *resultobj;
27856 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27857 bool result;
27858 PyObject * obj0 = 0 ;
27859 char *kwnames[] = {
27860 (char *) "self", NULL
27861 };
27862
27863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
27864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27865 if (SWIG_arg_fail(1)) SWIG_fail;
27866 {
27867 PyThreadState* __tstate = wxPyBeginAllowThreads();
27868 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27869
27870 wxPyEndAllowThreads(__tstate);
27871 if (PyErr_Occurred()) SWIG_fail;
27872 }
27873 {
27874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27875 }
27876 return resultobj;
27877 fail:
27878 return NULL;
27879 }
27880
27881
27882 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
27883 PyObject *resultobj;
27884 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27885 bool arg2 ;
27886 PyObject * obj0 = 0 ;
27887 PyObject * obj1 = 0 ;
27888 char *kwnames[] = {
27889 (char *) "self",(char *) "editCancelled", NULL
27890 };
27891
27892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
27893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27894 if (SWIG_arg_fail(1)) SWIG_fail;
27895 {
27896 arg2 = (bool)(SWIG_As_bool(obj1));
27897 if (SWIG_arg_fail(2)) SWIG_fail;
27898 }
27899 {
27900 PyThreadState* __tstate = wxPyBeginAllowThreads();
27901 (arg1)->SetEditCanceled(arg2);
27902
27903 wxPyEndAllowThreads(__tstate);
27904 if (PyErr_Occurred()) SWIG_fail;
27905 }
27906 Py_INCREF(Py_None); resultobj = Py_None;
27907 return resultobj;
27908 fail:
27909 return NULL;
27910 }
27911
27912
27913 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27914 PyObject *resultobj;
27915 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27916 wxString *arg2 = 0 ;
27917 bool temp2 = false ;
27918 PyObject * obj0 = 0 ;
27919 PyObject * obj1 = 0 ;
27920 char *kwnames[] = {
27921 (char *) "self",(char *) "toolTip", NULL
27922 };
27923
27924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27926 if (SWIG_arg_fail(1)) SWIG_fail;
27927 {
27928 arg2 = wxString_in_helper(obj1);
27929 if (arg2 == NULL) SWIG_fail;
27930 temp2 = true;
27931 }
27932 {
27933 PyThreadState* __tstate = wxPyBeginAllowThreads();
27934 (arg1)->SetToolTip((wxString const &)*arg2);
27935
27936 wxPyEndAllowThreads(__tstate);
27937 if (PyErr_Occurred()) SWIG_fail;
27938 }
27939 Py_INCREF(Py_None); resultobj = Py_None;
27940 {
27941 if (temp2)
27942 delete arg2;
27943 }
27944 return resultobj;
27945 fail:
27946 {
27947 if (temp2)
27948 delete arg2;
27949 }
27950 return NULL;
27951 }
27952
27953
27954 static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27955 PyObject *resultobj;
27956 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27957 wxString result;
27958 PyObject * obj0 = 0 ;
27959 char *kwnames[] = {
27960 (char *) "self", NULL
27961 };
27962
27963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27965 if (SWIG_arg_fail(1)) SWIG_fail;
27966 {
27967 PyThreadState* __tstate = wxPyBeginAllowThreads();
27968 result = (arg1)->GetToolTip();
27969
27970 wxPyEndAllowThreads(__tstate);
27971 if (PyErr_Occurred()) SWIG_fail;
27972 }
27973 {
27974 #if wxUSE_UNICODE
27975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27976 #else
27977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27978 #endif
27979 }
27980 return resultobj;
27981 fail:
27982 return NULL;
27983 }
27984
27985
27986 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
27987 PyObject *obj;
27988 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27989 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27990 Py_INCREF(obj);
27991 return Py_BuildValue((char *)"");
27992 }
27993 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27994 PyObject *resultobj;
27995 wxWindow *arg1 = (wxWindow *) 0 ;
27996 int arg2 = (int) -1 ;
27997 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27998 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27999 wxSize const &arg4_defvalue = wxDefaultSize ;
28000 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28001 long arg5 = (long) wxTR_DEFAULT_STYLE ;
28002 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28003 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28004 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
28005 wxString *arg7 = (wxString *) &arg7_defvalue ;
28006 wxPyTreeCtrl *result;
28007 wxPoint temp3 ;
28008 wxSize temp4 ;
28009 bool temp7 = false ;
28010 PyObject * obj0 = 0 ;
28011 PyObject * obj1 = 0 ;
28012 PyObject * obj2 = 0 ;
28013 PyObject * obj3 = 0 ;
28014 PyObject * obj4 = 0 ;
28015 PyObject * obj5 = 0 ;
28016 PyObject * obj6 = 0 ;
28017 char *kwnames[] = {
28018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28019 };
28020
28021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28023 if (SWIG_arg_fail(1)) SWIG_fail;
28024 if (obj1) {
28025 {
28026 arg2 = (int)(SWIG_As_int(obj1));
28027 if (SWIG_arg_fail(2)) SWIG_fail;
28028 }
28029 }
28030 if (obj2) {
28031 {
28032 arg3 = &temp3;
28033 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28034 }
28035 }
28036 if (obj3) {
28037 {
28038 arg4 = &temp4;
28039 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28040 }
28041 }
28042 if (obj4) {
28043 {
28044 arg5 = (long)(SWIG_As_long(obj4));
28045 if (SWIG_arg_fail(5)) SWIG_fail;
28046 }
28047 }
28048 if (obj5) {
28049 {
28050 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28051 if (SWIG_arg_fail(6)) SWIG_fail;
28052 if (arg6 == NULL) {
28053 SWIG_null_ref("wxValidator");
28054 }
28055 if (SWIG_arg_fail(6)) SWIG_fail;
28056 }
28057 }
28058 if (obj6) {
28059 {
28060 arg7 = wxString_in_helper(obj6);
28061 if (arg7 == NULL) SWIG_fail;
28062 temp7 = true;
28063 }
28064 }
28065 {
28066 if (!wxPyCheckForApp()) SWIG_fail;
28067 PyThreadState* __tstate = wxPyBeginAllowThreads();
28068 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28069
28070 wxPyEndAllowThreads(__tstate);
28071 if (PyErr_Occurred()) SWIG_fail;
28072 }
28073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28074 {
28075 if (temp7)
28076 delete arg7;
28077 }
28078 return resultobj;
28079 fail:
28080 {
28081 if (temp7)
28082 delete arg7;
28083 }
28084 return NULL;
28085 }
28086
28087
28088 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
28089 PyObject *resultobj;
28090 wxPyTreeCtrl *result;
28091 char *kwnames[] = {
28092 NULL
28093 };
28094
28095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
28096 {
28097 if (!wxPyCheckForApp()) SWIG_fail;
28098 PyThreadState* __tstate = wxPyBeginAllowThreads();
28099 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
28100
28101 wxPyEndAllowThreads(__tstate);
28102 if (PyErr_Occurred()) SWIG_fail;
28103 }
28104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
28105 return resultobj;
28106 fail:
28107 return NULL;
28108 }
28109
28110
28111 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
28112 PyObject *resultobj;
28113 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28114 wxWindow *arg2 = (wxWindow *) 0 ;
28115 int arg3 = (int) -1 ;
28116 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28117 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28118 wxSize const &arg5_defvalue = wxDefaultSize ;
28119 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28120 long arg6 = (long) wxTR_DEFAULT_STYLE ;
28121 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28122 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28123 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
28124 wxString *arg8 = (wxString *) &arg8_defvalue ;
28125 bool result;
28126 wxPoint temp4 ;
28127 wxSize temp5 ;
28128 bool temp8 = false ;
28129 PyObject * obj0 = 0 ;
28130 PyObject * obj1 = 0 ;
28131 PyObject * obj2 = 0 ;
28132 PyObject * obj3 = 0 ;
28133 PyObject * obj4 = 0 ;
28134 PyObject * obj5 = 0 ;
28135 PyObject * obj6 = 0 ;
28136 PyObject * obj7 = 0 ;
28137 char *kwnames[] = {
28138 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28139 };
28140
28141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
28142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28143 if (SWIG_arg_fail(1)) SWIG_fail;
28144 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28145 if (SWIG_arg_fail(2)) SWIG_fail;
28146 if (obj2) {
28147 {
28148 arg3 = (int)(SWIG_As_int(obj2));
28149 if (SWIG_arg_fail(3)) SWIG_fail;
28150 }
28151 }
28152 if (obj3) {
28153 {
28154 arg4 = &temp4;
28155 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28156 }
28157 }
28158 if (obj4) {
28159 {
28160 arg5 = &temp5;
28161 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28162 }
28163 }
28164 if (obj5) {
28165 {
28166 arg6 = (long)(SWIG_As_long(obj5));
28167 if (SWIG_arg_fail(6)) SWIG_fail;
28168 }
28169 }
28170 if (obj6) {
28171 {
28172 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28173 if (SWIG_arg_fail(7)) SWIG_fail;
28174 if (arg7 == NULL) {
28175 SWIG_null_ref("wxValidator");
28176 }
28177 if (SWIG_arg_fail(7)) SWIG_fail;
28178 }
28179 }
28180 if (obj7) {
28181 {
28182 arg8 = wxString_in_helper(obj7);
28183 if (arg8 == NULL) SWIG_fail;
28184 temp8 = true;
28185 }
28186 }
28187 {
28188 PyThreadState* __tstate = wxPyBeginAllowThreads();
28189 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28190
28191 wxPyEndAllowThreads(__tstate);
28192 if (PyErr_Occurred()) SWIG_fail;
28193 }
28194 {
28195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28196 }
28197 {
28198 if (temp8)
28199 delete arg8;
28200 }
28201 return resultobj;
28202 fail:
28203 {
28204 if (temp8)
28205 delete arg8;
28206 }
28207 return NULL;
28208 }
28209
28210
28211 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28212 PyObject *resultobj;
28213 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28214 PyObject *arg2 = (PyObject *) 0 ;
28215 PyObject *arg3 = (PyObject *) 0 ;
28216 PyObject * obj0 = 0 ;
28217 PyObject * obj1 = 0 ;
28218 PyObject * obj2 = 0 ;
28219 char *kwnames[] = {
28220 (char *) "self",(char *) "self",(char *) "_class", NULL
28221 };
28222
28223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28225 if (SWIG_arg_fail(1)) SWIG_fail;
28226 arg2 = obj1;
28227 arg3 = obj2;
28228 {
28229 PyThreadState* __tstate = wxPyBeginAllowThreads();
28230 (arg1)->_setCallbackInfo(arg2,arg3);
28231
28232 wxPyEndAllowThreads(__tstate);
28233 if (PyErr_Occurred()) SWIG_fail;
28234 }
28235 Py_INCREF(Py_None); resultobj = Py_None;
28236 return resultobj;
28237 fail:
28238 return NULL;
28239 }
28240
28241
28242 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28243 PyObject *resultobj;
28244 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28245 size_t result;
28246 PyObject * obj0 = 0 ;
28247 char *kwnames[] = {
28248 (char *) "self", NULL
28249 };
28250
28251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
28252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28253 if (SWIG_arg_fail(1)) SWIG_fail;
28254 {
28255 PyThreadState* __tstate = wxPyBeginAllowThreads();
28256 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28257
28258 wxPyEndAllowThreads(__tstate);
28259 if (PyErr_Occurred()) SWIG_fail;
28260 }
28261 {
28262 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28263 }
28264 return resultobj;
28265 fail:
28266 return NULL;
28267 }
28268
28269
28270 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28271 PyObject *resultobj;
28272 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28273 unsigned int result;
28274 PyObject * obj0 = 0 ;
28275 char *kwnames[] = {
28276 (char *) "self", NULL
28277 };
28278
28279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
28280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28281 if (SWIG_arg_fail(1)) SWIG_fail;
28282 {
28283 PyThreadState* __tstate = wxPyBeginAllowThreads();
28284 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28285
28286 wxPyEndAllowThreads(__tstate);
28287 if (PyErr_Occurred()) SWIG_fail;
28288 }
28289 {
28290 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28291 }
28292 return resultobj;
28293 fail:
28294 return NULL;
28295 }
28296
28297
28298 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
28299 PyObject *resultobj;
28300 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28301 unsigned int arg2 ;
28302 PyObject * obj0 = 0 ;
28303 PyObject * obj1 = 0 ;
28304 char *kwnames[] = {
28305 (char *) "self",(char *) "indent", NULL
28306 };
28307
28308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
28309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28310 if (SWIG_arg_fail(1)) SWIG_fail;
28311 {
28312 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28313 if (SWIG_arg_fail(2)) SWIG_fail;
28314 }
28315 {
28316 PyThreadState* __tstate = wxPyBeginAllowThreads();
28317 (arg1)->SetIndent(arg2);
28318
28319 wxPyEndAllowThreads(__tstate);
28320 if (PyErr_Occurred()) SWIG_fail;
28321 }
28322 Py_INCREF(Py_None); resultobj = Py_None;
28323 return resultobj;
28324 fail:
28325 return NULL;
28326 }
28327
28328
28329 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28330 PyObject *resultobj;
28331 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28332 unsigned int result;
28333 PyObject * obj0 = 0 ;
28334 char *kwnames[] = {
28335 (char *) "self", NULL
28336 };
28337
28338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
28339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28340 if (SWIG_arg_fail(1)) SWIG_fail;
28341 {
28342 PyThreadState* __tstate = wxPyBeginAllowThreads();
28343 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28344
28345 wxPyEndAllowThreads(__tstate);
28346 if (PyErr_Occurred()) SWIG_fail;
28347 }
28348 {
28349 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28350 }
28351 return resultobj;
28352 fail:
28353 return NULL;
28354 }
28355
28356
28357 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
28358 PyObject *resultobj;
28359 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28360 unsigned int arg2 ;
28361 PyObject * obj0 = 0 ;
28362 PyObject * obj1 = 0 ;
28363 char *kwnames[] = {
28364 (char *) "self",(char *) "spacing", NULL
28365 };
28366
28367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
28368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28369 if (SWIG_arg_fail(1)) SWIG_fail;
28370 {
28371 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28372 if (SWIG_arg_fail(2)) SWIG_fail;
28373 }
28374 {
28375 PyThreadState* __tstate = wxPyBeginAllowThreads();
28376 (arg1)->SetSpacing(arg2);
28377
28378 wxPyEndAllowThreads(__tstate);
28379 if (PyErr_Occurred()) SWIG_fail;
28380 }
28381 Py_INCREF(Py_None); resultobj = Py_None;
28382 return resultobj;
28383 fail:
28384 return NULL;
28385 }
28386
28387
28388 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28389 PyObject *resultobj;
28390 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28391 wxImageList *result;
28392 PyObject * obj0 = 0 ;
28393 char *kwnames[] = {
28394 (char *) "self", NULL
28395 };
28396
28397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
28398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28399 if (SWIG_arg_fail(1)) SWIG_fail;
28400 {
28401 PyThreadState* __tstate = wxPyBeginAllowThreads();
28402 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28403
28404 wxPyEndAllowThreads(__tstate);
28405 if (PyErr_Occurred()) SWIG_fail;
28406 }
28407 {
28408 resultobj = wxPyMake_wxObject(result, 0);
28409 }
28410 return resultobj;
28411 fail:
28412 return NULL;
28413 }
28414
28415
28416 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28417 PyObject *resultobj;
28418 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28419 wxImageList *result;
28420 PyObject * obj0 = 0 ;
28421 char *kwnames[] = {
28422 (char *) "self", NULL
28423 };
28424
28425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
28426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28427 if (SWIG_arg_fail(1)) SWIG_fail;
28428 {
28429 PyThreadState* __tstate = wxPyBeginAllowThreads();
28430 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28431
28432 wxPyEndAllowThreads(__tstate);
28433 if (PyErr_Occurred()) SWIG_fail;
28434 }
28435 {
28436 resultobj = wxPyMake_wxObject(result, 0);
28437 }
28438 return resultobj;
28439 fail:
28440 return NULL;
28441 }
28442
28443
28444 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28445 PyObject *resultobj;
28446 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28447 wxImageList *arg2 = (wxImageList *) 0 ;
28448 PyObject * obj0 = 0 ;
28449 PyObject * obj1 = 0 ;
28450 char *kwnames[] = {
28451 (char *) "self",(char *) "imageList", NULL
28452 };
28453
28454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
28455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28456 if (SWIG_arg_fail(1)) SWIG_fail;
28457 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28458 if (SWIG_arg_fail(2)) SWIG_fail;
28459 {
28460 PyThreadState* __tstate = wxPyBeginAllowThreads();
28461 (arg1)->SetImageList(arg2);
28462
28463 wxPyEndAllowThreads(__tstate);
28464 if (PyErr_Occurred()) SWIG_fail;
28465 }
28466 Py_INCREF(Py_None); resultobj = Py_None;
28467 return resultobj;
28468 fail:
28469 return NULL;
28470 }
28471
28472
28473 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28474 PyObject *resultobj;
28475 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28476 wxImageList *arg2 = (wxImageList *) 0 ;
28477 PyObject * obj0 = 0 ;
28478 PyObject * obj1 = 0 ;
28479 char *kwnames[] = {
28480 (char *) "self",(char *) "imageList", NULL
28481 };
28482
28483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
28484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28485 if (SWIG_arg_fail(1)) SWIG_fail;
28486 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28487 if (SWIG_arg_fail(2)) SWIG_fail;
28488 {
28489 PyThreadState* __tstate = wxPyBeginAllowThreads();
28490 (arg1)->SetStateImageList(arg2);
28491
28492 wxPyEndAllowThreads(__tstate);
28493 if (PyErr_Occurred()) SWIG_fail;
28494 }
28495 Py_INCREF(Py_None); resultobj = Py_None;
28496 return resultobj;
28497 fail:
28498 return NULL;
28499 }
28500
28501
28502 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28503 PyObject *resultobj;
28504 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28505 wxImageList *arg2 = (wxImageList *) 0 ;
28506 PyObject * obj0 = 0 ;
28507 PyObject * obj1 = 0 ;
28508 char *kwnames[] = {
28509 (char *) "self",(char *) "imageList", NULL
28510 };
28511
28512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
28513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28514 if (SWIG_arg_fail(1)) SWIG_fail;
28515 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28516 if (SWIG_arg_fail(2)) SWIG_fail;
28517 {
28518 PyThreadState* __tstate = wxPyBeginAllowThreads();
28519 (arg1)->AssignImageList(arg2);
28520
28521 wxPyEndAllowThreads(__tstate);
28522 if (PyErr_Occurred()) SWIG_fail;
28523 }
28524 Py_INCREF(Py_None); resultobj = Py_None;
28525 return resultobj;
28526 fail:
28527 return NULL;
28528 }
28529
28530
28531 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
28532 PyObject *resultobj;
28533 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28534 wxImageList *arg2 = (wxImageList *) 0 ;
28535 PyObject * obj0 = 0 ;
28536 PyObject * obj1 = 0 ;
28537 char *kwnames[] = {
28538 (char *) "self",(char *) "imageList", NULL
28539 };
28540
28541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
28542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28543 if (SWIG_arg_fail(1)) SWIG_fail;
28544 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28545 if (SWIG_arg_fail(2)) SWIG_fail;
28546 {
28547 PyThreadState* __tstate = wxPyBeginAllowThreads();
28548 (arg1)->AssignStateImageList(arg2);
28549
28550 wxPyEndAllowThreads(__tstate);
28551 if (PyErr_Occurred()) SWIG_fail;
28552 }
28553 Py_INCREF(Py_None); resultobj = Py_None;
28554 return resultobj;
28555 fail:
28556 return NULL;
28557 }
28558
28559
28560 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28561 PyObject *resultobj;
28562 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28563 wxTreeItemId *arg2 = 0 ;
28564 wxString result;
28565 PyObject * obj0 = 0 ;
28566 PyObject * obj1 = 0 ;
28567 char *kwnames[] = {
28568 (char *) "self",(char *) "item", NULL
28569 };
28570
28571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
28572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28573 if (SWIG_arg_fail(1)) SWIG_fail;
28574 {
28575 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28576 if (SWIG_arg_fail(2)) SWIG_fail;
28577 if (arg2 == NULL) {
28578 SWIG_null_ref("wxTreeItemId");
28579 }
28580 if (SWIG_arg_fail(2)) SWIG_fail;
28581 }
28582 {
28583 PyThreadState* __tstate = wxPyBeginAllowThreads();
28584 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28585
28586 wxPyEndAllowThreads(__tstate);
28587 if (PyErr_Occurred()) SWIG_fail;
28588 }
28589 {
28590 #if wxUSE_UNICODE
28591 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28592 #else
28593 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28594 #endif
28595 }
28596 return resultobj;
28597 fail:
28598 return NULL;
28599 }
28600
28601
28602 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28603 PyObject *resultobj;
28604 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28605 wxTreeItemId *arg2 = 0 ;
28606 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28607 int result;
28608 PyObject * obj0 = 0 ;
28609 PyObject * obj1 = 0 ;
28610 PyObject * obj2 = 0 ;
28611 char *kwnames[] = {
28612 (char *) "self",(char *) "item",(char *) "which", NULL
28613 };
28614
28615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28617 if (SWIG_arg_fail(1)) SWIG_fail;
28618 {
28619 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28620 if (SWIG_arg_fail(2)) SWIG_fail;
28621 if (arg2 == NULL) {
28622 SWIG_null_ref("wxTreeItemId");
28623 }
28624 if (SWIG_arg_fail(2)) SWIG_fail;
28625 }
28626 if (obj2) {
28627 {
28628 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28629 if (SWIG_arg_fail(3)) SWIG_fail;
28630 }
28631 }
28632 {
28633 PyThreadState* __tstate = wxPyBeginAllowThreads();
28634 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28635
28636 wxPyEndAllowThreads(__tstate);
28637 if (PyErr_Occurred()) SWIG_fail;
28638 }
28639 {
28640 resultobj = SWIG_From_int((int)(result));
28641 }
28642 return resultobj;
28643 fail:
28644 return NULL;
28645 }
28646
28647
28648 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28649 PyObject *resultobj;
28650 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28651 wxTreeItemId *arg2 = 0 ;
28652 wxPyTreeItemData *result;
28653 PyObject * obj0 = 0 ;
28654 PyObject * obj1 = 0 ;
28655 char *kwnames[] = {
28656 (char *) "self",(char *) "item", NULL
28657 };
28658
28659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
28660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28661 if (SWIG_arg_fail(1)) SWIG_fail;
28662 {
28663 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28664 if (SWIG_arg_fail(2)) SWIG_fail;
28665 if (arg2 == NULL) {
28666 SWIG_null_ref("wxTreeItemId");
28667 }
28668 if (SWIG_arg_fail(2)) SWIG_fail;
28669 }
28670 {
28671 PyThreadState* __tstate = wxPyBeginAllowThreads();
28672 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28673
28674 wxPyEndAllowThreads(__tstate);
28675 if (PyErr_Occurred()) SWIG_fail;
28676 }
28677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28678 return resultobj;
28679 fail:
28680 return NULL;
28681 }
28682
28683
28684 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28685 PyObject *resultobj;
28686 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28687 wxTreeItemId *arg2 = 0 ;
28688 PyObject *result;
28689 PyObject * obj0 = 0 ;
28690 PyObject * obj1 = 0 ;
28691 char *kwnames[] = {
28692 (char *) "self",(char *) "item", NULL
28693 };
28694
28695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
28696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28697 if (SWIG_arg_fail(1)) SWIG_fail;
28698 {
28699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28700 if (SWIG_arg_fail(2)) SWIG_fail;
28701 if (arg2 == NULL) {
28702 SWIG_null_ref("wxTreeItemId");
28703 }
28704 if (SWIG_arg_fail(2)) SWIG_fail;
28705 }
28706 {
28707 PyThreadState* __tstate = wxPyBeginAllowThreads();
28708 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28709
28710 wxPyEndAllowThreads(__tstate);
28711 if (PyErr_Occurred()) SWIG_fail;
28712 }
28713 resultobj = result;
28714 return resultobj;
28715 fail:
28716 return NULL;
28717 }
28718
28719
28720 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
28721 PyObject *resultobj;
28722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28723 wxTreeItemId *arg2 = 0 ;
28724 wxColour result;
28725 PyObject * obj0 = 0 ;
28726 PyObject * obj1 = 0 ;
28727 char *kwnames[] = {
28728 (char *) "self",(char *) "item", NULL
28729 };
28730
28731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
28732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28733 if (SWIG_arg_fail(1)) SWIG_fail;
28734 {
28735 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28736 if (SWIG_arg_fail(2)) SWIG_fail;
28737 if (arg2 == NULL) {
28738 SWIG_null_ref("wxTreeItemId");
28739 }
28740 if (SWIG_arg_fail(2)) SWIG_fail;
28741 }
28742 {
28743 PyThreadState* __tstate = wxPyBeginAllowThreads();
28744 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28745
28746 wxPyEndAllowThreads(__tstate);
28747 if (PyErr_Occurred()) SWIG_fail;
28748 }
28749 {
28750 wxColour * resultptr;
28751 resultptr = new wxColour((wxColour &)(result));
28752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28753 }
28754 return resultobj;
28755 fail:
28756 return NULL;
28757 }
28758
28759
28760 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
28761 PyObject *resultobj;
28762 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28763 wxTreeItemId *arg2 = 0 ;
28764 wxColour result;
28765 PyObject * obj0 = 0 ;
28766 PyObject * obj1 = 0 ;
28767 char *kwnames[] = {
28768 (char *) "self",(char *) "item", NULL
28769 };
28770
28771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
28772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28773 if (SWIG_arg_fail(1)) SWIG_fail;
28774 {
28775 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28776 if (SWIG_arg_fail(2)) SWIG_fail;
28777 if (arg2 == NULL) {
28778 SWIG_null_ref("wxTreeItemId");
28779 }
28780 if (SWIG_arg_fail(2)) SWIG_fail;
28781 }
28782 {
28783 PyThreadState* __tstate = wxPyBeginAllowThreads();
28784 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28785
28786 wxPyEndAllowThreads(__tstate);
28787 if (PyErr_Occurred()) SWIG_fail;
28788 }
28789 {
28790 wxColour * resultptr;
28791 resultptr = new wxColour((wxColour &)(result));
28792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28793 }
28794 return resultobj;
28795 fail:
28796 return NULL;
28797 }
28798
28799
28800 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
28801 PyObject *resultobj;
28802 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28803 wxTreeItemId *arg2 = 0 ;
28804 wxFont result;
28805 PyObject * obj0 = 0 ;
28806 PyObject * obj1 = 0 ;
28807 char *kwnames[] = {
28808 (char *) "self",(char *) "item", NULL
28809 };
28810
28811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
28812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28813 if (SWIG_arg_fail(1)) SWIG_fail;
28814 {
28815 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28816 if (SWIG_arg_fail(2)) SWIG_fail;
28817 if (arg2 == NULL) {
28818 SWIG_null_ref("wxTreeItemId");
28819 }
28820 if (SWIG_arg_fail(2)) SWIG_fail;
28821 }
28822 {
28823 PyThreadState* __tstate = wxPyBeginAllowThreads();
28824 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28825
28826 wxPyEndAllowThreads(__tstate);
28827 if (PyErr_Occurred()) SWIG_fail;
28828 }
28829 {
28830 wxFont * resultptr;
28831 resultptr = new wxFont((wxFont &)(result));
28832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28833 }
28834 return resultobj;
28835 fail:
28836 return NULL;
28837 }
28838
28839
28840 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
28841 PyObject *resultobj;
28842 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28843 wxTreeItemId *arg2 = 0 ;
28844 wxString *arg3 = 0 ;
28845 bool temp3 = false ;
28846 PyObject * obj0 = 0 ;
28847 PyObject * obj1 = 0 ;
28848 PyObject * obj2 = 0 ;
28849 char *kwnames[] = {
28850 (char *) "self",(char *) "item",(char *) "text", NULL
28851 };
28852
28853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
28854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28855 if (SWIG_arg_fail(1)) SWIG_fail;
28856 {
28857 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28858 if (SWIG_arg_fail(2)) SWIG_fail;
28859 if (arg2 == NULL) {
28860 SWIG_null_ref("wxTreeItemId");
28861 }
28862 if (SWIG_arg_fail(2)) SWIG_fail;
28863 }
28864 {
28865 arg3 = wxString_in_helper(obj2);
28866 if (arg3 == NULL) SWIG_fail;
28867 temp3 = true;
28868 }
28869 {
28870 PyThreadState* __tstate = wxPyBeginAllowThreads();
28871 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28872
28873 wxPyEndAllowThreads(__tstate);
28874 if (PyErr_Occurred()) SWIG_fail;
28875 }
28876 Py_INCREF(Py_None); resultobj = Py_None;
28877 {
28878 if (temp3)
28879 delete arg3;
28880 }
28881 return resultobj;
28882 fail:
28883 {
28884 if (temp3)
28885 delete arg3;
28886 }
28887 return NULL;
28888 }
28889
28890
28891 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
28892 PyObject *resultobj;
28893 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28894 wxTreeItemId *arg2 = 0 ;
28895 int arg3 ;
28896 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
28897 PyObject * obj0 = 0 ;
28898 PyObject * obj1 = 0 ;
28899 PyObject * obj2 = 0 ;
28900 PyObject * obj3 = 0 ;
28901 char *kwnames[] = {
28902 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28903 };
28904
28905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28907 if (SWIG_arg_fail(1)) SWIG_fail;
28908 {
28909 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28910 if (SWIG_arg_fail(2)) SWIG_fail;
28911 if (arg2 == NULL) {
28912 SWIG_null_ref("wxTreeItemId");
28913 }
28914 if (SWIG_arg_fail(2)) SWIG_fail;
28915 }
28916 {
28917 arg3 = (int)(SWIG_As_int(obj2));
28918 if (SWIG_arg_fail(3)) SWIG_fail;
28919 }
28920 if (obj3) {
28921 {
28922 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28923 if (SWIG_arg_fail(4)) SWIG_fail;
28924 }
28925 }
28926 {
28927 PyThreadState* __tstate = wxPyBeginAllowThreads();
28928 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28929
28930 wxPyEndAllowThreads(__tstate);
28931 if (PyErr_Occurred()) SWIG_fail;
28932 }
28933 Py_INCREF(Py_None); resultobj = Py_None;
28934 return resultobj;
28935 fail:
28936 return NULL;
28937 }
28938
28939
28940 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
28941 PyObject *resultobj;
28942 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28943 wxTreeItemId *arg2 = 0 ;
28944 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28945 PyObject * obj0 = 0 ;
28946 PyObject * obj1 = 0 ;
28947 PyObject * obj2 = 0 ;
28948 char *kwnames[] = {
28949 (char *) "self",(char *) "item",(char *) "data", NULL
28950 };
28951
28952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28954 if (SWIG_arg_fail(1)) SWIG_fail;
28955 {
28956 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28957 if (SWIG_arg_fail(2)) SWIG_fail;
28958 if (arg2 == NULL) {
28959 SWIG_null_ref("wxTreeItemId");
28960 }
28961 if (SWIG_arg_fail(2)) SWIG_fail;
28962 }
28963 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28964 if (SWIG_arg_fail(3)) SWIG_fail;
28965 {
28966 PyThreadState* __tstate = wxPyBeginAllowThreads();
28967 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28968
28969 wxPyEndAllowThreads(__tstate);
28970 if (PyErr_Occurred()) SWIG_fail;
28971 }
28972 Py_INCREF(Py_None); resultobj = Py_None;
28973 return resultobj;
28974 fail:
28975 return NULL;
28976 }
28977
28978
28979 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
28980 PyObject *resultobj;
28981 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28982 wxTreeItemId *arg2 = 0 ;
28983 PyObject *arg3 = (PyObject *) 0 ;
28984 PyObject * obj0 = 0 ;
28985 PyObject * obj1 = 0 ;
28986 PyObject * obj2 = 0 ;
28987 char *kwnames[] = {
28988 (char *) "self",(char *) "item",(char *) "obj", NULL
28989 };
28990
28991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
28992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28993 if (SWIG_arg_fail(1)) SWIG_fail;
28994 {
28995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28996 if (SWIG_arg_fail(2)) SWIG_fail;
28997 if (arg2 == NULL) {
28998 SWIG_null_ref("wxTreeItemId");
28999 }
29000 if (SWIG_arg_fail(2)) SWIG_fail;
29001 }
29002 arg3 = obj2;
29003 {
29004 PyThreadState* __tstate = wxPyBeginAllowThreads();
29005 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
29006
29007 wxPyEndAllowThreads(__tstate);
29008 if (PyErr_Occurred()) SWIG_fail;
29009 }
29010 Py_INCREF(Py_None); resultobj = Py_None;
29011 return resultobj;
29012 fail:
29013 return NULL;
29014 }
29015
29016
29017 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29018 PyObject *resultobj;
29019 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29020 wxTreeItemId *arg2 = 0 ;
29021 bool arg3 = (bool) true ;
29022 PyObject * obj0 = 0 ;
29023 PyObject * obj1 = 0 ;
29024 PyObject * obj2 = 0 ;
29025 char *kwnames[] = {
29026 (char *) "self",(char *) "item",(char *) "has", NULL
29027 };
29028
29029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
29030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29031 if (SWIG_arg_fail(1)) SWIG_fail;
29032 {
29033 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29034 if (SWIG_arg_fail(2)) SWIG_fail;
29035 if (arg2 == NULL) {
29036 SWIG_null_ref("wxTreeItemId");
29037 }
29038 if (SWIG_arg_fail(2)) SWIG_fail;
29039 }
29040 if (obj2) {
29041 {
29042 arg3 = (bool)(SWIG_As_bool(obj2));
29043 if (SWIG_arg_fail(3)) SWIG_fail;
29044 }
29045 }
29046 {
29047 PyThreadState* __tstate = wxPyBeginAllowThreads();
29048 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
29049
29050 wxPyEndAllowThreads(__tstate);
29051 if (PyErr_Occurred()) SWIG_fail;
29052 }
29053 Py_INCREF(Py_None); resultobj = Py_None;
29054 return resultobj;
29055 fail:
29056 return NULL;
29057 }
29058
29059
29060 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
29061 PyObject *resultobj;
29062 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29063 wxTreeItemId *arg2 = 0 ;
29064 bool arg3 = (bool) true ;
29065 PyObject * obj0 = 0 ;
29066 PyObject * obj1 = 0 ;
29067 PyObject * obj2 = 0 ;
29068 char *kwnames[] = {
29069 (char *) "self",(char *) "item",(char *) "bold", NULL
29070 };
29071
29072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
29073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29074 if (SWIG_arg_fail(1)) SWIG_fail;
29075 {
29076 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29077 if (SWIG_arg_fail(2)) SWIG_fail;
29078 if (arg2 == NULL) {
29079 SWIG_null_ref("wxTreeItemId");
29080 }
29081 if (SWIG_arg_fail(2)) SWIG_fail;
29082 }
29083 if (obj2) {
29084 {
29085 arg3 = (bool)(SWIG_As_bool(obj2));
29086 if (SWIG_arg_fail(3)) SWIG_fail;
29087 }
29088 }
29089 {
29090 PyThreadState* __tstate = wxPyBeginAllowThreads();
29091 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
29092
29093 wxPyEndAllowThreads(__tstate);
29094 if (PyErr_Occurred()) SWIG_fail;
29095 }
29096 Py_INCREF(Py_None); resultobj = Py_None;
29097 return resultobj;
29098 fail:
29099 return NULL;
29100 }
29101
29102
29103 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
29104 PyObject *resultobj;
29105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29106 wxTreeItemId *arg2 = 0 ;
29107 bool arg3 = (bool) true ;
29108 PyObject * obj0 = 0 ;
29109 PyObject * obj1 = 0 ;
29110 PyObject * obj2 = 0 ;
29111 char *kwnames[] = {
29112 (char *) "self",(char *) "item",(char *) "highlight", NULL
29113 };
29114
29115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
29116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29117 if (SWIG_arg_fail(1)) SWIG_fail;
29118 {
29119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29120 if (SWIG_arg_fail(2)) SWIG_fail;
29121 if (arg2 == NULL) {
29122 SWIG_null_ref("wxTreeItemId");
29123 }
29124 if (SWIG_arg_fail(2)) SWIG_fail;
29125 }
29126 if (obj2) {
29127 {
29128 arg3 = (bool)(SWIG_As_bool(obj2));
29129 if (SWIG_arg_fail(3)) SWIG_fail;
29130 }
29131 }
29132 {
29133 PyThreadState* __tstate = wxPyBeginAllowThreads();
29134 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
29135
29136 wxPyEndAllowThreads(__tstate);
29137 if (PyErr_Occurred()) SWIG_fail;
29138 }
29139 Py_INCREF(Py_None); resultobj = Py_None;
29140 return resultobj;
29141 fail:
29142 return NULL;
29143 }
29144
29145
29146 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
29147 PyObject *resultobj;
29148 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29149 wxTreeItemId *arg2 = 0 ;
29150 wxColour *arg3 = 0 ;
29151 wxColour temp3 ;
29152 PyObject * obj0 = 0 ;
29153 PyObject * obj1 = 0 ;
29154 PyObject * obj2 = 0 ;
29155 char *kwnames[] = {
29156 (char *) "self",(char *) "item",(char *) "col", NULL
29157 };
29158
29159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29161 if (SWIG_arg_fail(1)) SWIG_fail;
29162 {
29163 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29164 if (SWIG_arg_fail(2)) SWIG_fail;
29165 if (arg2 == NULL) {
29166 SWIG_null_ref("wxTreeItemId");
29167 }
29168 if (SWIG_arg_fail(2)) SWIG_fail;
29169 }
29170 {
29171 arg3 = &temp3;
29172 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29173 }
29174 {
29175 PyThreadState* __tstate = wxPyBeginAllowThreads();
29176 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29177
29178 wxPyEndAllowThreads(__tstate);
29179 if (PyErr_Occurred()) SWIG_fail;
29180 }
29181 Py_INCREF(Py_None); resultobj = Py_None;
29182 return resultobj;
29183 fail:
29184 return NULL;
29185 }
29186
29187
29188 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
29189 PyObject *resultobj;
29190 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29191 wxTreeItemId *arg2 = 0 ;
29192 wxColour *arg3 = 0 ;
29193 wxColour temp3 ;
29194 PyObject * obj0 = 0 ;
29195 PyObject * obj1 = 0 ;
29196 PyObject * obj2 = 0 ;
29197 char *kwnames[] = {
29198 (char *) "self",(char *) "item",(char *) "col", NULL
29199 };
29200
29201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
29202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29203 if (SWIG_arg_fail(1)) SWIG_fail;
29204 {
29205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29206 if (SWIG_arg_fail(2)) SWIG_fail;
29207 if (arg2 == NULL) {
29208 SWIG_null_ref("wxTreeItemId");
29209 }
29210 if (SWIG_arg_fail(2)) SWIG_fail;
29211 }
29212 {
29213 arg3 = &temp3;
29214 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29215 }
29216 {
29217 PyThreadState* __tstate = wxPyBeginAllowThreads();
29218 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29219
29220 wxPyEndAllowThreads(__tstate);
29221 if (PyErr_Occurred()) SWIG_fail;
29222 }
29223 Py_INCREF(Py_None); resultobj = Py_None;
29224 return resultobj;
29225 fail:
29226 return NULL;
29227 }
29228
29229
29230 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
29231 PyObject *resultobj;
29232 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29233 wxTreeItemId *arg2 = 0 ;
29234 wxFont *arg3 = 0 ;
29235 PyObject * obj0 = 0 ;
29236 PyObject * obj1 = 0 ;
29237 PyObject * obj2 = 0 ;
29238 char *kwnames[] = {
29239 (char *) "self",(char *) "item",(char *) "font", NULL
29240 };
29241
29242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
29243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29244 if (SWIG_arg_fail(1)) SWIG_fail;
29245 {
29246 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29247 if (SWIG_arg_fail(2)) SWIG_fail;
29248 if (arg2 == NULL) {
29249 SWIG_null_ref("wxTreeItemId");
29250 }
29251 if (SWIG_arg_fail(2)) SWIG_fail;
29252 }
29253 {
29254 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29255 if (SWIG_arg_fail(3)) SWIG_fail;
29256 if (arg3 == NULL) {
29257 SWIG_null_ref("wxFont");
29258 }
29259 if (SWIG_arg_fail(3)) SWIG_fail;
29260 }
29261 {
29262 PyThreadState* __tstate = wxPyBeginAllowThreads();
29263 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29264
29265 wxPyEndAllowThreads(__tstate);
29266 if (PyErr_Occurred()) SWIG_fail;
29267 }
29268 Py_INCREF(Py_None); resultobj = Py_None;
29269 return resultobj;
29270 fail:
29271 return NULL;
29272 }
29273
29274
29275 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29276 PyObject *resultobj;
29277 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29278 wxTreeItemId *arg2 = 0 ;
29279 bool result;
29280 PyObject * obj0 = 0 ;
29281 PyObject * obj1 = 0 ;
29282 char *kwnames[] = {
29283 (char *) "self",(char *) "item", NULL
29284 };
29285
29286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
29287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29288 if (SWIG_arg_fail(1)) SWIG_fail;
29289 {
29290 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29291 if (SWIG_arg_fail(2)) SWIG_fail;
29292 if (arg2 == NULL) {
29293 SWIG_null_ref("wxTreeItemId");
29294 }
29295 if (SWIG_arg_fail(2)) SWIG_fail;
29296 }
29297 {
29298 PyThreadState* __tstate = wxPyBeginAllowThreads();
29299 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29300
29301 wxPyEndAllowThreads(__tstate);
29302 if (PyErr_Occurred()) SWIG_fail;
29303 }
29304 {
29305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29306 }
29307 return resultobj;
29308 fail:
29309 return NULL;
29310 }
29311
29312
29313 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
29314 PyObject *resultobj;
29315 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29316 wxTreeItemId *arg2 = 0 ;
29317 bool result;
29318 PyObject * obj0 = 0 ;
29319 PyObject * obj1 = 0 ;
29320 char *kwnames[] = {
29321 (char *) "self",(char *) "item", NULL
29322 };
29323
29324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
29325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29326 if (SWIG_arg_fail(1)) SWIG_fail;
29327 {
29328 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29329 if (SWIG_arg_fail(2)) SWIG_fail;
29330 if (arg2 == NULL) {
29331 SWIG_null_ref("wxTreeItemId");
29332 }
29333 if (SWIG_arg_fail(2)) SWIG_fail;
29334 }
29335 {
29336 PyThreadState* __tstate = wxPyBeginAllowThreads();
29337 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29338
29339 wxPyEndAllowThreads(__tstate);
29340 if (PyErr_Occurred()) SWIG_fail;
29341 }
29342 {
29343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29344 }
29345 return resultobj;
29346 fail:
29347 return NULL;
29348 }
29349
29350
29351 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
29352 PyObject *resultobj;
29353 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29354 wxTreeItemId *arg2 = 0 ;
29355 bool result;
29356 PyObject * obj0 = 0 ;
29357 PyObject * obj1 = 0 ;
29358 char *kwnames[] = {
29359 (char *) "self",(char *) "item", NULL
29360 };
29361
29362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
29363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29364 if (SWIG_arg_fail(1)) SWIG_fail;
29365 {
29366 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29367 if (SWIG_arg_fail(2)) SWIG_fail;
29368 if (arg2 == NULL) {
29369 SWIG_null_ref("wxTreeItemId");
29370 }
29371 if (SWIG_arg_fail(2)) SWIG_fail;
29372 }
29373 {
29374 PyThreadState* __tstate = wxPyBeginAllowThreads();
29375 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29376
29377 wxPyEndAllowThreads(__tstate);
29378 if (PyErr_Occurred()) SWIG_fail;
29379 }
29380 {
29381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29382 }
29383 return resultobj;
29384 fail:
29385 return NULL;
29386 }
29387
29388
29389 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
29390 PyObject *resultobj;
29391 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29392 wxTreeItemId *arg2 = 0 ;
29393 bool result;
29394 PyObject * obj0 = 0 ;
29395 PyObject * obj1 = 0 ;
29396 char *kwnames[] = {
29397 (char *) "self",(char *) "item", NULL
29398 };
29399
29400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
29401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29402 if (SWIG_arg_fail(1)) SWIG_fail;
29403 {
29404 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29405 if (SWIG_arg_fail(2)) SWIG_fail;
29406 if (arg2 == NULL) {
29407 SWIG_null_ref("wxTreeItemId");
29408 }
29409 if (SWIG_arg_fail(2)) SWIG_fail;
29410 }
29411 {
29412 PyThreadState* __tstate = wxPyBeginAllowThreads();
29413 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29414
29415 wxPyEndAllowThreads(__tstate);
29416 if (PyErr_Occurred()) SWIG_fail;
29417 }
29418 {
29419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29420 }
29421 return resultobj;
29422 fail:
29423 return NULL;
29424 }
29425
29426
29427 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
29428 PyObject *resultobj;
29429 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29430 wxTreeItemId *arg2 = 0 ;
29431 bool result;
29432 PyObject * obj0 = 0 ;
29433 PyObject * obj1 = 0 ;
29434 char *kwnames[] = {
29435 (char *) "self",(char *) "item", NULL
29436 };
29437
29438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
29439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29440 if (SWIG_arg_fail(1)) SWIG_fail;
29441 {
29442 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29443 if (SWIG_arg_fail(2)) SWIG_fail;
29444 if (arg2 == NULL) {
29445 SWIG_null_ref("wxTreeItemId");
29446 }
29447 if (SWIG_arg_fail(2)) SWIG_fail;
29448 }
29449 {
29450 PyThreadState* __tstate = wxPyBeginAllowThreads();
29451 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29452
29453 wxPyEndAllowThreads(__tstate);
29454 if (PyErr_Occurred()) SWIG_fail;
29455 }
29456 {
29457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29458 }
29459 return resultobj;
29460 fail:
29461 return NULL;
29462 }
29463
29464
29465 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
29466 PyObject *resultobj;
29467 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29468 wxTreeItemId *arg2 = 0 ;
29469 bool arg3 = (bool) true ;
29470 size_t result;
29471 PyObject * obj0 = 0 ;
29472 PyObject * obj1 = 0 ;
29473 PyObject * obj2 = 0 ;
29474 char *kwnames[] = {
29475 (char *) "self",(char *) "item",(char *) "recursively", NULL
29476 };
29477
29478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
29479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29480 if (SWIG_arg_fail(1)) SWIG_fail;
29481 {
29482 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29483 if (SWIG_arg_fail(2)) SWIG_fail;
29484 if (arg2 == NULL) {
29485 SWIG_null_ref("wxTreeItemId");
29486 }
29487 if (SWIG_arg_fail(2)) SWIG_fail;
29488 }
29489 if (obj2) {
29490 {
29491 arg3 = (bool)(SWIG_As_bool(obj2));
29492 if (SWIG_arg_fail(3)) SWIG_fail;
29493 }
29494 }
29495 {
29496 PyThreadState* __tstate = wxPyBeginAllowThreads();
29497 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29498
29499 wxPyEndAllowThreads(__tstate);
29500 if (PyErr_Occurred()) SWIG_fail;
29501 }
29502 {
29503 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29504 }
29505 return resultobj;
29506 fail:
29507 return NULL;
29508 }
29509
29510
29511 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
29512 PyObject *resultobj;
29513 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29514 wxTreeItemId result;
29515 PyObject * obj0 = 0 ;
29516 char *kwnames[] = {
29517 (char *) "self", NULL
29518 };
29519
29520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
29521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29522 if (SWIG_arg_fail(1)) SWIG_fail;
29523 {
29524 PyThreadState* __tstate = wxPyBeginAllowThreads();
29525 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29526
29527 wxPyEndAllowThreads(__tstate);
29528 if (PyErr_Occurred()) SWIG_fail;
29529 }
29530 {
29531 wxTreeItemId * resultptr;
29532 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29534 }
29535 return resultobj;
29536 fail:
29537 return NULL;
29538 }
29539
29540
29541 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
29542 PyObject *resultobj;
29543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29544 wxTreeItemId result;
29545 PyObject * obj0 = 0 ;
29546 char *kwnames[] = {
29547 (char *) "self", NULL
29548 };
29549
29550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
29551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29552 if (SWIG_arg_fail(1)) SWIG_fail;
29553 {
29554 PyThreadState* __tstate = wxPyBeginAllowThreads();
29555 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29556
29557 wxPyEndAllowThreads(__tstate);
29558 if (PyErr_Occurred()) SWIG_fail;
29559 }
29560 {
29561 wxTreeItemId * resultptr;
29562 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29564 }
29565 return resultobj;
29566 fail:
29567 return NULL;
29568 }
29569
29570
29571 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
29572 PyObject *resultobj;
29573 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29574 PyObject *result;
29575 PyObject * obj0 = 0 ;
29576 char *kwnames[] = {
29577 (char *) "self", NULL
29578 };
29579
29580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
29581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29582 if (SWIG_arg_fail(1)) SWIG_fail;
29583 {
29584 PyThreadState* __tstate = wxPyBeginAllowThreads();
29585 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29586
29587 wxPyEndAllowThreads(__tstate);
29588 if (PyErr_Occurred()) SWIG_fail;
29589 }
29590 resultobj = result;
29591 return resultobj;
29592 fail:
29593 return NULL;
29594 }
29595
29596
29597 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
29598 PyObject *resultobj;
29599 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29600 wxTreeItemId *arg2 = 0 ;
29601 wxTreeItemId result;
29602 PyObject * obj0 = 0 ;
29603 PyObject * obj1 = 0 ;
29604 char *kwnames[] = {
29605 (char *) "self",(char *) "item", NULL
29606 };
29607
29608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
29609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29610 if (SWIG_arg_fail(1)) SWIG_fail;
29611 {
29612 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29613 if (SWIG_arg_fail(2)) SWIG_fail;
29614 if (arg2 == NULL) {
29615 SWIG_null_ref("wxTreeItemId");
29616 }
29617 if (SWIG_arg_fail(2)) SWIG_fail;
29618 }
29619 {
29620 PyThreadState* __tstate = wxPyBeginAllowThreads();
29621 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29622
29623 wxPyEndAllowThreads(__tstate);
29624 if (PyErr_Occurred()) SWIG_fail;
29625 }
29626 {
29627 wxTreeItemId * resultptr;
29628 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29629 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29630 }
29631 return resultobj;
29632 fail:
29633 return NULL;
29634 }
29635
29636
29637 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
29638 PyObject *resultobj;
29639 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29640 wxTreeItemId *arg2 = 0 ;
29641 PyObject *result;
29642 PyObject * obj0 = 0 ;
29643 PyObject * obj1 = 0 ;
29644 char *kwnames[] = {
29645 (char *) "self",(char *) "item", NULL
29646 };
29647
29648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
29649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29650 if (SWIG_arg_fail(1)) SWIG_fail;
29651 {
29652 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29653 if (SWIG_arg_fail(2)) SWIG_fail;
29654 if (arg2 == NULL) {
29655 SWIG_null_ref("wxTreeItemId");
29656 }
29657 if (SWIG_arg_fail(2)) SWIG_fail;
29658 }
29659 {
29660 PyThreadState* __tstate = wxPyBeginAllowThreads();
29661 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29662
29663 wxPyEndAllowThreads(__tstate);
29664 if (PyErr_Occurred()) SWIG_fail;
29665 }
29666 resultobj = result;
29667 return resultobj;
29668 fail:
29669 return NULL;
29670 }
29671
29672
29673 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
29674 PyObject *resultobj;
29675 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29676 wxTreeItemId *arg2 = 0 ;
29677 void *arg3 = (void *) 0 ;
29678 PyObject *result;
29679 PyObject * obj0 = 0 ;
29680 PyObject * obj1 = 0 ;
29681 PyObject * obj2 = 0 ;
29682 char *kwnames[] = {
29683 (char *) "self",(char *) "item",(char *) "cookie", NULL
29684 };
29685
29686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
29687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29688 if (SWIG_arg_fail(1)) SWIG_fail;
29689 {
29690 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29691 if (SWIG_arg_fail(2)) SWIG_fail;
29692 if (arg2 == NULL) {
29693 SWIG_null_ref("wxTreeItemId");
29694 }
29695 if (SWIG_arg_fail(2)) SWIG_fail;
29696 }
29697 {
29698 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29699 SWIG_arg_fail(3);SWIG_fail;
29700 }
29701 }
29702 {
29703 PyThreadState* __tstate = wxPyBeginAllowThreads();
29704 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29705
29706 wxPyEndAllowThreads(__tstate);
29707 if (PyErr_Occurred()) SWIG_fail;
29708 }
29709 resultobj = result;
29710 return resultobj;
29711 fail:
29712 return NULL;
29713 }
29714
29715
29716 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
29717 PyObject *resultobj;
29718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29719 wxTreeItemId *arg2 = 0 ;
29720 wxTreeItemId result;
29721 PyObject * obj0 = 0 ;
29722 PyObject * obj1 = 0 ;
29723 char *kwnames[] = {
29724 (char *) "self",(char *) "item", NULL
29725 };
29726
29727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
29728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29729 if (SWIG_arg_fail(1)) SWIG_fail;
29730 {
29731 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29732 if (SWIG_arg_fail(2)) SWIG_fail;
29733 if (arg2 == NULL) {
29734 SWIG_null_ref("wxTreeItemId");
29735 }
29736 if (SWIG_arg_fail(2)) SWIG_fail;
29737 }
29738 {
29739 PyThreadState* __tstate = wxPyBeginAllowThreads();
29740 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29741
29742 wxPyEndAllowThreads(__tstate);
29743 if (PyErr_Occurred()) SWIG_fail;
29744 }
29745 {
29746 wxTreeItemId * resultptr;
29747 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29749 }
29750 return resultobj;
29751 fail:
29752 return NULL;
29753 }
29754
29755
29756 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29757 PyObject *resultobj;
29758 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29759 wxTreeItemId *arg2 = 0 ;
29760 wxTreeItemId result;
29761 PyObject * obj0 = 0 ;
29762 PyObject * obj1 = 0 ;
29763 char *kwnames[] = {
29764 (char *) "self",(char *) "item", NULL
29765 };
29766
29767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
29768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29769 if (SWIG_arg_fail(1)) SWIG_fail;
29770 {
29771 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29772 if (SWIG_arg_fail(2)) SWIG_fail;
29773 if (arg2 == NULL) {
29774 SWIG_null_ref("wxTreeItemId");
29775 }
29776 if (SWIG_arg_fail(2)) SWIG_fail;
29777 }
29778 {
29779 PyThreadState* __tstate = wxPyBeginAllowThreads();
29780 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29781
29782 wxPyEndAllowThreads(__tstate);
29783 if (PyErr_Occurred()) SWIG_fail;
29784 }
29785 {
29786 wxTreeItemId * resultptr;
29787 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29789 }
29790 return resultobj;
29791 fail:
29792 return NULL;
29793 }
29794
29795
29796 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
29797 PyObject *resultobj;
29798 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29799 wxTreeItemId *arg2 = 0 ;
29800 wxTreeItemId result;
29801 PyObject * obj0 = 0 ;
29802 PyObject * obj1 = 0 ;
29803 char *kwnames[] = {
29804 (char *) "self",(char *) "item", NULL
29805 };
29806
29807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
29808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29809 if (SWIG_arg_fail(1)) SWIG_fail;
29810 {
29811 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29812 if (SWIG_arg_fail(2)) SWIG_fail;
29813 if (arg2 == NULL) {
29814 SWIG_null_ref("wxTreeItemId");
29815 }
29816 if (SWIG_arg_fail(2)) SWIG_fail;
29817 }
29818 {
29819 PyThreadState* __tstate = wxPyBeginAllowThreads();
29820 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29821
29822 wxPyEndAllowThreads(__tstate);
29823 if (PyErr_Occurred()) SWIG_fail;
29824 }
29825 {
29826 wxTreeItemId * resultptr;
29827 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29828 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29829 }
29830 return resultobj;
29831 fail:
29832 return NULL;
29833 }
29834
29835
29836 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
29837 PyObject *resultobj;
29838 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29839 wxTreeItemId result;
29840 PyObject * obj0 = 0 ;
29841 char *kwnames[] = {
29842 (char *) "self", NULL
29843 };
29844
29845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
29846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29847 if (SWIG_arg_fail(1)) SWIG_fail;
29848 {
29849 PyThreadState* __tstate = wxPyBeginAllowThreads();
29850 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29851
29852 wxPyEndAllowThreads(__tstate);
29853 if (PyErr_Occurred()) SWIG_fail;
29854 }
29855 {
29856 wxTreeItemId * resultptr;
29857 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29858 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29859 }
29860 return resultobj;
29861 fail:
29862 return NULL;
29863 }
29864
29865
29866 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29867 PyObject *resultobj;
29868 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29869 wxTreeItemId *arg2 = 0 ;
29870 wxTreeItemId result;
29871 PyObject * obj0 = 0 ;
29872 PyObject * obj1 = 0 ;
29873 char *kwnames[] = {
29874 (char *) "self",(char *) "item", NULL
29875 };
29876
29877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
29878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29879 if (SWIG_arg_fail(1)) SWIG_fail;
29880 {
29881 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29882 if (SWIG_arg_fail(2)) SWIG_fail;
29883 if (arg2 == NULL) {
29884 SWIG_null_ref("wxTreeItemId");
29885 }
29886 if (SWIG_arg_fail(2)) SWIG_fail;
29887 }
29888 {
29889 PyThreadState* __tstate = wxPyBeginAllowThreads();
29890 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29891
29892 wxPyEndAllowThreads(__tstate);
29893 if (PyErr_Occurred()) SWIG_fail;
29894 }
29895 {
29896 wxTreeItemId * resultptr;
29897 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29898 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29899 }
29900 return resultobj;
29901 fail:
29902 return NULL;
29903 }
29904
29905
29906 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
29907 PyObject *resultobj;
29908 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29909 wxTreeItemId *arg2 = 0 ;
29910 wxTreeItemId result;
29911 PyObject * obj0 = 0 ;
29912 PyObject * obj1 = 0 ;
29913 char *kwnames[] = {
29914 (char *) "self",(char *) "item", NULL
29915 };
29916
29917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
29918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29919 if (SWIG_arg_fail(1)) SWIG_fail;
29920 {
29921 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29922 if (SWIG_arg_fail(2)) SWIG_fail;
29923 if (arg2 == NULL) {
29924 SWIG_null_ref("wxTreeItemId");
29925 }
29926 if (SWIG_arg_fail(2)) SWIG_fail;
29927 }
29928 {
29929 PyThreadState* __tstate = wxPyBeginAllowThreads();
29930 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29931
29932 wxPyEndAllowThreads(__tstate);
29933 if (PyErr_Occurred()) SWIG_fail;
29934 }
29935 {
29936 wxTreeItemId * resultptr;
29937 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29939 }
29940 return resultobj;
29941 fail:
29942 return NULL;
29943 }
29944
29945
29946 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
29947 PyObject *resultobj;
29948 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29949 wxString *arg2 = 0 ;
29950 int arg3 = (int) -1 ;
29951 int arg4 = (int) -1 ;
29952 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29953 wxTreeItemId result;
29954 bool temp2 = false ;
29955 PyObject * obj0 = 0 ;
29956 PyObject * obj1 = 0 ;
29957 PyObject * obj2 = 0 ;
29958 PyObject * obj3 = 0 ;
29959 PyObject * obj4 = 0 ;
29960 char *kwnames[] = {
29961 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29962 };
29963
29964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29966 if (SWIG_arg_fail(1)) SWIG_fail;
29967 {
29968 arg2 = wxString_in_helper(obj1);
29969 if (arg2 == NULL) SWIG_fail;
29970 temp2 = true;
29971 }
29972 if (obj2) {
29973 {
29974 arg3 = (int)(SWIG_As_int(obj2));
29975 if (SWIG_arg_fail(3)) SWIG_fail;
29976 }
29977 }
29978 if (obj3) {
29979 {
29980 arg4 = (int)(SWIG_As_int(obj3));
29981 if (SWIG_arg_fail(4)) SWIG_fail;
29982 }
29983 }
29984 if (obj4) {
29985 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29986 if (SWIG_arg_fail(5)) SWIG_fail;
29987 }
29988 {
29989 PyThreadState* __tstate = wxPyBeginAllowThreads();
29990 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29991
29992 wxPyEndAllowThreads(__tstate);
29993 if (PyErr_Occurred()) SWIG_fail;
29994 }
29995 {
29996 wxTreeItemId * resultptr;
29997 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
29998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29999 }
30000 {
30001 if (temp2)
30002 delete arg2;
30003 }
30004 return resultobj;
30005 fail:
30006 {
30007 if (temp2)
30008 delete arg2;
30009 }
30010 return NULL;
30011 }
30012
30013
30014 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
30015 PyObject *resultobj;
30016 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30017 wxTreeItemId *arg2 = 0 ;
30018 wxString *arg3 = 0 ;
30019 int arg4 = (int) -1 ;
30020 int arg5 = (int) -1 ;
30021 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30022 wxTreeItemId result;
30023 bool temp3 = false ;
30024 PyObject * obj0 = 0 ;
30025 PyObject * obj1 = 0 ;
30026 PyObject * obj2 = 0 ;
30027 PyObject * obj3 = 0 ;
30028 PyObject * obj4 = 0 ;
30029 PyObject * obj5 = 0 ;
30030 char *kwnames[] = {
30031 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30032 };
30033
30034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30036 if (SWIG_arg_fail(1)) SWIG_fail;
30037 {
30038 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30039 if (SWIG_arg_fail(2)) SWIG_fail;
30040 if (arg2 == NULL) {
30041 SWIG_null_ref("wxTreeItemId");
30042 }
30043 if (SWIG_arg_fail(2)) SWIG_fail;
30044 }
30045 {
30046 arg3 = wxString_in_helper(obj2);
30047 if (arg3 == NULL) SWIG_fail;
30048 temp3 = true;
30049 }
30050 if (obj3) {
30051 {
30052 arg4 = (int)(SWIG_As_int(obj3));
30053 if (SWIG_arg_fail(4)) SWIG_fail;
30054 }
30055 }
30056 if (obj4) {
30057 {
30058 arg5 = (int)(SWIG_As_int(obj4));
30059 if (SWIG_arg_fail(5)) SWIG_fail;
30060 }
30061 }
30062 if (obj5) {
30063 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30064 if (SWIG_arg_fail(6)) SWIG_fail;
30065 }
30066 {
30067 PyThreadState* __tstate = wxPyBeginAllowThreads();
30068 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30069
30070 wxPyEndAllowThreads(__tstate);
30071 if (PyErr_Occurred()) SWIG_fail;
30072 }
30073 {
30074 wxTreeItemId * resultptr;
30075 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30076 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30077 }
30078 {
30079 if (temp3)
30080 delete arg3;
30081 }
30082 return resultobj;
30083 fail:
30084 {
30085 if (temp3)
30086 delete arg3;
30087 }
30088 return NULL;
30089 }
30090
30091
30092 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
30093 PyObject *resultobj;
30094 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30095 wxTreeItemId *arg2 = 0 ;
30096 wxTreeItemId *arg3 = 0 ;
30097 wxString *arg4 = 0 ;
30098 int arg5 = (int) -1 ;
30099 int arg6 = (int) -1 ;
30100 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30101 wxTreeItemId result;
30102 bool temp4 = false ;
30103 PyObject * obj0 = 0 ;
30104 PyObject * obj1 = 0 ;
30105 PyObject * obj2 = 0 ;
30106 PyObject * obj3 = 0 ;
30107 PyObject * obj4 = 0 ;
30108 PyObject * obj5 = 0 ;
30109 PyObject * obj6 = 0 ;
30110 char *kwnames[] = {
30111 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30112 };
30113
30114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30116 if (SWIG_arg_fail(1)) SWIG_fail;
30117 {
30118 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30119 if (SWIG_arg_fail(2)) SWIG_fail;
30120 if (arg2 == NULL) {
30121 SWIG_null_ref("wxTreeItemId");
30122 }
30123 if (SWIG_arg_fail(2)) SWIG_fail;
30124 }
30125 {
30126 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30127 if (SWIG_arg_fail(3)) SWIG_fail;
30128 if (arg3 == NULL) {
30129 SWIG_null_ref("wxTreeItemId");
30130 }
30131 if (SWIG_arg_fail(3)) SWIG_fail;
30132 }
30133 {
30134 arg4 = wxString_in_helper(obj3);
30135 if (arg4 == NULL) SWIG_fail;
30136 temp4 = true;
30137 }
30138 if (obj4) {
30139 {
30140 arg5 = (int)(SWIG_As_int(obj4));
30141 if (SWIG_arg_fail(5)) SWIG_fail;
30142 }
30143 }
30144 if (obj5) {
30145 {
30146 arg6 = (int)(SWIG_As_int(obj5));
30147 if (SWIG_arg_fail(6)) SWIG_fail;
30148 }
30149 }
30150 if (obj6) {
30151 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30152 if (SWIG_arg_fail(7)) SWIG_fail;
30153 }
30154 {
30155 PyThreadState* __tstate = wxPyBeginAllowThreads();
30156 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30157
30158 wxPyEndAllowThreads(__tstate);
30159 if (PyErr_Occurred()) SWIG_fail;
30160 }
30161 {
30162 wxTreeItemId * resultptr;
30163 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30164 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30165 }
30166 {
30167 if (temp4)
30168 delete arg4;
30169 }
30170 return resultobj;
30171 fail:
30172 {
30173 if (temp4)
30174 delete arg4;
30175 }
30176 return NULL;
30177 }
30178
30179
30180 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
30181 PyObject *resultobj;
30182 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30183 wxTreeItemId *arg2 = 0 ;
30184 size_t arg3 ;
30185 wxString *arg4 = 0 ;
30186 int arg5 = (int) -1 ;
30187 int arg6 = (int) -1 ;
30188 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30189 wxTreeItemId result;
30190 bool temp4 = false ;
30191 PyObject * obj0 = 0 ;
30192 PyObject * obj1 = 0 ;
30193 PyObject * obj2 = 0 ;
30194 PyObject * obj3 = 0 ;
30195 PyObject * obj4 = 0 ;
30196 PyObject * obj5 = 0 ;
30197 PyObject * obj6 = 0 ;
30198 char *kwnames[] = {
30199 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30200 };
30201
30202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
30203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30204 if (SWIG_arg_fail(1)) SWIG_fail;
30205 {
30206 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30207 if (SWIG_arg_fail(2)) SWIG_fail;
30208 if (arg2 == NULL) {
30209 SWIG_null_ref("wxTreeItemId");
30210 }
30211 if (SWIG_arg_fail(2)) SWIG_fail;
30212 }
30213 {
30214 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30215 if (SWIG_arg_fail(3)) SWIG_fail;
30216 }
30217 {
30218 arg4 = wxString_in_helper(obj3);
30219 if (arg4 == NULL) SWIG_fail;
30220 temp4 = true;
30221 }
30222 if (obj4) {
30223 {
30224 arg5 = (int)(SWIG_As_int(obj4));
30225 if (SWIG_arg_fail(5)) SWIG_fail;
30226 }
30227 }
30228 if (obj5) {
30229 {
30230 arg6 = (int)(SWIG_As_int(obj5));
30231 if (SWIG_arg_fail(6)) SWIG_fail;
30232 }
30233 }
30234 if (obj6) {
30235 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30236 if (SWIG_arg_fail(7)) SWIG_fail;
30237 }
30238 {
30239 PyThreadState* __tstate = wxPyBeginAllowThreads();
30240 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30241
30242 wxPyEndAllowThreads(__tstate);
30243 if (PyErr_Occurred()) SWIG_fail;
30244 }
30245 {
30246 wxTreeItemId * resultptr;
30247 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30248 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30249 }
30250 {
30251 if (temp4)
30252 delete arg4;
30253 }
30254 return resultobj;
30255 fail:
30256 {
30257 if (temp4)
30258 delete arg4;
30259 }
30260 return NULL;
30261 }
30262
30263
30264 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
30265 PyObject *resultobj;
30266 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30267 wxTreeItemId *arg2 = 0 ;
30268 wxString *arg3 = 0 ;
30269 int arg4 = (int) -1 ;
30270 int arg5 = (int) -1 ;
30271 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30272 wxTreeItemId result;
30273 bool temp3 = false ;
30274 PyObject * obj0 = 0 ;
30275 PyObject * obj1 = 0 ;
30276 PyObject * obj2 = 0 ;
30277 PyObject * obj3 = 0 ;
30278 PyObject * obj4 = 0 ;
30279 PyObject * obj5 = 0 ;
30280 char *kwnames[] = {
30281 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30282 };
30283
30284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30286 if (SWIG_arg_fail(1)) SWIG_fail;
30287 {
30288 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30289 if (SWIG_arg_fail(2)) SWIG_fail;
30290 if (arg2 == NULL) {
30291 SWIG_null_ref("wxTreeItemId");
30292 }
30293 if (SWIG_arg_fail(2)) SWIG_fail;
30294 }
30295 {
30296 arg3 = wxString_in_helper(obj2);
30297 if (arg3 == NULL) SWIG_fail;
30298 temp3 = true;
30299 }
30300 if (obj3) {
30301 {
30302 arg4 = (int)(SWIG_As_int(obj3));
30303 if (SWIG_arg_fail(4)) SWIG_fail;
30304 }
30305 }
30306 if (obj4) {
30307 {
30308 arg5 = (int)(SWIG_As_int(obj4));
30309 if (SWIG_arg_fail(5)) SWIG_fail;
30310 }
30311 }
30312 if (obj5) {
30313 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30314 if (SWIG_arg_fail(6)) SWIG_fail;
30315 }
30316 {
30317 PyThreadState* __tstate = wxPyBeginAllowThreads();
30318 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30319
30320 wxPyEndAllowThreads(__tstate);
30321 if (PyErr_Occurred()) SWIG_fail;
30322 }
30323 {
30324 wxTreeItemId * resultptr;
30325 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30327 }
30328 {
30329 if (temp3)
30330 delete arg3;
30331 }
30332 return resultobj;
30333 fail:
30334 {
30335 if (temp3)
30336 delete arg3;
30337 }
30338 return NULL;
30339 }
30340
30341
30342 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
30343 PyObject *resultobj;
30344 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30345 wxTreeItemId *arg2 = 0 ;
30346 PyObject * obj0 = 0 ;
30347 PyObject * obj1 = 0 ;
30348 char *kwnames[] = {
30349 (char *) "self",(char *) "item", NULL
30350 };
30351
30352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
30353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30354 if (SWIG_arg_fail(1)) SWIG_fail;
30355 {
30356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30357 if (SWIG_arg_fail(2)) SWIG_fail;
30358 if (arg2 == NULL) {
30359 SWIG_null_ref("wxTreeItemId");
30360 }
30361 if (SWIG_arg_fail(2)) SWIG_fail;
30362 }
30363 {
30364 PyThreadState* __tstate = wxPyBeginAllowThreads();
30365 (arg1)->Delete((wxTreeItemId const &)*arg2);
30366
30367 wxPyEndAllowThreads(__tstate);
30368 if (PyErr_Occurred()) SWIG_fail;
30369 }
30370 Py_INCREF(Py_None); resultobj = Py_None;
30371 return resultobj;
30372 fail:
30373 return NULL;
30374 }
30375
30376
30377 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30378 PyObject *resultobj;
30379 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30380 wxTreeItemId *arg2 = 0 ;
30381 PyObject * obj0 = 0 ;
30382 PyObject * obj1 = 0 ;
30383 char *kwnames[] = {
30384 (char *) "self",(char *) "item", NULL
30385 };
30386
30387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
30388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30389 if (SWIG_arg_fail(1)) SWIG_fail;
30390 {
30391 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30392 if (SWIG_arg_fail(2)) SWIG_fail;
30393 if (arg2 == NULL) {
30394 SWIG_null_ref("wxTreeItemId");
30395 }
30396 if (SWIG_arg_fail(2)) SWIG_fail;
30397 }
30398 {
30399 PyThreadState* __tstate = wxPyBeginAllowThreads();
30400 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30401
30402 wxPyEndAllowThreads(__tstate);
30403 if (PyErr_Occurred()) SWIG_fail;
30404 }
30405 Py_INCREF(Py_None); resultobj = Py_None;
30406 return resultobj;
30407 fail:
30408 return NULL;
30409 }
30410
30411
30412 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
30413 PyObject *resultobj;
30414 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30415 PyObject * obj0 = 0 ;
30416 char *kwnames[] = {
30417 (char *) "self", NULL
30418 };
30419
30420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
30421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30422 if (SWIG_arg_fail(1)) SWIG_fail;
30423 {
30424 PyThreadState* __tstate = wxPyBeginAllowThreads();
30425 (arg1)->DeleteAllItems();
30426
30427 wxPyEndAllowThreads(__tstate);
30428 if (PyErr_Occurred()) SWIG_fail;
30429 }
30430 Py_INCREF(Py_None); resultobj = Py_None;
30431 return resultobj;
30432 fail:
30433 return NULL;
30434 }
30435
30436
30437 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
30438 PyObject *resultobj;
30439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30440 wxTreeItemId *arg2 = 0 ;
30441 PyObject * obj0 = 0 ;
30442 PyObject * obj1 = 0 ;
30443 char *kwnames[] = {
30444 (char *) "self",(char *) "item", NULL
30445 };
30446
30447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
30448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30449 if (SWIG_arg_fail(1)) SWIG_fail;
30450 {
30451 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30452 if (SWIG_arg_fail(2)) SWIG_fail;
30453 if (arg2 == NULL) {
30454 SWIG_null_ref("wxTreeItemId");
30455 }
30456 if (SWIG_arg_fail(2)) SWIG_fail;
30457 }
30458 {
30459 PyThreadState* __tstate = wxPyBeginAllowThreads();
30460 (arg1)->Expand((wxTreeItemId const &)*arg2);
30461
30462 wxPyEndAllowThreads(__tstate);
30463 if (PyErr_Occurred()) SWIG_fail;
30464 }
30465 Py_INCREF(Py_None); resultobj = Py_None;
30466 return resultobj;
30467 fail:
30468 return NULL;
30469 }
30470
30471
30472 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
30473 PyObject *resultobj;
30474 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30475 wxTreeItemId *arg2 = 0 ;
30476 PyObject * obj0 = 0 ;
30477 PyObject * obj1 = 0 ;
30478 char *kwnames[] = {
30479 (char *) "self",(char *) "item", NULL
30480 };
30481
30482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
30483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30484 if (SWIG_arg_fail(1)) SWIG_fail;
30485 {
30486 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30487 if (SWIG_arg_fail(2)) SWIG_fail;
30488 if (arg2 == NULL) {
30489 SWIG_null_ref("wxTreeItemId");
30490 }
30491 if (SWIG_arg_fail(2)) SWIG_fail;
30492 }
30493 {
30494 PyThreadState* __tstate = wxPyBeginAllowThreads();
30495 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30496
30497 wxPyEndAllowThreads(__tstate);
30498 if (PyErr_Occurred()) SWIG_fail;
30499 }
30500 Py_INCREF(Py_None); resultobj = Py_None;
30501 return resultobj;
30502 fail:
30503 return NULL;
30504 }
30505
30506
30507 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
30508 PyObject *resultobj;
30509 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30510 wxTreeItemId *arg2 = 0 ;
30511 PyObject * obj0 = 0 ;
30512 PyObject * obj1 = 0 ;
30513 char *kwnames[] = {
30514 (char *) "self",(char *) "item", NULL
30515 };
30516
30517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
30518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30519 if (SWIG_arg_fail(1)) SWIG_fail;
30520 {
30521 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30522 if (SWIG_arg_fail(2)) SWIG_fail;
30523 if (arg2 == NULL) {
30524 SWIG_null_ref("wxTreeItemId");
30525 }
30526 if (SWIG_arg_fail(2)) SWIG_fail;
30527 }
30528 {
30529 PyThreadState* __tstate = wxPyBeginAllowThreads();
30530 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30531
30532 wxPyEndAllowThreads(__tstate);
30533 if (PyErr_Occurred()) SWIG_fail;
30534 }
30535 Py_INCREF(Py_None); resultobj = Py_None;
30536 return resultobj;
30537 fail:
30538 return NULL;
30539 }
30540
30541
30542 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
30543 PyObject *resultobj;
30544 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30545 wxTreeItemId *arg2 = 0 ;
30546 PyObject * obj0 = 0 ;
30547 PyObject * obj1 = 0 ;
30548 char *kwnames[] = {
30549 (char *) "self",(char *) "item", NULL
30550 };
30551
30552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
30553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30554 if (SWIG_arg_fail(1)) SWIG_fail;
30555 {
30556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30557 if (SWIG_arg_fail(2)) SWIG_fail;
30558 if (arg2 == NULL) {
30559 SWIG_null_ref("wxTreeItemId");
30560 }
30561 if (SWIG_arg_fail(2)) SWIG_fail;
30562 }
30563 {
30564 PyThreadState* __tstate = wxPyBeginAllowThreads();
30565 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30566
30567 wxPyEndAllowThreads(__tstate);
30568 if (PyErr_Occurred()) SWIG_fail;
30569 }
30570 Py_INCREF(Py_None); resultobj = Py_None;
30571 return resultobj;
30572 fail:
30573 return NULL;
30574 }
30575
30576
30577 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
30578 PyObject *resultobj;
30579 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30580 PyObject * obj0 = 0 ;
30581 char *kwnames[] = {
30582 (char *) "self", NULL
30583 };
30584
30585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
30586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30587 if (SWIG_arg_fail(1)) SWIG_fail;
30588 {
30589 PyThreadState* __tstate = wxPyBeginAllowThreads();
30590 (arg1)->Unselect();
30591
30592 wxPyEndAllowThreads(__tstate);
30593 if (PyErr_Occurred()) SWIG_fail;
30594 }
30595 Py_INCREF(Py_None); resultobj = Py_None;
30596 return resultobj;
30597 fail:
30598 return NULL;
30599 }
30600
30601
30602 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30603 PyObject *resultobj;
30604 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30605 wxTreeItemId *arg2 = 0 ;
30606 PyObject * obj0 = 0 ;
30607 PyObject * obj1 = 0 ;
30608 char *kwnames[] = {
30609 (char *) "self",(char *) "item", NULL
30610 };
30611
30612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
30613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30614 if (SWIG_arg_fail(1)) SWIG_fail;
30615 {
30616 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30617 if (SWIG_arg_fail(2)) SWIG_fail;
30618 if (arg2 == NULL) {
30619 SWIG_null_ref("wxTreeItemId");
30620 }
30621 if (SWIG_arg_fail(2)) SWIG_fail;
30622 }
30623 {
30624 PyThreadState* __tstate = wxPyBeginAllowThreads();
30625 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30626
30627 wxPyEndAllowThreads(__tstate);
30628 if (PyErr_Occurred()) SWIG_fail;
30629 }
30630 Py_INCREF(Py_None); resultobj = Py_None;
30631 return resultobj;
30632 fail:
30633 return NULL;
30634 }
30635
30636
30637 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
30638 PyObject *resultobj;
30639 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30640 PyObject * obj0 = 0 ;
30641 char *kwnames[] = {
30642 (char *) "self", NULL
30643 };
30644
30645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
30646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30647 if (SWIG_arg_fail(1)) SWIG_fail;
30648 {
30649 PyThreadState* __tstate = wxPyBeginAllowThreads();
30650 (arg1)->UnselectAll();
30651
30652 wxPyEndAllowThreads(__tstate);
30653 if (PyErr_Occurred()) SWIG_fail;
30654 }
30655 Py_INCREF(Py_None); resultobj = Py_None;
30656 return resultobj;
30657 fail:
30658 return NULL;
30659 }
30660
30661
30662 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
30663 PyObject *resultobj;
30664 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30665 wxTreeItemId *arg2 = 0 ;
30666 bool arg3 = (bool) true ;
30667 PyObject * obj0 = 0 ;
30668 PyObject * obj1 = 0 ;
30669 PyObject * obj2 = 0 ;
30670 char *kwnames[] = {
30671 (char *) "self",(char *) "item",(char *) "select", NULL
30672 };
30673
30674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
30675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30676 if (SWIG_arg_fail(1)) SWIG_fail;
30677 {
30678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30679 if (SWIG_arg_fail(2)) SWIG_fail;
30680 if (arg2 == NULL) {
30681 SWIG_null_ref("wxTreeItemId");
30682 }
30683 if (SWIG_arg_fail(2)) SWIG_fail;
30684 }
30685 if (obj2) {
30686 {
30687 arg3 = (bool)(SWIG_As_bool(obj2));
30688 if (SWIG_arg_fail(3)) SWIG_fail;
30689 }
30690 }
30691 {
30692 PyThreadState* __tstate = wxPyBeginAllowThreads();
30693 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30694
30695 wxPyEndAllowThreads(__tstate);
30696 if (PyErr_Occurred()) SWIG_fail;
30697 }
30698 Py_INCREF(Py_None); resultobj = Py_None;
30699 return resultobj;
30700 fail:
30701 return NULL;
30702 }
30703
30704
30705 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
30706 PyObject *resultobj;
30707 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30708 wxTreeItemId *arg2 = 0 ;
30709 PyObject * obj0 = 0 ;
30710 PyObject * obj1 = 0 ;
30711 char *kwnames[] = {
30712 (char *) "self",(char *) "item", NULL
30713 };
30714
30715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
30716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30717 if (SWIG_arg_fail(1)) SWIG_fail;
30718 {
30719 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30720 if (SWIG_arg_fail(2)) SWIG_fail;
30721 if (arg2 == NULL) {
30722 SWIG_null_ref("wxTreeItemId");
30723 }
30724 if (SWIG_arg_fail(2)) SWIG_fail;
30725 }
30726 {
30727 PyThreadState* __tstate = wxPyBeginAllowThreads();
30728 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30729
30730 wxPyEndAllowThreads(__tstate);
30731 if (PyErr_Occurred()) SWIG_fail;
30732 }
30733 Py_INCREF(Py_None); resultobj = Py_None;
30734 return resultobj;
30735 fail:
30736 return NULL;
30737 }
30738
30739
30740 static PyObject *_wrap_TreeCtrl_EnsureVisible(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_EnsureVisible",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)->EnsureVisible((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_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
30776 PyObject *resultobj;
30777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30778 wxTreeItemId *arg2 = 0 ;
30779 PyObject * obj0 = 0 ;
30780 PyObject * obj1 = 0 ;
30781 char *kwnames[] = {
30782 (char *) "self",(char *) "item", NULL
30783 };
30784
30785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
30786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30787 if (SWIG_arg_fail(1)) SWIG_fail;
30788 {
30789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30790 if (SWIG_arg_fail(2)) SWIG_fail;
30791 if (arg2 == NULL) {
30792 SWIG_null_ref("wxTreeItemId");
30793 }
30794 if (SWIG_arg_fail(2)) SWIG_fail;
30795 }
30796 {
30797 PyThreadState* __tstate = wxPyBeginAllowThreads();
30798 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30799
30800 wxPyEndAllowThreads(__tstate);
30801 if (PyErr_Occurred()) SWIG_fail;
30802 }
30803 Py_INCREF(Py_None); resultobj = Py_None;
30804 return resultobj;
30805 fail:
30806 return NULL;
30807 }
30808
30809
30810 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30811 PyObject *resultobj;
30812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30813 wxTreeItemId *arg2 = 0 ;
30814 PyObject * obj0 = 0 ;
30815 PyObject * obj1 = 0 ;
30816 char *kwnames[] = {
30817 (char *) "self",(char *) "item", NULL
30818 };
30819
30820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
30821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30822 if (SWIG_arg_fail(1)) SWIG_fail;
30823 {
30824 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30825 if (SWIG_arg_fail(2)) SWIG_fail;
30826 if (arg2 == NULL) {
30827 SWIG_null_ref("wxTreeItemId");
30828 }
30829 if (SWIG_arg_fail(2)) SWIG_fail;
30830 }
30831 {
30832 PyThreadState* __tstate = wxPyBeginAllowThreads();
30833 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30834
30835 wxPyEndAllowThreads(__tstate);
30836 if (PyErr_Occurred()) SWIG_fail;
30837 }
30838 Py_INCREF(Py_None); resultobj = Py_None;
30839 return resultobj;
30840 fail:
30841 return NULL;
30842 }
30843
30844
30845 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
30846 PyObject *resultobj;
30847 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30848 wxTextCtrl *result;
30849 PyObject * obj0 = 0 ;
30850 char *kwnames[] = {
30851 (char *) "self", NULL
30852 };
30853
30854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
30855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30856 if (SWIG_arg_fail(1)) SWIG_fail;
30857 {
30858 PyThreadState* __tstate = wxPyBeginAllowThreads();
30859 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30860
30861 wxPyEndAllowThreads(__tstate);
30862 if (PyErr_Occurred()) SWIG_fail;
30863 }
30864 {
30865 resultobj = wxPyMake_wxObject(result, 0);
30866 }
30867 return resultobj;
30868 fail:
30869 return NULL;
30870 }
30871
30872
30873 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
30874 PyObject *resultobj;
30875 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30876 wxTreeItemId *arg2 = 0 ;
30877 bool arg3 = (bool) false ;
30878 PyObject * obj0 = 0 ;
30879 PyObject * obj1 = 0 ;
30880 PyObject * obj2 = 0 ;
30881 char *kwnames[] = {
30882 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
30883 };
30884
30885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
30886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30887 if (SWIG_arg_fail(1)) SWIG_fail;
30888 {
30889 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30890 if (SWIG_arg_fail(2)) SWIG_fail;
30891 if (arg2 == NULL) {
30892 SWIG_null_ref("wxTreeItemId");
30893 }
30894 if (SWIG_arg_fail(2)) SWIG_fail;
30895 }
30896 if (obj2) {
30897 {
30898 arg3 = (bool)(SWIG_As_bool(obj2));
30899 if (SWIG_arg_fail(3)) SWIG_fail;
30900 }
30901 }
30902 {
30903 PyThreadState* __tstate = wxPyBeginAllowThreads();
30904 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
30905
30906 wxPyEndAllowThreads(__tstate);
30907 if (PyErr_Occurred()) SWIG_fail;
30908 }
30909 Py_INCREF(Py_None); resultobj = Py_None;
30910 return resultobj;
30911 fail:
30912 return NULL;
30913 }
30914
30915
30916 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
30917 PyObject *resultobj;
30918 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30919 wxTreeItemId *arg2 = 0 ;
30920 PyObject * obj0 = 0 ;
30921 PyObject * obj1 = 0 ;
30922 char *kwnames[] = {
30923 (char *) "self",(char *) "item", NULL
30924 };
30925
30926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
30927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30928 if (SWIG_arg_fail(1)) SWIG_fail;
30929 {
30930 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30931 if (SWIG_arg_fail(2)) SWIG_fail;
30932 if (arg2 == NULL) {
30933 SWIG_null_ref("wxTreeItemId");
30934 }
30935 if (SWIG_arg_fail(2)) SWIG_fail;
30936 }
30937 {
30938 PyThreadState* __tstate = wxPyBeginAllowThreads();
30939 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30940
30941 wxPyEndAllowThreads(__tstate);
30942 if (PyErr_Occurred()) SWIG_fail;
30943 }
30944 Py_INCREF(Py_None); resultobj = Py_None;
30945 return resultobj;
30946 fail:
30947 return NULL;
30948 }
30949
30950
30951 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
30952 PyObject *resultobj;
30953 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30954 wxPoint *arg2 = 0 ;
30955 int *arg3 = 0 ;
30956 wxTreeItemId result;
30957 wxPoint temp2 ;
30958 int temp3 ;
30959 int res3 = 0 ;
30960 PyObject * obj0 = 0 ;
30961 PyObject * obj1 = 0 ;
30962 char *kwnames[] = {
30963 (char *) "self",(char *) "point", NULL
30964 };
30965
30966 arg3 = &temp3; res3 = SWIG_NEWOBJ;
30967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
30968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30969 if (SWIG_arg_fail(1)) SWIG_fail;
30970 {
30971 arg2 = &temp2;
30972 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30973 }
30974 {
30975 PyThreadState* __tstate = wxPyBeginAllowThreads();
30976 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30977
30978 wxPyEndAllowThreads(__tstate);
30979 if (PyErr_Occurred()) SWIG_fail;
30980 }
30981 {
30982 wxTreeItemId * resultptr;
30983 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
30984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30985 }
30986 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30987 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
30988 return resultobj;
30989 fail:
30990 return NULL;
30991 }
30992
30993
30994 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
30995 PyObject *resultobj;
30996 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30997 wxTreeItemId *arg2 = 0 ;
30998 bool arg3 = (bool) false ;
30999 PyObject *result;
31000 PyObject * obj0 = 0 ;
31001 PyObject * obj1 = 0 ;
31002 PyObject * obj2 = 0 ;
31003 char *kwnames[] = {
31004 (char *) "self",(char *) "item",(char *) "textOnly", NULL
31005 };
31006
31007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
31008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31009 if (SWIG_arg_fail(1)) SWIG_fail;
31010 {
31011 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31012 if (SWIG_arg_fail(2)) SWIG_fail;
31013 if (arg2 == NULL) {
31014 SWIG_null_ref("wxTreeItemId");
31015 }
31016 if (SWIG_arg_fail(2)) SWIG_fail;
31017 }
31018 if (obj2) {
31019 {
31020 arg3 = (bool)(SWIG_As_bool(obj2));
31021 if (SWIG_arg_fail(3)) SWIG_fail;
31022 }
31023 }
31024 {
31025 PyThreadState* __tstate = wxPyBeginAllowThreads();
31026 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
31027
31028 wxPyEndAllowThreads(__tstate);
31029 if (PyErr_Occurred()) SWIG_fail;
31030 }
31031 resultobj = result;
31032 return resultobj;
31033 fail:
31034 return NULL;
31035 }
31036
31037
31038 static PyObject *_wrap_TreeCtrl_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
31039 PyObject *resultobj;
31040 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31041 wxTreeItemId *arg2 = 0 ;
31042 int arg3 ;
31043 PyObject * obj0 = 0 ;
31044 PyObject * obj1 = 0 ;
31045 PyObject * obj2 = 0 ;
31046 char *kwnames[] = {
31047 (char *) "self",(char *) "node",(char *) "state", NULL
31048 };
31049
31050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
31051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31052 if (SWIG_arg_fail(1)) SWIG_fail;
31053 {
31054 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31055 if (SWIG_arg_fail(2)) SWIG_fail;
31056 if (arg2 == NULL) {
31057 SWIG_null_ref("wxTreeItemId");
31058 }
31059 if (SWIG_arg_fail(2)) SWIG_fail;
31060 }
31061 {
31062 arg3 = (int)(SWIG_As_int(obj2));
31063 if (SWIG_arg_fail(3)) SWIG_fail;
31064 }
31065 {
31066 PyThreadState* __tstate = wxPyBeginAllowThreads();
31067 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
31068
31069 wxPyEndAllowThreads(__tstate);
31070 if (PyErr_Occurred()) SWIG_fail;
31071 }
31072 Py_INCREF(Py_None); resultobj = Py_None;
31073 return resultobj;
31074 fail:
31075 return NULL;
31076 }
31077
31078
31079 static PyObject *_wrap_TreeCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
31080 PyObject *resultobj;
31081 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
31082 wxTreeItemId *arg2 = 0 ;
31083 int result;
31084 PyObject * obj0 = 0 ;
31085 PyObject * obj1 = 0 ;
31086 char *kwnames[] = {
31087 (char *) "self",(char *) "node", NULL
31088 };
31089
31090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
31091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
31092 if (SWIG_arg_fail(1)) SWIG_fail;
31093 {
31094 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
31095 if (SWIG_arg_fail(2)) SWIG_fail;
31096 if (arg2 == NULL) {
31097 SWIG_null_ref("wxTreeItemId");
31098 }
31099 if (SWIG_arg_fail(2)) SWIG_fail;
31100 }
31101 {
31102 PyThreadState* __tstate = wxPyBeginAllowThreads();
31103 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
31104
31105 wxPyEndAllowThreads(__tstate);
31106 if (PyErr_Occurred()) SWIG_fail;
31107 }
31108 {
31109 resultobj = SWIG_From_int((int)(result));
31110 }
31111 return resultobj;
31112 fail:
31113 return NULL;
31114 }
31115
31116
31117 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
31118 PyObject *resultobj;
31119 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
31120 wxVisualAttributes result;
31121 PyObject * obj0 = 0 ;
31122 char *kwnames[] = {
31123 (char *) "variant", NULL
31124 };
31125
31126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
31127 if (obj0) {
31128 {
31129 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
31130 if (SWIG_arg_fail(1)) SWIG_fail;
31131 }
31132 }
31133 {
31134 if (!wxPyCheckForApp()) SWIG_fail;
31135 PyThreadState* __tstate = wxPyBeginAllowThreads();
31136 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
31137
31138 wxPyEndAllowThreads(__tstate);
31139 if (PyErr_Occurred()) SWIG_fail;
31140 }
31141 {
31142 wxVisualAttributes * resultptr;
31143 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
31144 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
31145 }
31146 return resultobj;
31147 fail:
31148 return NULL;
31149 }
31150
31151
31152 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
31153 PyObject *obj;
31154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31155 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
31156 Py_INCREF(obj);
31157 return Py_BuildValue((char *)"");
31158 }
31159 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
31160 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
31161 return 1;
31162 }
31163
31164
31165 static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
31166 PyObject *pyobj;
31167
31168 {
31169 #if wxUSE_UNICODE
31170 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31171 #else
31172 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
31173 #endif
31174 }
31175 return pyobj;
31176 }
31177
31178
31179 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31180 PyObject *resultobj;
31181 wxWindow *arg1 = (wxWindow *) 0 ;
31182 int arg2 = (int) (int)-1 ;
31183 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
31184 wxString *arg3 = (wxString *) &arg3_defvalue ;
31185 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31186 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31187 wxSize const &arg5_defvalue = wxDefaultSize ;
31188 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31189 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31190 wxString const &arg7_defvalue = wxPyEmptyString ;
31191 wxString *arg7 = (wxString *) &arg7_defvalue ;
31192 int arg8 = (int) 0 ;
31193 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
31194 wxString *arg9 = (wxString *) &arg9_defvalue ;
31195 wxGenericDirCtrl *result;
31196 bool temp3 = false ;
31197 wxPoint temp4 ;
31198 wxSize temp5 ;
31199 bool temp7 = false ;
31200 bool temp9 = false ;
31201 PyObject * obj0 = 0 ;
31202 PyObject * obj1 = 0 ;
31203 PyObject * obj2 = 0 ;
31204 PyObject * obj3 = 0 ;
31205 PyObject * obj4 = 0 ;
31206 PyObject * obj5 = 0 ;
31207 PyObject * obj6 = 0 ;
31208 PyObject * obj7 = 0 ;
31209 PyObject * obj8 = 0 ;
31210 char *kwnames[] = {
31211 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31212 };
31213
31214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
31215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31216 if (SWIG_arg_fail(1)) SWIG_fail;
31217 if (obj1) {
31218 {
31219 arg2 = (int const)(SWIG_As_int(obj1));
31220 if (SWIG_arg_fail(2)) SWIG_fail;
31221 }
31222 }
31223 if (obj2) {
31224 {
31225 arg3 = wxString_in_helper(obj2);
31226 if (arg3 == NULL) SWIG_fail;
31227 temp3 = true;
31228 }
31229 }
31230 if (obj3) {
31231 {
31232 arg4 = &temp4;
31233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31234 }
31235 }
31236 if (obj4) {
31237 {
31238 arg5 = &temp5;
31239 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31240 }
31241 }
31242 if (obj5) {
31243 {
31244 arg6 = (long)(SWIG_As_long(obj5));
31245 if (SWIG_arg_fail(6)) SWIG_fail;
31246 }
31247 }
31248 if (obj6) {
31249 {
31250 arg7 = wxString_in_helper(obj6);
31251 if (arg7 == NULL) SWIG_fail;
31252 temp7 = true;
31253 }
31254 }
31255 if (obj7) {
31256 {
31257 arg8 = (int)(SWIG_As_int(obj7));
31258 if (SWIG_arg_fail(8)) SWIG_fail;
31259 }
31260 }
31261 if (obj8) {
31262 {
31263 arg9 = wxString_in_helper(obj8);
31264 if (arg9 == NULL) SWIG_fail;
31265 temp9 = true;
31266 }
31267 }
31268 {
31269 if (!wxPyCheckForApp()) SWIG_fail;
31270 PyThreadState* __tstate = wxPyBeginAllowThreads();
31271 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31272
31273 wxPyEndAllowThreads(__tstate);
31274 if (PyErr_Occurred()) SWIG_fail;
31275 }
31276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31277 {
31278 if (temp3)
31279 delete arg3;
31280 }
31281 {
31282 if (temp7)
31283 delete arg7;
31284 }
31285 {
31286 if (temp9)
31287 delete arg9;
31288 }
31289 return resultobj;
31290 fail:
31291 {
31292 if (temp3)
31293 delete arg3;
31294 }
31295 {
31296 if (temp7)
31297 delete arg7;
31298 }
31299 {
31300 if (temp9)
31301 delete arg9;
31302 }
31303 return NULL;
31304 }
31305
31306
31307 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31308 PyObject *resultobj;
31309 wxGenericDirCtrl *result;
31310 char *kwnames[] = {
31311 NULL
31312 };
31313
31314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31315 {
31316 if (!wxPyCheckForApp()) SWIG_fail;
31317 PyThreadState* __tstate = wxPyBeginAllowThreads();
31318 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31319
31320 wxPyEndAllowThreads(__tstate);
31321 if (PyErr_Occurred()) SWIG_fail;
31322 }
31323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31324 return resultobj;
31325 fail:
31326 return NULL;
31327 }
31328
31329
31330 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
31331 PyObject *resultobj;
31332 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31333 wxWindow *arg2 = (wxWindow *) 0 ;
31334 int arg3 = (int) (int)-1 ;
31335 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31336 wxString *arg4 = (wxString *) &arg4_defvalue ;
31337 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31338 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31339 wxSize const &arg6_defvalue = wxDefaultSize ;
31340 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31341 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31342 wxString const &arg8_defvalue = wxPyEmptyString ;
31343 wxString *arg8 = (wxString *) &arg8_defvalue ;
31344 int arg9 = (int) 0 ;
31345 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31346 wxString *arg10 = (wxString *) &arg10_defvalue ;
31347 bool result;
31348 bool temp4 = false ;
31349 wxPoint temp5 ;
31350 wxSize temp6 ;
31351 bool temp8 = false ;
31352 bool temp10 = false ;
31353 PyObject * obj0 = 0 ;
31354 PyObject * obj1 = 0 ;
31355 PyObject * obj2 = 0 ;
31356 PyObject * obj3 = 0 ;
31357 PyObject * obj4 = 0 ;
31358 PyObject * obj5 = 0 ;
31359 PyObject * obj6 = 0 ;
31360 PyObject * obj7 = 0 ;
31361 PyObject * obj8 = 0 ;
31362 PyObject * obj9 = 0 ;
31363 char *kwnames[] = {
31364 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31365 };
31366
31367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
31368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31369 if (SWIG_arg_fail(1)) SWIG_fail;
31370 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31371 if (SWIG_arg_fail(2)) SWIG_fail;
31372 if (obj2) {
31373 {
31374 arg3 = (int const)(SWIG_As_int(obj2));
31375 if (SWIG_arg_fail(3)) SWIG_fail;
31376 }
31377 }
31378 if (obj3) {
31379 {
31380 arg4 = wxString_in_helper(obj3);
31381 if (arg4 == NULL) SWIG_fail;
31382 temp4 = true;
31383 }
31384 }
31385 if (obj4) {
31386 {
31387 arg5 = &temp5;
31388 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31389 }
31390 }
31391 if (obj5) {
31392 {
31393 arg6 = &temp6;
31394 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31395 }
31396 }
31397 if (obj6) {
31398 {
31399 arg7 = (long)(SWIG_As_long(obj6));
31400 if (SWIG_arg_fail(7)) SWIG_fail;
31401 }
31402 }
31403 if (obj7) {
31404 {
31405 arg8 = wxString_in_helper(obj7);
31406 if (arg8 == NULL) SWIG_fail;
31407 temp8 = true;
31408 }
31409 }
31410 if (obj8) {
31411 {
31412 arg9 = (int)(SWIG_As_int(obj8));
31413 if (SWIG_arg_fail(9)) SWIG_fail;
31414 }
31415 }
31416 if (obj9) {
31417 {
31418 arg10 = wxString_in_helper(obj9);
31419 if (arg10 == NULL) SWIG_fail;
31420 temp10 = true;
31421 }
31422 }
31423 {
31424 PyThreadState* __tstate = wxPyBeginAllowThreads();
31425 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31426
31427 wxPyEndAllowThreads(__tstate);
31428 if (PyErr_Occurred()) SWIG_fail;
31429 }
31430 {
31431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31432 }
31433 {
31434 if (temp4)
31435 delete arg4;
31436 }
31437 {
31438 if (temp8)
31439 delete arg8;
31440 }
31441 {
31442 if (temp10)
31443 delete arg10;
31444 }
31445 return resultobj;
31446 fail:
31447 {
31448 if (temp4)
31449 delete arg4;
31450 }
31451 {
31452 if (temp8)
31453 delete arg8;
31454 }
31455 {
31456 if (temp10)
31457 delete arg10;
31458 }
31459 return NULL;
31460 }
31461
31462
31463 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
31464 PyObject *resultobj;
31465 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31466 wxString *arg2 = 0 ;
31467 bool result;
31468 bool temp2 = false ;
31469 PyObject * obj0 = 0 ;
31470 PyObject * obj1 = 0 ;
31471 char *kwnames[] = {
31472 (char *) "self",(char *) "path", NULL
31473 };
31474
31475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
31476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31477 if (SWIG_arg_fail(1)) SWIG_fail;
31478 {
31479 arg2 = wxString_in_helper(obj1);
31480 if (arg2 == NULL) SWIG_fail;
31481 temp2 = true;
31482 }
31483 {
31484 PyThreadState* __tstate = wxPyBeginAllowThreads();
31485 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31486
31487 wxPyEndAllowThreads(__tstate);
31488 if (PyErr_Occurred()) SWIG_fail;
31489 }
31490 {
31491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31492 }
31493 {
31494 if (temp2)
31495 delete arg2;
31496 }
31497 return resultobj;
31498 fail:
31499 {
31500 if (temp2)
31501 delete arg2;
31502 }
31503 return NULL;
31504 }
31505
31506
31507 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31508 PyObject *resultobj;
31509 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31510 wxString result;
31511 PyObject * obj0 = 0 ;
31512 char *kwnames[] = {
31513 (char *) "self", NULL
31514 };
31515
31516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
31517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31518 if (SWIG_arg_fail(1)) SWIG_fail;
31519 {
31520 PyThreadState* __tstate = wxPyBeginAllowThreads();
31521 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31522
31523 wxPyEndAllowThreads(__tstate);
31524 if (PyErr_Occurred()) SWIG_fail;
31525 }
31526 {
31527 #if wxUSE_UNICODE
31528 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31529 #else
31530 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31531 #endif
31532 }
31533 return resultobj;
31534 fail:
31535 return NULL;
31536 }
31537
31538
31539 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
31540 PyObject *resultobj;
31541 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31542 wxString *arg2 = 0 ;
31543 bool temp2 = false ;
31544 PyObject * obj0 = 0 ;
31545 PyObject * obj1 = 0 ;
31546 char *kwnames[] = {
31547 (char *) "self",(char *) "path", NULL
31548 };
31549
31550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
31551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31552 if (SWIG_arg_fail(1)) SWIG_fail;
31553 {
31554 arg2 = wxString_in_helper(obj1);
31555 if (arg2 == NULL) SWIG_fail;
31556 temp2 = true;
31557 }
31558 {
31559 PyThreadState* __tstate = wxPyBeginAllowThreads();
31560 (arg1)->SetDefaultPath((wxString const &)*arg2);
31561
31562 wxPyEndAllowThreads(__tstate);
31563 if (PyErr_Occurred()) SWIG_fail;
31564 }
31565 Py_INCREF(Py_None); resultobj = Py_None;
31566 {
31567 if (temp2)
31568 delete arg2;
31569 }
31570 return resultobj;
31571 fail:
31572 {
31573 if (temp2)
31574 delete arg2;
31575 }
31576 return NULL;
31577 }
31578
31579
31580 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31581 PyObject *resultobj;
31582 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31583 wxString result;
31584 PyObject * obj0 = 0 ;
31585 char *kwnames[] = {
31586 (char *) "self", NULL
31587 };
31588
31589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
31590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31591 if (SWIG_arg_fail(1)) SWIG_fail;
31592 {
31593 PyThreadState* __tstate = wxPyBeginAllowThreads();
31594 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31595
31596 wxPyEndAllowThreads(__tstate);
31597 if (PyErr_Occurred()) SWIG_fail;
31598 }
31599 {
31600 #if wxUSE_UNICODE
31601 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31602 #else
31603 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31604 #endif
31605 }
31606 return resultobj;
31607 fail:
31608 return NULL;
31609 }
31610
31611
31612 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
31613 PyObject *resultobj;
31614 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31615 wxString result;
31616 PyObject * obj0 = 0 ;
31617 char *kwnames[] = {
31618 (char *) "self", NULL
31619 };
31620
31621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
31622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31623 if (SWIG_arg_fail(1)) SWIG_fail;
31624 {
31625 PyThreadState* __tstate = wxPyBeginAllowThreads();
31626 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31627
31628 wxPyEndAllowThreads(__tstate);
31629 if (PyErr_Occurred()) SWIG_fail;
31630 }
31631 {
31632 #if wxUSE_UNICODE
31633 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31634 #else
31635 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31636 #endif
31637 }
31638 return resultobj;
31639 fail:
31640 return NULL;
31641 }
31642
31643
31644 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
31645 PyObject *resultobj;
31646 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31647 wxString *arg2 = 0 ;
31648 bool temp2 = false ;
31649 PyObject * obj0 = 0 ;
31650 PyObject * obj1 = 0 ;
31651 char *kwnames[] = {
31652 (char *) "self",(char *) "path", NULL
31653 };
31654
31655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
31656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31657 if (SWIG_arg_fail(1)) SWIG_fail;
31658 {
31659 arg2 = wxString_in_helper(obj1);
31660 if (arg2 == NULL) SWIG_fail;
31661 temp2 = true;
31662 }
31663 {
31664 PyThreadState* __tstate = wxPyBeginAllowThreads();
31665 (arg1)->SetPath((wxString const &)*arg2);
31666
31667 wxPyEndAllowThreads(__tstate);
31668 if (PyErr_Occurred()) SWIG_fail;
31669 }
31670 Py_INCREF(Py_None); resultobj = Py_None;
31671 {
31672 if (temp2)
31673 delete arg2;
31674 }
31675 return resultobj;
31676 fail:
31677 {
31678 if (temp2)
31679 delete arg2;
31680 }
31681 return NULL;
31682 }
31683
31684
31685 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31686 PyObject *resultobj;
31687 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31688 bool arg2 ;
31689 PyObject * obj0 = 0 ;
31690 PyObject * obj1 = 0 ;
31691 char *kwnames[] = {
31692 (char *) "self",(char *) "show", NULL
31693 };
31694
31695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
31696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31697 if (SWIG_arg_fail(1)) SWIG_fail;
31698 {
31699 arg2 = (bool)(SWIG_As_bool(obj1));
31700 if (SWIG_arg_fail(2)) SWIG_fail;
31701 }
31702 {
31703 PyThreadState* __tstate = wxPyBeginAllowThreads();
31704 (arg1)->ShowHidden(arg2);
31705
31706 wxPyEndAllowThreads(__tstate);
31707 if (PyErr_Occurred()) SWIG_fail;
31708 }
31709 Py_INCREF(Py_None); resultobj = Py_None;
31710 return resultobj;
31711 fail:
31712 return NULL;
31713 }
31714
31715
31716 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
31717 PyObject *resultobj;
31718 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31719 bool result;
31720 PyObject * obj0 = 0 ;
31721 char *kwnames[] = {
31722 (char *) "self", NULL
31723 };
31724
31725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
31726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31727 if (SWIG_arg_fail(1)) SWIG_fail;
31728 {
31729 PyThreadState* __tstate = wxPyBeginAllowThreads();
31730 result = (bool)(arg1)->GetShowHidden();
31731
31732 wxPyEndAllowThreads(__tstate);
31733 if (PyErr_Occurred()) SWIG_fail;
31734 }
31735 {
31736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31737 }
31738 return resultobj;
31739 fail:
31740 return NULL;
31741 }
31742
31743
31744 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31745 PyObject *resultobj;
31746 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31747 wxString result;
31748 PyObject * obj0 = 0 ;
31749 char *kwnames[] = {
31750 (char *) "self", NULL
31751 };
31752
31753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
31754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31755 if (SWIG_arg_fail(1)) SWIG_fail;
31756 {
31757 PyThreadState* __tstate = wxPyBeginAllowThreads();
31758 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31759
31760 wxPyEndAllowThreads(__tstate);
31761 if (PyErr_Occurred()) SWIG_fail;
31762 }
31763 {
31764 #if wxUSE_UNICODE
31765 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31766 #else
31767 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31768 #endif
31769 }
31770 return resultobj;
31771 fail:
31772 return NULL;
31773 }
31774
31775
31776 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
31777 PyObject *resultobj;
31778 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31779 wxString *arg2 = 0 ;
31780 bool temp2 = false ;
31781 PyObject * obj0 = 0 ;
31782 PyObject * obj1 = 0 ;
31783 char *kwnames[] = {
31784 (char *) "self",(char *) "filter", NULL
31785 };
31786
31787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
31788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31789 if (SWIG_arg_fail(1)) SWIG_fail;
31790 {
31791 arg2 = wxString_in_helper(obj1);
31792 if (arg2 == NULL) SWIG_fail;
31793 temp2 = true;
31794 }
31795 {
31796 PyThreadState* __tstate = wxPyBeginAllowThreads();
31797 (arg1)->SetFilter((wxString const &)*arg2);
31798
31799 wxPyEndAllowThreads(__tstate);
31800 if (PyErr_Occurred()) SWIG_fail;
31801 }
31802 Py_INCREF(Py_None); resultobj = Py_None;
31803 {
31804 if (temp2)
31805 delete arg2;
31806 }
31807 return resultobj;
31808 fail:
31809 {
31810 if (temp2)
31811 delete arg2;
31812 }
31813 return NULL;
31814 }
31815
31816
31817 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31818 PyObject *resultobj;
31819 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31820 int result;
31821 PyObject * obj0 = 0 ;
31822 char *kwnames[] = {
31823 (char *) "self", NULL
31824 };
31825
31826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
31827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31828 if (SWIG_arg_fail(1)) SWIG_fail;
31829 {
31830 PyThreadState* __tstate = wxPyBeginAllowThreads();
31831 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31832
31833 wxPyEndAllowThreads(__tstate);
31834 if (PyErr_Occurred()) SWIG_fail;
31835 }
31836 {
31837 resultobj = SWIG_From_int((int)(result));
31838 }
31839 return resultobj;
31840 fail:
31841 return NULL;
31842 }
31843
31844
31845 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
31846 PyObject *resultobj;
31847 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31848 int arg2 ;
31849 PyObject * obj0 = 0 ;
31850 PyObject * obj1 = 0 ;
31851 char *kwnames[] = {
31852 (char *) "self",(char *) "n", NULL
31853 };
31854
31855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
31856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31857 if (SWIG_arg_fail(1)) SWIG_fail;
31858 {
31859 arg2 = (int)(SWIG_As_int(obj1));
31860 if (SWIG_arg_fail(2)) SWIG_fail;
31861 }
31862 {
31863 PyThreadState* __tstate = wxPyBeginAllowThreads();
31864 (arg1)->SetFilterIndex(arg2);
31865
31866 wxPyEndAllowThreads(__tstate);
31867 if (PyErr_Occurred()) SWIG_fail;
31868 }
31869 Py_INCREF(Py_None); resultobj = Py_None;
31870 return resultobj;
31871 fail:
31872 return NULL;
31873 }
31874
31875
31876 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
31877 PyObject *resultobj;
31878 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31879 wxTreeItemId result;
31880 PyObject * obj0 = 0 ;
31881 char *kwnames[] = {
31882 (char *) "self", NULL
31883 };
31884
31885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
31886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31887 if (SWIG_arg_fail(1)) SWIG_fail;
31888 {
31889 PyThreadState* __tstate = wxPyBeginAllowThreads();
31890 result = (arg1)->GetRootId();
31891
31892 wxPyEndAllowThreads(__tstate);
31893 if (PyErr_Occurred()) SWIG_fail;
31894 }
31895 {
31896 wxTreeItemId * resultptr;
31897 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
31898 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31899 }
31900 return resultobj;
31901 fail:
31902 return NULL;
31903 }
31904
31905
31906 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31907 PyObject *resultobj;
31908 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31909 wxPyTreeCtrl *result;
31910 PyObject * obj0 = 0 ;
31911 char *kwnames[] = {
31912 (char *) "self", NULL
31913 };
31914
31915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
31916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31917 if (SWIG_arg_fail(1)) SWIG_fail;
31918 {
31919 PyThreadState* __tstate = wxPyBeginAllowThreads();
31920 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31921
31922 wxPyEndAllowThreads(__tstate);
31923 if (PyErr_Occurred()) SWIG_fail;
31924 }
31925 {
31926 resultobj = wxPyMake_wxObject(result, 0);
31927 }
31928 return resultobj;
31929 fail:
31930 return NULL;
31931 }
31932
31933
31934 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
31935 PyObject *resultobj;
31936 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31937 wxDirFilterListCtrl *result;
31938 PyObject * obj0 = 0 ;
31939 char *kwnames[] = {
31940 (char *) "self", NULL
31941 };
31942
31943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
31944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31945 if (SWIG_arg_fail(1)) SWIG_fail;
31946 {
31947 PyThreadState* __tstate = wxPyBeginAllowThreads();
31948 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31949
31950 wxPyEndAllowThreads(__tstate);
31951 if (PyErr_Occurred()) SWIG_fail;
31952 }
31953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31954 return resultobj;
31955 fail:
31956 return NULL;
31957 }
31958
31959
31960 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
31961 PyObject *resultobj;
31962 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31963 wxTreeItemId arg2 ;
31964 wxString *arg3 = 0 ;
31965 bool *arg4 = 0 ;
31966 wxTreeItemId result;
31967 bool temp3 = false ;
31968 bool temp4 ;
31969 int res4 = 0 ;
31970 PyObject * obj0 = 0 ;
31971 PyObject * obj1 = 0 ;
31972 PyObject * obj2 = 0 ;
31973 char *kwnames[] = {
31974 (char *) "self",(char *) "parentId",(char *) "path", NULL
31975 };
31976
31977 arg4 = &temp4; res4 = SWIG_NEWOBJ;
31978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
31979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31980 if (SWIG_arg_fail(1)) SWIG_fail;
31981 {
31982 wxTreeItemId * argp;
31983 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31984 if (SWIG_arg_fail(2)) SWIG_fail;
31985 if (argp == NULL) {
31986 SWIG_null_ref("wxTreeItemId");
31987 }
31988 if (SWIG_arg_fail(2)) SWIG_fail;
31989 arg2 = *argp;
31990 }
31991 {
31992 arg3 = wxString_in_helper(obj2);
31993 if (arg3 == NULL) SWIG_fail;
31994 temp3 = true;
31995 }
31996 {
31997 PyThreadState* __tstate = wxPyBeginAllowThreads();
31998 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31999
32000 wxPyEndAllowThreads(__tstate);
32001 if (PyErr_Occurred()) SWIG_fail;
32002 }
32003 {
32004 wxTreeItemId * resultptr;
32005 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
32006 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
32007 }
32008 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
32009 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
32010 {
32011 if (temp3)
32012 delete arg3;
32013 }
32014 return resultobj;
32015 fail:
32016 {
32017 if (temp3)
32018 delete arg3;
32019 }
32020 return NULL;
32021 }
32022
32023
32024 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
32025 PyObject *resultobj;
32026 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32027 PyObject * obj0 = 0 ;
32028 char *kwnames[] = {
32029 (char *) "self", NULL
32030 };
32031
32032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
32033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32034 if (SWIG_arg_fail(1)) SWIG_fail;
32035 {
32036 PyThreadState* __tstate = wxPyBeginAllowThreads();
32037 (arg1)->DoResize();
32038
32039 wxPyEndAllowThreads(__tstate);
32040 if (PyErr_Occurred()) SWIG_fail;
32041 }
32042 Py_INCREF(Py_None); resultobj = Py_None;
32043 return resultobj;
32044 fail:
32045 return NULL;
32046 }
32047
32048
32049 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
32050 PyObject *resultobj;
32051 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32052 PyObject * obj0 = 0 ;
32053 char *kwnames[] = {
32054 (char *) "self", NULL
32055 };
32056
32057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
32058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32059 if (SWIG_arg_fail(1)) SWIG_fail;
32060 {
32061 PyThreadState* __tstate = wxPyBeginAllowThreads();
32062 (arg1)->ReCreateTree();
32063
32064 wxPyEndAllowThreads(__tstate);
32065 if (PyErr_Occurred()) SWIG_fail;
32066 }
32067 Py_INCREF(Py_None); resultobj = Py_None;
32068 return resultobj;
32069 fail:
32070 return NULL;
32071 }
32072
32073
32074 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
32075 PyObject *obj;
32076 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32077 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
32078 Py_INCREF(obj);
32079 return Py_BuildValue((char *)"");
32080 }
32081 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32082 PyObject *resultobj;
32083 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
32084 int arg2 = (int) (int)-1 ;
32085 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32086 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32087 wxSize const &arg4_defvalue = wxDefaultSize ;
32088 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32089 long arg5 = (long) 0 ;
32090 wxDirFilterListCtrl *result;
32091 wxPoint temp3 ;
32092 wxSize temp4 ;
32093 PyObject * obj0 = 0 ;
32094 PyObject * obj1 = 0 ;
32095 PyObject * obj2 = 0 ;
32096 PyObject * obj3 = 0 ;
32097 PyObject * obj4 = 0 ;
32098 char *kwnames[] = {
32099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32100 };
32101
32102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32104 if (SWIG_arg_fail(1)) SWIG_fail;
32105 if (obj1) {
32106 {
32107 arg2 = (int const)(SWIG_As_int(obj1));
32108 if (SWIG_arg_fail(2)) SWIG_fail;
32109 }
32110 }
32111 if (obj2) {
32112 {
32113 arg3 = &temp3;
32114 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32115 }
32116 }
32117 if (obj3) {
32118 {
32119 arg4 = &temp4;
32120 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32121 }
32122 }
32123 if (obj4) {
32124 {
32125 arg5 = (long)(SWIG_As_long(obj4));
32126 if (SWIG_arg_fail(5)) SWIG_fail;
32127 }
32128 }
32129 {
32130 if (!wxPyCheckForApp()) SWIG_fail;
32131 PyThreadState* __tstate = wxPyBeginAllowThreads();
32132 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
32133
32134 wxPyEndAllowThreads(__tstate);
32135 if (PyErr_Occurred()) SWIG_fail;
32136 }
32137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32138 return resultobj;
32139 fail:
32140 return NULL;
32141 }
32142
32143
32144 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32145 PyObject *resultobj;
32146 wxDirFilterListCtrl *result;
32147 char *kwnames[] = {
32148 NULL
32149 };
32150
32151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
32152 {
32153 if (!wxPyCheckForApp()) SWIG_fail;
32154 PyThreadState* __tstate = wxPyBeginAllowThreads();
32155 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
32156
32157 wxPyEndAllowThreads(__tstate);
32158 if (PyErr_Occurred()) SWIG_fail;
32159 }
32160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
32161 return resultobj;
32162 fail:
32163 return NULL;
32164 }
32165
32166
32167 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32168 PyObject *resultobj;
32169 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32170 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
32171 int arg3 = (int) (int)-1 ;
32172 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32173 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32174 wxSize const &arg5_defvalue = wxDefaultSize ;
32175 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32176 long arg6 = (long) 0 ;
32177 bool result;
32178 wxPoint temp4 ;
32179 wxSize temp5 ;
32180 PyObject * obj0 = 0 ;
32181 PyObject * obj1 = 0 ;
32182 PyObject * obj2 = 0 ;
32183 PyObject * obj3 = 0 ;
32184 PyObject * obj4 = 0 ;
32185 PyObject * obj5 = 0 ;
32186 char *kwnames[] = {
32187 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32188 };
32189
32190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32192 if (SWIG_arg_fail(1)) SWIG_fail;
32193 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
32194 if (SWIG_arg_fail(2)) SWIG_fail;
32195 if (obj2) {
32196 {
32197 arg3 = (int const)(SWIG_As_int(obj2));
32198 if (SWIG_arg_fail(3)) SWIG_fail;
32199 }
32200 }
32201 if (obj3) {
32202 {
32203 arg4 = &temp4;
32204 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32205 }
32206 }
32207 if (obj4) {
32208 {
32209 arg5 = &temp5;
32210 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32211 }
32212 }
32213 if (obj5) {
32214 {
32215 arg6 = (long)(SWIG_As_long(obj5));
32216 if (SWIG_arg_fail(6)) SWIG_fail;
32217 }
32218 }
32219 {
32220 PyThreadState* __tstate = wxPyBeginAllowThreads();
32221 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
32222
32223 wxPyEndAllowThreads(__tstate);
32224 if (PyErr_Occurred()) SWIG_fail;
32225 }
32226 {
32227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32228 }
32229 return resultobj;
32230 fail:
32231 return NULL;
32232 }
32233
32234
32235 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
32236 PyObject *resultobj;
32237 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
32238 wxString *arg2 = 0 ;
32239 int arg3 ;
32240 bool temp2 = false ;
32241 PyObject * obj0 = 0 ;
32242 PyObject * obj1 = 0 ;
32243 PyObject * obj2 = 0 ;
32244 char *kwnames[] = {
32245 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32246 };
32247
32248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
32249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
32250 if (SWIG_arg_fail(1)) SWIG_fail;
32251 {
32252 arg2 = wxString_in_helper(obj1);
32253 if (arg2 == NULL) SWIG_fail;
32254 temp2 = true;
32255 }
32256 {
32257 arg3 = (int)(SWIG_As_int(obj2));
32258 if (SWIG_arg_fail(3)) SWIG_fail;
32259 }
32260 {
32261 PyThreadState* __tstate = wxPyBeginAllowThreads();
32262 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
32263
32264 wxPyEndAllowThreads(__tstate);
32265 if (PyErr_Occurred()) SWIG_fail;
32266 }
32267 Py_INCREF(Py_None); resultobj = Py_None;
32268 {
32269 if (temp2)
32270 delete arg2;
32271 }
32272 return resultobj;
32273 fail:
32274 {
32275 if (temp2)
32276 delete arg2;
32277 }
32278 return NULL;
32279 }
32280
32281
32282 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
32283 PyObject *obj;
32284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32285 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32286 Py_INCREF(obj);
32287 return Py_BuildValue((char *)"");
32288 }
32289 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32290 PyObject *resultobj;
32291 wxWindow *arg1 = (wxWindow *) 0 ;
32292 int arg2 = (int) (int)-1 ;
32293 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32294 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32295 wxSize const &arg4_defvalue = wxDefaultSize ;
32296 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32297 long arg5 = (long) 0 ;
32298 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32299 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32300 wxString const &arg7_defvalue = wxPyControlNameStr ;
32301 wxString *arg7 = (wxString *) &arg7_defvalue ;
32302 wxPyControl *result;
32303 wxPoint temp3 ;
32304 wxSize temp4 ;
32305 bool temp7 = false ;
32306 PyObject * obj0 = 0 ;
32307 PyObject * obj1 = 0 ;
32308 PyObject * obj2 = 0 ;
32309 PyObject * obj3 = 0 ;
32310 PyObject * obj4 = 0 ;
32311 PyObject * obj5 = 0 ;
32312 PyObject * obj6 = 0 ;
32313 char *kwnames[] = {
32314 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32315 };
32316
32317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
32318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32319 if (SWIG_arg_fail(1)) SWIG_fail;
32320 if (obj1) {
32321 {
32322 arg2 = (int const)(SWIG_As_int(obj1));
32323 if (SWIG_arg_fail(2)) SWIG_fail;
32324 }
32325 }
32326 if (obj2) {
32327 {
32328 arg3 = &temp3;
32329 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32330 }
32331 }
32332 if (obj3) {
32333 {
32334 arg4 = &temp4;
32335 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32336 }
32337 }
32338 if (obj4) {
32339 {
32340 arg5 = (long)(SWIG_As_long(obj4));
32341 if (SWIG_arg_fail(5)) SWIG_fail;
32342 }
32343 }
32344 if (obj5) {
32345 {
32346 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32347 if (SWIG_arg_fail(6)) SWIG_fail;
32348 if (arg6 == NULL) {
32349 SWIG_null_ref("wxValidator");
32350 }
32351 if (SWIG_arg_fail(6)) SWIG_fail;
32352 }
32353 }
32354 if (obj6) {
32355 {
32356 arg7 = wxString_in_helper(obj6);
32357 if (arg7 == NULL) SWIG_fail;
32358 temp7 = true;
32359 }
32360 }
32361 {
32362 if (!wxPyCheckForApp()) SWIG_fail;
32363 PyThreadState* __tstate = wxPyBeginAllowThreads();
32364 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32365
32366 wxPyEndAllowThreads(__tstate);
32367 if (PyErr_Occurred()) SWIG_fail;
32368 }
32369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32370 {
32371 if (temp7)
32372 delete arg7;
32373 }
32374 return resultobj;
32375 fail:
32376 {
32377 if (temp7)
32378 delete arg7;
32379 }
32380 return NULL;
32381 }
32382
32383
32384 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
32385 PyObject *resultobj;
32386 wxPyControl *result;
32387 char *kwnames[] = {
32388 NULL
32389 };
32390
32391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32392 {
32393 if (!wxPyCheckForApp()) SWIG_fail;
32394 PyThreadState* __tstate = wxPyBeginAllowThreads();
32395 result = (wxPyControl *)new wxPyControl();
32396
32397 wxPyEndAllowThreads(__tstate);
32398 if (PyErr_Occurred()) SWIG_fail;
32399 }
32400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32401 return resultobj;
32402 fail:
32403 return NULL;
32404 }
32405
32406
32407 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32408 PyObject *resultobj;
32409 wxPyControl *arg1 = (wxPyControl *) 0 ;
32410 PyObject *arg2 = (PyObject *) 0 ;
32411 PyObject *arg3 = (PyObject *) 0 ;
32412 PyObject * obj0 = 0 ;
32413 PyObject * obj1 = 0 ;
32414 PyObject * obj2 = 0 ;
32415 char *kwnames[] = {
32416 (char *) "self",(char *) "self",(char *) "_class", NULL
32417 };
32418
32419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
32420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32421 if (SWIG_arg_fail(1)) SWIG_fail;
32422 arg2 = obj1;
32423 arg3 = obj2;
32424 {
32425 PyThreadState* __tstate = wxPyBeginAllowThreads();
32426 (arg1)->_setCallbackInfo(arg2,arg3);
32427
32428 wxPyEndAllowThreads(__tstate);
32429 if (PyErr_Occurred()) SWIG_fail;
32430 }
32431 Py_INCREF(Py_None); resultobj = Py_None;
32432 return resultobj;
32433 fail:
32434 return NULL;
32435 }
32436
32437
32438 static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32439 PyObject *resultobj;
32440 wxPyControl *arg1 = (wxPyControl *) 0 ;
32441 wxSize *arg2 = 0 ;
32442 wxSize temp2 ;
32443 PyObject * obj0 = 0 ;
32444 PyObject * obj1 = 0 ;
32445 char *kwnames[] = {
32446 (char *) "self",(char *) "size", NULL
32447 };
32448
32449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
32450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32451 if (SWIG_arg_fail(1)) SWIG_fail;
32452 {
32453 arg2 = &temp2;
32454 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32455 }
32456 {
32457 PyThreadState* __tstate = wxPyBeginAllowThreads();
32458 (arg1)->SetBestSize((wxSize const &)*arg2);
32459
32460 wxPyEndAllowThreads(__tstate);
32461 if (PyErr_Occurred()) SWIG_fail;
32462 }
32463 Py_INCREF(Py_None); resultobj = Py_None;
32464 return resultobj;
32465 fail:
32466 return NULL;
32467 }
32468
32469
32470 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32471 PyObject *resultobj;
32472 wxPyControl *arg1 = (wxPyControl *) 0 ;
32473 int arg2 ;
32474 int arg3 ;
32475 int arg4 ;
32476 int arg5 ;
32477 PyObject * obj0 = 0 ;
32478 PyObject * obj1 = 0 ;
32479 PyObject * obj2 = 0 ;
32480 PyObject * obj3 = 0 ;
32481 PyObject * obj4 = 0 ;
32482 char *kwnames[] = {
32483 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32484 };
32485
32486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
32487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32488 if (SWIG_arg_fail(1)) SWIG_fail;
32489 {
32490 arg2 = (int)(SWIG_As_int(obj1));
32491 if (SWIG_arg_fail(2)) SWIG_fail;
32492 }
32493 {
32494 arg3 = (int)(SWIG_As_int(obj2));
32495 if (SWIG_arg_fail(3)) SWIG_fail;
32496 }
32497 {
32498 arg4 = (int)(SWIG_As_int(obj3));
32499 if (SWIG_arg_fail(4)) SWIG_fail;
32500 }
32501 {
32502 arg5 = (int)(SWIG_As_int(obj4));
32503 if (SWIG_arg_fail(5)) SWIG_fail;
32504 }
32505 {
32506 PyThreadState* __tstate = wxPyBeginAllowThreads();
32507 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32508
32509 wxPyEndAllowThreads(__tstate);
32510 if (PyErr_Occurred()) SWIG_fail;
32511 }
32512 Py_INCREF(Py_None); resultobj = Py_None;
32513 return resultobj;
32514 fail:
32515 return NULL;
32516 }
32517
32518
32519 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32520 PyObject *resultobj;
32521 wxPyControl *arg1 = (wxPyControl *) 0 ;
32522 int arg2 ;
32523 int arg3 ;
32524 int arg4 ;
32525 int arg5 ;
32526 int arg6 = (int) wxSIZE_AUTO ;
32527 PyObject * obj0 = 0 ;
32528 PyObject * obj1 = 0 ;
32529 PyObject * obj2 = 0 ;
32530 PyObject * obj3 = 0 ;
32531 PyObject * obj4 = 0 ;
32532 PyObject * obj5 = 0 ;
32533 char *kwnames[] = {
32534 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32535 };
32536
32537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32539 if (SWIG_arg_fail(1)) SWIG_fail;
32540 {
32541 arg2 = (int)(SWIG_As_int(obj1));
32542 if (SWIG_arg_fail(2)) SWIG_fail;
32543 }
32544 {
32545 arg3 = (int)(SWIG_As_int(obj2));
32546 if (SWIG_arg_fail(3)) SWIG_fail;
32547 }
32548 {
32549 arg4 = (int)(SWIG_As_int(obj3));
32550 if (SWIG_arg_fail(4)) SWIG_fail;
32551 }
32552 {
32553 arg5 = (int)(SWIG_As_int(obj4));
32554 if (SWIG_arg_fail(5)) SWIG_fail;
32555 }
32556 if (obj5) {
32557 {
32558 arg6 = (int)(SWIG_As_int(obj5));
32559 if (SWIG_arg_fail(6)) SWIG_fail;
32560 }
32561 }
32562 {
32563 PyThreadState* __tstate = wxPyBeginAllowThreads();
32564 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32565
32566 wxPyEndAllowThreads(__tstate);
32567 if (PyErr_Occurred()) SWIG_fail;
32568 }
32569 Py_INCREF(Py_None); resultobj = Py_None;
32570 return resultobj;
32571 fail:
32572 return NULL;
32573 }
32574
32575
32576 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32577 PyObject *resultobj;
32578 wxPyControl *arg1 = (wxPyControl *) 0 ;
32579 int arg2 ;
32580 int arg3 ;
32581 PyObject * obj0 = 0 ;
32582 PyObject * obj1 = 0 ;
32583 PyObject * obj2 = 0 ;
32584 char *kwnames[] = {
32585 (char *) "self",(char *) "width",(char *) "height", NULL
32586 };
32587
32588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32590 if (SWIG_arg_fail(1)) SWIG_fail;
32591 {
32592 arg2 = (int)(SWIG_As_int(obj1));
32593 if (SWIG_arg_fail(2)) SWIG_fail;
32594 }
32595 {
32596 arg3 = (int)(SWIG_As_int(obj2));
32597 if (SWIG_arg_fail(3)) SWIG_fail;
32598 }
32599 {
32600 PyThreadState* __tstate = wxPyBeginAllowThreads();
32601 (arg1)->base_DoSetClientSize(arg2,arg3);
32602
32603 wxPyEndAllowThreads(__tstate);
32604 if (PyErr_Occurred()) SWIG_fail;
32605 }
32606 Py_INCREF(Py_None); resultobj = Py_None;
32607 return resultobj;
32608 fail:
32609 return NULL;
32610 }
32611
32612
32613 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32614 PyObject *resultobj;
32615 wxPyControl *arg1 = (wxPyControl *) 0 ;
32616 int arg2 ;
32617 int arg3 ;
32618 PyObject * obj0 = 0 ;
32619 PyObject * obj1 = 0 ;
32620 PyObject * obj2 = 0 ;
32621 char *kwnames[] = {
32622 (char *) "self",(char *) "x",(char *) "y", NULL
32623 };
32624
32625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
32626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32627 if (SWIG_arg_fail(1)) SWIG_fail;
32628 {
32629 arg2 = (int)(SWIG_As_int(obj1));
32630 if (SWIG_arg_fail(2)) SWIG_fail;
32631 }
32632 {
32633 arg3 = (int)(SWIG_As_int(obj2));
32634 if (SWIG_arg_fail(3)) SWIG_fail;
32635 }
32636 {
32637 PyThreadState* __tstate = wxPyBeginAllowThreads();
32638 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32639
32640 wxPyEndAllowThreads(__tstate);
32641 if (PyErr_Occurred()) SWIG_fail;
32642 }
32643 Py_INCREF(Py_None); resultobj = Py_None;
32644 return resultobj;
32645 fail:
32646 return NULL;
32647 }
32648
32649
32650 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32651 PyObject *resultobj;
32652 wxPyControl *arg1 = (wxPyControl *) 0 ;
32653 int *arg2 = (int *) 0 ;
32654 int *arg3 = (int *) 0 ;
32655 int temp2 ;
32656 int res2 = 0 ;
32657 int temp3 ;
32658 int res3 = 0 ;
32659 PyObject * obj0 = 0 ;
32660 char *kwnames[] = {
32661 (char *) "self", NULL
32662 };
32663
32664 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32665 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
32667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32668 if (SWIG_arg_fail(1)) SWIG_fail;
32669 {
32670 PyThreadState* __tstate = wxPyBeginAllowThreads();
32671 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32672
32673 wxPyEndAllowThreads(__tstate);
32674 if (PyErr_Occurred()) SWIG_fail;
32675 }
32676 Py_INCREF(Py_None); resultobj = Py_None;
32677 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32678 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32679 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32680 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32681 return resultobj;
32682 fail:
32683 return NULL;
32684 }
32685
32686
32687 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32688 PyObject *resultobj;
32689 wxPyControl *arg1 = (wxPyControl *) 0 ;
32690 int *arg2 = (int *) 0 ;
32691 int *arg3 = (int *) 0 ;
32692 int temp2 ;
32693 int res2 = 0 ;
32694 int temp3 ;
32695 int res3 = 0 ;
32696 PyObject * obj0 = 0 ;
32697 char *kwnames[] = {
32698 (char *) "self", NULL
32699 };
32700
32701 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32702 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
32704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32705 if (SWIG_arg_fail(1)) SWIG_fail;
32706 {
32707 PyThreadState* __tstate = wxPyBeginAllowThreads();
32708 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32709
32710 wxPyEndAllowThreads(__tstate);
32711 if (PyErr_Occurred()) SWIG_fail;
32712 }
32713 Py_INCREF(Py_None); resultobj = Py_None;
32714 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32715 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32716 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32717 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32718 return resultobj;
32719 fail:
32720 return NULL;
32721 }
32722
32723
32724 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32725 PyObject *resultobj;
32726 wxPyControl *arg1 = (wxPyControl *) 0 ;
32727 int *arg2 = (int *) 0 ;
32728 int *arg3 = (int *) 0 ;
32729 int temp2 ;
32730 int res2 = 0 ;
32731 int temp3 ;
32732 int res3 = 0 ;
32733 PyObject * obj0 = 0 ;
32734 char *kwnames[] = {
32735 (char *) "self", NULL
32736 };
32737
32738 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32739 arg3 = &temp3; res3 = SWIG_NEWOBJ;
32740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",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 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32746
32747 wxPyEndAllowThreads(__tstate);
32748 if (PyErr_Occurred()) SWIG_fail;
32749 }
32750 Py_INCREF(Py_None); resultobj = Py_None;
32751 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32752 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32753 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32754 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
32755 return resultobj;
32756 fail:
32757 return NULL;
32758 }
32759
32760
32761 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32762 PyObject *resultobj;
32763 wxPyControl *arg1 = (wxPyControl *) 0 ;
32764 wxSize result;
32765 PyObject * obj0 = 0 ;
32766 char *kwnames[] = {
32767 (char *) "self", NULL
32768 };
32769
32770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
32771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32772 if (SWIG_arg_fail(1)) SWIG_fail;
32773 {
32774 PyThreadState* __tstate = wxPyBeginAllowThreads();
32775 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32776
32777 wxPyEndAllowThreads(__tstate);
32778 if (PyErr_Occurred()) SWIG_fail;
32779 }
32780 {
32781 wxSize * resultptr;
32782 resultptr = new wxSize((wxSize &)(result));
32783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32784 }
32785 return resultobj;
32786 fail:
32787 return NULL;
32788 }
32789
32790
32791 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32792 PyObject *resultobj;
32793 wxPyControl *arg1 = (wxPyControl *) 0 ;
32794 wxSize result;
32795 PyObject * obj0 = 0 ;
32796 char *kwnames[] = {
32797 (char *) "self", NULL
32798 };
32799
32800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) 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 {
32804 PyThreadState* __tstate = wxPyBeginAllowThreads();
32805 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32806
32807 wxPyEndAllowThreads(__tstate);
32808 if (PyErr_Occurred()) SWIG_fail;
32809 }
32810 {
32811 wxSize * resultptr;
32812 resultptr = new wxSize((wxSize &)(result));
32813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32814 }
32815 return resultobj;
32816 fail:
32817 return NULL;
32818 }
32819
32820
32821 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32822 PyObject *resultobj;
32823 wxPyControl *arg1 = (wxPyControl *) 0 ;
32824 PyObject * obj0 = 0 ;
32825 char *kwnames[] = {
32826 (char *) "self", NULL
32827 };
32828
32829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
32830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32831 if (SWIG_arg_fail(1)) SWIG_fail;
32832 {
32833 PyThreadState* __tstate = wxPyBeginAllowThreads();
32834 (arg1)->base_InitDialog();
32835
32836 wxPyEndAllowThreads(__tstate);
32837 if (PyErr_Occurred()) SWIG_fail;
32838 }
32839 Py_INCREF(Py_None); resultobj = Py_None;
32840 return resultobj;
32841 fail:
32842 return NULL;
32843 }
32844
32845
32846 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32847 PyObject *resultobj;
32848 wxPyControl *arg1 = (wxPyControl *) 0 ;
32849 bool result;
32850 PyObject * obj0 = 0 ;
32851 char *kwnames[] = {
32852 (char *) "self", NULL
32853 };
32854
32855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
32856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32857 if (SWIG_arg_fail(1)) SWIG_fail;
32858 {
32859 PyThreadState* __tstate = wxPyBeginAllowThreads();
32860 result = (bool)(arg1)->base_TransferDataToWindow();
32861
32862 wxPyEndAllowThreads(__tstate);
32863 if (PyErr_Occurred()) SWIG_fail;
32864 }
32865 {
32866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32867 }
32868 return resultobj;
32869 fail:
32870 return NULL;
32871 }
32872
32873
32874 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32875 PyObject *resultobj;
32876 wxPyControl *arg1 = (wxPyControl *) 0 ;
32877 bool result;
32878 PyObject * obj0 = 0 ;
32879 char *kwnames[] = {
32880 (char *) "self", NULL
32881 };
32882
32883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
32884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32885 if (SWIG_arg_fail(1)) SWIG_fail;
32886 {
32887 PyThreadState* __tstate = wxPyBeginAllowThreads();
32888 result = (bool)(arg1)->base_TransferDataFromWindow();
32889
32890 wxPyEndAllowThreads(__tstate);
32891 if (PyErr_Occurred()) SWIG_fail;
32892 }
32893 {
32894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32895 }
32896 return resultobj;
32897 fail:
32898 return NULL;
32899 }
32900
32901
32902 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32903 PyObject *resultobj;
32904 wxPyControl *arg1 = (wxPyControl *) 0 ;
32905 bool result;
32906 PyObject * obj0 = 0 ;
32907 char *kwnames[] = {
32908 (char *) "self", NULL
32909 };
32910
32911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
32912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32913 if (SWIG_arg_fail(1)) SWIG_fail;
32914 {
32915 PyThreadState* __tstate = wxPyBeginAllowThreads();
32916 result = (bool)(arg1)->base_Validate();
32917
32918 wxPyEndAllowThreads(__tstate);
32919 if (PyErr_Occurred()) SWIG_fail;
32920 }
32921 {
32922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32923 }
32924 return resultobj;
32925 fail:
32926 return NULL;
32927 }
32928
32929
32930 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32931 PyObject *resultobj;
32932 wxPyControl *arg1 = (wxPyControl *) 0 ;
32933 bool result;
32934 PyObject * obj0 = 0 ;
32935 char *kwnames[] = {
32936 (char *) "self", NULL
32937 };
32938
32939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
32940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32941 if (SWIG_arg_fail(1)) SWIG_fail;
32942 {
32943 PyThreadState* __tstate = wxPyBeginAllowThreads();
32944 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32945
32946 wxPyEndAllowThreads(__tstate);
32947 if (PyErr_Occurred()) SWIG_fail;
32948 }
32949 {
32950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32951 }
32952 return resultobj;
32953 fail:
32954 return NULL;
32955 }
32956
32957
32958 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32959 PyObject *resultobj;
32960 wxPyControl *arg1 = (wxPyControl *) 0 ;
32961 bool result;
32962 PyObject * obj0 = 0 ;
32963 char *kwnames[] = {
32964 (char *) "self", NULL
32965 };
32966
32967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
32968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32969 if (SWIG_arg_fail(1)) SWIG_fail;
32970 {
32971 PyThreadState* __tstate = wxPyBeginAllowThreads();
32972 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32973
32974 wxPyEndAllowThreads(__tstate);
32975 if (PyErr_Occurred()) SWIG_fail;
32976 }
32977 {
32978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32979 }
32980 return resultobj;
32981 fail:
32982 return NULL;
32983 }
32984
32985
32986 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32987 PyObject *resultobj;
32988 wxPyControl *arg1 = (wxPyControl *) 0 ;
32989 wxSize result;
32990 PyObject * obj0 = 0 ;
32991 char *kwnames[] = {
32992 (char *) "self", NULL
32993 };
32994
32995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
32996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32997 if (SWIG_arg_fail(1)) SWIG_fail;
32998 {
32999 PyThreadState* __tstate = wxPyBeginAllowThreads();
33000 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
33001
33002 wxPyEndAllowThreads(__tstate);
33003 if (PyErr_Occurred()) SWIG_fail;
33004 }
33005 {
33006 wxSize * resultptr;
33007 resultptr = new wxSize((wxSize &)(result));
33008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
33009 }
33010 return resultobj;
33011 fail:
33012 return NULL;
33013 }
33014
33015
33016 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
33017 PyObject *resultobj;
33018 wxPyControl *arg1 = (wxPyControl *) 0 ;
33019 wxWindow *arg2 = (wxWindow *) 0 ;
33020 PyObject * obj0 = 0 ;
33021 PyObject * obj1 = 0 ;
33022 char *kwnames[] = {
33023 (char *) "self",(char *) "child", NULL
33024 };
33025
33026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
33027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33028 if (SWIG_arg_fail(1)) SWIG_fail;
33029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33030 if (SWIG_arg_fail(2)) SWIG_fail;
33031 {
33032 PyThreadState* __tstate = wxPyBeginAllowThreads();
33033 (arg1)->base_AddChild(arg2);
33034
33035 wxPyEndAllowThreads(__tstate);
33036 if (PyErr_Occurred()) SWIG_fail;
33037 }
33038 Py_INCREF(Py_None); resultobj = Py_None;
33039 return resultobj;
33040 fail:
33041 return NULL;
33042 }
33043
33044
33045 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
33046 PyObject *resultobj;
33047 wxPyControl *arg1 = (wxPyControl *) 0 ;
33048 wxWindow *arg2 = (wxWindow *) 0 ;
33049 PyObject * obj0 = 0 ;
33050 PyObject * obj1 = 0 ;
33051 char *kwnames[] = {
33052 (char *) "self",(char *) "child", NULL
33053 };
33054
33055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
33056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33057 if (SWIG_arg_fail(1)) SWIG_fail;
33058 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33059 if (SWIG_arg_fail(2)) SWIG_fail;
33060 {
33061 PyThreadState* __tstate = wxPyBeginAllowThreads();
33062 (arg1)->base_RemoveChild(arg2);
33063
33064 wxPyEndAllowThreads(__tstate);
33065 if (PyErr_Occurred()) SWIG_fail;
33066 }
33067 Py_INCREF(Py_None); resultobj = Py_None;
33068 return resultobj;
33069 fail:
33070 return NULL;
33071 }
33072
33073
33074 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
33075 PyObject *resultobj;
33076 wxPyControl *arg1 = (wxPyControl *) 0 ;
33077 bool result;
33078 PyObject * obj0 = 0 ;
33079 char *kwnames[] = {
33080 (char *) "self", NULL
33081 };
33082
33083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
33084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33085 if (SWIG_arg_fail(1)) SWIG_fail;
33086 {
33087 PyThreadState* __tstate = wxPyBeginAllowThreads();
33088 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
33089
33090 wxPyEndAllowThreads(__tstate);
33091 if (PyErr_Occurred()) SWIG_fail;
33092 }
33093 {
33094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33095 }
33096 return resultobj;
33097 fail:
33098 return NULL;
33099 }
33100
33101
33102 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
33103 PyObject *resultobj;
33104 wxPyControl *arg1 = (wxPyControl *) 0 ;
33105 wxVisualAttributes result;
33106 PyObject * obj0 = 0 ;
33107 char *kwnames[] = {
33108 (char *) "self", NULL
33109 };
33110
33111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
33112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
33113 if (SWIG_arg_fail(1)) SWIG_fail;
33114 {
33115 PyThreadState* __tstate = wxPyBeginAllowThreads();
33116 result = (arg1)->base_GetDefaultAttributes();
33117
33118 wxPyEndAllowThreads(__tstate);
33119 if (PyErr_Occurred()) SWIG_fail;
33120 }
33121 {
33122 wxVisualAttributes * resultptr;
33123 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
33124 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33125 }
33126 return resultobj;
33127 fail:
33128 return NULL;
33129 }
33130
33131
33132 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
33133 PyObject *obj;
33134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33135 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
33136 Py_INCREF(obj);
33137 return Py_BuildValue((char *)"");
33138 }
33139 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
33140 PyObject *resultobj;
33141 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33142 int arg2 = (int) 0 ;
33143 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33144 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33145 wxHelpEvent *result;
33146 wxPoint temp3 ;
33147 PyObject * obj0 = 0 ;
33148 PyObject * obj1 = 0 ;
33149 PyObject * obj2 = 0 ;
33150 char *kwnames[] = {
33151 (char *) "type",(char *) "winid",(char *) "pt", NULL
33152 };
33153
33154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
33155 if (obj0) {
33156 {
33157 arg1 = (wxEventType)(SWIG_As_int(obj0));
33158 if (SWIG_arg_fail(1)) SWIG_fail;
33159 }
33160 }
33161 if (obj1) {
33162 {
33163 arg2 = (int)(SWIG_As_int(obj1));
33164 if (SWIG_arg_fail(2)) SWIG_fail;
33165 }
33166 }
33167 if (obj2) {
33168 {
33169 arg3 = &temp3;
33170 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33171 }
33172 }
33173 {
33174 PyThreadState* __tstate = wxPyBeginAllowThreads();
33175 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
33176
33177 wxPyEndAllowThreads(__tstate);
33178 if (PyErr_Occurred()) SWIG_fail;
33179 }
33180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
33181 return resultobj;
33182 fail:
33183 return NULL;
33184 }
33185
33186
33187 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33188 PyObject *resultobj;
33189 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33190 wxPoint result;
33191 PyObject * obj0 = 0 ;
33192 char *kwnames[] = {
33193 (char *) "self", NULL
33194 };
33195
33196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
33197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33198 if (SWIG_arg_fail(1)) SWIG_fail;
33199 {
33200 PyThreadState* __tstate = wxPyBeginAllowThreads();
33201 result = ((wxHelpEvent const *)arg1)->GetPosition();
33202
33203 wxPyEndAllowThreads(__tstate);
33204 if (PyErr_Occurred()) SWIG_fail;
33205 }
33206 {
33207 wxPoint * resultptr;
33208 resultptr = new wxPoint((wxPoint const &)(result));
33209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
33210 }
33211 return resultobj;
33212 fail:
33213 return NULL;
33214 }
33215
33216
33217 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
33218 PyObject *resultobj;
33219 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33220 wxPoint *arg2 = 0 ;
33221 wxPoint temp2 ;
33222 PyObject * obj0 = 0 ;
33223 PyObject * obj1 = 0 ;
33224 char *kwnames[] = {
33225 (char *) "self",(char *) "pos", NULL
33226 };
33227
33228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
33229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33230 if (SWIG_arg_fail(1)) SWIG_fail;
33231 {
33232 arg2 = &temp2;
33233 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33234 }
33235 {
33236 PyThreadState* __tstate = wxPyBeginAllowThreads();
33237 (arg1)->SetPosition((wxPoint const &)*arg2);
33238
33239 wxPyEndAllowThreads(__tstate);
33240 if (PyErr_Occurred()) SWIG_fail;
33241 }
33242 Py_INCREF(Py_None); resultobj = Py_None;
33243 return resultobj;
33244 fail:
33245 return NULL;
33246 }
33247
33248
33249 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33250 PyObject *resultobj;
33251 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33252 wxString *result;
33253 PyObject * obj0 = 0 ;
33254 char *kwnames[] = {
33255 (char *) "self", NULL
33256 };
33257
33258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
33259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33260 if (SWIG_arg_fail(1)) SWIG_fail;
33261 {
33262 PyThreadState* __tstate = wxPyBeginAllowThreads();
33263 {
33264 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33265 result = (wxString *) &_result_ref;
33266 }
33267
33268 wxPyEndAllowThreads(__tstate);
33269 if (PyErr_Occurred()) SWIG_fail;
33270 }
33271 {
33272 #if wxUSE_UNICODE
33273 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33274 #else
33275 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33276 #endif
33277 }
33278 return resultobj;
33279 fail:
33280 return NULL;
33281 }
33282
33283
33284 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
33285 PyObject *resultobj;
33286 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33287 wxString *arg2 = 0 ;
33288 bool temp2 = false ;
33289 PyObject * obj0 = 0 ;
33290 PyObject * obj1 = 0 ;
33291 char *kwnames[] = {
33292 (char *) "self",(char *) "link", NULL
33293 };
33294
33295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
33296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33297 if (SWIG_arg_fail(1)) SWIG_fail;
33298 {
33299 arg2 = wxString_in_helper(obj1);
33300 if (arg2 == NULL) SWIG_fail;
33301 temp2 = true;
33302 }
33303 {
33304 PyThreadState* __tstate = wxPyBeginAllowThreads();
33305 (arg1)->SetLink((wxString const &)*arg2);
33306
33307 wxPyEndAllowThreads(__tstate);
33308 if (PyErr_Occurred()) SWIG_fail;
33309 }
33310 Py_INCREF(Py_None); resultobj = Py_None;
33311 {
33312 if (temp2)
33313 delete arg2;
33314 }
33315 return resultobj;
33316 fail:
33317 {
33318 if (temp2)
33319 delete arg2;
33320 }
33321 return NULL;
33322 }
33323
33324
33325 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33326 PyObject *resultobj;
33327 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33328 wxString *result;
33329 PyObject * obj0 = 0 ;
33330 char *kwnames[] = {
33331 (char *) "self", NULL
33332 };
33333
33334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
33335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33336 if (SWIG_arg_fail(1)) SWIG_fail;
33337 {
33338 PyThreadState* __tstate = wxPyBeginAllowThreads();
33339 {
33340 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33341 result = (wxString *) &_result_ref;
33342 }
33343
33344 wxPyEndAllowThreads(__tstate);
33345 if (PyErr_Occurred()) SWIG_fail;
33346 }
33347 {
33348 #if wxUSE_UNICODE
33349 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33350 #else
33351 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33352 #endif
33353 }
33354 return resultobj;
33355 fail:
33356 return NULL;
33357 }
33358
33359
33360 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
33361 PyObject *resultobj;
33362 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33363 wxString *arg2 = 0 ;
33364 bool temp2 = false ;
33365 PyObject * obj0 = 0 ;
33366 PyObject * obj1 = 0 ;
33367 char *kwnames[] = {
33368 (char *) "self",(char *) "target", NULL
33369 };
33370
33371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
33372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33373 if (SWIG_arg_fail(1)) SWIG_fail;
33374 {
33375 arg2 = wxString_in_helper(obj1);
33376 if (arg2 == NULL) SWIG_fail;
33377 temp2 = true;
33378 }
33379 {
33380 PyThreadState* __tstate = wxPyBeginAllowThreads();
33381 (arg1)->SetTarget((wxString const &)*arg2);
33382
33383 wxPyEndAllowThreads(__tstate);
33384 if (PyErr_Occurred()) SWIG_fail;
33385 }
33386 Py_INCREF(Py_None); resultobj = Py_None;
33387 {
33388 if (temp2)
33389 delete arg2;
33390 }
33391 return resultobj;
33392 fail:
33393 {
33394 if (temp2)
33395 delete arg2;
33396 }
33397 return NULL;
33398 }
33399
33400
33401 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
33402 PyObject *obj;
33403 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33404 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33405 Py_INCREF(obj);
33406 return Py_BuildValue((char *)"");
33407 }
33408 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33409 PyObject *resultobj;
33410 wxWindow *arg1 = (wxWindow *) NULL ;
33411 bool arg2 = (bool) true ;
33412 wxContextHelp *result;
33413 PyObject * obj0 = 0 ;
33414 PyObject * obj1 = 0 ;
33415 char *kwnames[] = {
33416 (char *) "window",(char *) "doNow", NULL
33417 };
33418
33419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33420 if (obj0) {
33421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33422 if (SWIG_arg_fail(1)) SWIG_fail;
33423 }
33424 if (obj1) {
33425 {
33426 arg2 = (bool)(SWIG_As_bool(obj1));
33427 if (SWIG_arg_fail(2)) SWIG_fail;
33428 }
33429 }
33430 {
33431 if (!wxPyCheckForApp()) SWIG_fail;
33432 PyThreadState* __tstate = wxPyBeginAllowThreads();
33433 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33434
33435 wxPyEndAllowThreads(__tstate);
33436 if (PyErr_Occurred()) SWIG_fail;
33437 }
33438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33439 return resultobj;
33440 fail:
33441 return NULL;
33442 }
33443
33444
33445 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33446 PyObject *resultobj;
33447 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33448 PyObject * obj0 = 0 ;
33449 char *kwnames[] = {
33450 (char *) "self", NULL
33451 };
33452
33453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
33454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33455 if (SWIG_arg_fail(1)) SWIG_fail;
33456 {
33457 PyThreadState* __tstate = wxPyBeginAllowThreads();
33458 delete arg1;
33459
33460 wxPyEndAllowThreads(__tstate);
33461 if (PyErr_Occurred()) SWIG_fail;
33462 }
33463 Py_INCREF(Py_None); resultobj = Py_None;
33464 return resultobj;
33465 fail:
33466 return NULL;
33467 }
33468
33469
33470 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33471 PyObject *resultobj;
33472 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33473 wxWindow *arg2 = (wxWindow *) NULL ;
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 *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
33482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33483 if (SWIG_arg_fail(1)) SWIG_fail;
33484 if (obj1) {
33485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33486 if (SWIG_arg_fail(2)) SWIG_fail;
33487 }
33488 {
33489 PyThreadState* __tstate = wxPyBeginAllowThreads();
33490 result = (bool)(arg1)->BeginContextHelp(arg2);
33491
33492 wxPyEndAllowThreads(__tstate);
33493 if (PyErr_Occurred()) SWIG_fail;
33494 }
33495 {
33496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33497 }
33498 return resultobj;
33499 fail:
33500 return NULL;
33501 }
33502
33503
33504 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33505 PyObject *resultobj;
33506 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33507 bool result;
33508 PyObject * obj0 = 0 ;
33509 char *kwnames[] = {
33510 (char *) "self", NULL
33511 };
33512
33513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
33514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33515 if (SWIG_arg_fail(1)) SWIG_fail;
33516 {
33517 PyThreadState* __tstate = wxPyBeginAllowThreads();
33518 result = (bool)(arg1)->EndContextHelp();
33519
33520 wxPyEndAllowThreads(__tstate);
33521 if (PyErr_Occurred()) SWIG_fail;
33522 }
33523 {
33524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33525 }
33526 return resultobj;
33527 fail:
33528 return NULL;
33529 }
33530
33531
33532 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
33533 PyObject *obj;
33534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33535 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33536 Py_INCREF(obj);
33537 return Py_BuildValue((char *)"");
33538 }
33539 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
33540 PyObject *resultobj;
33541 wxWindow *arg1 = (wxWindow *) 0 ;
33542 int arg2 = (int) wxID_CONTEXT_HELP ;
33543 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33544 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33545 wxSize const &arg4_defvalue = wxDefaultSize ;
33546 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33547 long arg5 = (long) wxBU_AUTODRAW ;
33548 wxContextHelpButton *result;
33549 wxPoint temp3 ;
33550 wxSize temp4 ;
33551 PyObject * obj0 = 0 ;
33552 PyObject * obj1 = 0 ;
33553 PyObject * obj2 = 0 ;
33554 PyObject * obj3 = 0 ;
33555 PyObject * obj4 = 0 ;
33556 char *kwnames[] = {
33557 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33558 };
33559
33560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33562 if (SWIG_arg_fail(1)) SWIG_fail;
33563 if (obj1) {
33564 {
33565 arg2 = (int)(SWIG_As_int(obj1));
33566 if (SWIG_arg_fail(2)) SWIG_fail;
33567 }
33568 }
33569 if (obj2) {
33570 {
33571 arg3 = &temp3;
33572 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33573 }
33574 }
33575 if (obj3) {
33576 {
33577 arg4 = &temp4;
33578 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33579 }
33580 }
33581 if (obj4) {
33582 {
33583 arg5 = (long)(SWIG_As_long(obj4));
33584 if (SWIG_arg_fail(5)) SWIG_fail;
33585 }
33586 }
33587 {
33588 if (!wxPyCheckForApp()) SWIG_fail;
33589 PyThreadState* __tstate = wxPyBeginAllowThreads();
33590 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33591
33592 wxPyEndAllowThreads(__tstate);
33593 if (PyErr_Occurred()) SWIG_fail;
33594 }
33595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33596 return resultobj;
33597 fail:
33598 return NULL;
33599 }
33600
33601
33602 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
33603 PyObject *obj;
33604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33605 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33606 Py_INCREF(obj);
33607 return Py_BuildValue((char *)"");
33608 }
33609 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
33610 PyObject *resultobj;
33611 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33612 wxHelpProvider *result;
33613 PyObject * obj0 = 0 ;
33614 char *kwnames[] = {
33615 (char *) "helpProvider", NULL
33616 };
33617
33618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
33619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33620 if (SWIG_arg_fail(1)) SWIG_fail;
33621 {
33622 PyThreadState* __tstate = wxPyBeginAllowThreads();
33623 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33624
33625 wxPyEndAllowThreads(__tstate);
33626 if (PyErr_Occurred()) SWIG_fail;
33627 }
33628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33629 return resultobj;
33630 fail:
33631 return NULL;
33632 }
33633
33634
33635 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
33636 PyObject *resultobj;
33637 wxHelpProvider *result;
33638 char *kwnames[] = {
33639 NULL
33640 };
33641
33642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33643 {
33644 PyThreadState* __tstate = wxPyBeginAllowThreads();
33645 result = (wxHelpProvider *)wxHelpProvider::Get();
33646
33647 wxPyEndAllowThreads(__tstate);
33648 if (PyErr_Occurred()) SWIG_fail;
33649 }
33650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33651 return resultobj;
33652 fail:
33653 return NULL;
33654 }
33655
33656
33657 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33658 PyObject *resultobj;
33659 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33660 wxWindow *arg2 = (wxWindow *) 0 ;
33661 wxString result;
33662 PyObject * obj0 = 0 ;
33663 PyObject * obj1 = 0 ;
33664 char *kwnames[] = {
33665 (char *) "self",(char *) "window", NULL
33666 };
33667
33668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
33669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33670 if (SWIG_arg_fail(1)) SWIG_fail;
33671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33672 if (SWIG_arg_fail(2)) SWIG_fail;
33673 {
33674 PyThreadState* __tstate = wxPyBeginAllowThreads();
33675 result = (arg1)->GetHelp((wxWindow const *)arg2);
33676
33677 wxPyEndAllowThreads(__tstate);
33678 if (PyErr_Occurred()) SWIG_fail;
33679 }
33680 {
33681 #if wxUSE_UNICODE
33682 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33683 #else
33684 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33685 #endif
33686 }
33687 return resultobj;
33688 fail:
33689 return NULL;
33690 }
33691
33692
33693 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33694 PyObject *resultobj;
33695 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33696 wxWindow *arg2 = (wxWindow *) 0 ;
33697 bool result;
33698 PyObject * obj0 = 0 ;
33699 PyObject * obj1 = 0 ;
33700 char *kwnames[] = {
33701 (char *) "self",(char *) "window", NULL
33702 };
33703
33704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
33705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33706 if (SWIG_arg_fail(1)) SWIG_fail;
33707 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33708 if (SWIG_arg_fail(2)) SWIG_fail;
33709 {
33710 PyThreadState* __tstate = wxPyBeginAllowThreads();
33711 result = (bool)(arg1)->ShowHelp(arg2);
33712
33713 wxPyEndAllowThreads(__tstate);
33714 if (PyErr_Occurred()) SWIG_fail;
33715 }
33716 {
33717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33718 }
33719 return resultobj;
33720 fail:
33721 return NULL;
33722 }
33723
33724
33725 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33726 PyObject *resultobj;
33727 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33728 wxWindow *arg2 = (wxWindow *) 0 ;
33729 wxString *arg3 = 0 ;
33730 bool temp3 = false ;
33731 PyObject * obj0 = 0 ;
33732 PyObject * obj1 = 0 ;
33733 PyObject * obj2 = 0 ;
33734 char *kwnames[] = {
33735 (char *) "self",(char *) "window",(char *) "text", NULL
33736 };
33737
33738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
33739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33740 if (SWIG_arg_fail(1)) SWIG_fail;
33741 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33742 if (SWIG_arg_fail(2)) SWIG_fail;
33743 {
33744 arg3 = wxString_in_helper(obj2);
33745 if (arg3 == NULL) SWIG_fail;
33746 temp3 = true;
33747 }
33748 {
33749 PyThreadState* __tstate = wxPyBeginAllowThreads();
33750 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33751
33752 wxPyEndAllowThreads(__tstate);
33753 if (PyErr_Occurred()) SWIG_fail;
33754 }
33755 Py_INCREF(Py_None); resultobj = Py_None;
33756 {
33757 if (temp3)
33758 delete arg3;
33759 }
33760 return resultobj;
33761 fail:
33762 {
33763 if (temp3)
33764 delete arg3;
33765 }
33766 return NULL;
33767 }
33768
33769
33770 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
33771 PyObject *resultobj;
33772 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33773 int arg2 ;
33774 wxString *arg3 = 0 ;
33775 bool temp3 = false ;
33776 PyObject * obj0 = 0 ;
33777 PyObject * obj1 = 0 ;
33778 PyObject * obj2 = 0 ;
33779 char *kwnames[] = {
33780 (char *) "self",(char *) "id",(char *) "text", NULL
33781 };
33782
33783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
33784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33785 if (SWIG_arg_fail(1)) SWIG_fail;
33786 {
33787 arg2 = (int)(SWIG_As_int(obj1));
33788 if (SWIG_arg_fail(2)) SWIG_fail;
33789 }
33790 {
33791 arg3 = wxString_in_helper(obj2);
33792 if (arg3 == NULL) SWIG_fail;
33793 temp3 = true;
33794 }
33795 {
33796 PyThreadState* __tstate = wxPyBeginAllowThreads();
33797 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33798
33799 wxPyEndAllowThreads(__tstate);
33800 if (PyErr_Occurred()) SWIG_fail;
33801 }
33802 Py_INCREF(Py_None); resultobj = Py_None;
33803 {
33804 if (temp3)
33805 delete arg3;
33806 }
33807 return resultobj;
33808 fail:
33809 {
33810 if (temp3)
33811 delete arg3;
33812 }
33813 return NULL;
33814 }
33815
33816
33817 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
33818 PyObject *resultobj;
33819 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33820 wxWindow *arg2 = (wxWindow *) 0 ;
33821 PyObject * obj0 = 0 ;
33822 PyObject * obj1 = 0 ;
33823 char *kwnames[] = {
33824 (char *) "self",(char *) "window", NULL
33825 };
33826
33827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
33828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33829 if (SWIG_arg_fail(1)) SWIG_fail;
33830 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33831 if (SWIG_arg_fail(2)) SWIG_fail;
33832 {
33833 PyThreadState* __tstate = wxPyBeginAllowThreads();
33834 (arg1)->RemoveHelp(arg2);
33835
33836 wxPyEndAllowThreads(__tstate);
33837 if (PyErr_Occurred()) SWIG_fail;
33838 }
33839 Py_INCREF(Py_None); resultobj = Py_None;
33840 return resultobj;
33841 fail:
33842 return NULL;
33843 }
33844
33845
33846 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
33847 PyObject *resultobj;
33848 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33849 PyObject * obj0 = 0 ;
33850 char *kwnames[] = {
33851 (char *) "self", NULL
33852 };
33853
33854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
33855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33856 if (SWIG_arg_fail(1)) SWIG_fail;
33857 {
33858 PyThreadState* __tstate = wxPyBeginAllowThreads();
33859 wxHelpProvider_Destroy(arg1);
33860
33861 wxPyEndAllowThreads(__tstate);
33862 if (PyErr_Occurred()) SWIG_fail;
33863 }
33864 Py_INCREF(Py_None); resultobj = Py_None;
33865 return resultobj;
33866 fail:
33867 return NULL;
33868 }
33869
33870
33871 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
33872 PyObject *obj;
33873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33874 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33875 Py_INCREF(obj);
33876 return Py_BuildValue((char *)"");
33877 }
33878 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
33879 PyObject *resultobj;
33880 wxSimpleHelpProvider *result;
33881 char *kwnames[] = {
33882 NULL
33883 };
33884
33885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33886 {
33887 PyThreadState* __tstate = wxPyBeginAllowThreads();
33888 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33889
33890 wxPyEndAllowThreads(__tstate);
33891 if (PyErr_Occurred()) SWIG_fail;
33892 }
33893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33894 return resultobj;
33895 fail:
33896 return NULL;
33897 }
33898
33899
33900 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
33901 PyObject *obj;
33902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33903 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33904 Py_INCREF(obj);
33905 return Py_BuildValue((char *)"");
33906 }
33907 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
33908 PyObject *resultobj;
33909 wxBitmap *arg1 = 0 ;
33910 wxCursor const &arg2_defvalue = wxNullCursor ;
33911 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33912 wxGenericDragImage *result;
33913 PyObject * obj0 = 0 ;
33914 PyObject * obj1 = 0 ;
33915 char *kwnames[] = {
33916 (char *) "image",(char *) "cursor", NULL
33917 };
33918
33919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
33920 {
33921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33922 if (SWIG_arg_fail(1)) SWIG_fail;
33923 if (arg1 == NULL) {
33924 SWIG_null_ref("wxBitmap");
33925 }
33926 if (SWIG_arg_fail(1)) SWIG_fail;
33927 }
33928 if (obj1) {
33929 {
33930 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33931 if (SWIG_arg_fail(2)) SWIG_fail;
33932 if (arg2 == NULL) {
33933 SWIG_null_ref("wxCursor");
33934 }
33935 if (SWIG_arg_fail(2)) SWIG_fail;
33936 }
33937 }
33938 {
33939 if (!wxPyCheckForApp()) SWIG_fail;
33940 PyThreadState* __tstate = wxPyBeginAllowThreads();
33941 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33942
33943 wxPyEndAllowThreads(__tstate);
33944 if (PyErr_Occurred()) SWIG_fail;
33945 }
33946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33947 return resultobj;
33948 fail:
33949 return NULL;
33950 }
33951
33952
33953 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
33954 PyObject *resultobj;
33955 wxIcon *arg1 = 0 ;
33956 wxCursor const &arg2_defvalue = wxNullCursor ;
33957 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33958 wxGenericDragImage *result;
33959 PyObject * obj0 = 0 ;
33960 PyObject * obj1 = 0 ;
33961 char *kwnames[] = {
33962 (char *) "image",(char *) "cursor", NULL
33963 };
33964
33965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
33966 {
33967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33968 if (SWIG_arg_fail(1)) SWIG_fail;
33969 if (arg1 == NULL) {
33970 SWIG_null_ref("wxIcon");
33971 }
33972 if (SWIG_arg_fail(1)) SWIG_fail;
33973 }
33974 if (obj1) {
33975 {
33976 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33977 if (SWIG_arg_fail(2)) SWIG_fail;
33978 if (arg2 == NULL) {
33979 SWIG_null_ref("wxCursor");
33980 }
33981 if (SWIG_arg_fail(2)) SWIG_fail;
33982 }
33983 }
33984 {
33985 if (!wxPyCheckForApp()) SWIG_fail;
33986 PyThreadState* __tstate = wxPyBeginAllowThreads();
33987 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33988
33989 wxPyEndAllowThreads(__tstate);
33990 if (PyErr_Occurred()) SWIG_fail;
33991 }
33992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33993 return resultobj;
33994 fail:
33995 return NULL;
33996 }
33997
33998
33999 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
34000 PyObject *resultobj;
34001 wxString *arg1 = 0 ;
34002 wxCursor const &arg2_defvalue = wxNullCursor ;
34003 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
34004 wxGenericDragImage *result;
34005 bool temp1 = false ;
34006 PyObject * obj0 = 0 ;
34007 PyObject * obj1 = 0 ;
34008 char *kwnames[] = {
34009 (char *) "str",(char *) "cursor", NULL
34010 };
34011
34012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
34013 {
34014 arg1 = wxString_in_helper(obj0);
34015 if (arg1 == NULL) SWIG_fail;
34016 temp1 = true;
34017 }
34018 if (obj1) {
34019 {
34020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
34021 if (SWIG_arg_fail(2)) SWIG_fail;
34022 if (arg2 == NULL) {
34023 SWIG_null_ref("wxCursor");
34024 }
34025 if (SWIG_arg_fail(2)) SWIG_fail;
34026 }
34027 }
34028 {
34029 if (!wxPyCheckForApp()) SWIG_fail;
34030 PyThreadState* __tstate = wxPyBeginAllowThreads();
34031 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
34032
34033 wxPyEndAllowThreads(__tstate);
34034 if (PyErr_Occurred()) SWIG_fail;
34035 }
34036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34037 {
34038 if (temp1)
34039 delete arg1;
34040 }
34041 return resultobj;
34042 fail:
34043 {
34044 if (temp1)
34045 delete arg1;
34046 }
34047 return NULL;
34048 }
34049
34050
34051 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
34052 PyObject *resultobj;
34053 wxPyTreeCtrl *arg1 = 0 ;
34054 wxTreeItemId *arg2 = 0 ;
34055 wxGenericDragImage *result;
34056 PyObject * obj0 = 0 ;
34057 PyObject * obj1 = 0 ;
34058 char *kwnames[] = {
34059 (char *) "treeCtrl",(char *) "id", NULL
34060 };
34061
34062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
34063 {
34064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
34065 if (SWIG_arg_fail(1)) SWIG_fail;
34066 if (arg1 == NULL) {
34067 SWIG_null_ref("wxPyTreeCtrl");
34068 }
34069 if (SWIG_arg_fail(1)) SWIG_fail;
34070 }
34071 {
34072 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
34073 if (SWIG_arg_fail(2)) SWIG_fail;
34074 if (arg2 == NULL) {
34075 SWIG_null_ref("wxTreeItemId");
34076 }
34077 if (SWIG_arg_fail(2)) SWIG_fail;
34078 }
34079 {
34080 if (!wxPyCheckForApp()) SWIG_fail;
34081 PyThreadState* __tstate = wxPyBeginAllowThreads();
34082 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
34083
34084 wxPyEndAllowThreads(__tstate);
34085 if (PyErr_Occurred()) SWIG_fail;
34086 }
34087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34088 return resultobj;
34089 fail:
34090 return NULL;
34091 }
34092
34093
34094 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
34095 PyObject *resultobj;
34096 wxPyListCtrl *arg1 = 0 ;
34097 long arg2 ;
34098 wxGenericDragImage *result;
34099 PyObject * obj0 = 0 ;
34100 PyObject * obj1 = 0 ;
34101 char *kwnames[] = {
34102 (char *) "listCtrl",(char *) "id", NULL
34103 };
34104
34105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
34106 {
34107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
34108 if (SWIG_arg_fail(1)) SWIG_fail;
34109 if (arg1 == NULL) {
34110 SWIG_null_ref("wxPyListCtrl");
34111 }
34112 if (SWIG_arg_fail(1)) SWIG_fail;
34113 }
34114 {
34115 arg2 = (long)(SWIG_As_long(obj1));
34116 if (SWIG_arg_fail(2)) SWIG_fail;
34117 }
34118 {
34119 if (!wxPyCheckForApp()) SWIG_fail;
34120 PyThreadState* __tstate = wxPyBeginAllowThreads();
34121 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
34122
34123 wxPyEndAllowThreads(__tstate);
34124 if (PyErr_Occurred()) SWIG_fail;
34125 }
34126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
34127 return resultobj;
34128 fail:
34129 return NULL;
34130 }
34131
34132
34133 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
34134 PyObject *resultobj;
34135 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34136 PyObject * obj0 = 0 ;
34137 char *kwnames[] = {
34138 (char *) "self", NULL
34139 };
34140
34141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
34142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34143 if (SWIG_arg_fail(1)) SWIG_fail;
34144 {
34145 PyThreadState* __tstate = wxPyBeginAllowThreads();
34146 delete arg1;
34147
34148 wxPyEndAllowThreads(__tstate);
34149 if (PyErr_Occurred()) SWIG_fail;
34150 }
34151 Py_INCREF(Py_None); resultobj = Py_None;
34152 return resultobj;
34153 fail:
34154 return NULL;
34155 }
34156
34157
34158 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
34159 PyObject *resultobj;
34160 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34161 wxBitmap *arg2 = (wxBitmap *) 0 ;
34162 PyObject * obj0 = 0 ;
34163 PyObject * obj1 = 0 ;
34164 char *kwnames[] = {
34165 (char *) "self",(char *) "bitmap", NULL
34166 };
34167
34168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
34169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34170 if (SWIG_arg_fail(1)) SWIG_fail;
34171 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
34172 if (SWIG_arg_fail(2)) SWIG_fail;
34173 {
34174 PyThreadState* __tstate = wxPyBeginAllowThreads();
34175 (arg1)->SetBackingBitmap(arg2);
34176
34177 wxPyEndAllowThreads(__tstate);
34178 if (PyErr_Occurred()) SWIG_fail;
34179 }
34180 Py_INCREF(Py_None); resultobj = Py_None;
34181 return resultobj;
34182 fail:
34183 return NULL;
34184 }
34185
34186
34187 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34188 PyObject *resultobj;
34189 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34190 wxPoint *arg2 = 0 ;
34191 wxWindow *arg3 = (wxWindow *) 0 ;
34192 bool arg4 = (bool) false ;
34193 wxRect *arg5 = (wxRect *) NULL ;
34194 bool result;
34195 wxPoint temp2 ;
34196 PyObject * obj0 = 0 ;
34197 PyObject * obj1 = 0 ;
34198 PyObject * obj2 = 0 ;
34199 PyObject * obj3 = 0 ;
34200 PyObject * obj4 = 0 ;
34201 char *kwnames[] = {
34202 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34203 };
34204
34205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34207 if (SWIG_arg_fail(1)) SWIG_fail;
34208 {
34209 arg2 = &temp2;
34210 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34211 }
34212 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34213 if (SWIG_arg_fail(3)) SWIG_fail;
34214 if (obj3) {
34215 {
34216 arg4 = (bool)(SWIG_As_bool(obj3));
34217 if (SWIG_arg_fail(4)) SWIG_fail;
34218 }
34219 }
34220 if (obj4) {
34221 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
34222 if (SWIG_arg_fail(5)) SWIG_fail;
34223 }
34224 {
34225 PyThreadState* __tstate = wxPyBeginAllowThreads();
34226 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
34227
34228 wxPyEndAllowThreads(__tstate);
34229 if (PyErr_Occurred()) SWIG_fail;
34230 }
34231 {
34232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34233 }
34234 return resultobj;
34235 fail:
34236 return NULL;
34237 }
34238
34239
34240 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
34241 PyObject *resultobj;
34242 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34243 wxPoint *arg2 = 0 ;
34244 wxWindow *arg3 = (wxWindow *) 0 ;
34245 wxWindow *arg4 = (wxWindow *) 0 ;
34246 bool result;
34247 wxPoint temp2 ;
34248 PyObject * obj0 = 0 ;
34249 PyObject * obj1 = 0 ;
34250 PyObject * obj2 = 0 ;
34251 PyObject * obj3 = 0 ;
34252 char *kwnames[] = {
34253 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34254 };
34255
34256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34258 if (SWIG_arg_fail(1)) SWIG_fail;
34259 {
34260 arg2 = &temp2;
34261 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34262 }
34263 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34264 if (SWIG_arg_fail(3)) SWIG_fail;
34265 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34266 if (SWIG_arg_fail(4)) SWIG_fail;
34267 {
34268 PyThreadState* __tstate = wxPyBeginAllowThreads();
34269 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34270
34271 wxPyEndAllowThreads(__tstate);
34272 if (PyErr_Occurred()) SWIG_fail;
34273 }
34274 {
34275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34276 }
34277 return resultobj;
34278 fail:
34279 return NULL;
34280 }
34281
34282
34283 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
34284 PyObject *resultobj;
34285 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34286 bool result;
34287 PyObject * obj0 = 0 ;
34288 char *kwnames[] = {
34289 (char *) "self", NULL
34290 };
34291
34292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
34293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34294 if (SWIG_arg_fail(1)) SWIG_fail;
34295 {
34296 PyThreadState* __tstate = wxPyBeginAllowThreads();
34297 result = (bool)(arg1)->EndDrag();
34298
34299 wxPyEndAllowThreads(__tstate);
34300 if (PyErr_Occurred()) SWIG_fail;
34301 }
34302 {
34303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34304 }
34305 return resultobj;
34306 fail:
34307 return NULL;
34308 }
34309
34310
34311 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
34312 PyObject *resultobj;
34313 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34314 wxPoint *arg2 = 0 ;
34315 bool result;
34316 wxPoint temp2 ;
34317 PyObject * obj0 = 0 ;
34318 PyObject * obj1 = 0 ;
34319 char *kwnames[] = {
34320 (char *) "self",(char *) "pt", NULL
34321 };
34322
34323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
34324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34325 if (SWIG_arg_fail(1)) SWIG_fail;
34326 {
34327 arg2 = &temp2;
34328 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34329 }
34330 {
34331 PyThreadState* __tstate = wxPyBeginAllowThreads();
34332 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34333
34334 wxPyEndAllowThreads(__tstate);
34335 if (PyErr_Occurred()) SWIG_fail;
34336 }
34337 {
34338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34339 }
34340 return resultobj;
34341 fail:
34342 return NULL;
34343 }
34344
34345
34346 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
34347 PyObject *resultobj;
34348 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34349 bool result;
34350 PyObject * obj0 = 0 ;
34351 char *kwnames[] = {
34352 (char *) "self", NULL
34353 };
34354
34355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
34356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34357 if (SWIG_arg_fail(1)) SWIG_fail;
34358 {
34359 PyThreadState* __tstate = wxPyBeginAllowThreads();
34360 result = (bool)(arg1)->Show();
34361
34362 wxPyEndAllowThreads(__tstate);
34363 if (PyErr_Occurred()) SWIG_fail;
34364 }
34365 {
34366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34367 }
34368 return resultobj;
34369 fail:
34370 return NULL;
34371 }
34372
34373
34374 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
34375 PyObject *resultobj;
34376 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34377 bool result;
34378 PyObject * obj0 = 0 ;
34379 char *kwnames[] = {
34380 (char *) "self", NULL
34381 };
34382
34383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
34384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34385 if (SWIG_arg_fail(1)) SWIG_fail;
34386 {
34387 PyThreadState* __tstate = wxPyBeginAllowThreads();
34388 result = (bool)(arg1)->Hide();
34389
34390 wxPyEndAllowThreads(__tstate);
34391 if (PyErr_Occurred()) SWIG_fail;
34392 }
34393 {
34394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34395 }
34396 return resultobj;
34397 fail:
34398 return NULL;
34399 }
34400
34401
34402 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
34403 PyObject *resultobj;
34404 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34405 wxPoint *arg2 = 0 ;
34406 wxRect result;
34407 wxPoint temp2 ;
34408 PyObject * obj0 = 0 ;
34409 PyObject * obj1 = 0 ;
34410 char *kwnames[] = {
34411 (char *) "self",(char *) "pos", NULL
34412 };
34413
34414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
34415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34416 if (SWIG_arg_fail(1)) SWIG_fail;
34417 {
34418 arg2 = &temp2;
34419 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34420 }
34421 {
34422 PyThreadState* __tstate = wxPyBeginAllowThreads();
34423 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34424
34425 wxPyEndAllowThreads(__tstate);
34426 if (PyErr_Occurred()) SWIG_fail;
34427 }
34428 {
34429 wxRect * resultptr;
34430 resultptr = new wxRect((wxRect &)(result));
34431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34432 }
34433 return resultobj;
34434 fail:
34435 return NULL;
34436 }
34437
34438
34439 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34440 PyObject *resultobj;
34441 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34442 wxDC *arg2 = 0 ;
34443 wxPoint *arg3 = 0 ;
34444 bool result;
34445 wxPoint temp3 ;
34446 PyObject * obj0 = 0 ;
34447 PyObject * obj1 = 0 ;
34448 PyObject * obj2 = 0 ;
34449 char *kwnames[] = {
34450 (char *) "self",(char *) "dc",(char *) "pos", NULL
34451 };
34452
34453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
34454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34455 if (SWIG_arg_fail(1)) SWIG_fail;
34456 {
34457 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34458 if (SWIG_arg_fail(2)) SWIG_fail;
34459 if (arg2 == NULL) {
34460 SWIG_null_ref("wxDC");
34461 }
34462 if (SWIG_arg_fail(2)) SWIG_fail;
34463 }
34464 {
34465 arg3 = &temp3;
34466 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34467 }
34468 {
34469 PyThreadState* __tstate = wxPyBeginAllowThreads();
34470 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34471
34472 wxPyEndAllowThreads(__tstate);
34473 if (PyErr_Occurred()) SWIG_fail;
34474 }
34475 {
34476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34477 }
34478 return resultobj;
34479 fail:
34480 return NULL;
34481 }
34482
34483
34484 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
34485 PyObject *resultobj;
34486 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34487 wxDC *arg2 = 0 ;
34488 wxMemoryDC *arg3 = 0 ;
34489 wxRect *arg4 = 0 ;
34490 wxRect *arg5 = 0 ;
34491 bool result;
34492 wxRect temp4 ;
34493 wxRect temp5 ;
34494 PyObject * obj0 = 0 ;
34495 PyObject * obj1 = 0 ;
34496 PyObject * obj2 = 0 ;
34497 PyObject * obj3 = 0 ;
34498 PyObject * obj4 = 0 ;
34499 char *kwnames[] = {
34500 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34501 };
34502
34503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34505 if (SWIG_arg_fail(1)) SWIG_fail;
34506 {
34507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34508 if (SWIG_arg_fail(2)) SWIG_fail;
34509 if (arg2 == NULL) {
34510 SWIG_null_ref("wxDC");
34511 }
34512 if (SWIG_arg_fail(2)) SWIG_fail;
34513 }
34514 {
34515 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34516 if (SWIG_arg_fail(3)) SWIG_fail;
34517 if (arg3 == NULL) {
34518 SWIG_null_ref("wxMemoryDC");
34519 }
34520 if (SWIG_arg_fail(3)) SWIG_fail;
34521 }
34522 {
34523 arg4 = &temp4;
34524 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34525 }
34526 {
34527 arg5 = &temp5;
34528 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34529 }
34530 {
34531 PyThreadState* __tstate = wxPyBeginAllowThreads();
34532 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34533
34534 wxPyEndAllowThreads(__tstate);
34535 if (PyErr_Occurred()) SWIG_fail;
34536 }
34537 {
34538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34539 }
34540 return resultobj;
34541 fail:
34542 return NULL;
34543 }
34544
34545
34546 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
34547 PyObject *resultobj;
34548 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34549 wxPoint *arg2 = 0 ;
34550 wxPoint *arg3 = 0 ;
34551 bool arg4 ;
34552 bool arg5 ;
34553 bool result;
34554 wxPoint temp2 ;
34555 wxPoint temp3 ;
34556 PyObject * obj0 = 0 ;
34557 PyObject * obj1 = 0 ;
34558 PyObject * obj2 = 0 ;
34559 PyObject * obj3 = 0 ;
34560 PyObject * obj4 = 0 ;
34561 char *kwnames[] = {
34562 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34563 };
34564
34565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34567 if (SWIG_arg_fail(1)) SWIG_fail;
34568 {
34569 arg2 = &temp2;
34570 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34571 }
34572 {
34573 arg3 = &temp3;
34574 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34575 }
34576 {
34577 arg4 = (bool)(SWIG_As_bool(obj3));
34578 if (SWIG_arg_fail(4)) SWIG_fail;
34579 }
34580 {
34581 arg5 = (bool)(SWIG_As_bool(obj4));
34582 if (SWIG_arg_fail(5)) SWIG_fail;
34583 }
34584 {
34585 PyThreadState* __tstate = wxPyBeginAllowThreads();
34586 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34587
34588 wxPyEndAllowThreads(__tstate);
34589 if (PyErr_Occurred()) SWIG_fail;
34590 }
34591 {
34592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34593 }
34594 return resultobj;
34595 fail:
34596 return NULL;
34597 }
34598
34599
34600 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
34601 PyObject *obj;
34602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34603 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34604 Py_INCREF(obj);
34605 return Py_BuildValue((char *)"");
34606 }
34607 static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34608 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34609 return 1;
34610 }
34611
34612
34613 static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34614 PyObject *pyobj;
34615
34616 {
34617 #if wxUSE_UNICODE
34618 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34619 #else
34620 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34621 #endif
34622 }
34623 return pyobj;
34624 }
34625
34626
34627 static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34628 PyObject *resultobj;
34629 wxWindow *arg1 = (wxWindow *) 0 ;
34630 int arg2 = (int) -1 ;
34631 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34632 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34633 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34634 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34635 wxSize const &arg5_defvalue = wxDefaultSize ;
34636 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34637 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34638 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34639 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34640 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34641 wxString *arg8 = (wxString *) &arg8_defvalue ;
34642 wxDatePickerCtrl *result;
34643 wxPoint temp4 ;
34644 wxSize temp5 ;
34645 bool temp8 = false ;
34646 PyObject * obj0 = 0 ;
34647 PyObject * obj1 = 0 ;
34648 PyObject * obj2 = 0 ;
34649 PyObject * obj3 = 0 ;
34650 PyObject * obj4 = 0 ;
34651 PyObject * obj5 = 0 ;
34652 PyObject * obj6 = 0 ;
34653 PyObject * obj7 = 0 ;
34654 char *kwnames[] = {
34655 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34656 };
34657
34658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34660 if (SWIG_arg_fail(1)) SWIG_fail;
34661 if (obj1) {
34662 {
34663 arg2 = (int)(SWIG_As_int(obj1));
34664 if (SWIG_arg_fail(2)) SWIG_fail;
34665 }
34666 }
34667 if (obj2) {
34668 {
34669 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34670 if (SWIG_arg_fail(3)) SWIG_fail;
34671 if (arg3 == NULL) {
34672 SWIG_null_ref("wxDateTime");
34673 }
34674 if (SWIG_arg_fail(3)) SWIG_fail;
34675 }
34676 }
34677 if (obj3) {
34678 {
34679 arg4 = &temp4;
34680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34681 }
34682 }
34683 if (obj4) {
34684 {
34685 arg5 = &temp5;
34686 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34687 }
34688 }
34689 if (obj5) {
34690 {
34691 arg6 = (long)(SWIG_As_long(obj5));
34692 if (SWIG_arg_fail(6)) SWIG_fail;
34693 }
34694 }
34695 if (obj6) {
34696 {
34697 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34698 if (SWIG_arg_fail(7)) SWIG_fail;
34699 if (arg7 == NULL) {
34700 SWIG_null_ref("wxValidator");
34701 }
34702 if (SWIG_arg_fail(7)) SWIG_fail;
34703 }
34704 }
34705 if (obj7) {
34706 {
34707 arg8 = wxString_in_helper(obj7);
34708 if (arg8 == NULL) SWIG_fail;
34709 temp8 = true;
34710 }
34711 }
34712 {
34713 if (!wxPyCheckForApp()) SWIG_fail;
34714 PyThreadState* __tstate = wxPyBeginAllowThreads();
34715 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34716
34717 wxPyEndAllowThreads(__tstate);
34718 if (PyErr_Occurred()) SWIG_fail;
34719 }
34720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34721 {
34722 if (temp8)
34723 delete arg8;
34724 }
34725 return resultobj;
34726 fail:
34727 {
34728 if (temp8)
34729 delete arg8;
34730 }
34731 return NULL;
34732 }
34733
34734
34735 static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34736 PyObject *resultobj;
34737 wxDatePickerCtrl *result;
34738 char *kwnames[] = {
34739 NULL
34740 };
34741
34742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34743 {
34744 if (!wxPyCheckForApp()) SWIG_fail;
34745 PyThreadState* __tstate = wxPyBeginAllowThreads();
34746 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34747
34748 wxPyEndAllowThreads(__tstate);
34749 if (PyErr_Occurred()) SWIG_fail;
34750 }
34751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34752 return resultobj;
34753 fail:
34754 return NULL;
34755 }
34756
34757
34758 static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34759 PyObject *resultobj;
34760 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34761 wxWindow *arg2 = (wxWindow *) 0 ;
34762 int arg3 = (int) -1 ;
34763 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34764 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34765 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34766 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34767 wxSize const &arg6_defvalue = wxDefaultSize ;
34768 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34769 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34770 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34771 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34772 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34773 wxString *arg9 = (wxString *) &arg9_defvalue ;
34774 bool result;
34775 wxPoint temp5 ;
34776 wxSize temp6 ;
34777 bool temp9 = false ;
34778 PyObject * obj0 = 0 ;
34779 PyObject * obj1 = 0 ;
34780 PyObject * obj2 = 0 ;
34781 PyObject * obj3 = 0 ;
34782 PyObject * obj4 = 0 ;
34783 PyObject * obj5 = 0 ;
34784 PyObject * obj6 = 0 ;
34785 PyObject * obj7 = 0 ;
34786 PyObject * obj8 = 0 ;
34787 char *kwnames[] = {
34788 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34789 };
34790
34791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34793 if (SWIG_arg_fail(1)) SWIG_fail;
34794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34795 if (SWIG_arg_fail(2)) SWIG_fail;
34796 if (obj2) {
34797 {
34798 arg3 = (int)(SWIG_As_int(obj2));
34799 if (SWIG_arg_fail(3)) SWIG_fail;
34800 }
34801 }
34802 if (obj3) {
34803 {
34804 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34805 if (SWIG_arg_fail(4)) SWIG_fail;
34806 if (arg4 == NULL) {
34807 SWIG_null_ref("wxDateTime");
34808 }
34809 if (SWIG_arg_fail(4)) SWIG_fail;
34810 }
34811 }
34812 if (obj4) {
34813 {
34814 arg5 = &temp5;
34815 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34816 }
34817 }
34818 if (obj5) {
34819 {
34820 arg6 = &temp6;
34821 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34822 }
34823 }
34824 if (obj6) {
34825 {
34826 arg7 = (long)(SWIG_As_long(obj6));
34827 if (SWIG_arg_fail(7)) SWIG_fail;
34828 }
34829 }
34830 if (obj7) {
34831 {
34832 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34833 if (SWIG_arg_fail(8)) SWIG_fail;
34834 if (arg8 == NULL) {
34835 SWIG_null_ref("wxValidator");
34836 }
34837 if (SWIG_arg_fail(8)) SWIG_fail;
34838 }
34839 }
34840 if (obj8) {
34841 {
34842 arg9 = wxString_in_helper(obj8);
34843 if (arg9 == NULL) SWIG_fail;
34844 temp9 = true;
34845 }
34846 }
34847 {
34848 PyThreadState* __tstate = wxPyBeginAllowThreads();
34849 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34850
34851 wxPyEndAllowThreads(__tstate);
34852 if (PyErr_Occurred()) SWIG_fail;
34853 }
34854 {
34855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34856 }
34857 {
34858 if (temp9)
34859 delete arg9;
34860 }
34861 return resultobj;
34862 fail:
34863 {
34864 if (temp9)
34865 delete arg9;
34866 }
34867 return NULL;
34868 }
34869
34870
34871 static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34872 PyObject *resultobj;
34873 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34874 wxDateTime *arg2 = 0 ;
34875 PyObject * obj0 = 0 ;
34876 PyObject * obj1 = 0 ;
34877 char *kwnames[] = {
34878 (char *) "self",(char *) "dt", NULL
34879 };
34880
34881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34883 if (SWIG_arg_fail(1)) SWIG_fail;
34884 {
34885 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34886 if (SWIG_arg_fail(2)) SWIG_fail;
34887 if (arg2 == NULL) {
34888 SWIG_null_ref("wxDateTime");
34889 }
34890 if (SWIG_arg_fail(2)) SWIG_fail;
34891 }
34892 {
34893 PyThreadState* __tstate = wxPyBeginAllowThreads();
34894 (arg1)->SetValue((wxDateTime const &)*arg2);
34895
34896 wxPyEndAllowThreads(__tstate);
34897 if (PyErr_Occurred()) SWIG_fail;
34898 }
34899 Py_INCREF(Py_None); resultobj = Py_None;
34900 return resultobj;
34901 fail:
34902 return NULL;
34903 }
34904
34905
34906 static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34907 PyObject *resultobj;
34908 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34909 wxDateTime result;
34910 PyObject * obj0 = 0 ;
34911 char *kwnames[] = {
34912 (char *) "self", NULL
34913 };
34914
34915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34917 if (SWIG_arg_fail(1)) SWIG_fail;
34918 {
34919 PyThreadState* __tstate = wxPyBeginAllowThreads();
34920 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34921
34922 wxPyEndAllowThreads(__tstate);
34923 if (PyErr_Occurred()) SWIG_fail;
34924 }
34925 {
34926 wxDateTime * resultptr;
34927 resultptr = new wxDateTime((wxDateTime &)(result));
34928 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34929 }
34930 return resultobj;
34931 fail:
34932 return NULL;
34933 }
34934
34935
34936 static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34937 PyObject *resultobj;
34938 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34939 wxDateTime *arg2 = 0 ;
34940 wxDateTime *arg3 = 0 ;
34941 PyObject * obj0 = 0 ;
34942 PyObject * obj1 = 0 ;
34943 PyObject * obj2 = 0 ;
34944 char *kwnames[] = {
34945 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34946 };
34947
34948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34950 if (SWIG_arg_fail(1)) SWIG_fail;
34951 {
34952 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34953 if (SWIG_arg_fail(2)) SWIG_fail;
34954 if (arg2 == NULL) {
34955 SWIG_null_ref("wxDateTime");
34956 }
34957 if (SWIG_arg_fail(2)) SWIG_fail;
34958 }
34959 {
34960 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34961 if (SWIG_arg_fail(3)) SWIG_fail;
34962 if (arg3 == NULL) {
34963 SWIG_null_ref("wxDateTime");
34964 }
34965 if (SWIG_arg_fail(3)) SWIG_fail;
34966 }
34967 {
34968 PyThreadState* __tstate = wxPyBeginAllowThreads();
34969 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34970
34971 wxPyEndAllowThreads(__tstate);
34972 if (PyErr_Occurred()) SWIG_fail;
34973 }
34974 Py_INCREF(Py_None); resultobj = Py_None;
34975 return resultobj;
34976 fail:
34977 return NULL;
34978 }
34979
34980
34981 static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34982 PyObject *resultobj;
34983 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34984 wxDateTime result;
34985 PyObject * obj0 = 0 ;
34986 char *kwnames[] = {
34987 (char *) "self", NULL
34988 };
34989
34990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34992 if (SWIG_arg_fail(1)) SWIG_fail;
34993 {
34994 PyThreadState* __tstate = wxPyBeginAllowThreads();
34995 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34996
34997 wxPyEndAllowThreads(__tstate);
34998 if (PyErr_Occurred()) SWIG_fail;
34999 }
35000 {
35001 wxDateTime * resultptr;
35002 resultptr = new wxDateTime((wxDateTime &)(result));
35003 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35004 }
35005 return resultobj;
35006 fail:
35007 return NULL;
35008 }
35009
35010
35011 static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
35012 PyObject *resultobj;
35013 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
35014 wxDateTime result;
35015 PyObject * obj0 = 0 ;
35016 char *kwnames[] = {
35017 (char *) "self", NULL
35018 };
35019
35020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
35021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
35022 if (SWIG_arg_fail(1)) SWIG_fail;
35023 {
35024 PyThreadState* __tstate = wxPyBeginAllowThreads();
35025 result = wxDatePickerCtrl_GetUpperLimit(arg1);
35026
35027 wxPyEndAllowThreads(__tstate);
35028 if (PyErr_Occurred()) SWIG_fail;
35029 }
35030 {
35031 wxDateTime * resultptr;
35032 resultptr = new wxDateTime((wxDateTime &)(result));
35033 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
35034 }
35035 return resultobj;
35036 fail:
35037 return NULL;
35038 }
35039
35040
35041 static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
35042 PyObject *obj;
35043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35044 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
35045 Py_INCREF(obj);
35046 return Py_BuildValue((char *)"");
35047 }
35048 static PyMethodDef SwigMethods[] = {
35049 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
35056 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
35057 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
35070 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
35071 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35082 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
35083 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35086 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
35088 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"ComboBox_GetMark", (PyCFunction) _wrap_ComboBox_GetMark, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35104 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35111 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
35119 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
35133 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35137 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
35138 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
35145 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
35150 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
35158 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35167 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
35173 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
35181 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35182 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35184 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
35186 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
35190 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35192 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35194 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35198 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35199 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35201 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35203 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35208 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
35213 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
35221 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35243 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35279 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35284 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35288 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35294 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35296 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35306 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35309 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35321 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35325 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35343 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35350 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35358 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35376 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35384 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35385 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35406 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35412 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35423 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35425 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35431 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35433 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35440 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35442 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35444 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35445 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35447 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35452 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35456 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35468 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35476 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35482 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35483 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35498 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35499 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35500 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35527 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35528 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35529 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35533 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35545 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35576 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35597 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35598 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35603 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35607 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35608 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35624 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35627 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35629 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35637 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35642 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35644 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35653 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35655 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35673 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35682 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35683 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35684 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
35685 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35686 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35687 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35688 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35689 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35690 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35691 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35692 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35693 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35694 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35695 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35696 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35697 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35698 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35699 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35700 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35701 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35702 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35703 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35704 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35705 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35706 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35707 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35708 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35709 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35710 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35711 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35712 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35713 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35714 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35715 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35716 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35717 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35718 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35719 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35720 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35721 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35722 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35723 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35724 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35725 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35726 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35727 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35728 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35729 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35730 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35731 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35732 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35733 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35734 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35735 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35736 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35737 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35738 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
35739 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35740 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35741 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35742 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35743 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35744 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35745 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35746 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35747 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35748 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35749 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35750 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35751 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35752 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35753 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35754 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35755 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35756 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35757 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35758 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35759 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35760 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35761 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35762 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35763 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35764 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35765 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35766 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35767 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
35768 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
35769 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35770 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35771 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35772 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35773 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35774 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35775 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35776 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35777 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35778 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35779 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35780 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35781 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35782 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35783 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35784 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35785 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35786 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35787 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35788 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35789 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35790 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35791 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35792 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35793 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35794 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35795 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35796 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35797 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35798 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35799 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35800 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35801 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35802 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35803 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35804 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35805 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35806 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35807 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35808 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35809 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35810 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35811 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35812 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35813 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35814 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35815 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35816 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35817 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35818 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35819 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35820 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35821 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35822 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35823 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35824 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35825 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35826 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35827 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35828 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35829 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35830 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35831 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35832 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35833 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35834 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35835 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35836 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35837 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35838 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35839 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35840 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35841 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35842 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35843 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35844 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35845 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35846 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35847 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35848 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35849 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35850 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35851 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35852 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35853 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35854 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35855 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35856 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35857 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35858 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35859 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35860 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35861 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35862 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35863 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35864 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35865 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35866 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35867 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35868 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
35869 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35870 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35871 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35872 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35873 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35874 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35875 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35876 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35877 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35878 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35879 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35880 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35881 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35882 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35883 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35884 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35885 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35886 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35887 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35888 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35889 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35890 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35891 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35892 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35893 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35894 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35895 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35896 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35897 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35898 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35899 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35900 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35901 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35902 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35903 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35904 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35905 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35906 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35907 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35908 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35909 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35910 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35911 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35912 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35913 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35914 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
35915 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35916 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35917 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35918 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35919 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35920 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35921 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35922 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35923 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
35924 { NULL, NULL, 0, NULL }
35925 };
35926
35927
35928 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35929
35930 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35931 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35932 }
35933 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35934 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35935 }
35936 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35937 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35938 }
35939 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35940 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35941 }
35942 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35943 return (void *)((wxSizer *) ((wxGridSizer *) x));
35944 }
35945 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35946 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35947 }
35948 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35949 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35950 }
35951 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35952 return (void *)((wxSizer *) ((wxPySizer *) x));
35953 }
35954 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35955 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35956 }
35957 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35958 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35959 }
35960 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35961 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35962 }
35963 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35964 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35965 }
35966 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35967 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35968 }
35969 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35970 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35971 }
35972 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35973 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35974 }
35975 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35976 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35977 }
35978 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35979 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35980 }
35981 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35982 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35983 }
35984 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35985 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35986 }
35987 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35988 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35989 }
35990 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35991 return (void *)((wxEvent *) ((wxPyEvent *) x));
35992 }
35993 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35994 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35995 }
35996 static void *_p_wxListEventTo_p_wxEvent(void *x) {
35997 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35998 }
35999 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
36000 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36001 }
36002 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
36003 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36004 }
36005 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
36006 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36007 }
36008 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
36009 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
36010 }
36011 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
36012 return (void *)((wxEvent *) ((wxIdleEvent *) x));
36013 }
36014 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
36015 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
36016 }
36017 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
36018 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
36019 }
36020 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
36021 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
36022 }
36023 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
36024 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
36025 }
36026 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
36027 return (void *)((wxEvent *) ((wxActivateEvent *) x));
36028 }
36029 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
36030 return (void *)((wxEvent *) ((wxSizeEvent *) x));
36031 }
36032 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
36033 return (void *)((wxEvent *) ((wxMoveEvent *) x));
36034 }
36035 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
36036 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
36037 }
36038 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
36039 return (void *)((wxEvent *) ((wxPaintEvent *) x));
36040 }
36041 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
36042 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
36043 }
36044 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
36045 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
36046 }
36047 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
36048 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
36049 }
36050 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
36051 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
36052 }
36053 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
36054 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36055 }
36056 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
36057 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
36058 }
36059 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
36060 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
36061 }
36062 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
36063 return (void *)((wxEvent *) ((wxFocusEvent *) x));
36064 }
36065 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
36066 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
36067 }
36068 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
36069 return (void *)((wxEvent *) ((wxShowEvent *) x));
36070 }
36071 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
36072 return (void *)((wxEvent *) ((wxCommandEvent *) x));
36073 }
36074 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
36075 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
36076 }
36077 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
36078 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36079 }
36080 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
36081 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
36082 }
36083 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
36084 return (void *)((wxEvent *) ((wxKeyEvent *) x));
36085 }
36086 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
36087 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
36088 }
36089 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
36090 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36091 }
36092 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
36093 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36094 }
36095 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
36096 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36097 }
36098 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
36099 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
36100 }
36101 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
36102 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
36103 }
36104 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
36105 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
36106 }
36107 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
36108 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36109 }
36110 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
36111 return (void *)((wxPyListCtrl *) ((wxListView *) x));
36112 }
36113 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
36114 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
36115 }
36116 static void *_p_wxToolBarTo_p_wxControl(void *x) {
36117 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
36118 }
36119 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
36120 return (void *)((wxControl *) ((wxToggleButton *) x));
36121 }
36122 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
36123 return (void *)((wxControl *) ((wxRadioButton *) x));
36124 }
36125 static void *_p_wxPyControlTo_p_wxControl(void *x) {
36126 return (void *)((wxControl *) ((wxPyControl *) x));
36127 }
36128 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
36129 return (void *)((wxControl *) ((wxToolBarBase *) x));
36130 }
36131 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
36132 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36133 }
36134 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
36135 return (void *)((wxControl *) ((wxPyListCtrl *) x));
36136 }
36137 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
36138 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36139 }
36140 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
36141 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
36142 }
36143 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
36144 return (void *)((wxControl *) ((wxScrollBar *) x));
36145 }
36146 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
36147 return (void *)((wxControl *) ((wxControlWithItems *) x));
36148 }
36149 static void *_p_wxGaugeTo_p_wxControl(void *x) {
36150 return (void *)((wxControl *) ((wxGauge *) x));
36151 }
36152 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
36153 return (void *)((wxControl *) ((wxStaticLine *) x));
36154 }
36155 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
36156 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
36157 }
36158 static void *_p_wxListbookTo_p_wxControl(void *x) {
36159 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
36160 }
36161 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
36162 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
36163 }
36164 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
36165 return (void *)((wxControl *) ((wxCheckBox *) x));
36166 }
36167 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
36168 return (void *)((wxControl *) ((wxRadioBox *) x));
36169 }
36170 static void *_p_wxChoiceTo_p_wxControl(void *x) {
36171 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
36172 }
36173 static void *_p_wxListBoxTo_p_wxControl(void *x) {
36174 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
36175 }
36176 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
36177 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36178 }
36179 static void *_p_wxListViewTo_p_wxControl(void *x) {
36180 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
36181 }
36182 static void *_p_wxNotebookTo_p_wxControl(void *x) {
36183 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
36184 }
36185 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
36186 return (void *)((wxControl *) ((wxStaticBitmap *) x));
36187 }
36188 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
36189 return (void *)((wxControl *) ((wxSpinCtrl *) x));
36190 }
36191 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
36192 return (void *)((wxControl *) ((wxStaticText *) x));
36193 }
36194 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
36195 return (void *)((wxControl *) ((wxStaticBox *) x));
36196 }
36197 static void *_p_wxSliderTo_p_wxControl(void *x) {
36198 return (void *)((wxControl *) ((wxSlider *) x));
36199 }
36200 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
36201 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36202 }
36203 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
36204 return (void *)((wxControl *) ((wxSpinButton *) x));
36205 }
36206 static void *_p_wxButtonTo_p_wxControl(void *x) {
36207 return (void *)((wxControl *) ((wxButton *) x));
36208 }
36209 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
36210 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
36211 }
36212 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
36213 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
36214 }
36215 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
36216 return (void *)((wxControl *) ((wxTextCtrl *) x));
36217 }
36218 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
36219 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
36220 }
36221 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
36222 return (void *)((wxChoice *) ((wxComboBox *) x));
36223 }
36224 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
36225 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
36226 }
36227 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
36228 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36229 }
36230 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
36231 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
36232 }
36233 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
36234 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
36235 }
36236 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
36237 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
36238 }
36239 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
36240 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36241 }
36242 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
36243 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36244 }
36245 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
36246 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36247 }
36248 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36249 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36250 }
36251 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36252 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
36253 }
36254 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36255 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
36256 }
36257 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36258 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36259 }
36260 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36261 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36262 }
36263 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36264 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36265 }
36266 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36267 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36268 }
36269 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36270 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36271 }
36272 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36273 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36274 }
36275 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36276 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36277 }
36278 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36279 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36280 }
36281 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36282 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36283 }
36284 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36285 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36286 }
36287 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36288 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36289 }
36290 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36291 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36292 }
36293 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36294 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36295 }
36296 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36297 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36298 }
36299 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36300 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36301 }
36302 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36303 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36304 }
36305 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36306 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36307 }
36308 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36309 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36310 }
36311 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36312 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36313 }
36314 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36315 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36316 }
36317 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36318 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36319 }
36320 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
36321 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36322 }
36323 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
36324 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36325 }
36326 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36327 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36328 }
36329 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36330 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36331 }
36332 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36333 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36334 }
36335 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36336 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36337 }
36338 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36339 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36340 }
36341 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36342 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36343 }
36344 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
36345 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36346 }
36347 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36348 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36349 }
36350 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36351 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36352 }
36353 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36354 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36355 }
36356 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36357 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36358 }
36359 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36360 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36361 }
36362 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36363 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36364 }
36365 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36366 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36367 }
36368 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36369 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36370 }
36371 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36372 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36373 }
36374 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36375 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36376 }
36377 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36378 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36379 }
36380 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36381 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36382 }
36383 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36384 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36385 }
36386 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36387 return (void *)((wxButton *) ((wxBitmapButton *) x));
36388 }
36389 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36390 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36391 }
36392 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36393 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36394 }
36395 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36396 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36397 }
36398 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36399 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36400 }
36401 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36402 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36403 }
36404 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36405 return (void *)((wxObject *) ((wxSizerItem *) x));
36406 }
36407 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36408 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36409 }
36410 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36411 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36412 }
36413 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36414 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36415 }
36416 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36417 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36418 }
36419 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36420 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36421 }
36422 static void *_p_wxSizerTo_p_wxObject(void *x) {
36423 return (void *)((wxObject *) ((wxSizer *) x));
36424 }
36425 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36426 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36427 }
36428 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36429 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36430 }
36431 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36432 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36433 }
36434 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36435 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36436 }
36437 static void *_p_wxEventTo_p_wxObject(void *x) {
36438 return (void *)((wxObject *) ((wxEvent *) x));
36439 }
36440 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36441 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36442 }
36443 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36444 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36445 }
36446 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36447 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36448 }
36449 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36451 }
36452 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36454 }
36455 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36456 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36457 }
36458 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36459 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36460 }
36461 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36462 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36463 }
36464 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36465 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36466 }
36467 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36468 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36469 }
36470 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36471 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36472 }
36473 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36474 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36475 }
36476 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36478 }
36479 static void *_p_wxControlTo_p_wxObject(void *x) {
36480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36481 }
36482 static void *_p_wxPyControlTo_p_wxObject(void *x) {
36483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36484 }
36485 static void *_p_wxGaugeTo_p_wxObject(void *x) {
36486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36487 }
36488 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36489 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36490 }
36491 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36493 }
36494 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36496 }
36497 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36498 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36499 }
36500 static void *_p_wxChoiceTo_p_wxObject(void *x) {
36501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36502 }
36503 static void *_p_wxFSFileTo_p_wxObject(void *x) {
36504 return (void *)((wxObject *) ((wxFSFile *) x));
36505 }
36506 static void *_p_wxPySizerTo_p_wxObject(void *x) {
36507 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36508 }
36509 static void *_p_wxListViewTo_p_wxObject(void *x) {
36510 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36511 }
36512 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36514 }
36515 static void *_p_wxNotebookTo_p_wxObject(void *x) {
36516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36517 }
36518 static void *_p_wxPyEventTo_p_wxObject(void *x) {
36519 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36520 }
36521 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36522 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36523 }
36524 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
36525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36526 }
36527 static void *_p_wxListbookTo_p_wxObject(void *x) {
36528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36529 }
36530 static void *_p_wxShowEventTo_p_wxObject(void *x) {
36531 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36532 }
36533 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36535 }
36536 static void *_p_wxSliderTo_p_wxObject(void *x) {
36537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36538 }
36539 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36540 return (void *)((wxObject *) ((wxMenuItem *) x));
36541 }
36542 static void *_p_wxDateEventTo_p_wxObject(void *x) {
36543 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36544 }
36545 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36546 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36547 }
36548 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36549 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36550 }
36551 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36552 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36553 }
36554 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36555 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36556 }
36557 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36558 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36559 }
36560 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36561 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36562 }
36563 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36564 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36565 }
36566 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36567 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36568 }
36569 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36571 }
36572 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36573 return (void *)((wxObject *) ((wxContextHelp *) x));
36574 }
36575 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36577 }
36578 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36579 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36580 }
36581 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36582 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36583 }
36584 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36585 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36586 }
36587 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36588 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36589 }
36590 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36591 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36592 }
36593 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36594 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36595 }
36596 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36597 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36598 }
36599 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36600 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36601 }
36602 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36603 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36604 }
36605 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36606 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36607 }
36608 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36609 return (void *)((wxObject *) ((wxImageHandler *) x));
36610 }
36611 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36612 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36613 }
36614 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36615 return (void *)((wxObject *) ((wxEvtHandler *) x));
36616 }
36617 static void *_p_wxListEventTo_p_wxObject(void *x) {
36618 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36619 }
36620 static void *_p_wxListBoxTo_p_wxObject(void *x) {
36621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36622 }
36623 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36625 }
36626 static void *_p_wxButtonTo_p_wxObject(void *x) {
36627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36628 }
36629 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36631 }
36632 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36634 }
36635 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36637 }
36638 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36639 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36640 }
36641 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36642 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36643 }
36644 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36646 }
36647 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36649 }
36650 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36652 }
36653 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36654 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36655 }
36656 static void *_p_wxListItemTo_p_wxObject(void *x) {
36657 return (void *)((wxObject *) ((wxListItem *) x));
36658 }
36659 static void *_p_wxImageTo_p_wxObject(void *x) {
36660 return (void *)((wxObject *) ((wxImage *) x));
36661 }
36662 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36663 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36664 }
36665 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36666 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36667 }
36668 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36669 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36670 }
36671 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36672 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36673 }
36674 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36676 }
36677 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
36678 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36679 }
36680 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
36681 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36682 }
36683 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
36684 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36685 }
36686 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36687 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36688 }
36689 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36690 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36691 }
36692 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36693 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36694 }
36695 static void *_p_wxWindowTo_p_wxObject(void *x) {
36696 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36697 }
36698 static void *_p_wxMenuTo_p_wxObject(void *x) {
36699 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36700 }
36701 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36703 }
36704 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36705 return (void *)((wxObject *) ((wxFileSystem *) x));
36706 }
36707 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36708 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36709 }
36710 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36711 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36712 }
36713 static void *_p_wxPyAppTo_p_wxObject(void *x) {
36714 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36715 }
36716 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36717 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36718 }
36719 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36720 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36721 }
36722 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36723 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36724 }
36725 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36726 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36727 }
36728 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36729 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36730 }
36731 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36733 }
36734 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36735 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36736 }
36737 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36739 }
36740 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36741 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36742 }
36743 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36744 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36745 }
36746 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36747 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36748 }
36749 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36751 }
36752 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36754 }
36755 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36756 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36757 }
36758 static void *_p_wxToolBarTo_p_wxObject(void *x) {
36759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36760 }
36761 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36762 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36763 }
36764 static void *_p_wxValidatorTo_p_wxObject(void *x) {
36765 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36766 }
36767 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36768 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36769 }
36770 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36771 return (void *)((wxWindow *) ((wxMenuBar *) x));
36772 }
36773 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36774 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36775 }
36776 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36777 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36778 }
36779 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36780 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36781 }
36782 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36783 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36784 }
36785 static void *_p_wxControlTo_p_wxWindow(void *x) {
36786 return (void *)((wxWindow *) ((wxControl *) x));
36787 }
36788 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36789 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36790 }
36791 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36792 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36793 }
36794 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36795 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36796 }
36797 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36798 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
36799 }
36800 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36801 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36802 }
36803 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36804 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36805 }
36806 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36807 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36808 }
36809 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36810 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36811 }
36812 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36813 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36814 }
36815 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36816 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36817 }
36818 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
36819 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
36820 }
36821 static void *_p_wxListbookTo_p_wxWindow(void *x) {
36822 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
36823 }
36824 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36825 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36826 }
36827 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36828 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36829 }
36830 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36831 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36832 }
36833 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36834 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36835 }
36836 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36837 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36838 }
36839 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36840 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36841 }
36842 static void *_p_wxListViewTo_p_wxWindow(void *x) {
36843 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36844 }
36845 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
36846 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
36847 }
36848 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36849 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36850 }
36851 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36852 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36853 }
36854 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36855 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36856 }
36857 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36858 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36859 }
36860 static void *_p_wxSliderTo_p_wxWindow(void *x) {
36861 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36862 }
36863 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36864 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36865 }
36866 static void *_p_wxButtonTo_p_wxWindow(void *x) {
36867 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36868 }
36869 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36870 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36871 }
36872 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36873 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36874 }
36875 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36876 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36877 }
36878 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36879 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36880 }
36881 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36882 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36883 }
36884 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36885 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36886 }
36887 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36888 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36889 }
36890 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36891 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36892 }
36893 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36894 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36895 }
36896 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36897 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36898 }
36899 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36900 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36901 }
36902 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36903 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36904 }
36905 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36906 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36907 }
36908 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
36909 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36910 }
36911 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
36912 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36913 }
36914 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36915 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36916 }
36917 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36918 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36919 }
36920 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36921 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36922 }
36923 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36924 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36925 }
36926 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36927 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36928 }
36929 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36930 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36931 }
36932 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36933 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36934 }
36935 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36936 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36937 }
36938 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36939 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36940 }
36941 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36942 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36943 }
36944 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
36945 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
36946 }
36947 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36948 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36949 }
36950 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36951 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36952 }
36953 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36954 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36955 }
36956 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36957 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36958 }
36959 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36960 return (void *)((wxValidator *) ((wxPyValidator *) x));
36961 }
36962 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}};
36963 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}};
36964 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}};
36965 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}};
36966 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}};
36967 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}};
36968 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}};
36969 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}};
36970 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}};
36971 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}};
36972 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}};
36973 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}};
36974 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}};
36975 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}};
36976 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}};
36977 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}};
36978 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}};
36979 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}};
36980 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}};
36981 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice, 0, 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}};
36982 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}};
36983 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}};
36984 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}};
36985 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}};
36986 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}};
36987 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}};
36988 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}};
36989 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}};
36990 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}};
36991 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}};
36992 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}};
36993 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}};
36994 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}};
36995 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}};
36996 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}};
36997 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}};
36998 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}};
36999 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}};
37000 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}};
37001 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}};
37002 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}};
37003 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}};
37004 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}};
37005 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}};
37006 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}};
37007 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}};
37008 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}};
37009 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}};
37010 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}};
37011 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}};
37012 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}};
37013 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}};
37014 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}};
37015 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}};
37016 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}};
37017 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}};
37018 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}};
37019 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}};
37020 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}};
37021 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}};
37022 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}};
37023 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}};
37024 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}};
37025 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}};
37026 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}};
37027 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}};
37028 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}};
37029 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}};
37030 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}};
37031 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}};
37032 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}};
37033 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}};
37034 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}};
37035 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}};
37036 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}};
37037 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}};
37038 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}};
37039 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}};
37040 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}};
37041 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}};
37042 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}};
37043 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}};
37044 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}};
37045 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}};
37046 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}};
37047 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}};
37048 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}};
37049 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}};
37050 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}};
37051 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}};
37052 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}};
37053 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}};
37054 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems, 0, 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}};
37055 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}};
37056 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}};
37057 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}};
37058 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}};
37059 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}};
37060
37061 static swig_type_info *swig_types_initial[] = {
37062 _swigt__p_wxTextUrlEvent,
37063 _swigt__p_wxSizer,
37064 _swigt__p_wxCheckBox,
37065 _swigt__p_wxPyTreeCtrl,
37066 _swigt__p_wxEvent,
37067 _swigt__p_wxGenericDirCtrl,
37068 _swigt__p_bool,
37069 _swigt__p_wxItemContainer,
37070 _swigt__p_wxPyListCtrl,
37071 _swigt__p_wxPyTreeItemData,
37072 _swigt__p_wxDirFilterListCtrl,
37073 _swigt__p_wxStaticLine,
37074 _swigt__p_wxControl,
37075 _swigt__p_wxPyControl,
37076 _swigt__p_wxGauge,
37077 _swigt__p_wxToolBarBase,
37078 _swigt__p_wxFont,
37079 _swigt__p_wxToggleButton,
37080 _swigt__p_wxRadioButton,
37081 _swigt__p_wxChoice,
37082 _swigt__p_wxMemoryDC,
37083 _swigt__ptrdiff_t,
37084 _swigt__std__ptrdiff_t,
37085 _swigt__p_wxListItemAttr,
37086 _swigt__p_void,
37087 _swigt__p_int,
37088 _swigt__p_wxSize,
37089 _swigt__p_wxDC,
37090 _swigt__p_wxListView,
37091 _swigt__p_wxIcon,
37092 _swigt__p_wxVisualAttributes,
37093 _swigt__p_wxTextCtrl,
37094 _swigt__p_wxNotebook,
37095 _swigt__p_wxChoicebook,
37096 _swigt__p_wxNotifyEvent,
37097 _swigt__p_wxArrayString,
37098 _swigt__p_form_ops_t,
37099 _swigt__p_wxListbook,
37100 _swigt__p_wxStaticBitmap,
37101 _swigt__p_wxSlider,
37102 _swigt__p_wxStaticBox,
37103 _swigt__p_wxArrayInt,
37104 _swigt__p_wxContextHelp,
37105 _swigt__p_long,
37106 _swigt__p_wxDuplexMode,
37107 _swigt__p_wxBookCtrlBase,
37108 _swigt__p_wxEvtHandler,
37109 _swigt__p_wxListEvent,
37110 _swigt__p_wxCheckListBox,
37111 _swigt__p_wxListBox,
37112 _swigt__p_wxSpinButton,
37113 _swigt__p_wxButton,
37114 _swigt__p_wxBitmapButton,
37115 _swigt__p_wxRect,
37116 _swigt__p_wxContextHelpButton,
37117 _swigt__p_wxRadioBox,
37118 _swigt__p_wxScrollBar,
37119 _swigt__p_char,
37120 _swigt__p_wxComboBox,
37121 _swigt__p_wxTreeItemId,
37122 _swigt__p_wxHelpEvent,
37123 _swigt__p_wxListItem,
37124 _swigt__p_wxNotebookSizer,
37125 _swigt__p_wxSpinEvent,
37126 _swigt__p_wxGenericDragImage,
37127 _swigt__p_wxSpinCtrl,
37128 _swigt__p_wxPaperSize,
37129 _swigt__p_wxImageList,
37130 _swigt__p_wxHelpProvider,
37131 _swigt__p_wxTextAttr,
37132 _swigt__p_wxSimpleHelpProvider,
37133 _swigt__p_wxChoicebookEvent,
37134 _swigt__p_wxListbookEvent,
37135 _swigt__p_wxNotebookEvent,
37136 _swigt__p_wxPoint,
37137 _swigt__p_wxObject,
37138 _swigt__p_wxCursor,
37139 _swigt__p_wxDateTime,
37140 _swigt__p_wxKeyEvent,
37141 _swigt__p_unsigned_long,
37142 _swigt__p_wxWindow,
37143 _swigt__p_wxString,
37144 _swigt__p_wxBitmap,
37145 _swigt__unsigned_int,
37146 _swigt__p_unsigned_int,
37147 _swigt__p_unsigned_char,
37148 _swigt__p_wxMouseEvent,
37149 _swigt__p_wxBookCtrlBaseEvent,
37150 _swigt__p_wxTreeEvent,
37151 _swigt__p_wxCommandEvent,
37152 _swigt__p_wxStaticText,
37153 _swigt__p_wxDatePickerCtrl,
37154 _swigt__p_wxControlWithItems,
37155 _swigt__p_wxToolBarToolBase,
37156 _swigt__p_wxColour,
37157 _swigt__p_wxToolBar,
37158 _swigt__p_wxBookCtrlSizer,
37159 _swigt__p_wxValidator,
37160 0
37161 };
37162
37163
37164 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37165
37166 static swig_const_info swig_const_table[] = {
37167 {0, 0, 0, 0.0, 0, 0}};
37168
37169 #ifdef __cplusplus
37170 }
37171 #endif
37172
37173
37174 #ifdef __cplusplus
37175 extern "C" {
37176 #endif
37177
37178 /* Python-specific SWIG API */
37179 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37180 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37181 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37182
37183 /* -----------------------------------------------------------------------------
37184 * global variable support code.
37185 * ----------------------------------------------------------------------------- */
37186
37187 typedef struct swig_globalvar {
37188 char *name; /* Name of global variable */
37189 PyObject *(*get_attr)(); /* Return the current value */
37190 int (*set_attr)(PyObject *); /* Set the value */
37191 struct swig_globalvar *next;
37192 } swig_globalvar;
37193
37194 typedef struct swig_varlinkobject {
37195 PyObject_HEAD
37196 swig_globalvar *vars;
37197 } swig_varlinkobject;
37198
37199 static PyObject *
37200 swig_varlink_repr(swig_varlinkobject *v) {
37201 v = v;
37202 return PyString_FromString("<Swig global variables>");
37203 }
37204
37205 static int
37206 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
37207 swig_globalvar *var;
37208 flags = flags;
37209 fprintf(fp,"Swig global variables { ");
37210 for (var = v->vars; var; var=var->next) {
37211 fprintf(fp,"%s", var->name);
37212 if (var->next) fprintf(fp,", ");
37213 }
37214 fprintf(fp," }\n");
37215 return 0;
37216 }
37217
37218 static PyObject *
37219 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37220 swig_globalvar *var = v->vars;
37221 while (var) {
37222 if (strcmp(var->name,n) == 0) {
37223 return (*var->get_attr)();
37224 }
37225 var = var->next;
37226 }
37227 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37228 return NULL;
37229 }
37230
37231 static int
37232 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37233 swig_globalvar *var = v->vars;
37234 while (var) {
37235 if (strcmp(var->name,n) == 0) {
37236 return (*var->set_attr)(p);
37237 }
37238 var = var->next;
37239 }
37240 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37241 return 1;
37242 }
37243
37244 static PyTypeObject varlinktype = {
37245 PyObject_HEAD_INIT(0)
37246 0, /* Number of items in variable part (ob_size) */
37247 (char *)"swigvarlink", /* Type name (tp_name) */
37248 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37249 0, /* Itemsize (tp_itemsize) */
37250 0, /* Deallocator (tp_dealloc) */
37251 (printfunc) swig_varlink_print, /* Print (tp_print) */
37252 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37253 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37254 0, /* tp_compare */
37255 (reprfunc) swig_varlink_repr, /* tp_repr */
37256 0, /* tp_as_number */
37257 0, /* tp_as_sequence */
37258 0, /* tp_as_mapping */
37259 0, /* tp_hash */
37260 0, /* tp_call */
37261 0, /* tp_str */
37262 0, /* tp_getattro */
37263 0, /* tp_setattro */
37264 0, /* tp_as_buffer */
37265 0, /* tp_flags */
37266 0, /* tp_doc */
37267 #if PY_VERSION_HEX >= 0x02000000
37268 0, /* tp_traverse */
37269 0, /* tp_clear */
37270 #endif
37271 #if PY_VERSION_HEX >= 0x02010000
37272 0, /* tp_richcompare */
37273 0, /* tp_weaklistoffset */
37274 #endif
37275 #if PY_VERSION_HEX >= 0x02020000
37276 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37277 #endif
37278 #if PY_VERSION_HEX >= 0x02030000
37279 0, /* tp_del */
37280 #endif
37281 #ifdef COUNT_ALLOCS
37282 0,0,0,0 /* tp_alloc -> tp_next */
37283 #endif
37284 };
37285
37286 /* Create a variable linking object for use later */
37287 static PyObject *
37288 SWIG_Python_newvarlink(void) {
37289 swig_varlinkobject *result = 0;
37290 result = PyMem_NEW(swig_varlinkobject,1);
37291 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37292 result->ob_type = &varlinktype;
37293 result->vars = 0;
37294 result->ob_refcnt = 0;
37295 Py_XINCREF((PyObject *) result);
37296 return ((PyObject*) result);
37297 }
37298
37299 static void
37300 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37301 swig_varlinkobject *v;
37302 swig_globalvar *gv;
37303 v= (swig_varlinkobject *) p;
37304 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37305 gv->name = (char *) malloc(strlen(name)+1);
37306 strcpy(gv->name,name);
37307 gv->get_attr = get_attr;
37308 gv->set_attr = set_attr;
37309 gv->next = v->vars;
37310 v->vars = gv;
37311 }
37312
37313 /* -----------------------------------------------------------------------------
37314 * constants/methods manipulation
37315 * ----------------------------------------------------------------------------- */
37316
37317 /* Install Constants */
37318 static void
37319 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37320 PyObject *obj = 0;
37321 size_t i;
37322 for (i = 0; constants[i].type; i++) {
37323 switch(constants[i].type) {
37324 case SWIG_PY_INT:
37325 obj = PyInt_FromLong(constants[i].lvalue);
37326 break;
37327 case SWIG_PY_FLOAT:
37328 obj = PyFloat_FromDouble(constants[i].dvalue);
37329 break;
37330 case SWIG_PY_STRING:
37331 if (constants[i].pvalue) {
37332 obj = PyString_FromString((char *) constants[i].pvalue);
37333 } else {
37334 Py_INCREF(Py_None);
37335 obj = Py_None;
37336 }
37337 break;
37338 case SWIG_PY_POINTER:
37339 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37340 break;
37341 case SWIG_PY_BINARY:
37342 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37343 break;
37344 default:
37345 obj = 0;
37346 break;
37347 }
37348 if (obj) {
37349 PyDict_SetItemString(d,constants[i].name,obj);
37350 Py_DECREF(obj);
37351 }
37352 }
37353 }
37354
37355 /* -----------------------------------------------------------------------------*/
37356 /* Fix SwigMethods to carry the callback ptrs when needed */
37357 /* -----------------------------------------------------------------------------*/
37358
37359 static void
37360 SWIG_Python_FixMethods(PyMethodDef *methods,
37361 swig_const_info *const_table,
37362 swig_type_info **types,
37363 swig_type_info **types_initial) {
37364 size_t i;
37365 for (i = 0; methods[i].ml_name; ++i) {
37366 char *c = methods[i].ml_doc;
37367 if (c && (c = strstr(c, "swig_ptr: "))) {
37368 int j;
37369 swig_const_info *ci = 0;
37370 char *name = c + 10;
37371 for (j = 0; const_table[j].type; j++) {
37372 if (strncmp(const_table[j].name, name,
37373 strlen(const_table[j].name)) == 0) {
37374 ci = &(const_table[j]);
37375 break;
37376 }
37377 }
37378 if (ci) {
37379 size_t shift = (ci->ptype) - types;
37380 swig_type_info *ty = types_initial[shift];
37381 size_t ldoc = (c - methods[i].ml_doc);
37382 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37383 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37384 char *buff = ndoc;
37385 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37386 strncpy(buff, methods[i].ml_doc, ldoc);
37387 buff += ldoc;
37388 strncpy(buff, "swig_ptr: ", 10);
37389 buff += 10;
37390 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37391 methods[i].ml_doc = ndoc;
37392 }
37393 }
37394 }
37395 }
37396
37397 /* -----------------------------------------------------------------------------*
37398 * Initialize type list
37399 * -----------------------------------------------------------------------------*/
37400
37401 #if PY_MAJOR_VERSION < 2
37402 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37403 is copied out of Python/modsupport.c in python version 2.3.4 */
37404 static int
37405 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37406 {
37407 PyObject *dict;
37408 if (!PyModule_Check(m)) {
37409 PyErr_SetString(PyExc_TypeError,
37410 "PyModule_AddObject() needs module as first arg");
37411 return -1;
37412 }
37413 if (!o) {
37414 PyErr_SetString(PyExc_TypeError,
37415 "PyModule_AddObject() needs non-NULL value");
37416 return -1;
37417 }
37418
37419 dict = PyModule_GetDict(m);
37420 if (dict == NULL) {
37421 /* Internal error -- modules must have a dict! */
37422 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37423 PyModule_GetName(m));
37424 return -1;
37425 }
37426 if (PyDict_SetItemString(dict, name, o))
37427 return -1;
37428 Py_DECREF(o);
37429 return 0;
37430 }
37431 #endif
37432
37433 static swig_type_info **
37434 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37435 static PyMethodDef swig_empty_runtime_method_table[] = {
37436 {
37437 NULL, NULL, 0, NULL
37438 }
37439 };/* Sentinel */
37440
37441 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37442 swig_empty_runtime_method_table);
37443 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37444 if (pointer && module) {
37445 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37446 }
37447 return type_list_handle;
37448 }
37449
37450 static swig_type_info **
37451 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37452 swig_type_info **type_pointer;
37453
37454 /* first check if module already created */
37455 type_pointer = SWIG_Python_GetTypeListHandle();
37456 if (type_pointer) {
37457 return type_pointer;
37458 } else {
37459 /* create a new module and variable */
37460 return SWIG_Python_SetTypeListHandle(type_list_handle);
37461 }
37462 }
37463
37464 #ifdef __cplusplus
37465 }
37466 #endif
37467
37468 /* -----------------------------------------------------------------------------*
37469 * Partial Init method
37470 * -----------------------------------------------------------------------------*/
37471
37472 #ifdef SWIG_LINK_RUNTIME
37473 #ifdef __cplusplus
37474 extern "C"
37475 #endif
37476 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37477 #endif
37478
37479 #ifdef __cplusplus
37480 extern "C"
37481 #endif
37482 SWIGEXPORT(void) SWIG_init(void) {
37483 static PyObject *SWIG_globals = 0;
37484 static int typeinit = 0;
37485 PyObject *m, *d;
37486 int i;
37487 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
37488
37489 /* Fix SwigMethods to carry the callback ptrs when needed */
37490 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37491
37492 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37493 d = PyModule_GetDict(m);
37494
37495 if (!typeinit) {
37496 #ifdef SWIG_LINK_RUNTIME
37497 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37498 #else
37499 # ifndef SWIG_STATIC_RUNTIME
37500 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37501 # endif
37502 #endif
37503 for (i = 0; swig_types_initial[i]; i++) {
37504 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37505 }
37506 typeinit = 1;
37507 }
37508 SWIG_InstallConstants(d,swig_const_table);
37509
37510 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37511 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
37512 {
37513 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37514 }
37515 {
37516 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37517 }
37518 {
37519 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37520 }
37521 {
37522 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37523 }
37524 {
37525 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37526 }
37527 {
37528 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37529 }
37530 {
37531 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37532 }
37533 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
37534 {
37535 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37536 }
37537 {
37538 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37539 }
37540 {
37541 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37542 }
37543 {
37544 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37545 }
37546 {
37547 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37548 }
37549 {
37550 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37551 }
37552 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37553 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37554 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
37555 {
37556 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37557 }
37558 {
37559 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37560 }
37561 {
37562 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37563 }
37564 {
37565 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37566 }
37567 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37568 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37569 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37570 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37571 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
37572 {
37573 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37574 }
37575 {
37576 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37577 }
37578 {
37579 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37580 }
37581 {
37582 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37583 }
37584 {
37585 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37586 }
37587 {
37588 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37589 }
37590 {
37591 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37592 }
37593 {
37594 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37595 }
37596 {
37597 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37598 }
37599 {
37600 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37601 }
37602 {
37603 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37604 }
37605 {
37606 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37607 }
37608 {
37609 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37610 }
37611 {
37612 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37613 }
37614 {
37615 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37616 }
37617 {
37618 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
37619 }
37620 {
37621 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37622 }
37623 {
37624 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37625 }
37626 {
37627 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37628 }
37629 {
37630 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37631 }
37632 {
37633 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37634 }
37635 {
37636 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37637 }
37638 {
37639 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37640 }
37641 {
37642 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37643 }
37644 {
37645 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37646 }
37647 {
37648 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37649 }
37650 {
37651 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37652 }
37653 {
37654 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37655 }
37656 {
37657 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37658 }
37659 {
37660 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37661 }
37662 {
37663 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37664 }
37665 {
37666 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37667 }
37668 {
37669 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37670 }
37671 {
37672 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37673 }
37674 {
37675 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37676 }
37677 {
37678 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37679 }
37680 {
37681 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37682 }
37683 {
37684 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37685 }
37686 {
37687 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37688 }
37689 {
37690 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37691 }
37692 {
37693 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37694 }
37695 {
37696 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37697 }
37698 {
37699 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37700 }
37701 {
37702 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37703 }
37704 {
37705 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37706 }
37707 {
37708 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37709 }
37710 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37711 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37712 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37713 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37714 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37715 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37716 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
37717 {
37718 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37719 }
37720 {
37721 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37722 }
37723 {
37724 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37725 }
37726 {
37727 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37728 }
37729 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37730 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37731 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37732 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
37733 {
37734 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37735 }
37736 {
37737 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37738 }
37739 {
37740 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
37741 }
37742 {
37743 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37744 }
37745 {
37746 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37747 }
37748 {
37749 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37750 }
37751 {
37752 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37753 }
37754 {
37755 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37756 }
37757 {
37758 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37759 }
37760 {
37761 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37762 }
37763 {
37764 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37765 }
37766 {
37767 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37768 }
37769 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37770 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
37771 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
37772 {
37773 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37774 }
37775 {
37776 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37777 }
37778 {
37779 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37780 }
37781 {
37782 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37783 }
37784 {
37785 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37786 }
37787 {
37788 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37789 }
37790 {
37791 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37792 }
37793 {
37794 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37795 }
37796 {
37797 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37798 }
37799 {
37800 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37801 }
37802 {
37803 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37804 }
37805 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37806 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
37807 {
37808 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37809 }
37810 {
37811 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37812 }
37813 {
37814 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37815 }
37816 {
37817 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37818 }
37819 {
37820 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37821 }
37822 {
37823 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37824 }
37825 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37826 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
37827 {
37828 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37829 }
37830 {
37831 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37832 }
37833 {
37834 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37835 }
37836 {
37837 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37838 }
37839 {
37840 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37841 }
37842 {
37843 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37844 }
37845 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37846 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
37847 {
37848 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37849 }
37850 {
37851 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37852 }
37853 {
37854 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37855 }
37856 {
37857 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37858 }
37859 {
37860 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37861 }
37862 {
37863 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37864 }
37865 {
37866 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37867 }
37868 {
37869 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37870 }
37871 {
37872 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37873 }
37874 {
37875 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37876 }
37877 {
37878 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37879 }
37880 {
37881 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37882 }
37883 {
37884 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37885 }
37886 {
37887 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37888 }
37889 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
37890 {
37891 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37892 }
37893 {
37894 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37895 }
37896 {
37897 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37898 }
37899 {
37900 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37901 }
37902 {
37903 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37904 }
37905 {
37906 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37907 }
37908 {
37909 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37910 }
37911 {
37912 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37913 }
37914 {
37915 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37916 }
37917 {
37918 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37919 }
37920 {
37921 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37922 }
37923 {
37924 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37925 }
37926 {
37927 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37928 }
37929 {
37930 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37931 }
37932 {
37933 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37934 }
37935 {
37936 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37937 }
37938 {
37939 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37940 }
37941 {
37942 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37943 }
37944 {
37945 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37946 }
37947 {
37948 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37949 }
37950 {
37951 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37952 }
37953 {
37954 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37955 }
37956 {
37957 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37958 }
37959 {
37960 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37961 }
37962 {
37963 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37964 }
37965 {
37966 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37967 }
37968 {
37969 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37970 }
37971 {
37972 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37973 }
37974 {
37975 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37976 }
37977 {
37978 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37979 }
37980 {
37981 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37982 }
37983 {
37984 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37985 }
37986 {
37987 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37988 }
37989 {
37990 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37991 }
37992 {
37993 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37994 }
37995 {
37996 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37997 }
37998 {
37999 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
38000 }
38001 {
38002 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
38003 }
38004 {
38005 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
38006 }
38007 {
38008 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
38009 }
38010 {
38011 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
38012 }
38013 {
38014 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
38015 }
38016 {
38017 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
38018 }
38019 {
38020 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
38021 }
38022 {
38023 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
38024 }
38025 {
38026 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
38027 }
38028 {
38029 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
38030 }
38031 {
38032 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
38033 }
38034 {
38035 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
38036 }
38037 {
38038 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
38039 }
38040 {
38041 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
38042 }
38043 {
38044 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
38045 }
38046 {
38047 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
38048 }
38049 {
38050 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
38051 }
38052 {
38053 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
38054 }
38055 {
38056 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
38057 }
38058 {
38059 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
38060 }
38061 {
38062 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
38063 }
38064 {
38065 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
38066 }
38067 {
38068 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
38069 }
38070 {
38071 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
38072 }
38073 {
38074 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
38075 }
38076 {
38077 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
38078 }
38079 {
38080 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
38081 }
38082 {
38083 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
38084 }
38085 {
38086 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
38087 }
38088 {
38089 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
38090 }
38091 {
38092 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
38093 }
38094 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
38095 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
38096 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
38097 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
38098 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
38099 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
38100 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
38101 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
38102 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
38103 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
38104 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
38105 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
38106 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
38107 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
38108 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
38109 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
38110 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
38111 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
38112 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
38113 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
38114 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
38115 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
38116
38117 // Map renamed classes back to their common name for OOR
38118 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
38119
38120 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
38121 {
38122 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
38123 }
38124 {
38125 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
38126 }
38127 {
38128 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
38129 }
38130 {
38131 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
38132 }
38133 {
38134 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
38135 }
38136 {
38137 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
38138 }
38139 {
38140 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
38141 }
38142 {
38143 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
38144 }
38145 {
38146 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
38147 }
38148 {
38149 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
38150 }
38151 {
38152 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
38153 }
38154 {
38155 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
38156 }
38157 {
38158 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
38159 }
38160 {
38161 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
38162 }
38163 {
38164 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
38165 }
38166 {
38167 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
38168 }
38169 {
38170 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
38171 }
38172 {
38173 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
38174 }
38175 {
38176 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
38177 }
38178 {
38179 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
38180 }
38181 {
38182 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
38183 }
38184 {
38185 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
38186 }
38187 {
38188 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
38189 }
38190 {
38191 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
38192 }
38193 {
38194 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
38195 }
38196 {
38197 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
38198 }
38199 {
38200 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
38201 }
38202 {
38203 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
38204 }
38205 {
38206 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
38207 }
38208 {
38209 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
38210 }
38211 {
38212 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
38213 }
38214 {
38215 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
38216 }
38217 {
38218 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
38219 }
38220 {
38221 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
38222 }
38223 {
38224 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
38225 }
38226 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
38227 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
38228 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
38229 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
38230 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
38231 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
38232 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
38233 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
38234 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
38235 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
38236 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
38237 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
38238 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
38239 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
38240 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
38241 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
38242 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
38243 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
38244 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
38245 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
38246 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
38247
38248 // Map renamed classes back to their common name for OOR
38249 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38250 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38251
38252 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
38253 {
38254 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38255 }
38256 {
38257 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38258 }
38259 {
38260 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38261 }
38262 {
38263 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38264 }
38265 {
38266 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38267 }
38268 {
38269 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38270 }
38271 {
38272 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38273 }
38274 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38275 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38276
38277 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38278
38279 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38280 {
38281 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38282 }
38283 {
38284 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38285 }
38286 {
38287 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38288 }
38289 {
38290 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38291 }
38292 {
38293 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38294 }
38295 }
38296